From 9544f2ee3987e34c2dbbab28d3f5fed6ee1ebfa8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:36:20 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../cloud/asset/v1/AssetServiceGrpc.java | 2573 -------- .../asset/v1p2beta1/AssetServiceGrpc.java | 799 --- .../asset/v1p4beta1/AssetServiceGrpc.java | 499 -- .../cloud/asset/v1/AssetServiceClient.java | 177 +- .../cloud/asset/v1/AssetServiceSettings.java | 19 +- .../google/cloud/asset/v1/gapic_metadata.json | 0 .../google/cloud/asset/v1/package-info.java | 0 .../cloud/asset/v1/stub/AssetServiceStub.java | 3 +- .../v1/stub/AssetServiceStubSettings.java | 42 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../asset/v1/stub/GrpcAssetServiceStub.java | 7 +- .../HttpJsonAssetServiceCallableFactory.java | 0 .../v1/stub/HttpJsonAssetServiceStub.java | 7 +- .../v1/AssetServiceClientHttpJsonTest.java | 0 .../asset/v1/AssetServiceClientTest.java | 0 .../cloud/asset/v1/MockAssetService.java | 0 .../cloud/asset/v1/MockAssetServiceImpl.java | 0 .../cloud/asset/v1/AssetServiceGrpc.java | 2003 ++++++ .../AnalyzeIamPolicyLongrunningMetadata.java | 391 +- ...IamPolicyLongrunningMetadataOrBuilder.java | 35 +- .../AnalyzeIamPolicyLongrunningRequest.java | 631 +- ...eIamPolicyLongrunningRequestOrBuilder.java | 67 +- .../AnalyzeIamPolicyLongrunningResponse.java | 250 +- ...IamPolicyLongrunningResponseOrBuilder.java | 9 + .../asset/v1/AnalyzeIamPolicyRequest.java | 607 +- .../v1/AnalyzeIamPolicyRequestOrBuilder.java | 67 +- .../asset/v1/AnalyzeIamPolicyResponse.java | 1486 ++--- .../v1/AnalyzeIamPolicyResponseOrBuilder.java | 83 +- .../cloud/asset/v1/AnalyzeMoveRequest.java | 516 +- .../asset/v1/AnalyzeMoveRequestOrBuilder.java | 42 +- .../cloud/asset/v1/AnalyzeMoveResponse.java | 374 +- .../v1/AnalyzeMoveResponseOrBuilder.java | 36 +- .../java/com/google/cloud/asset/v1/Asset.java | 1697 ++--- .../google/cloud/asset/v1/AssetOrBuilder.java | 164 +- .../com/google/cloud/asset/v1/AssetProto.java | 504 ++ .../cloud/asset/v1/AssetServiceProto.java | 1034 +++ .../cloud/asset/v1/AttachedResource.java | 430 +- .../asset/v1/AttachedResourceOrBuilder.java | 45 +- .../v1/BatchGetAssetsHistoryRequest.java | 829 +-- ...BatchGetAssetsHistoryRequestOrBuilder.java | 105 +- .../v1/BatchGetAssetsHistoryResponse.java | 383 +- ...atchGetAssetsHistoryResponseOrBuilder.java | 36 +- .../BatchGetEffectiveIamPoliciesRequest.java | 517 +- ...tEffectiveIamPoliciesRequestOrBuilder.java | 69 +- .../BatchGetEffectiveIamPoliciesResponse.java | 1922 ++---- ...EffectiveIamPoliciesResponseOrBuilder.java | 62 +- .../cloud/asset/v1/BigQueryDestination.java | 550 +- .../v1/BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1/ConditionEvaluation.java | 368 +- .../v1/ConditionEvaluationOrBuilder.java | 24 +- .../google/cloud/asset/v1/ContentType.java | 110 +- .../cloud/asset/v1/CreateFeedRequest.java | 468 +- .../asset/v1/CreateFeedRequestOrBuilder.java | 44 +- .../asset/v1/CreateSavedQueryRequest.java | 567 +- .../v1/CreateSavedQueryRequestOrBuilder.java | 64 +- .../cloud/asset/v1/DeleteFeedRequest.java | 333 +- .../asset/v1/DeleteFeedRequestOrBuilder.java | 35 + .../asset/v1/DeleteSavedQueryRequest.java | 339 +- .../v1/DeleteSavedQueryRequestOrBuilder.java | 35 +- .../cloud/asset/v1/ExportAssetsRequest.java | 849 +-- .../v1/ExportAssetsRequestOrBuilder.java | 105 +- .../cloud/asset/v1/ExportAssetsResponse.java | 517 +- .../v1/ExportAssetsResponseOrBuilder.java | 42 +- .../java/com/google/cloud/asset/v1/Feed.java | 911 +-- .../com/google/cloud/asset/v1/FeedName.java | 0 .../google/cloud/asset/v1/FeedOrBuilder.java | 115 +- .../cloud/asset/v1/FeedOutputConfig.java | 370 +- .../asset/v1/FeedOutputConfigOrBuilder.java | 26 +- .../com/google/cloud/asset/v1/FolderName.java | 0 .../google/cloud/asset/v1/GcsDestination.java | 454 +- .../asset/v1/GcsDestinationOrBuilder.java | 42 +- .../cloud/asset/v1/GcsOutputResult.java | 333 +- .../asset/v1/GcsOutputResultOrBuilder.java | 36 +- .../google/cloud/asset/v1/GetFeedRequest.java | 326 +- .../asset/v1/GetFeedRequestOrBuilder.java | 35 + .../cloud/asset/v1/GetSavedQueryRequest.java | 329 +- .../v1/GetSavedQueryRequestOrBuilder.java | 35 + .../v1/IamPolicyAnalysisOutputConfig.java | 1855 ++---- ...amPolicyAnalysisOutputConfigOrBuilder.java | 67 +- .../asset/v1/IamPolicyAnalysisQuery.java | 3193 ++++------ .../v1/IamPolicyAnalysisQueryOrBuilder.java | 139 +- .../asset/v1/IamPolicyAnalysisResult.java | 4320 +++++-------- .../v1/IamPolicyAnalysisResultOrBuilder.java | 91 +- .../asset/v1/IamPolicyAnalysisState.java | 358 +- .../v1/IamPolicyAnalysisStateOrBuilder.java | 33 +- .../cloud/asset/v1/IamPolicySearchResult.java | 1961 +++--- .../v1/IamPolicySearchResultOrBuilder.java | 88 +- .../cloud/asset/v1/ListAssetsRequest.java | 813 +-- .../asset/v1/ListAssetsRequestOrBuilder.java | 97 +- .../cloud/asset/v1/ListAssetsResponse.java | 542 +- .../asset/v1/ListAssetsResponseOrBuilder.java | 54 +- .../cloud/asset/v1/ListFeedsRequest.java | 301 +- .../asset/v1/ListFeedsRequestOrBuilder.java | 27 +- .../cloud/asset/v1/ListFeedsResponse.java | 379 +- .../asset/v1/ListFeedsResponseOrBuilder.java | 37 +- .../asset/v1/ListSavedQueriesRequest.java | 533 +- .../v1/ListSavedQueriesRequestOrBuilder.java | 56 +- .../asset/v1/ListSavedQueriesResponse.java | 463 +- .../v1/ListSavedQueriesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/MoveAnalysis.java | 545 +- .../cloud/asset/v1/MoveAnalysisOrBuilder.java | 43 +- .../cloud/asset/v1/MoveAnalysisResult.java | 518 +- .../asset/v1/MoveAnalysisResultOrBuilder.java | 54 +- .../com/google/cloud/asset/v1/MoveImpact.java | 294 +- .../cloud/asset/v1/MoveImpactOrBuilder.java | 29 + .../cloud/asset/v1/OrganizationName.java | 0 .../google/cloud/asset/v1/OutputConfig.java | 476 +- .../cloud/asset/v1/OutputConfigOrBuilder.java | 34 +- .../google/cloud/asset/v1/OutputResult.java | 365 +- .../cloud/asset/v1/OutputResultOrBuilder.java | 26 +- .../google/cloud/asset/v1/PartitionSpec.java | 355 +- .../asset/v1/PartitionSpecOrBuilder.java | 24 +- .../google/cloud/asset/v1/ProjectName.java | 168 + .../cloud/asset/v1/PubsubDestination.java | 301 +- .../asset/v1/PubsubDestinationOrBuilder.java | 27 +- .../google/cloud/asset/v1/RelatedAsset.java | 563 +- .../cloud/asset/v1/RelatedAssetOrBuilder.java | 63 +- .../google/cloud/asset/v1/RelatedAssets.java | 484 +- .../asset/v1/RelatedAssetsOrBuilder.java | 45 +- .../cloud/asset/v1/RelatedResource.java | 380 +- .../asset/v1/RelatedResourceOrBuilder.java | 36 +- .../cloud/asset/v1/RelatedResources.java | 361 +- .../asset/v1/RelatedResourcesOrBuilder.java | 36 +- .../asset/v1/RelationshipAttributes.java | 548 +- .../v1/RelationshipAttributesOrBuilder.java | 55 +- .../com/google/cloud/asset/v1/Resource.java | 776 +-- .../cloud/asset/v1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1/ResourceSearchResult.java | 2693 ++++---- .../v1/ResourceSearchResultOrBuilder.java | 329 +- .../com/google/cloud/asset/v1/SavedQuery.java | 1568 ++--- .../google/cloud/asset/v1/SavedQueryName.java | 0 .../cloud/asset/v1/SavedQueryOrBuilder.java | 130 +- .../asset/v1/SearchAllIamPoliciesRequest.java | 698 +-- .../SearchAllIamPoliciesRequestOrBuilder.java | 75 +- .../v1/SearchAllIamPoliciesResponse.java | 464 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../asset/v1/SearchAllResourcesRequest.java | 819 +-- .../SearchAllResourcesRequestOrBuilder.java | 92 +- .../asset/v1/SearchAllResourcesResponse.java | 461 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/TemporalAsset.java | 690 +- .../asset/v1/TemporalAssetOrBuilder.java | 51 +- .../com/google/cloud/asset/v1/TimeWindow.java | 398 +- .../cloud/asset/v1/TimeWindowOrBuilder.java | 34 +- .../cloud/asset/v1/UpdateFeedRequest.java | 445 +- .../asset/v1/UpdateFeedRequestOrBuilder.java | 43 +- .../asset/v1/UpdateSavedQueryRequest.java | 516 +- .../v1/UpdateSavedQueryRequestOrBuilder.java | 55 +- .../cloud/asset/v1/VersionedResource.java | 388 +- .../asset/v1/VersionedResourceOrBuilder.java | 35 +- .../google/cloud/asset/v1/asset_service.proto | 0 .../proto/google/cloud/asset/v1/assets.proto | 0 .../AsyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../AsyncAnalyzeIamPolicyLongrunning.java | 0 .../AsyncAnalyzeIamPolicyLongrunningLRO.java | 0 .../SyncAnalyzeIamPolicyLongrunning.java | 0 .../analyzemove/AsyncAnalyzeMove.java | 0 .../analyzemove/SyncAnalyzeMove.java | 0 .../AsyncBatchGetAssetsHistory.java | 0 .../SyncBatchGetAssetsHistory.java | 0 .../AsyncBatchGetEffectiveIamPolicies.java | 0 .../SyncBatchGetEffectiveIamPolicies.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createfeed/AsyncCreateFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../createfeed/SyncCreateFeedString.java | 0 .../AsyncCreateSavedQuery.java | 0 .../SyncCreateSavedQuery.java | 0 ...eSavedQueryFoldernameSavedqueryString.java | 0 ...QueryOrganizationnameSavedqueryString.java | 6 +- ...SavedQueryProjectnameSavedqueryString.java | 0 ...reateSavedQueryStringSavedqueryString.java | 0 .../deletefeed/AsyncDeleteFeed.java | 0 .../deletefeed/SyncDeleteFeed.java | 1 + .../deletefeed/SyncDeleteFeedFeedname.java | 1 + .../deletefeed/SyncDeleteFeedString.java | 1 + .../AsyncDeleteSavedQuery.java | 0 .../SyncDeleteSavedQuery.java | 1 + .../SyncDeleteSavedQuerySavedqueryname.java | 1 + .../SyncDeleteSavedQueryString.java | 1 + .../exportassets/AsyncExportAssets.java | 0 .../exportassets/AsyncExportAssetsLRO.java | 0 .../exportassets/SyncExportAssets.java | 0 .../getfeed/AsyncGetFeed.java | 0 .../getfeed/SyncGetFeed.java | 0 .../getfeed/SyncGetFeedFeedname.java | 0 .../getfeed/SyncGetFeedString.java | 0 .../getsavedquery/AsyncGetSavedQuery.java | 0 .../getsavedquery/SyncGetSavedQuery.java | 0 .../SyncGetSavedQuerySavedqueryname.java | 0 .../SyncGetSavedQueryString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../SyncListAssetsResourcename.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listfeeds/AsyncListFeeds.java | 0 .../listfeeds/SyncListFeeds.java | 0 .../listfeeds/SyncListFeedsString.java | 0 .../AsyncListSavedQueries.java | 0 .../AsyncListSavedQueriesPaged.java | 0 .../SyncListSavedQueries.java | 0 .../SyncListSavedQueriesFoldername.java | 0 .../SyncListSavedQueriesOrganizationname.java | 0 .../SyncListSavedQueriesProjectname.java | 0 .../SyncListSavedQueriesString.java | 0 .../AsyncSearchAllIamPolicies.java | 0 .../AsyncSearchAllIamPoliciesPaged.java | 0 .../SyncSearchAllIamPolicies.java | 0 .../SyncSearchAllIamPoliciesStringString.java | 0 .../AsyncSearchAllResources.java | 0 .../AsyncSearchAllResourcesPaged.java | 0 .../SyncSearchAllResources.java | 0 ...rchAllResourcesStringStringListstring.java | 0 .../updatefeed/AsyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeedFeed.java | 0 .../AsyncUpdateSavedQuery.java | 0 .../SyncUpdateSavedQuery.java | 0 ...ncUpdateSavedQuerySavedqueryFieldmask.java | 0 .../SyncBatchGetAssetsHistory.java | 0 .../SyncBatchGetAssetsHistory.java | 0 .../asset/v1p1beta1/AssetServiceClient.java | 62 +- .../asset/v1p1beta1/AssetServiceSettings.java | 13 +- .../cloud/asset/v1p1beta1/gapic_metadata.json | 0 .../cloud/asset/v1p1beta1/package-info.java | 0 .../v1p1beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 33 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p1beta1/stub/GrpcAssetServiceStub.java | 1 + .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p1beta1/AssetServiceClientTest.java | 0 .../asset/v1p1beta1/MockAssetService.java | 0 .../asset/v1p1beta1/MockAssetServiceImpl.java | 0 .../asset/v1p1beta1/AssetServiceGrpc.java | 339 +- .../cloud/asset/v1p1beta1/AssetProto.java | 132 + .../asset/v1p1beta1/AssetServiceProto.java | 132 + .../v1p1beta1/IamPolicySearchResult.java | 1185 ++-- .../IamPolicySearchResultOrBuilder.java | 55 +- .../cloud/asset/v1p1beta1/Permissions.java | 333 +- .../asset/v1p1beta1/PermissionsOrBuilder.java | 36 +- .../SearchAllIamPoliciesRequest.java | 515 +- .../SearchAllIamPoliciesRequestOrBuilder.java | 48 +- .../SearchAllIamPoliciesResponse.java | 461 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../v1p1beta1/SearchAllResourcesRequest.java | 698 +-- .../SearchAllResourcesRequestOrBuilder.java | 75 +- .../v1p1beta1/SearchAllResourcesResponse.java | 469 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/StandardResourceMetadata.java | 1198 ++-- .../StandardResourceMetadataOrBuilder.java | 139 +- .../cloud/asset/v1p1beta1/asset_service.proto | 0 .../google/cloud/asset/v1p1beta1/assets.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncSearchAllIamPolicies.java | 0 .../AsyncSearchAllIamPoliciesPaged.java | 0 .../SyncSearchAllIamPolicies.java | 0 .../SyncSearchAllIamPoliciesStringString.java | 0 .../AsyncSearchAllResources.java | 0 .../AsyncSearchAllResourcesPaged.java | 0 .../SyncSearchAllResources.java | 0 ...rchAllResourcesStringStringListstring.java | 3 +- .../SyncSearchAllResources.java | 0 .../SyncSearchAllResources.java | 0 .../asset/v1p2beta1/AssetServiceClient.java | 6 +- .../asset/v1p2beta1/AssetServiceSettings.java | 7 +- .../cloud/asset/v1p2beta1/gapic_metadata.json | 0 .../cloud/asset/v1p2beta1/package-info.java | 0 .../v1p2beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 6 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p2beta1/stub/GrpcAssetServiceStub.java | 1 + .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p2beta1/AssetServiceClientTest.java | 0 .../asset/v1p2beta1/MockAssetService.java | 0 .../asset/v1p2beta1/MockAssetServiceImpl.java | 0 .../asset/v1p2beta1/AssetServiceGrpc.java | 651 ++ .../google/cloud/asset/v1p2beta1/Asset.java | 672 +- .../cloud/asset/v1p2beta1/AssetOrBuilder.java | 70 +- .../cloud/asset/v1p2beta1/AssetProto.java | 113 + .../asset/v1p2beta1/AssetServiceProto.java | 251 + .../cloud/asset/v1p2beta1/ContentType.java | 82 +- .../asset/v1p2beta1/CreateFeedRequest.java | 517 +- .../v1p2beta1/CreateFeedRequestOrBuilder.java | 53 +- .../asset/v1p2beta1/DeleteFeedRequest.java | 343 +- .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 35 + .../google/cloud/asset/v1p2beta1/Feed.java | 730 +-- .../cloud/asset/v1p2beta1/FeedName.java | 0 .../cloud/asset/v1p2beta1/FeedOrBuilder.java | 89 +- .../asset/v1p2beta1/FeedOutputConfig.java | 395 +- .../v1p2beta1/FeedOutputConfigOrBuilder.java | 26 +- .../cloud/asset/v1p2beta1/GcsDestination.java | 361 +- .../v1p2beta1/GcsDestinationOrBuilder.java | 30 +- .../cloud/asset/v1p2beta1/GetFeedRequest.java | 332 +- .../v1p2beta1/GetFeedRequestOrBuilder.java | 35 + .../asset/v1p2beta1/ListFeedsRequest.java | 311 +- .../v1p2beta1/ListFeedsRequestOrBuilder.java | 27 +- .../asset/v1p2beta1/ListFeedsResponse.java | 384 +- .../v1p2beta1/ListFeedsResponseOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/OutputConfig.java | 372 +- .../v1p2beta1/OutputConfigOrBuilder.java | 26 +- .../asset/v1p2beta1/PubsubDestination.java | 311 +- .../v1p2beta1/PubsubDestinationOrBuilder.java | 27 +- .../cloud/asset/v1p2beta1/Resource.java | 706 +-- .../asset/v1p2beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p2beta1/TemporalAsset.java | 460 +- .../v1p2beta1/TemporalAssetOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/TimeWindow.java | 405 +- .../asset/v1p2beta1/TimeWindowOrBuilder.java | 34 +- .../asset/v1p2beta1/UpdateFeedRequest.java | 494 +- .../v1p2beta1/UpdateFeedRequestOrBuilder.java | 52 +- .../cloud/asset/v1p2beta1/asset_service.proto | 0 .../google/cloud/asset/v1p2beta1/assets.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createfeed/AsyncCreateFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../createfeed/SyncCreateFeedString.java | 0 .../deletefeed/AsyncDeleteFeed.java | 0 .../deletefeed/SyncDeleteFeed.java | 1 + .../deletefeed/SyncDeleteFeedFeedname.java | 1 + .../deletefeed/SyncDeleteFeedString.java | 1 + .../getfeed/AsyncGetFeed.java | 0 .../getfeed/SyncGetFeed.java | 0 .../getfeed/SyncGetFeedFeedname.java | 0 .../getfeed/SyncGetFeedString.java | 0 .../listfeeds/AsyncListFeeds.java | 0 .../listfeeds/SyncListFeeds.java | 0 .../listfeeds/SyncListFeedsString.java | 0 .../updatefeed/AsyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeedFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../asset/v1p4beta1/AssetServiceClient.java | 10 +- .../asset/v1p4beta1/AssetServiceSettings.java | 13 +- .../cloud/asset/v1p4beta1/gapic_metadata.json | 0 .../cloud/asset/v1p4beta1/package-info.java | 0 .../v1p4beta1/stub/AssetServiceStub.java | 3 +- .../stub/AssetServiceStubSettings.java | 18 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p4beta1/stub/GrpcAssetServiceStub.java | 7 +- .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 7 +- .../AssetServiceClientHttpJsonTest.java | 0 .../v1p4beta1/AssetServiceClientTest.java | 0 .../asset/v1p4beta1/MockAssetService.java | 0 .../asset/v1p4beta1/MockAssetServiceImpl.java | 0 .../asset/v1p4beta1/AssetServiceGrpc.java | 405 ++ .../v1p4beta1/AnalyzeIamPolicyRequest.java | 1250 ++-- .../AnalyzeIamPolicyRequestOrBuilder.java | 63 + .../v1p4beta1/AnalyzeIamPolicyResponse.java | 1805 ++---- .../AnalyzeIamPolicyResponseOrBuilder.java | 129 +- .../cloud/asset/v1p4beta1/AssetProto.java | 170 + .../asset/v1p4beta1/AssetServiceProto.java | 288 + .../ExportIamPolicyAnalysisRequest.java | 1298 ++-- ...portIamPolicyAnalysisRequestOrBuilder.java | 90 + .../ExportIamPolicyAnalysisResponse.java | 380 +- ...ortIamPolicyAnalysisResponseOrBuilder.java | 29 +- .../IamPolicyAnalysisOutputConfig.java | 932 ++- ...amPolicyAnalysisOutputConfigOrBuilder.java | 38 + .../v1p4beta1/IamPolicyAnalysisQuery.java | 2181 +++---- .../IamPolicyAnalysisQueryOrBuilder.java | 96 +- .../v1p4beta1/IamPolicyAnalysisResult.java | 5577 ++++++----------- .../IamPolicyAnalysisResultOrBuilder.java | 101 +- .../cloud/asset/v1p4beta1/asset_service.proto | 0 .../google/cloud/asset/v1p4beta1/assets.proto | 0 .../AsyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncExportIamPolicyAnalysis.java | 0 .../AsyncExportIamPolicyAnalysisLRO.java | 0 .../SyncExportIamPolicyAnalysis.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../asset/v1p5beta1/AssetServiceClient.java | 16 +- .../asset/v1p5beta1/AssetServiceSettings.java | 7 +- .../cloud/asset/v1p5beta1/gapic_metadata.json | 0 .../cloud/asset/v1p5beta1/package-info.java | 0 .../v1p5beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 6 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p5beta1/stub/GrpcAssetServiceStub.java | 1 + .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p5beta1/AssetServiceClientTest.java | 0 .../asset/v1p5beta1/MockAssetService.java | 0 .../asset/v1p5beta1/MockAssetServiceImpl.java | 0 .../asset/v1p5beta1/AssetServiceGrpc.java | 222 +- .../google/cloud/asset/v1p5beta1/Asset.java | 1255 ++-- .../cloud/asset/v1p5beta1/AssetOrBuilder.java | 108 +- .../cloud/asset/v1p5beta1/AssetProto.java | 116 + .../asset/v1p5beta1/AssetServiceProto.java | 104 + .../cloud/asset/v1p5beta1/ContentType.java | 96 +- .../asset/v1p5beta1/ListAssetsRequest.java | 685 +- .../v1p5beta1/ListAssetsRequestOrBuilder.java | 71 +- .../asset/v1p5beta1/ListAssetsResponse.java | 547 +- .../ListAssetsResponseOrBuilder.java | 53 +- .../cloud/asset/v1p5beta1/Resource.java | 706 +-- .../asset/v1p5beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p5beta1/asset_service.proto | 0 .../google/cloud/asset/v1p5beta1/assets.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssets.java | 0 .../asset/v1p7beta1/AssetServiceClient.java | 6 +- .../asset/v1p7beta1/AssetServiceSettings.java | 7 +- .../cloud/asset/v1p7beta1/gapic_metadata.json | 0 .../cloud/asset/v1p7beta1/package-info.java | 0 .../v1p7beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 6 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p7beta1/stub/GrpcAssetServiceStub.java | 1 + .../v1p7beta1/AssetServiceClientTest.java | 0 .../asset/v1p7beta1/MockAssetService.java | 0 .../asset/v1p7beta1/MockAssetServiceImpl.java | 0 .../asset/v1p7beta1/AssetServiceGrpc.java | 214 +- .../google/cloud/asset/v1p7beta1/Asset.java | 1459 ++--- .../cloud/asset/v1p7beta1/AssetOrBuilder.java | 134 +- .../cloud/asset/v1p7beta1/AssetProto.java | 166 + .../asset/v1p7beta1/AssetServiceProto.java | 208 + .../asset/v1p7beta1/BigQueryDestination.java | 560 +- .../BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1p7beta1/ContentType.java | 103 +- .../asset/v1p7beta1/ExportAssetsRequest.java | 856 +-- .../ExportAssetsRequestOrBuilder.java | 105 +- .../asset/v1p7beta1/ExportAssetsResponse.java | 524 +- .../ExportAssetsResponseOrBuilder.java | 42 +- .../cloud/asset/v1p7beta1/GcsDestination.java | 460 +- .../v1p7beta1/GcsDestinationOrBuilder.java | 42 +- .../asset/v1p7beta1/GcsOutputResult.java | 340 +- .../v1p7beta1/GcsOutputResultOrBuilder.java | 36 +- .../cloud/asset/v1p7beta1/OutputConfig.java | 502 +- .../v1p7beta1/OutputConfigOrBuilder.java | 34 +- .../cloud/asset/v1p7beta1/OutputResult.java | 370 +- .../v1p7beta1/OutputResultOrBuilder.java | 26 +- .../cloud/asset/v1p7beta1/PartitionSpec.java | 361 +- .../v1p7beta1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1p7beta1/RelatedAsset.java | 493 +- .../v1p7beta1/RelatedAssetOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/RelatedAssets.java | 513 +- .../v1p7beta1/RelatedAssetsOrBuilder.java | 47 +- .../v1p7beta1/RelationshipAttributes.java | 553 +- .../RelationshipAttributesOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/Resource.java | 785 +-- .../asset/v1p7beta1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1p7beta1/asset_service.proto | 0 .../google/cloud/asset/v1p7beta1/assets.proto | 0 ...IamPolicyLongrunningResponseOrBuilder.java | 24 - .../com/google/cloud/asset/v1/AssetProto.java | 618 -- .../cloud/asset/v1/AssetServiceProto.java | 1158 ---- .../asset/v1/DeleteFeedRequestOrBuilder.java | 60 - .../asset/v1/GetFeedRequestOrBuilder.java | 60 - .../v1/GetSavedQueryRequestOrBuilder.java | 60 - .../cloud/asset/v1/MoveImpactOrBuilder.java | 50 - .../cloud/asset/v1p1beta1/AssetProto.java | 166 - .../asset/v1p1beta1/AssetServiceProto.java | 150 - .../cloud/asset/v1p2beta1/AssetProto.java | 131 - .../asset/v1p2beta1/AssetServiceProto.java | 276 - .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 60 - .../v1p2beta1/GetFeedRequestOrBuilder.java | 60 - .../AnalyzeIamPolicyRequestOrBuilder.java | 107 - .../cloud/asset/v1p4beta1/AssetProto.java | 210 - .../asset/v1p4beta1/AssetServiceProto.java | 343 - ...portIamPolicyAnalysisRequestOrBuilder.java | 150 - ...amPolicyAnalysisOutputConfigOrBuilder.java | 70 - .../cloud/asset/v1p5beta1/AssetProto.java | 141 - .../asset/v1p5beta1/AssetServiceProto.java | 120 - .../cloud/asset/v1p7beta1/AssetProto.java | 202 - .../asset/v1p7beta1/AssetServiceProto.java | 235 - 488 files changed, 39757 insertions(+), 65698 deletions(-) delete mode 100644 grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java delete mode 100644 grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java delete mode 100644 grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java (94%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java (96%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/package-info.java (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java (98%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java (97%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java (99%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java (99%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/MockAssetService.java (100%) rename {google-cloud-asset => owl-bot-staging/v1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java (63%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java (53%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java (58%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java (74%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java (77%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java (69%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/Asset.java (77%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java (89%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AttachedResource.java (78%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java (76%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java (82%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java (62%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java (69%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java (64%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java (83%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java (90%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java (70%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java (55%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ContentType.java (70%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java (79%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java (69%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java (66%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java (50%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java (79%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java (87%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java (81%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/Feed.java (81%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedName.java (100%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java (89%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java (70%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java (61%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FolderName.java (100%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsDestination.java (78%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java (84%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java (70%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java (62%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java (50%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java (58%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java (77%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java (89%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java (82%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java (89%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java (69%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java (59%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java (55%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java (74%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java (78%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java (79%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveImpact.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OrganizationName.java (100%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputConfig.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java (74%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputResult.java (69%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java (60%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java (55%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java (69%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java (50%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java (77%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java (80%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResource.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java (60%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResources.java (74%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java (64%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java (65%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/Resource.java (76%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java (82%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java (83%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java (92%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SavedQuery.java (70%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java (100%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java (74%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java (85%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java (92%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java (85%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java (92%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java (75%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java (74%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java (72%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java (80%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TimeWindow.java (71%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java (70%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java (73%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java (76%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java (67%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java (65%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/VersionedResource.java (77%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java (80%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/proto/google/cloud/asset/v1/asset_service.proto (100%) rename {proto-google-cloud-asset-v1 => owl-bot-staging/v1/proto-google-cloud-asset-v1}/src/main/proto/google/cloud/asset/v1/assets.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java (93%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java (94%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java (95%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java (99%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p1beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java (100%) rename {grpc-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java (51%) create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java create mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java (71%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java (82%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java (70%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java (61%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java (74%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java (78%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java (75%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java (76%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java (82%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java (73%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java (72%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java (73%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java (81%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto (100%) rename {proto-google-cloud-asset-v1p1beta1 => owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1}/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java (94%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java (100%) rename {samples => owl-bot-staging/v1p1beta1/samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java (98%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java (96%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java (98%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java (99%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p2beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java (75%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java (66%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java (73%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java (76%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java (65%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java (76%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java (100%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java (83%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java (68%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java (63%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java (72%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java (68%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java (67%) create mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java (70%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java (60%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java (71%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java (59%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java (69%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java (62%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java (68%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java (51%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java (76%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java (81%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java (69%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java (70%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java (71%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java (70%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java (71%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java (73%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto (100%) rename {proto-google-cloud-asset-v1p2beta1 => owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1}/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java (97%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java (97%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java (97%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java (100%) rename {samples => owl-bot-staging/v1p2beta1/samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java (97%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java (94%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java (96%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java (96%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java (98%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java (98%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p4beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java (100%) create mode 100644 owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java (72%) create mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java (66%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java (54%) create mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java create mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequest.java (68%) create mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java (65%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java (61%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java (61%) create mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java (65%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java (55%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java (70%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java (69%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto (100%) rename {proto-google-cloud-asset-v1p4beta1 => owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1}/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {samples => owl-bot-staging/v1p4beta1/samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java (96%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java (95%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java (98%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java (99%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p5beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java (100%) rename {grpc-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java (50%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java (73%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java create mode 100644 owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java (69%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java (78%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java (85%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java (73%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java (71%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java (76%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java (81%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto (100%) rename {proto-google-cloud-asset-v1p5beta1 => owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1}/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java (100%) rename {samples => owl-bot-staging/v1p5beta1/samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java (97%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java (95%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java (97%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java (99%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java (100%) rename {google-cloud-asset => owl-bot-staging/v1p7beta1/google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java (100%) rename {grpc-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java (60%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java (77%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java (90%) create mode 100644 owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java create mode 100644 owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java (82%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java (89%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java (70%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java (78%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java (86%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java (73%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java (81%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java (76%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java (82%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java (70%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java (62%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java (70%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java (75%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java (69%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java (61%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java (71%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java (56%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java (77%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java (80%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java (72%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java (72%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java (71%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java (66%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java (76%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java (82%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto (100%) rename {proto-google-cloud-asset-v1p7beta1 => owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1}/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto (100%) delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java delete mode 100644 proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java delete mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java delete mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java delete mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java delete mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java delete mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java delete mode 100644 proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java delete mode 100644 proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java delete mode 100644 proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java delete mode 100644 proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java diff --git a/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java deleted file mode 100644 index 46413f6d0..000000000 --- a/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java +++ /dev/null @@ -1,2573 +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.asset.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Asset service definition.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/asset/v1/asset_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AssetServiceGrpc { - - private AssetServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.asset.v1.AssetService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ExportAssetsRequest, com.google.longrunning.Operation> - getExportAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportAssets", - requestType = com.google.cloud.asset.v1.ExportAssetsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ExportAssetsRequest, com.google.longrunning.Operation> - getExportAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ExportAssetsRequest, com.google.longrunning.Operation> - getExportAssetsMethod; - if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { - AssetServiceGrpc.getExportAssetsMethod = - getExportAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ExportAssetsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) - .build(); - } - } - } - return getExportAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListAssetsRequest, com.google.cloud.asset.v1.ListAssetsResponse> - getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.asset.v1.ListAssetsRequest.class, - responseType = com.google.cloud.asset.v1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListAssetsRequest, com.google.cloud.asset.v1.ListAssetsResponse> - getListAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListAssetsRequest, - com.google.cloud.asset.v1.ListAssetsResponse> - getListAssetsMethod; - if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { - AssetServiceGrpc.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.asset.v1.ListAssetsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> - getBatchGetAssetsHistoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetAssetsHistory", - requestType = com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, - responseType = com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> - getBatchGetAssetsHistoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> - getBatchGetAssetsHistoryMethod; - if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) - == null) { - synchronized (AssetServiceGrpc.class) { - if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) - == null) { - AssetServiceGrpc.getBatchGetAssetsHistoryMethod = - getBatchGetAssetsHistoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchGetAssetsHistory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("BatchGetAssetsHistory")) - .build(); - } - } - } - return getBatchGetAssetsHistoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed> - getCreateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFeed", - requestType = com.google.cloud.asset.v1.CreateFeedRequest.class, - responseType = com.google.cloud.asset.v1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed> - getCreateFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed> - getCreateFeedMethod; - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - AssetServiceGrpc.getCreateFeedMethod = - getCreateFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.CreateFeedRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) - .build(); - } - } - } - return getCreateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed> - getGetFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFeed", - requestType = com.google.cloud.asset.v1.GetFeedRequest.class, - responseType = com.google.cloud.asset.v1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed> - getGetFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed> - getGetFeedMethod; - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - AssetServiceGrpc.getGetFeedMethod = - getGetFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.GetFeedRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) - .build(); - } - } - } - return getGetFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListFeedsRequest, com.google.cloud.asset.v1.ListFeedsResponse> - getListFeedsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFeeds", - requestType = com.google.cloud.asset.v1.ListFeedsRequest.class, - responseType = com.google.cloud.asset.v1.ListFeedsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListFeedsRequest, com.google.cloud.asset.v1.ListFeedsResponse> - getListFeedsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListFeedsRequest, com.google.cloud.asset.v1.ListFeedsResponse> - getListFeedsMethod; - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - AssetServiceGrpc.getListFeedsMethod = - getListFeedsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListFeedsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListFeedsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) - .build(); - } - } - } - return getListFeedsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed> - getUpdateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", - requestType = com.google.cloud.asset.v1.UpdateFeedRequest.class, - responseType = com.google.cloud.asset.v1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed> - getUpdateFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed> - getUpdateFeedMethod; - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - AssetServiceGrpc.getUpdateFeedMethod = - getUpdateFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.UpdateFeedRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) - .build(); - } - } - } - return getUpdateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty> - getDeleteFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", - requestType = com.google.cloud.asset.v1.DeleteFeedRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty> - getDeleteFeedMethod() { - io.grpc.MethodDescriptor - getDeleteFeedMethod; - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - AssetServiceGrpc.getDeleteFeedMethod = - getDeleteFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.DeleteFeedRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) - .build(); - } - } - } - return getDeleteFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse> - getSearchAllResourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchAllResources", - requestType = com.google.cloud.asset.v1.SearchAllResourcesRequest.class, - responseType = com.google.cloud.asset.v1.SearchAllResourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse> - getSearchAllResourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse> - getSearchAllResourcesMethod; - if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { - AssetServiceGrpc.getSearchAllResourcesMethod = - getSearchAllResourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllResourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllResourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("SearchAllResources")) - .build(); - } - } - } - return getSearchAllResourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> - getSearchAllIamPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchAllIamPolicies", - requestType = com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, - responseType = com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> - getSearchAllIamPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> - getSearchAllIamPoliciesMethod; - if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) - == null) { - AssetServiceGrpc.getSearchAllIamPoliciesMethod = - getSearchAllIamPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) - .build(); - } - } - } - return getSearchAllIamPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> - getAnalyzeIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", - requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> - getAnalyzeIamPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> - getAnalyzeIamPolicyMethod; - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - AssetServiceGrpc.getAnalyzeIamPolicyMethod = - getAnalyzeIamPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) - .build(); - } - } - } - return getAnalyzeIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation> - getAnalyzeIamPolicyLongrunningMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicyLongrunning", - requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation> - getAnalyzeIamPolicyLongrunningMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation> - getAnalyzeIamPolicyLongrunningMethod; - if ((getAnalyzeIamPolicyLongrunningMethod = - AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) - == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeIamPolicyLongrunningMethod = - AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) - == null) { - AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod = - getAnalyzeIamPolicyLongrunningMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicyLongrunning")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicyLongrunning")) - .build(); - } - } - } - return getAnalyzeIamPolicyLongrunningMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeMoveRequest, - com.google.cloud.asset.v1.AnalyzeMoveResponse> - getAnalyzeMoveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeMove", - requestType = com.google.cloud.asset.v1.AnalyzeMoveRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeMoveResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeMoveRequest, - com.google.cloud.asset.v1.AnalyzeMoveResponse> - getAnalyzeMoveMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.AnalyzeMoveRequest, - com.google.cloud.asset.v1.AnalyzeMoveResponse> - getAnalyzeMoveMethod; - if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { - AssetServiceGrpc.getAnalyzeMoveMethod = - getAnalyzeMoveMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeMove")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeMoveRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeMoveResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeMove")) - .build(); - } - } - } - return getAnalyzeMoveMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.CreateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getCreateSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSavedQuery", - requestType = com.google.cloud.asset.v1.CreateSavedQueryRequest.class, - responseType = com.google.cloud.asset.v1.SavedQuery.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.CreateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getCreateSavedQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.CreateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getCreateSavedQueryMethod; - if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { - AssetServiceGrpc.getCreateSavedQueryMethod = - getCreateSavedQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.CreateSavedQueryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("CreateSavedQuery")) - .build(); - } - } - } - return getCreateSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.GetSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getGetSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSavedQuery", - requestType = com.google.cloud.asset.v1.GetSavedQueryRequest.class, - responseType = com.google.cloud.asset.v1.SavedQuery.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.GetSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getGetSavedQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.GetSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getGetSavedQueryMethod; - if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { - AssetServiceGrpc.getGetSavedQueryMethod = - getGetSavedQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.GetSavedQueryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("GetSavedQuery")) - .build(); - } - } - } - return getGetSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListSavedQueriesRequest, - com.google.cloud.asset.v1.ListSavedQueriesResponse> - getListSavedQueriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSavedQueries", - requestType = com.google.cloud.asset.v1.ListSavedQueriesRequest.class, - responseType = com.google.cloud.asset.v1.ListSavedQueriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListSavedQueriesRequest, - com.google.cloud.asset.v1.ListSavedQueriesResponse> - getListSavedQueriesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.ListSavedQueriesRequest, - com.google.cloud.asset.v1.ListSavedQueriesResponse> - getListSavedQueriesMethod; - if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { - AssetServiceGrpc.getListSavedQueriesMethod = - getListSavedQueriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSavedQueries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListSavedQueriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListSavedQueriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("ListSavedQueries")) - .build(); - } - } - } - return getListSavedQueriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.UpdateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getUpdateSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSavedQuery", - requestType = com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, - responseType = com.google.cloud.asset.v1.SavedQuery.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.UpdateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getUpdateSavedQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.UpdateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> - getUpdateSavedQueryMethod; - if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { - AssetServiceGrpc.getUpdateSavedQueryMethod = - getUpdateSavedQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.UpdateSavedQueryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("UpdateSavedQuery")) - .build(); - } - } - } - return getUpdateSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty> - getDeleteSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSavedQuery", - requestType = com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty> - getDeleteSavedQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty> - getDeleteSavedQueryMethod; - if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { - AssetServiceGrpc.getDeleteSavedQueryMethod = - getDeleteSavedQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.DeleteSavedQueryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("DeleteSavedQuery")) - .build(); - } - } - } - return getDeleteSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> - getBatchGetEffectiveIamPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetEffectiveIamPolicies", - requestType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, - responseType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> - getBatchGetEffectiveIamPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> - getBatchGetEffectiveIamPoliciesMethod; - if ((getBatchGetEffectiveIamPoliciesMethod = - AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) - == null) { - synchronized (AssetServiceGrpc.class) { - if ((getBatchGetEffectiveIamPoliciesMethod = - AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) - == null) { - AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod = - getBatchGetEffectiveIamPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchGetEffectiveIamPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("BatchGetEffectiveIamPolicies")) - .build(); - } - } - } - return getBatchGetEffectiveIamPoliciesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AssetServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; - return AssetServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; - return AssetServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; - return AssetServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public abstract static class AssetServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public void exportAssets( - com.google.cloud.asset.v1.ExportAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public void listAssets( - com.google.cloud.asset.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - * - * - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public void batchGetAssetsHistory( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetAssetsHistoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed( - com.google.cloud.asset.v1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed( - com.google.cloud.asset.v1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds( - com.google.cloud.asset.v1.ListFeedsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed( - com.google.cloud.asset.v1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed( - com.google.cloud.asset.v1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllResources( - com.google.cloud.asset.v1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchAllResourcesMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllIamPolicies( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchAllIamPoliciesMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public void analyzeIamPolicy( - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public void analyzeIamPolicyLongrunning( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeIamPolicyLongrunningMethod(), responseObserver); - } - - /** - * - * - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public void analyzeMove( - com.google.cloud.asset.v1.AnalyzeMoveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeMoveMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public void createSavedQuery( - com.google.cloud.asset.v1.CreateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSavedQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details about a saved query.
-     * 
- */ - public void getSavedQuery( - com.google.cloud.asset.v1.GetSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSavedQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public void listSavedQueries( - com.google.cloud.asset.v1.ListSavedQueriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSavedQueriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a saved query.
-     * 
- */ - public void updateSavedQuery( - com.google.cloud.asset.v1.UpdateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateSavedQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a saved query.
-     * 
- */ - public void deleteSavedQuery( - com.google.cloud.asset.v1.DeleteSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSavedQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public void batchGetEffectiveIamPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetEffectiveIamPoliciesMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExportAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ExportAssetsRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_ASSETS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListAssetsRequest, - com.google.cloud.asset.v1.ListAssetsResponse>(this, METHODID_LIST_ASSETS))) - .addMethod( - getBatchGetAssetsHistoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( - this, METHODID_BATCH_GET_ASSETS_HISTORY))) - .addMethod( - getCreateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed>( - this, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed>( - this, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListFeedsRequest, - com.google.cloud.asset.v1.ListFeedsResponse>(this, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed>( - this, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_FEED))) - .addMethod( - getSearchAllResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse>( - this, METHODID_SEARCH_ALL_RESOURCES))) - .addMethod( - getSearchAllIamPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse>( - this, METHODID_SEARCH_ALL_IAM_POLICIES))) - .addMethod( - getAnalyzeIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse>( - this, METHODID_ANALYZE_IAM_POLICY))) - .addMethod( - getAnalyzeIamPolicyLongrunningMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation>( - this, METHODID_ANALYZE_IAM_POLICY_LONGRUNNING))) - .addMethod( - getAnalyzeMoveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeMoveRequest, - com.google.cloud.asset.v1.AnalyzeMoveResponse>(this, METHODID_ANALYZE_MOVE))) - .addMethod( - getCreateSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.CreateSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>(this, METHODID_CREATE_SAVED_QUERY))) - .addMethod( - getGetSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.GetSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>(this, METHODID_GET_SAVED_QUERY))) - .addMethod( - getListSavedQueriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListSavedQueriesRequest, - com.google.cloud.asset.v1.ListSavedQueriesResponse>( - this, METHODID_LIST_SAVED_QUERIES))) - .addMethod( - getUpdateSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.UpdateSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>(this, METHODID_UPDATE_SAVED_QUERY))) - .addMethod( - getDeleteSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_SAVED_QUERY))) - .addMethod( - getBatchGetEffectiveIamPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse>( - this, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) - .build(); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public void exportAssets( - com.google.cloud.asset.v1.ExportAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportAssetsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public void listAssets( - com.google.cloud.asset.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public void batchGetAssetsHistory( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed( - com.google.cloud.asset.v1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed( - com.google.cloud.asset.v1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds( - com.google.cloud.asset.v1.ListFeedsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed( - com.google.cloud.asset.v1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed( - com.google.cloud.asset.v1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllResources( - com.google.cloud.asset.v1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllIamPolicies( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public void analyzeIamPolicy( - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public void analyzeIamPolicyLongrunning( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public void analyzeMove( - com.google.cloud.asset.v1.AnalyzeMoveRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public void createSavedQuery( - com.google.cloud.asset.v1.CreateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details about a saved query.
-     * 
- */ - public void getSavedQuery( - com.google.cloud.asset.v1.GetSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public void listSavedQueries( - com.google.cloud.asset.v1.ListSavedQueriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a saved query.
-     * 
- */ - public void updateSavedQuery( - com.google.cloud.asset.v1.UpdateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a saved query.
-     * 
- */ - public void deleteSavedQuery( - com.google.cloud.asset.v1.DeleteSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public void batchGetEffectiveIamPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public com.google.longrunning.Operation exportAssets( - com.google.cloud.asset.v1.ExportAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public com.google.cloud.asset.v1.ListAssetsResponse listAssets( - com.google.cloud.asset.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse batchGetAssetsHistory( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetAssetsHistoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.cloud.asset.v1.Feed createFeed( - com.google.cloud.asset.v1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.cloud.asset.v1.Feed getFeed( - com.google.cloud.asset.v1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1.ListFeedsResponse listFeeds( - com.google.cloud.asset.v1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFeedsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.cloud.asset.v1.Feed updateFeed( - com.google.cloud.asset.v1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.protobuf.Empty deleteFeed( - com.google.cloud.asset.v1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.cloud.asset.v1.SearchAllResourcesResponse searchAllResources( - com.google.cloud.asset.v1.SearchAllResourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchAllResourcesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse searchAllIamPolicies( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchAllIamPoliciesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse analyzeIamPolicy( - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public com.google.longrunning.Operation analyzeIamPolicyLongrunning( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeIamPolicyLongrunningMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeMoveResponse analyzeMove( - com.google.cloud.asset.v1.AnalyzeMoveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeMoveMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1.SavedQuery createSavedQuery( - com.google.cloud.asset.v1.CreateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSavedQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details about a saved query.
-     * 
- */ - public com.google.cloud.asset.v1.SavedQuery getSavedQuery( - com.google.cloud.asset.v1.GetSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSavedQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1.ListSavedQueriesResponse listSavedQueries( - com.google.cloud.asset.v1.ListSavedQueriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSavedQueriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a saved query.
-     * 
- */ - public com.google.cloud.asset.v1.SavedQuery updateSavedQuery( - com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSavedQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a saved query.
-     * 
- */ - public com.google.protobuf.Empty deleteSavedQuery( - com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSavedQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - batchGetEffectiveIamPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetEffectiveIamPoliciesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.ListAssetsResponse> - listAssets(com.google.cloud.asset.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> - batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createFeed(com.google.cloud.asset.v1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getFeed(com.google.cloud.asset.v1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.ListFeedsResponse> - listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFeed( - com.google.cloud.asset.v1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.SearchAllResourcesResponse> - searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> - searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> - analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - analyzeIamPolicyLongrunning( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.AnalyzeMoveResponse> - analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details about a saved query.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.ListSavedQueriesResponse> - listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a saved query.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a saved query.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> - batchGetEffectiveIamPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXPORT_ASSETS = 0; - private static final int METHODID_LIST_ASSETS = 1; - private static final int METHODID_BATCH_GET_ASSETS_HISTORY = 2; - private static final int METHODID_CREATE_FEED = 3; - private static final int METHODID_GET_FEED = 4; - private static final int METHODID_LIST_FEEDS = 5; - private static final int METHODID_UPDATE_FEED = 6; - private static final int METHODID_DELETE_FEED = 7; - private static final int METHODID_SEARCH_ALL_RESOURCES = 8; - private static final int METHODID_SEARCH_ALL_IAM_POLICIES = 9; - private static final int METHODID_ANALYZE_IAM_POLICY = 10; - private static final int METHODID_ANALYZE_IAM_POLICY_LONGRUNNING = 11; - private static final int METHODID_ANALYZE_MOVE = 12; - private static final int METHODID_CREATE_SAVED_QUERY = 13; - private static final int METHODID_GET_SAVED_QUERY = 14; - private static final int METHODID_LIST_SAVED_QUERIES = 15; - private static final int METHODID_UPDATE_SAVED_QUERY = 16; - private static final int METHODID_DELETE_SAVED_QUERY = 17; - private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 18; - - 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 AssetServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AssetServiceImplBase 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_EXPORT_ASSETS: - serviceImpl.exportAssets( - (com.google.cloud.asset.v1.ExportAssetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets( - (com.google.cloud.asset.v1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_GET_ASSETS_HISTORY: - serviceImpl.batchGetAssetsHistory( - (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_FEED: - serviceImpl.createFeed( - (com.google.cloud.asset.v1.CreateFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FEED: - serviceImpl.getFeed( - (com.google.cloud.asset.v1.GetFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FEEDS: - serviceImpl.listFeeds( - (com.google.cloud.asset.v1.ListFeedsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_FEED: - serviceImpl.updateFeed( - (com.google.cloud.asset.v1.UpdateFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_FEED: - serviceImpl.deleteFeed( - (com.google.cloud.asset.v1.DeleteFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_ALL_RESOURCES: - serviceImpl.searchAllResources( - (com.google.cloud.asset.v1.SearchAllResourcesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SEARCH_ALL_IAM_POLICIES: - serviceImpl.searchAllIamPolicies( - (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_ANALYZE_IAM_POLICY: - serviceImpl.analyzeIamPolicy( - (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_ANALYZE_IAM_POLICY_LONGRUNNING: - serviceImpl.analyzeIamPolicyLongrunning( - (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ANALYZE_MOVE: - serviceImpl.analyzeMove( - (com.google.cloud.asset.v1.AnalyzeMoveRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_SAVED_QUERY: - serviceImpl.createSavedQuery( - (com.google.cloud.asset.v1.CreateSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SAVED_QUERY: - serviceImpl.getSavedQuery( - (com.google.cloud.asset.v1.GetSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SAVED_QUERIES: - serviceImpl.listSavedQueries( - (com.google.cloud.asset.v1.ListSavedQueriesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SAVED_QUERY: - serviceImpl.updateSavedQuery( - (com.google.cloud.asset.v1.UpdateSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SAVED_QUERY: - serviceImpl.deleteSavedQuery( - (com.google.cloud.asset.v1.DeleteSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES: - serviceImpl.batchGetEffectiveIamPolicies( - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse>) - 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 AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AssetServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AssetService"); - } - } - - private static final class AssetServiceFileDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier { - AssetServiceFileDescriptorSupplier() {} - } - - private static final class AssetServiceMethodDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getExportAssetsMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getBatchGetAssetsHistoryMethod()) - .addMethod(getCreateFeedMethod()) - .addMethod(getGetFeedMethod()) - .addMethod(getListFeedsMethod()) - .addMethod(getUpdateFeedMethod()) - .addMethod(getDeleteFeedMethod()) - .addMethod(getSearchAllResourcesMethod()) - .addMethod(getSearchAllIamPoliciesMethod()) - .addMethod(getAnalyzeIamPolicyMethod()) - .addMethod(getAnalyzeIamPolicyLongrunningMethod()) - .addMethod(getAnalyzeMoveMethod()) - .addMethod(getCreateSavedQueryMethod()) - .addMethod(getGetSavedQueryMethod()) - .addMethod(getListSavedQueriesMethod()) - .addMethod(getUpdateSavedQueryMethod()) - .addMethod(getDeleteSavedQueryMethod()) - .addMethod(getBatchGetEffectiveIamPoliciesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java deleted file mode 100644 index c58318038..000000000 --- a/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java +++ /dev/null @@ -1,799 +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.asset.v1p2beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Asset service definition.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/asset/v1p2beta1/asset_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AssetServiceGrpc { - - private AssetServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.asset.v1p2beta1.AssetService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.CreateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getCreateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFeed", - requestType = com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.CreateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getCreateFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.CreateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed> - getCreateFeedMethod; - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - AssetServiceGrpc.getCreateFeedMethod = - getCreateFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) - .build(); - } - } - } - return getCreateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getGetFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFeed", - requestType = com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getGetFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getGetFeedMethod; - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - AssetServiceGrpc.getGetFeedMethod = - getGetFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) - .build(); - } - } - } - return getGetFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse> - getListFeedsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFeeds", - requestType = com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse> - getListFeedsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse> - getListFeedsMethod; - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - AssetServiceGrpc.getListFeedsMethod = - getListFeedsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) - .build(); - } - } - } - return getListFeedsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getUpdateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", - requestType = com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> - getUpdateFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed> - getUpdateFeedMethod; - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - AssetServiceGrpc.getUpdateFeedMethod = - getUpdateFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) - .build(); - } - } - } - return getUpdateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty> - getDeleteFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", - requestType = com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty> - getDeleteFeedMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty> - getDeleteFeedMethod; - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - AssetServiceGrpc.getDeleteFeedMethod = - getDeleteFeedMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) - .build(); - } - } - } - return getDeleteFeedMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AssetServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; - return AssetServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; - return AssetServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; - return AssetServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public abstract static class AssetServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed( - com.google.cloud.asset.v1p2beta1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.CreateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>(this, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>(this, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( - this, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>(this, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_FEED))) - .build(); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed( - com.google.cloud.asset.v1p2beta1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.Feed createFeed( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.Feed getFeed( - com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.ListFeedsResponse listFeeds( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFeedsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.Feed updateFeed( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFeedMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.protobuf.Empty deleteFeed( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFeedMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1p2beta1.ListFeedsResponse> - listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFeed( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_FEED = 0; - private static final int METHODID_GET_FEED = 1; - private static final int METHODID_LIST_FEEDS = 2; - private static final int METHODID_UPDATE_FEED = 3; - private static final int METHODID_DELETE_FEED = 4; - - 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 AssetServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AssetServiceImplBase 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_FEED: - serviceImpl.createFeed( - (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_FEED: - serviceImpl.getFeed( - (com.google.cloud.asset.v1p2beta1.GetFeedRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_FEEDS: - serviceImpl.listFeeds( - (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_FEED: - serviceImpl.updateFeed( - (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_FEED: - serviceImpl.deleteFeed( - (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) 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 AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AssetServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AssetService"); - } - } - - private static final class AssetServiceFileDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier { - AssetServiceFileDescriptorSupplier() {} - } - - private static final class AssetServiceMethodDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getCreateFeedMethod()) - .addMethod(getGetFeedMethod()) - .addMethod(getListFeedsMethod()) - .addMethod(getUpdateFeedMethod()) - .addMethod(getDeleteFeedMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java deleted file mode 100644 index fd7ad4c91..000000000 --- a/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java +++ /dev/null @@ -1,499 +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.asset.v1p4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Asset service definition.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/asset/v1p4beta1/asset_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AssetServiceGrpc { - - private AssetServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.asset.v1p4beta1.AssetService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> - getAnalyzeIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", - requestType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, - responseType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> - getAnalyzeIamPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> - getAnalyzeIamPolicyMethod; - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - AssetServiceGrpc.getAnalyzeIamPolicyMethod = - getAnalyzeIamPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) - .build(); - } - } - } - return getAnalyzeIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, - com.google.longrunning.Operation> - getExportIamPolicyAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportIamPolicyAnalysis", - requestType = com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, - com.google.longrunning.Operation> - getExportIamPolicyAnalysisMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, - com.google.longrunning.Operation> - getExportIamPolicyAnalysisMethod; - if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) - == null) { - synchronized (AssetServiceGrpc.class) { - if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) - == null) { - AssetServiceGrpc.getExportIamPolicyAnalysisMethod = - getExportIamPolicyAnalysisMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ExportIamPolicyAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("ExportIamPolicyAnalysis")) - .build(); - } - } - } - return getExportIamPolicyAnalysisMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AssetServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; - return AssetServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; - return AssetServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; - return AssetServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public abstract static class AssetServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public void analyzeIamPolicy( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getAnalyzeIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public void exportIamPolicyAnalysis( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportIamPolicyAnalysisMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getAnalyzeIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>( - this, METHODID_ANALYZE_IAM_POLICY))) - .addMethod( - getExportIamPolicyAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_IAM_POLICY_ANALYSIS))) - .build(); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public void analyzeIamPolicy( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public void exportIamPolicyAnalysis( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse analyzeIamPolicy( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public com.google.longrunning.Operation exportIamPolicyAnalysis( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportIamPolicyAnalysisMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> - analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - exportIamPolicyAnalysis( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_ANALYZE_IAM_POLICY = 0; - private static final int METHODID_EXPORT_IAM_POLICY_ANALYSIS = 1; - - 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 AssetServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AssetServiceImplBase 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_ANALYZE_IAM_POLICY: - serviceImpl.analyzeIamPolicy( - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>) - responseObserver); - break; - case METHODID_EXPORT_IAM_POLICY_ANALYSIS: - serviceImpl.exportIamPolicyAnalysis( - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) 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 AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AssetServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AssetService"); - } - } - - private static final class AssetServiceFileDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier { - AssetServiceFileDescriptorSupplier() {} - } - - private static final class AssetServiceMethodDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getAnalyzeIamPolicyMethod()) - .addMethod(getExportIamPolicyAnalysisMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java similarity index 94% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java index b885e4813..a5f6af309 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java +++ b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -69,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. *
* @@ -195,6 +196,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -994,10 +996,10 @@ public final UnaryCallable deleteFeedCallable() { * permission on the desired scope. *

The allowed values are: *

    - *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") - *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") + *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") + *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") + *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") + *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") *
* * @param query Optional. The query statement. See [how to construct a @@ -1006,32 +1008,32 @@ public final UnaryCallable deleteFeedCallable() { * the specified `scope`. *

Examples: *

    - *
  • `name:Important` to find Cloud resources whose name contains "Important" as a word. - *
  • `name=Important` to find the Cloud resource whose name is exactly "Important". - *
  • `displayName:Impor*` to find Cloud resources whose display name contains "Impor" + *
  • `name:Important` to find Cloud resources whose name contains "Important" as a word. + *
  • `name=Important` to find the Cloud resource whose name is exactly "Important". + *
  • `displayName:Impor*` to find Cloud resources whose display name contains "Impor" * as a prefix of any word in the field. - *
  • `location:us-west*` to find Cloud resources whose location contains both "us" and - * "west" as prefixes. - *
  • `labels:prod` to find Cloud resources whose labels contain "prod" as a key or value. - *
  • `labels.env:prod` to find Cloud resources that have a label "env" and its value is + *
  • `location:us-west*` to find Cloud resources whose location contains both "us" + * and "west" as prefixes. + *
  • `labels:prod` to find Cloud resources whose labels contain "prod" as a key or value. + *
  • `labels.env:prod` to find Cloud resources that have a label "env" and its value is * "prod". - *
  • `labels.env:*` to find Cloud resources that have a label "env". - *
  • `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption key - * whose name contains the word "key". - *
  • `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a word. - *
  • `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain "ACTIVE" as a + *
  • `labels.env:*` to find Cloud resources that have a label "env". + *
  • `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption + * key whose name contains the word "key". + *
  • `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a word. + *
  • `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain "ACTIVE" as a * word. - *
  • `createTime<1609459200` to find Cloud resources that were created before + *
  • `createTime<1609459200` to find Cloud resources that were created before * "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 * UTC" in seconds. - *
  • `updateTime>1609459200` to find Cloud resources that were updated after + *
  • `updateTime>1609459200` to find Cloud resources that were updated after * "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 * UTC" in seconds. - *
  • `Important` to find Cloud resources that contain "Important" as a word in any of the + *
  • `Important` to find Cloud resources that contain "Important" as a word in any of the * searchable fields. - *
  • `Impor*` to find Cloud resources that contain "Impor" as a prefix of any word in + *
  • `Impor*` to find Cloud resources that contain "Impor" as a prefix of any word in * any of the searchable fields. - *
  • `Important location:(us-west1 OR global)` to find Cloud resources that contain + *
  • `Important location:(us-west1 OR global)` to find Cloud resources that contain * "Important" as a word in any of the searchable fields and are also located in the * "us-west1" region or the "global" location. *
@@ -1041,10 +1043,10 @@ public final UnaryCallable deleteFeedCallable() { * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). *

Regular expressions are also supported. For example: *

    - *
  • "compute.googleapis.com.*" snapshots resources whose asset type starts with + *
  • "compute.googleapis.com.*" snapshots resources whose asset type starts with * "compute.googleapis.com". - *
  • ".*Instance" snapshots resources whose asset type ends with "Instance". - *
  • ".*Instance.*" snapshots resources whose asset type contains "Instance". + *
  • ".*Instance" snapshots resources whose asset type ends with "Instance". + *
  • ".*Instance.*" snapshots resources whose asset type contains "Instance". *
*

See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular * expression syntax. If the regular expression does not match any supported asset type, an @@ -1205,10 +1207,10 @@ public final SearchAllResourcesPagedResponse searchAllResources( * permission on the desired scope. *

The allowed values are: *

    - *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") - *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") + *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") + *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") + *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") + *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") *
* * @param query Optional. The query statement. See [how to construct a @@ -1221,31 +1223,31 @@ public final SearchAllResourcesPagedResponse searchAllResources( * doc](https://cloud.google.com/iam/docs/policies#structure). *

Examples: *

    - *
  • `policy:amy{@literal @}gmail.com` to find IAM policy bindings that specify user + *
  • `policy:amy{@literal @}gmail.com` to find IAM policy bindings that specify user * "amy{@literal @}gmail.com". - *
  • `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute + *
  • `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute * Admin role. - *
  • `policy:comp*` to find IAM policy bindings that contain "comp" as a prefix of any - * word in the binding. - *
  • `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that + *
  • `policy:comp*` to find IAM policy bindings that contain "comp" as a prefix of + * any word in the binding. + *
  • `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that * specify a role containing "storage.buckets.update" permission. Note that if callers * don't have `iam.roles.get` access to a role's included permissions, policy bindings * that specify this role will be dropped from the search results. - *
  • `policy.role.permissions:upd*` to find IAM policy bindings that specify a role + *
  • `policy.role.permissions:upd*` to find IAM policy bindings that specify a role * containing "upd" as a prefix of any word in the role permission. Note that if callers * don't have `iam.roles.get` access to a role's included permissions, policy bindings * that specify this role will be dropped from the search results. - *
  • `resource:organizations/123456` to find IAM policy bindings that are set on + *
  • `resource:organizations/123456` to find IAM policy bindings that are set on * "organizations/123456". - *
  • `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM + *
  • `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM * policy bindings that are set on the project named "myproject". - *
  • `Important` to find IAM policy bindings that contain "Important" as a word in any of + *
  • `Important` to find IAM policy bindings that contain "Important" as a word in any of * the searchable fields (except for the included permissions). - *
  • `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are + *
  • `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are * set on resources "instance1" or "instance2" and also specify user "amy". - *
  • `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute + *
  • `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute * Admin role. - *
  • `memberTypes:user` to find IAM policy bindings that contain the principal type + *
  • `memberTypes:user` to find IAM policy bindings that contain the principal type * "user". *
* @@ -1494,8 +1496,7 @@ public final AnalyzeIamPolicyResponse analyzeIamPolicy(AnalyzeIamPolicyRequest r * } */ public final OperationCallable< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { return stub.analyzeIamPolicyLongrunningOperationCallable(); @@ -1829,9 +1830,9 @@ public final UnaryCallable createSavedQuery * * @param name Required. The name of the saved query and it must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1859,9 +1860,9 @@ public final SavedQuery getSavedQuery(SavedQueryName name) { * * @param name Required. The name of the saved query and it must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2159,9 +2160,9 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ *

The saved query's `name` field is used to identify the one to update, which has format * as below: *

    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @param updateMask Required. The list of fields to update. @@ -2245,9 +2246,9 @@ public final UnaryCallable updateSavedQuery * * @param name Required. The name of the saved query to delete. It must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2275,9 +2276,9 @@ public final void deleteSavedQuery(SavedQueryName name) { * * @param name Required. The name of the saved query to delete. It must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2426,10 +2427,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAssetsPagedResponse extends AbstractPagedListResponse< - ListAssetsRequest, - ListAssetsResponse, - Asset, - ListAssetsPage, + ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, ListAssetsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2476,10 +2474,7 @@ public ApiFuture createPageAsync( public static class ListAssetsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAssetsRequest, - ListAssetsResponse, - Asset, - ListAssetsPage, + ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, ListAssetsFixedSizeCollection> { private ListAssetsFixedSizeCollection(List pages, int collectionSize) { @@ -2499,11 +2494,8 @@ protected ListAssetsFixedSizeCollection createCollection( public static class SearchAllResourcesPagedResponse extends AbstractPagedListResponse< - SearchAllResourcesRequest, - SearchAllResourcesResponse, - ResourceSearchResult, - SearchAllResourcesPage, - SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, SearchAllResourcesResponse, ResourceSearchResult, + SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -2524,9 +2516,7 @@ private SearchAllResourcesPagedResponse(SearchAllResourcesPage page) { public static class SearchAllResourcesPage extends AbstractPage< - SearchAllResourcesRequest, - SearchAllResourcesResponse, - ResourceSearchResult, + SearchAllResourcesRequest, SearchAllResourcesResponse, ResourceSearchResult, SearchAllResourcesPage> { private SearchAllResourcesPage( @@ -2559,11 +2549,8 @@ public ApiFuture createPageAsync( public static class SearchAllResourcesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllResourcesRequest, - SearchAllResourcesResponse, - ResourceSearchResult, - SearchAllResourcesPage, - SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, SearchAllResourcesResponse, ResourceSearchResult, + SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { private SearchAllResourcesFixedSizeCollection( List pages, int collectionSize) { @@ -2583,11 +2570,8 @@ protected SearchAllResourcesFixedSizeCollection createCollection( public static class SearchAllIamPoliciesPagedResponse extends AbstractPagedListResponse< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, - IamPolicySearchResult, - SearchAllIamPoliciesPage, - SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, + SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2609,9 +2593,7 @@ private SearchAllIamPoliciesPagedResponse(SearchAllIamPoliciesPage page) { public static class SearchAllIamPoliciesPage extends AbstractPage< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, - IamPolicySearchResult, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, SearchAllIamPoliciesPage> { private SearchAllIamPoliciesPage( @@ -2647,11 +2629,8 @@ public ApiFuture createPageAsync( public static class SearchAllIamPoliciesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, - IamPolicySearchResult, - SearchAllIamPoliciesPage, - SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, + SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { private SearchAllIamPoliciesFixedSizeCollection( List pages, int collectionSize) { @@ -2671,10 +2650,7 @@ protected SearchAllIamPoliciesFixedSizeCollection createCollection( public static class ListSavedQueriesPagedResponse extends AbstractPagedListResponse< - ListSavedQueriesRequest, - ListSavedQueriesResponse, - SavedQuery, - ListSavedQueriesPage, + ListSavedQueriesRequest, ListSavedQueriesResponse, SavedQuery, ListSavedQueriesPage, ListSavedQueriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2724,10 +2700,7 @@ public ApiFuture createPageAsync( public static class ListSavedQueriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListSavedQueriesRequest, - ListSavedQueriesResponse, - SavedQuery, - ListSavedQueriesPage, + ListSavedQueriesRequest, ListSavedQueriesResponse, SavedQuery, ListSavedQueriesPage, ListSavedQueriesFixedSizeCollection> { private ListSavedQueriesFixedSizeCollection( diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java similarity index 96% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java index 9ed0dabea..3855314e9 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java +++ b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1.stub.AssetServiceStubSettings; @@ -48,9 +49,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -134,8 +135,7 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return ((AssetServiceStubSettings) getStubSettings()).searchAllIamPoliciesSettings(); @@ -155,8 +155,7 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to analyzeIamPolicyLongrunning. */ public OperationCallSettings< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return ((AssetServiceStubSettings) getStubSettings()) @@ -375,8 +374,7 @@ public UnaryCallSettings.Builder deleteFeedSettings() /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return getStubSettingsBuilder().searchAllIamPoliciesSettings(); @@ -396,8 +394,7 @@ public UnaryCallSettings.Builder deleteFeedSettings() /** Returns the builder for the settings used for calls to analyzeIamPolicyLongrunning. */ public OperationCallSettings.Builder< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return getStubSettingsBuilder().analyzeIamPolicyLongrunningOperationSettings(); diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java similarity index 98% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java index 8be0b9772..762fc909c 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java @@ -147,8 +147,7 @@ public UnaryCallable deleteFeedCallable() { } public OperationCallable< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { throw new UnsupportedOperationException( diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java similarity index 97% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java index 8cc8a48a3..19ec75eef 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java @@ -104,9 +104,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -154,8 +154,7 @@ public class AssetServiceStubSettings extends StubSettings searchAllResourcesSettings; private final PagedCallSettings< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; private final UnaryCallSettings @@ -163,8 +162,7 @@ public class AssetServiceStubSettings extends StubSettings analyzeIamPolicyLongrunningSettings; private final OperationCallSettings< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings; private final UnaryCallSettings analyzeMoveSettings; @@ -357,8 +355,7 @@ public ApiFuture getFuturePagedResponse( SearchAllResourcesRequest, SearchAllResourcesResponse, SearchAllResourcesPagedResponse> SEARCH_ALL_RESOURCES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllResourcesRequest, - SearchAllResourcesResponse, + SearchAllResourcesRequest, SearchAllResourcesResponse, SearchAllResourcesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -376,13 +373,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> SEARCH_ALL_IAM_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -391,8 +386,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult> pageContext = PageContext.create( @@ -477,8 +471,7 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; @@ -498,8 +491,7 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to analyzeIamPolicyLongrunning. */ public OperationCallSettings< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return analyzeIamPolicyLongrunningOperationSettings; @@ -698,8 +690,7 @@ public static class Builder extends StubSettings.Builder searchAllResourcesSettings; private final PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; private final UnaryCallSettings.Builder @@ -707,8 +698,7 @@ public static class Builder extends StubSettings.Builder analyzeIamPolicyLongrunningSettings; private final OperationCallSettings.Builder< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings; private final UnaryCallSettings.Builder @@ -1156,8 +1146,7 @@ public UnaryCallSettings.Builder deleteFeedSettings() /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; @@ -1179,8 +1168,7 @@ public UnaryCallSettings.Builder deleteFeedSettings() @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return analyzeIamPolicyLongrunningOperationSettings; diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java similarity index 99% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java index c75923ad8..8ce8215c7 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java @@ -68,6 +68,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; @@ -292,8 +293,7 @@ public class GrpcAssetServiceStub extends AssetServiceStub { private final UnaryCallable analyzeIamPolicyLongrunningCallable; private final OperationCallable< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable; private final UnaryCallable analyzeMoveCallable; @@ -750,8 +750,7 @@ public UnaryCallable deleteFeedCallable() { @Override public OperationCallable< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { return analyzeIamPolicyLongrunningOperationCallable; diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java similarity index 99% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java index b2b344b6a..4192bf935 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java +++ b/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java @@ -33,6 +33,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; @@ -827,8 +828,7 @@ public class HttpJsonAssetServiceStub extends AssetServiceStub { private final UnaryCallable analyzeIamPolicyLongrunningCallable; private final OperationCallable< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable; private final UnaryCallable analyzeMoveCallable; @@ -1215,8 +1215,7 @@ public UnaryCallable deleteFeedCallable() { @Override public OperationCallable< - AnalyzeIamPolicyLongrunningRequest, - AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { return analyzeIamPolicyLongrunningOperationCallable; diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java b/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java rename to owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java b/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java rename to owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java b/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java rename to owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java new file mode 100644 index 000000000..b01a9d086 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java @@ -0,0 +1,2003 @@ +package com.google.cloud.asset.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Asset service definition.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/asset/v1/asset_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AssetServiceGrpc { + + private AssetServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.asset.v1.AssetService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getExportAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportAssets", + requestType = com.google.cloud.asset.v1.ExportAssetsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExportAssetsMethod() { + io.grpc.MethodDescriptor getExportAssetsMethod; + if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { + AssetServiceGrpc.getExportAssetsMethod = getExportAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ExportAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) + .build(); + } + } + } + return getExportAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssets", + requestType = com.google.cloud.asset.v1.ListAssetsRequest.class, + responseType = com.google.cloud.asset.v1.ListAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAssetsMethod() { + io.grpc.MethodDescriptor getListAssetsMethod; + if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { + AssetServiceGrpc.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.asset.v1.ListAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) + .build(); + } + } + } + return getListAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchGetAssetsHistoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetAssetsHistory", + requestType = com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, + responseType = com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchGetAssetsHistoryMethod() { + io.grpc.MethodDescriptor getBatchGetAssetsHistoryMethod; + if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) == null) { + AssetServiceGrpc.getBatchGetAssetsHistoryMethod = getBatchGetAssetsHistoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetAssetsHistory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("BatchGetAssetsHistory")) + .build(); + } + } + } + return getBatchGetAssetsHistoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFeed", + requestType = com.google.cloud.asset.v1.CreateFeedRequest.class, + responseType = com.google.cloud.asset.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateFeedMethod() { + io.grpc.MethodDescriptor getCreateFeedMethod; + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + AssetServiceGrpc.getCreateFeedMethod = getCreateFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.CreateFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) + .build(); + } + } + } + return getCreateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFeed", + requestType = com.google.cloud.asset.v1.GetFeedRequest.class, + responseType = com.google.cloud.asset.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFeedMethod() { + io.grpc.MethodDescriptor getGetFeedMethod; + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + AssetServiceGrpc.getGetFeedMethod = getGetFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.GetFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) + .build(); + } + } + } + return getGetFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFeedsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeeds", + requestType = com.google.cloud.asset.v1.ListFeedsRequest.class, + responseType = com.google.cloud.asset.v1.ListFeedsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFeedsMethod() { + io.grpc.MethodDescriptor getListFeedsMethod; + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + AssetServiceGrpc.getListFeedsMethod = getListFeedsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListFeedsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListFeedsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) + .build(); + } + } + } + return getListFeedsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", + requestType = com.google.cloud.asset.v1.UpdateFeedRequest.class, + responseType = com.google.cloud.asset.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateFeedMethod() { + io.grpc.MethodDescriptor getUpdateFeedMethod; + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + AssetServiceGrpc.getUpdateFeedMethod = getUpdateFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.UpdateFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) + .build(); + } + } + } + return getUpdateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", + requestType = com.google.cloud.asset.v1.DeleteFeedRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteFeedMethod() { + io.grpc.MethodDescriptor getDeleteFeedMethod; + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + AssetServiceGrpc.getDeleteFeedMethod = getDeleteFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.DeleteFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) + .build(); + } + } + } + return getDeleteFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchAllResourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchAllResources", + requestType = com.google.cloud.asset.v1.SearchAllResourcesRequest.class, + responseType = com.google.cloud.asset.v1.SearchAllResourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchAllResourcesMethod() { + io.grpc.MethodDescriptor getSearchAllResourcesMethod; + if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { + AssetServiceGrpc.getSearchAllResourcesMethod = getSearchAllResourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllResourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllResourcesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllResources")) + .build(); + } + } + } + return getSearchAllResourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchAllIamPolicies", + requestType = com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, + responseType = com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod() { + io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; + if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { + AssetServiceGrpc.getSearchAllIamPoliciesMethod = getSearchAllIamPoliciesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) + .build(); + } + } + } + return getSearchAllIamPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", + requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod() { + io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + AssetServiceGrpc.getAnalyzeIamPolicyMethod = getAnalyzeIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) + .build(); + } + } + } + return getAnalyzeIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getAnalyzeIamPolicyLongrunningMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicyLongrunning", + requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeIamPolicyLongrunningMethod() { + io.grpc.MethodDescriptor getAnalyzeIamPolicyLongrunningMethod; + if ((getAnalyzeIamPolicyLongrunningMethod = AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeIamPolicyLongrunningMethod = AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) == null) { + AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod = getAnalyzeIamPolicyLongrunningMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicyLongrunning")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicyLongrunning")) + .build(); + } + } + } + return getAnalyzeIamPolicyLongrunningMethod; + } + + private static volatile io.grpc.MethodDescriptor getAnalyzeMoveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeMove", + requestType = com.google.cloud.asset.v1.AnalyzeMoveRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeMoveResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeMoveMethod() { + io.grpc.MethodDescriptor getAnalyzeMoveMethod; + if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { + AssetServiceGrpc.getAnalyzeMoveMethod = getAnalyzeMoveMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeMove")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeMoveRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeMoveResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeMove")) + .build(); + } + } + } + return getAnalyzeMoveMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSavedQuery", + requestType = com.google.cloud.asset.v1.CreateSavedQueryRequest.class, + responseType = com.google.cloud.asset.v1.SavedQuery.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSavedQueryMethod() { + io.grpc.MethodDescriptor getCreateSavedQueryMethod; + if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { + AssetServiceGrpc.getCreateSavedQueryMethod = getCreateSavedQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.CreateSavedQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateSavedQuery")) + .build(); + } + } + } + return getCreateSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSavedQuery", + requestType = com.google.cloud.asset.v1.GetSavedQueryRequest.class, + responseType = com.google.cloud.asset.v1.SavedQuery.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetSavedQueryMethod() { + io.grpc.MethodDescriptor getGetSavedQueryMethod; + if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { + AssetServiceGrpc.getGetSavedQueryMethod = getGetSavedQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.GetSavedQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetSavedQuery")) + .build(); + } + } + } + return getGetSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListSavedQueriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSavedQueries", + requestType = com.google.cloud.asset.v1.ListSavedQueriesRequest.class, + responseType = com.google.cloud.asset.v1.ListSavedQueriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSavedQueriesMethod() { + io.grpc.MethodDescriptor getListSavedQueriesMethod; + if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { + AssetServiceGrpc.getListSavedQueriesMethod = getListSavedQueriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSavedQueries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListSavedQueriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListSavedQueriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListSavedQueries")) + .build(); + } + } + } + return getListSavedQueriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSavedQuery", + requestType = com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, + responseType = com.google.cloud.asset.v1.SavedQuery.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateSavedQueryMethod() { + io.grpc.MethodDescriptor getUpdateSavedQueryMethod; + if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { + AssetServiceGrpc.getUpdateSavedQueryMethod = getUpdateSavedQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.UpdateSavedQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateSavedQuery")) + .build(); + } + } + } + return getUpdateSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSavedQuery", + requestType = com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteSavedQueryMethod() { + io.grpc.MethodDescriptor getDeleteSavedQueryMethod; + if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { + AssetServiceGrpc.getDeleteSavedQueryMethod = getDeleteSavedQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.DeleteSavedQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteSavedQuery")) + .build(); + } + } + } + return getDeleteSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchGetEffectiveIamPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetEffectiveIamPolicies", + requestType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, + responseType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchGetEffectiveIamPoliciesMethod() { + io.grpc.MethodDescriptor getBatchGetEffectiveIamPoliciesMethod; + if ((getBatchGetEffectiveIamPoliciesMethod = AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getBatchGetEffectiveIamPoliciesMethod = AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) == null) { + AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod = getBatchGetEffectiveIamPoliciesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetEffectiveIamPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("BatchGetEffectiveIamPolicies")) + .build(); + } + } + } + return getBatchGetEffectiveIamPoliciesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AssetServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; + return AssetServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AssetServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; + return AssetServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AssetServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; + return AssetServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static abstract class AssetServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public void exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportAssetsMethod(), responseObserver); + } + + /** + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public void listAssets(com.google.cloud.asset.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); + } + + /** + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public void batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetAssetsHistoryMethod(), responseObserver); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed(com.google.cloud.asset.v1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed(com.google.cloud.asset.v1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + /** + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllResourcesMethod(), responseObserver); + } + + /** + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllIamPoliciesMethod(), responseObserver); + } + + /** + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public void analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public void analyzeIamPolicyLongrunning(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeIamPolicyLongrunningMethod(), responseObserver); + } + + /** + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public void analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeMoveMethod(), responseObserver); + } + + /** + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public void createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSavedQueryMethod(), responseObserver); + } + + /** + *
+     * Gets details about a saved query.
+     * 
+ */ + public void getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSavedQueryMethod(), responseObserver); + } + + /** + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public void listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSavedQueriesMethod(), responseObserver); + } + + /** + *
+     * Updates a saved query.
+     * 
+ */ + public void updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSavedQueryMethod(), responseObserver); + } + + /** + *
+     * Deletes a saved query.
+     * 
+ */ + public void deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSavedQueryMethod(), responseObserver); + } + + /** + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public void batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetEffectiveIamPoliciesMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ExportAssetsRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_ASSETS))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListAssetsRequest, + com.google.cloud.asset.v1.ListAssetsResponse>( + this, METHODID_LIST_ASSETS))) + .addMethod( + getBatchGetAssetsHistoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( + this, METHODID_BATCH_GET_ASSETS_HISTORY))) + .addMethod( + getCreateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.CreateFeedRequest, + com.google.cloud.asset.v1.Feed>( + this, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.GetFeedRequest, + com.google.cloud.asset.v1.Feed>( + this, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListFeedsRequest, + com.google.cloud.asset.v1.ListFeedsResponse>( + this, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.UpdateFeedRequest, + com.google.cloud.asset.v1.Feed>( + this, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteFeedRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_FEED))) + .addMethod( + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse>( + this, METHODID_SEARCH_ALL_RESOURCES))) + .addMethod( + getSearchAllIamPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse>( + this, METHODID_SEARCH_ALL_IAM_POLICIES))) + .addMethod( + getAnalyzeIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse>( + this, METHODID_ANALYZE_IAM_POLICY))) + .addMethod( + getAnalyzeIamPolicyLongrunningMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation>( + this, METHODID_ANALYZE_IAM_POLICY_LONGRUNNING))) + .addMethod( + getAnalyzeMoveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeMoveRequest, + com.google.cloud.asset.v1.AnalyzeMoveResponse>( + this, METHODID_ANALYZE_MOVE))) + .addMethod( + getCreateSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.CreateSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>( + this, METHODID_CREATE_SAVED_QUERY))) + .addMethod( + getGetSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.GetSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>( + this, METHODID_GET_SAVED_QUERY))) + .addMethod( + getListSavedQueriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListSavedQueriesRequest, + com.google.cloud.asset.v1.ListSavedQueriesResponse>( + this, METHODID_LIST_SAVED_QUERIES))) + .addMethod( + getUpdateSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.UpdateSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>( + this, METHODID_UPDATE_SAVED_QUERY))) + .addMethod( + getDeleteSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_SAVED_QUERY))) + .addMethod( + getBatchGetEffectiveIamPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse>( + this, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) + .build(); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + + /** + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public void exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public void listAssets(com.google.cloud.asset.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public void batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed(com.google.cloud.asset.v1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed(com.google.cloud.asset.v1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public void analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public void analyzeIamPolicyLongrunning(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public void analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public void createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details about a saved query.
+     * 
+ */ + public void getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public void listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a saved query.
+     * 
+ */ + public void updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a saved query.
+     * 
+ */ + public void deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public void batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public com.google.longrunning.Operation exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportAssetsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public com.google.cloud.asset.v1.ListAssetsResponse listAssets(com.google.cloud.asset.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetsMethod(), getCallOptions(), request); + } + + /** + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetAssetsHistoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.cloud.asset.v1.Feed createFeed(com.google.cloud.asset.v1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.cloud.asset.v1.Feed getFeed(com.google.cloud.asset.v1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1.ListFeedsResponse listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.cloud.asset.v1.Feed updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.protobuf.Empty deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.cloud.asset.v1.SearchAllResourcesResponse searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchAllResourcesMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchAllIamPoliciesMethod(), getCallOptions(), request); + } + + /** + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public com.google.longrunning.Operation analyzeIamPolicyLongrunning(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeIamPolicyLongrunningMethod(), getCallOptions(), request); + } + + /** + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeMoveResponse analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeMoveMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1.SavedQuery createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSavedQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details about a saved query.
+     * 
+ */ + public com.google.cloud.asset.v1.SavedQuery getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSavedQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1.ListSavedQueriesResponse listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSavedQueriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a saved query.
+     * 
+ */ + public com.google.cloud.asset.v1.SavedQuery updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSavedQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a saved query.
+     * 
+ */ + public com.google.protobuf.Empty deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSavedQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetEffectiveIamPoliciesMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture exportAssets( + com.google.cloud.asset.v1.ExportAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAssets( + com.google.cloud.asset.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); + } + + /** + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchGetAssetsHistory( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createFeed( + com.google.cloud.asset.v1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFeed( + com.google.cloud.asset.v1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFeeds( + com.google.cloud.asset.v1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateFeed( + com.google.cloud.asset.v1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFeed( + com.google.cloud.asset.v1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchAllResources( + com.google.cloud.asset.v1.SearchAllResourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchAllIamPolicies( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request); + } + + /** + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeIamPolicy( + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeIamPolicyLongrunning( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), request); + } + + /** + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeMove( + com.google.cloud.asset.v1.AnalyzeMoveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSavedQuery( + com.google.cloud.asset.v1.CreateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details about a saved query.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getSavedQuery( + com.google.cloud.asset.v1.GetSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSavedQueries( + com.google.cloud.asset.v1.ListSavedQueriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a saved query.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateSavedQuery( + com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a saved query.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteSavedQuery( + com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchGetEffectiveIamPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXPORT_ASSETS = 0; + private static final int METHODID_LIST_ASSETS = 1; + private static final int METHODID_BATCH_GET_ASSETS_HISTORY = 2; + private static final int METHODID_CREATE_FEED = 3; + private static final int METHODID_GET_FEED = 4; + private static final int METHODID_LIST_FEEDS = 5; + private static final int METHODID_UPDATE_FEED = 6; + private static final int METHODID_DELETE_FEED = 7; + private static final int METHODID_SEARCH_ALL_RESOURCES = 8; + private static final int METHODID_SEARCH_ALL_IAM_POLICIES = 9; + private static final int METHODID_ANALYZE_IAM_POLICY = 10; + private static final int METHODID_ANALYZE_IAM_POLICY_LONGRUNNING = 11; + private static final int METHODID_ANALYZE_MOVE = 12; + private static final int METHODID_CREATE_SAVED_QUERY = 13; + private static final int METHODID_GET_SAVED_QUERY = 14; + private static final int METHODID_LIST_SAVED_QUERIES = 15; + private static final int METHODID_UPDATE_SAVED_QUERY = 16; + private static final int METHODID_DELETE_SAVED_QUERY = 17; + private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 18; + + 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 AssetServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AssetServiceImplBase 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_EXPORT_ASSETS: + serviceImpl.exportAssets((com.google.cloud.asset.v1.ExportAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSETS: + serviceImpl.listAssets((com.google.cloud.asset.v1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_ASSETS_HISTORY: + serviceImpl.batchGetAssetsHistory((com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_FEED: + serviceImpl.createFeed((com.google.cloud.asset.v1.CreateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FEED: + serviceImpl.getFeed((com.google.cloud.asset.v1.GetFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FEEDS: + serviceImpl.listFeeds((com.google.cloud.asset.v1.ListFeedsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_FEED: + serviceImpl.updateFeed((com.google.cloud.asset.v1.UpdateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FEED: + serviceImpl.deleteFeed((com.google.cloud.asset.v1.DeleteFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_ALL_RESOURCES: + serviceImpl.searchAllResources((com.google.cloud.asset.v1.SearchAllResourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_ALL_IAM_POLICIES: + serviceImpl.searchAllIamPolicies((com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ANALYZE_IAM_POLICY: + serviceImpl.analyzeIamPolicy((com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ANALYZE_IAM_POLICY_LONGRUNNING: + serviceImpl.analyzeIamPolicyLongrunning((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ANALYZE_MOVE: + serviceImpl.analyzeMove((com.google.cloud.asset.v1.AnalyzeMoveRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SAVED_QUERY: + serviceImpl.createSavedQuery((com.google.cloud.asset.v1.CreateSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SAVED_QUERY: + serviceImpl.getSavedQuery((com.google.cloud.asset.v1.GetSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SAVED_QUERIES: + serviceImpl.listSavedQueries((com.google.cloud.asset.v1.ListSavedQueriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SAVED_QUERY: + serviceImpl.updateSavedQuery((com.google.cloud.asset.v1.UpdateSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SAVED_QUERY: + serviceImpl.deleteSavedQuery((com.google.cloud.asset.v1.DeleteSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES: + serviceImpl.batchGetEffectiveIamPolicies((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) 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 AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AssetServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AssetService"); + } + } + + private static final class AssetServiceFileDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier { + AssetServiceFileDescriptorSupplier() {} + } + + private static final class AssetServiceMethodDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getExportAssetsMethod()) + .addMethod(getListAssetsMethod()) + .addMethod(getBatchGetAssetsHistoryMethod()) + .addMethod(getCreateFeedMethod()) + .addMethod(getGetFeedMethod()) + .addMethod(getListFeedsMethod()) + .addMethod(getUpdateFeedMethod()) + .addMethod(getDeleteFeedMethod()) + .addMethod(getSearchAllResourcesMethod()) + .addMethod(getSearchAllIamPoliciesMethod()) + .addMethod(getAnalyzeIamPolicyMethod()) + .addMethod(getAnalyzeIamPolicyLongrunningMethod()) + .addMethod(getAnalyzeMoveMethod()) + .addMethod(getCreateSavedQueryMethod()) + .addMethod(getGetSavedQueryMethod()) + .addMethod(getListSavedQueriesMethod()) + .addMethod(getUpdateSavedQueryMethod()) + .addMethod(getDeleteSavedQueryMethod()) + .addMethod(getBatchGetEffectiveIamPoliciesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java similarity index 63% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java index 16e2935d0..19ad39147 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Represents the metadata of the longrunning operation for the
  * AnalyzeIamPolicyLongrunning rpc.
@@ -28,31 +11,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata}
  */
-public final class AnalyzeIamPolicyLongrunningMetadata
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeIamPolicyLongrunningMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)
     AnalyzeIamPolicyLongrunningMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyLongrunningMetadata.newBuilder() to construct.
-  private AnalyzeIamPolicyLongrunningMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeIamPolicyLongrunningMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AnalyzeIamPolicyLongrunningMetadata() {}
+  private AnalyzeIamPolicyLongrunningMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyLongrunningMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnalyzeIamPolicyLongrunningMetadata(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,28 +53,26 @@ private AnalyzeIamPolicyLongrunningMetadata(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = 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) {
@@ -100,40 +80,34 @@ private AnalyzeIamPolicyLongrunningMetadata(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
   }
 
   public static final int CREATE_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -141,15 +115,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -157,14 +127,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -172,7 +139,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -198,7 +165,8 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -208,17 +176,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.asset.v1.AnalyzeIamPolicyLongrunningMetadata)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata other = - (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata other = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -241,104 +209,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - byte[] data, com.google.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the longrunning operation for the
    * AnalyzeIamPolicyLongrunning rpc.
@@ -346,23 +306,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)
       com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class,
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.newBuilder()
@@ -370,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();
@@ -392,14 +351,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.getDefaultInstance();
     }
 
@@ -414,8 +372,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result =
-          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(this);
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
       } else {
@@ -429,39 +386,38 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,9 +425,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.getDefaultInstance()) return this;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -494,9 +448,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -508,58 +460,39 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.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 the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.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 the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -575,17 +508,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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(); @@ -596,21 +526,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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; } @@ -622,15 +548,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -644,71 +566,55 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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 the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,13 +624,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) - private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(); } @@ -733,16 +638,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyLongrunningMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyLongrunningMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyLongrunningMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,4 +662,6 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java similarity index 53% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java index 5b3153957..a60361292 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java @@ -1,63 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyLongrunningMetadataOrBuilder - extends +public interface AnalyzeIamPolicyLongrunningMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java index 2cd68a884..6a0c4fa5e 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A request message for
  * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -28,32 +11,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest}
  */
-public final class AnalyzeIamPolicyLongrunningRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeIamPolicyLongrunningRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest)
     AnalyzeIamPolicyLongrunningRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyLongrunningRequest.newBuilder() to construct.
-  private AnalyzeIamPolicyLongrunningRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeIamPolicyLongrunningRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeIamPolicyLongrunningRequest() {
     savedAnalysisQuery_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyLongrunningRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnalyzeIamPolicyLongrunningRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,53 +54,45 @@ private AnalyzeIamPolicyLongrunningRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
-              if (analysisQuery_ != null) {
-                subBuilder = analysisQuery_.toBuilder();
-              }
-              analysisQuery_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(analysisQuery_);
-                analysisQuery_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
+            if (analysisQuery_ != null) {
+              subBuilder = analysisQuery_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null;
-              if (outputConfig_ != null) {
-                subBuilder = outputConfig_.toBuilder();
-              }
-              outputConfig_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputConfig_);
-                outputConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            analysisQuery_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(analysisQuery_);
+              analysisQuery_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              savedAnalysisQuery_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null;
+            if (outputConfig_ != null) {
+              subBuilder = outputConfig_.toBuilder();
+            }
+            outputConfig_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputConfig_);
+              outputConfig_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            savedAnalysisQuery_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,41 +100,34 @@ private AnalyzeIamPolicyLongrunningRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
   }
 
   public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
   /**
-   *
-   *
    * 
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -168,34 +135,23 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { @@ -205,8 +161,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; private volatile java.lang.Object savedAnalysisQuery_; /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -224,7 +178,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The savedAnalysisQuery. */ @java.lang.Override @@ -233,15 +186,14 @@ public java.lang.String getSavedAnalysisQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; } } /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -259,15 +211,16 @@ public java.lang.String getSavedAnalysisQuery() {
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for savedAnalysisQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString + getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -278,17 +231,12 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig outputConfig_; /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -296,45 +244,32 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,7 +281,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -366,10 +302,12 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAnalysisQuery()); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOutputConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(savedAnalysisQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, savedAnalysisQuery_); @@ -382,22 +320,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.asset.v1.AnalyzeIamPolicyLongrunningRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest other = - (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest other = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery() + .equals(other.getAnalysisQuery())) return false; } - if (!getSavedAnalysisQuery().equals(other.getSavedAnalysisQuery())) return false; + if (!getSavedAnalysisQuery() + .equals(other.getSavedAnalysisQuery())) return false; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -426,104 +366,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - byte[] data, com.google.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for
    * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -531,23 +463,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest)
       com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class,
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.newBuilder()
@@ -555,15 +485,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -585,14 +516,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance();
     }
 
@@ -607,8 +537,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result =
-          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(this);
       if (analysisQueryBuilder_ == null) {
         result.analysisQuery_ = analysisQuery_;
       } else {
@@ -628,39 +557,38 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -668,9 +596,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance()) return this;
       if (other.hasAnalysisQuery()) {
         mergeAnalysisQuery(other.getAnalysisQuery());
       }
@@ -700,8 +626,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -713,58 +638,39 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
-            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
-            com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>
-        analysisQueryBuilder_;
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_;
     /**
-     *
-     *
      * 
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -780,15 +686,11 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -802,23 +704,17 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); } else { analysisQuery_ = value; } @@ -830,15 +726,11 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -852,64 +744,48 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), getParentForChildren(), isClean()); + analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), + getParentForChildren(), + isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -917,8 +793,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer private java.lang.Object savedAnalysisQuery_ = ""; /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -936,13 +810,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The savedAnalysisQuery. */ public java.lang.String getSavedAnalysisQuery() { java.lang.Object ref = savedAnalysisQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; @@ -951,8 +825,6 @@ public java.lang.String getSavedAnalysisQuery() { } } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -970,14 +842,15 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for savedAnalysisQuery. */ - public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString + getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -985,8 +858,6 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { } } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1004,22 +875,20 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQuery(java.lang.String value) { + public Builder setSavedAnalysisQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + savedAnalysisQuery_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1037,18 +906,15 @@ public Builder setSavedAnalysisQuery(java.lang.String value) {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { - + savedAnalysisQuery_ = getDefaultInstance().getSavedAnalysisQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1066,16 +932,16 @@ public Builder clearSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) { + public Builder setSavedAnalysisQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + savedAnalysisQuery_ = value; onChanged(); return this; @@ -1083,61 +949,42 @@ public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) private com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1153,16 +1000,12 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutput return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig( com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder builderForValue) { @@ -1176,25 +1019,18 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOutputConfig( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig value) { + public Builder mergeOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -1206,16 +1042,12 @@ public Builder mergeOutputConfig( return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1229,76 +1061,58 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder - getOutputConfigBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1308,13 +1122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) - private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(); } @@ -1323,16 +1136,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyLongrunningRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyLongrunningRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyLongrunningRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1347,4 +1160,6 @@ public com.google.protobuf.Parser getParserF public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java index 37d5b6114..06cba9c7f 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java @@ -1,72 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyLongrunningRequestOrBuilder - extends +public interface AnalyzeIamPolicyLongrunningRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery(); /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -84,13 +52,10 @@ public interface AnalyzeIamPolicyLongrunningRequestOrBuilder
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The savedAnalysisQuery. */ java.lang.String getSavedAnalysisQuery(); /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -108,52 +73,38 @@ public interface AnalyzeIamPolicyLongrunningRequestOrBuilder
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for savedAnalysisQuery. */ - com.google.protobuf.ByteString getSavedAnalysisQueryBytes(); + com.google.protobuf.ByteString + getSavedAnalysisQueryBytes(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getOutputConfig(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java similarity index 64% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java index 808bc307b..4c2c429c1 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A response message for
  * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -28,31 +11,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse}
  */
-public final class AnalyzeIamPolicyLongrunningResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeIamPolicyLongrunningResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
     AnalyzeIamPolicyLongrunningResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyLongrunningResponse.newBuilder() to construct.
-  private AnalyzeIamPolicyLongrunningResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeIamPolicyLongrunningResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AnalyzeIamPolicyLongrunningResponse() {}
+  private AnalyzeIamPolicyLongrunningResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyLongrunningResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnalyzeIamPolicyLongrunningResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,13 +53,13 @@ private AnalyzeIamPolicyLongrunningResponse(
           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) {
@@ -85,30 +67,27 @@ private AnalyzeIamPolicyLongrunningResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -120,7 +99,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -138,13 +118,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.asset.v1.AnalyzeIamPolicyLongrunningResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse other =
-        (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) obj;
+    com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse other = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) obj;
 
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -163,104 +142,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.nio.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      byte[] data, com.google.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A response message for
    * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -268,23 +239,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
       com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class,
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.newBuilder()
@@ -292,15 +261,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -308,14 +278,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.getDefaultInstance();
     }
 
@@ -330,8 +299,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse result =
-          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse(this);
       onBuilt();
       return result;
     }
@@ -340,39 +308,38 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -380,9 +347,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse other) {
-      if (other
-          == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.getDefaultInstance()) return this;
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -402,9 +367,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -413,9 +376,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);
     }
 
@@ -425,13 +388,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
-  private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse();
   }
@@ -440,16 +402,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AnalyzeIamPolicyLongrunningResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AnalyzeIamPolicyLongrunningResponse(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AnalyzeIamPolicyLongrunningResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AnalyzeIamPolicyLongrunningResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -464,4 +426,6 @@ public com.google.protobuf.Parser getParser
   public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java
new file mode 100644
index 000000000..e2d8e4d00
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java
@@ -0,0 +1,9 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/asset/v1/asset_service.proto
+
+package com.google.cloud.asset.v1;
+
+public interface AnalyzeIamPolicyLongrunningResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
similarity index 71%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
index e0090b98f..f0e5a529b 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * A request message for
  * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyRequest}
  */
-public final class AnalyzeIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeIamPolicyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyRequest)
     AnalyzeIamPolicyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyRequest.newBuilder() to construct.
   private AnalyzeIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeIamPolicyRequest() {
     savedAnalysisQuery_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnalyzeIamPolicyRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,51 +54,45 @@ private AnalyzeIamPolicyRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
-              if (analysisQuery_ != null) {
-                subBuilder = analysisQuery_.toBuilder();
-              }
-              analysisQuery_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(analysisQuery_);
-                analysisQuery_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
+            if (analysisQuery_ != null) {
+              subBuilder = analysisQuery_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (executionTimeout_ != null) {
-                subBuilder = executionTimeout_.toBuilder();
-              }
-              executionTimeout_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(executionTimeout_);
-                executionTimeout_ = subBuilder.buildPartial();
-              }
-
-              break;
+            analysisQuery_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(analysisQuery_);
+              analysisQuery_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              savedAnalysisQuery_ = s;
-              break;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (executionTimeout_ != null) {
+              subBuilder = executionTimeout_.toBuilder();
+            }
+            executionTimeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(executionTimeout_);
+              executionTimeout_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            savedAnalysisQuery_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -123,41 +100,34 @@ private AnalyzeIamPolicyRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
   }
 
   public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
   /**
-   *
-   *
    * 
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -165,34 +135,23 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { @@ -202,8 +161,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; private volatile java.lang.Object savedAnalysisQuery_; /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -221,7 +178,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The savedAnalysisQuery. */ @java.lang.Override @@ -230,15 +186,14 @@ public java.lang.String getSavedAnalysisQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; } } /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -256,15 +211,16 @@ public java.lang.String getSavedAnalysisQuery() {
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for savedAnalysisQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString + getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -275,8 +231,6 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { public static final int EXECUTION_TIMEOUT_FIELD_NUMBER = 2; private com.google.protobuf.Duration executionTimeout_; /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -289,10 +243,7 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() {
    * Default is empty.
    * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionTimeout field is set. */ @java.lang.Override @@ -300,8 +251,6 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -314,21 +263,14 @@ public boolean hasExecutionTimeout() {
    * Default is empty.
    * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionTimeout. */ @java.lang.Override public com.google.protobuf.Duration getExecutionTimeout() { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -341,9 +283,7 @@ public com.google.protobuf.Duration getExecutionTimeout() {
    * Default is empty.
    * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { @@ -351,7 +291,6 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,7 +302,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -383,10 +323,12 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAnalysisQuery()); } if (executionTimeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecutionTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExecutionTimeout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(savedAnalysisQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, savedAnalysisQuery_); @@ -399,22 +341,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.asset.v1.AnalyzeIamPolicyRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest other = - (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest other = (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery() + .equals(other.getAnalysisQuery())) return false; } - if (!getSavedAnalysisQuery().equals(other.getSavedAnalysisQuery())) return false; + if (!getSavedAnalysisQuery() + .equals(other.getSavedAnalysisQuery())) return false; if (hasExecutionTimeout() != other.hasExecutionTimeout()) return false; if (hasExecutionTimeout()) { - if (!getExecutionTimeout().equals(other.getExecutionTimeout())) return false; + if (!getExecutionTimeout() + .equals(other.getExecutionTimeout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -443,103 +387,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( - byte[] data, com.google.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.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for
    * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -547,23 +484,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyRequest)
       com.google.cloud.asset.v1.AnalyzeIamPolicyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class,
-              com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.newBuilder()
@@ -571,15 +506,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -601,9 +537,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -622,8 +558,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result =
-          new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result = new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(this);
       if (analysisQueryBuilder_ == null) {
         result.analysisQuery_ = analysisQuery_;
       } else {
@@ -643,39 +578,38 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -683,8 +617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.getDefaultInstance()) return this;
       if (other.hasAnalysisQuery()) {
         mergeAnalysisQuery(other.getAnalysisQuery());
       }
@@ -714,8 +647,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -727,58 +659,39 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
-            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
-            com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>
-        analysisQueryBuilder_;
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_;
     /**
-     *
-     *
      * 
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -794,15 +707,11 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -816,23 +725,17 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); } else { analysisQuery_ = value; } @@ -844,15 +747,11 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -866,64 +765,48 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), getParentForChildren(), isClean()); + analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), + getParentForChildren(), + isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -931,8 +814,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer private java.lang.Object savedAnalysisQuery_ = ""; /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -950,13 +831,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The savedAnalysisQuery. */ public java.lang.String getSavedAnalysisQuery() { java.lang.Object ref = savedAnalysisQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; @@ -965,8 +846,6 @@ public java.lang.String getSavedAnalysisQuery() { } } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -984,14 +863,15 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for savedAnalysisQuery. */ - public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString + getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -999,8 +879,6 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { } } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1018,22 +896,20 @@ public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQuery(java.lang.String value) { + public Builder setSavedAnalysisQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + savedAnalysisQuery_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1051,18 +927,15 @@ public Builder setSavedAnalysisQuery(java.lang.String value) {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { - + savedAnalysisQuery_ = getDefaultInstance().getSavedAnalysisQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1080,16 +953,16 @@ public Builder clearSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) { + public Builder setSavedAnalysisQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + savedAnalysisQuery_ = value; onChanged(); return this; @@ -1097,13 +970,8 @@ public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) private com.google.protobuf.Duration executionTimeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - executionTimeoutBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionTimeoutBuilder_; /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1116,18 +984,13 @@ public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value)
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeoutBuilder_ != null || executionTimeout_ != null; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1140,24 +1003,17 @@ public boolean hasExecutionTimeout() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } else { return executionTimeoutBuilder_.getMessage(); } } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1170,9 +1026,7 @@ public com.google.protobuf.Duration getExecutionTimeout() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { @@ -1188,8 +1042,6 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1202,11 +1054,10 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionTimeout( + com.google.protobuf.Duration.Builder builderForValue) { if (executionTimeoutBuilder_ == null) { executionTimeout_ = builderForValue.build(); onChanged(); @@ -1217,8 +1068,6 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1231,17 +1080,13 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { if (executionTimeout_ != null) { executionTimeout_ = - com.google.protobuf.Duration.newBuilder(executionTimeout_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(executionTimeout_).mergeFrom(value).buildPartial(); } else { executionTimeout_ = value; } @@ -1253,8 +1098,6 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1267,9 +1110,7 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExecutionTimeout() { if (executionTimeoutBuilder_ == null) { @@ -1283,8 +1124,6 @@ public Builder clearExecutionTimeout() { return this; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1297,18 +1136,14 @@ public Builder clearExecutionTimeout() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { - + onChanged(); return getExecutionTimeoutFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1321,22 +1156,17 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { if (executionTimeoutBuilder_ != null) { return executionTimeoutBuilder_.getMessageOrBuilder(); } else { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1349,29 +1179,24 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ 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> getExecutionTimeoutFieldBuilder() { if (executionTimeoutBuilder_ == null) { - executionTimeoutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getExecutionTimeout(), getParentForChildren(), isClean()); + executionTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getExecutionTimeout(), + getParentForChildren(), + isClean()); executionTimeout_ = null; } return executionTimeoutBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1381,12 +1206,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyRequest) private static final com.google.cloud.asset.v1.AnalyzeIamPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(); } @@ -1395,16 +1220,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1419,4 +1244,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java index 6c1c7d4ab..7a590165e 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java @@ -1,72 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyRequestOrBuilder - extends +public interface AnalyzeIamPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery(); /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -84,13 +52,10 @@ public interface AnalyzeIamPolicyRequestOrBuilder
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The savedAnalysisQuery. */ java.lang.String getSavedAnalysisQuery(); /** - * - * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -108,14 +73,12 @@ public interface AnalyzeIamPolicyRequestOrBuilder
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for savedAnalysisQuery. */ - com.google.protobuf.ByteString getSavedAnalysisQueryBytes(); + com.google.protobuf.ByteString + getSavedAnalysisQueryBytes(); /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -128,16 +91,11 @@ public interface AnalyzeIamPolicyRequestOrBuilder
    * Default is empty.
    * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -150,16 +108,11 @@ public interface AnalyzeIamPolicyRequestOrBuilder
    * Default is empty.
    * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** - * - * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -172,9 +125,7 @@ public interface AnalyzeIamPolicyRequestOrBuilder
    * Default is empty.
    * 
* - * - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java index ded28a1b4..897d314ac 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A response message for
  * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse}
  */
-public final class AnalyzeIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AnalyzeIamPolicyResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse)
     AnalyzeIamPolicyResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyResponse.newBuilder() to construct.
   private AnalyzeIamPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AnalyzeIamPolicyResponse() {
     serviceAccountImpersonationAnalysis_ = 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 AnalyzeIamPolicyResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AnalyzeIamPolicyResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,50 +55,40 @@ private AnalyzeIamPolicyResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
-                  subBuilder = null;
-              if (mainAnalysis_ != null) {
-                subBuilder = mainAnalysis_.toBuilder();
-              }
-              mainAnalysis_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(mainAnalysis_);
-                mainAnalysis_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder subBuilder = null;
+            if (mainAnalysis_ != null) {
+              subBuilder = mainAnalysis_.toBuilder();
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                serviceAccountImpersonationAnalysis_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              serviceAccountImpersonationAnalysis_.add(
-                  input.readMessage(
-                      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(),
-                      extensionRegistry));
-              break;
+            mainAnalysis_ = input.readMessage(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(mainAnalysis_);
+              mainAnalysis_ = subBuilder.buildPartial();
             }
-          case 24:
-            {
-              fullyExplored_ = input.readBool();
-              break;
+
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              serviceAccountImpersonationAnalysis_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            serviceAccountImpersonationAnalysis_.add(
+                input.readMessage(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry));
+            break;
+          }
+          case 24: {
+
+            fullyExplored_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -123,64 +96,52 @@ private AnalyzeIamPolicyResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
-        serviceAccountImpersonationAnalysis_ =
-            java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
+        serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
   }
 
-  public interface IamPolicyAnalysisOrBuilder
-      extends
+  public interface IamPolicyAnalysisOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return The analysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery(); /** - * - * *
      * The analysis query.
      * 
@@ -190,8 +151,6 @@ public interface IamPolicyAnalysisOrBuilder com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** - * - * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -200,10 +159,9 @@ public interface IamPolicyAnalysisOrBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
-    java.util.List getAnalysisResultsList();
+    java.util.List 
+        getAnalysisResultsList();
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -214,8 +172,6 @@ public interface IamPolicyAnalysisOrBuilder
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int index);
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -226,8 +182,6 @@ public interface IamPolicyAnalysisOrBuilder
      */
     int getAnalysisResultsCount();
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -236,11 +190,9 @@ public interface IamPolicyAnalysisOrBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
-    java.util.List
+    java.util.List 
         getAnalysisResultsOrBuilderList();
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -253,8 +205,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB
         int index);
 
     /**
-     *
-     *
      * 
      * Represents whether all entries in the
      * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -262,24 +212,20 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ boolean getFullyExplored(); /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
* * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - java.util.List getNonCriticalErrorsList(); + java.util.List + getNonCriticalErrorsList(); /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -288,8 +234,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB */ com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int index); /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -298,19 +242,15 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB */ int getNonCriticalErrorsCount(); /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
* * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - java.util.List + java.util.List getNonCriticalErrorsOrBuilderList(); /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -321,24 +261,21 @@ com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalErrorsOr int index); } /** - * - * *
    * An analysis message to group the query and results.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class IamPolicyAnalysis extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IamPolicyAnalysis extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) IamPolicyAnalysisOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysis.newBuilder() to construct. private IamPolicyAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicyAnalysis() { analysisResults_ = java.util.Collections.emptyList(); nonCriticalErrors_ = java.util.Collections.emptyList(); @@ -346,15 +283,16 @@ private IamPolicyAnalysis() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicyAnalysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicyAnalysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -374,61 +312,49 @@ private IamPolicyAnalysis( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); - } - analysisQuery_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analysisResults_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - analysisResults_.add( - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), - extensionRegistry)); - break; + analysisQuery_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); } - case 24: - { - fullyExplored_ = input.readBool(); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analysisResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - nonCriticalErrors_.add( - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), - extensionRegistry)); - break; + analysisResults_.add( + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), extensionRegistry)); + break; + } + case 24: { + + fullyExplored_ = input.readBool(); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + nonCriticalErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nonCriticalErrors_.add( + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -436,7 +362,8 @@ private IamPolicyAnalysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { analysisResults_ = java.util.Collections.unmodifiableList(analysisResults_); @@ -448,33 +375,27 @@ private IamPolicyAnalysis( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_; /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -482,25 +403,18 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } /** - * - * *
      * The analysis query.
      * 
@@ -515,8 +429,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer public static final int ANALYSIS_RESULTS_FIELD_NUMBER = 2; private java.util.List analysisResults_; /** - * - * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -526,13 +438,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getAnalysisResultsList() {
+    public java.util.List getAnalysisResultsList() {
       return analysisResults_;
     }
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -542,13 +451,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getAnalysisResultsOrBuilderList() {
       return analysisResults_;
     }
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -562,8 +469,6 @@ public int getAnalysisResultsCount() {
       return analysisResults_.size();
     }
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -577,8 +482,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
       return analysisResults_.get(index);
     }
     /**
-     *
-     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -596,8 +499,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
     public static final int FULLY_EXPLORED_FIELD_NUMBER = 3;
     private boolean fullyExplored_;
     /**
-     *
-     *
      * 
      * Represents whether all entries in the
      * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -605,7 +506,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -616,8 +516,6 @@ public boolean getFullyExplored() { public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER = 5; private java.util.List nonCriticalErrors_; /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -625,13 +523,10 @@ public boolean getFullyExplored() { * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ @java.lang.Override - public java.util.List - getNonCriticalErrorsList() { + public java.util.List getNonCriticalErrorsList() { return nonCriticalErrors_; } /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -639,13 +534,11 @@ public boolean getFullyExplored() { * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ @java.lang.Override - public java.util.List + public java.util.List getNonCriticalErrorsOrBuilderList() { return nonCriticalErrors_; } /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -657,8 +550,6 @@ public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -670,8 +561,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int return nonCriticalErrors_.get(index); } /** - * - * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -685,7 +574,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalE } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -697,7 +585,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -720,18 +609,20 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAnalysisQuery()); } for (int i = 0; i < analysisResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, analysisResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, analysisResults_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, fullyExplored_); } for (int i = 0; i < nonCriticalErrors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(5, nonCriticalErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, nonCriticalErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -741,21 +632,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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = - (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; - } - if (!getAnalysisResultsList().equals(other.getAnalysisResultsList())) return false; - if (getFullyExplored() != other.getFullyExplored()) return false; - if (!getNonCriticalErrorsList().equals(other.getNonCriticalErrorsList())) return false; + if (!getAnalysisQuery() + .equals(other.getAnalysisQuery())) return false; + } + if (!getAnalysisResultsList() + .equals(other.getAnalysisResultsList())) return false; + if (getFullyExplored() + != other.getFullyExplored()) return false; + if (!getNonCriticalErrorsList() + .equals(other.getNonCriticalErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -776,7 +670,8 @@ public int hashCode() { hash = (53 * hash) + getAnalysisResultsList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyExplored()); if (getNonCriticalErrorsCount() > 0) { hash = (37 * hash) + NON_CRITICAL_ERRORS_FIELD_NUMBER; hash = (53 * hash) + getNonCriticalErrorsList().hashCode(); @@ -787,95 +682,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - byte[] data, com.google.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseDelimitedFrom( - java.io.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom( + java.io.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -885,52 +772,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An analysis message to group the query and results.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() + // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnalysisResultsFieldBuilder(); getNonCriticalErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -958,22 +839,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis build() { - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = - buildPartial(); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -982,8 +860,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buil @java.lang.Override public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial() { - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = - new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); int from_bitField0_ = bitField0_; if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; @@ -1017,53 +894,46 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) { - return mergeFrom( - (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { - if (other - == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { + if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()) return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -1085,10 +955,9 @@ public Builder mergeFrom( analysisResultsBuilder_ = null; analysisResults_ = other.analysisResults_; bitField0_ = (bitField0_ & ~0x00000001); - analysisResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAnalysisResultsFieldBuilder() - : null; + analysisResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnalysisResultsFieldBuilder() : null; } else { analysisResultsBuilder_.addAllMessages(other.analysisResults_); } @@ -1115,10 +984,9 @@ public Builder mergeFrom( nonCriticalErrorsBuilder_ = null; nonCriticalErrors_ = other.nonCriticalErrors_; bitField0_ = (bitField0_ & ~0x00000002); - nonCriticalErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNonCriticalErrorsFieldBuilder() - : null; + nonCriticalErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNonCriticalErrorsFieldBuilder() : null; } else { nonCriticalErrorsBuilder_.addAllMessages(other.nonCriticalErrors_); } @@ -1143,9 +1011,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1154,52 +1020,38 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> - analysisQueryBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return The analysisQuery. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** - * - * *
        * The analysis query.
        * 
@@ -1220,8 +1072,6 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1240,8 +1090,6 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1252,9 +1100,7 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); } else { analysisQuery_ = value; } @@ -1266,8 +1112,6 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1286,8 +1130,6 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1295,13 +1137,11 @@ public Builder clearAnalysisQuery() { * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis query.
        * 
@@ -1312,14 +1152,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } } /** - * - * *
        * The analysis query.
        * 
@@ -1327,43 +1164,32 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), getParentForChildren(), isClean()); + analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), + getParentForChildren(), + isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; } private java.util.List analysisResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAnalysisResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - analysisResults_ = - new java.util.ArrayList( - analysisResults_); + analysisResults_ = new java.util.ArrayList(analysisResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder> - analysisResultsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder> analysisResultsBuilder_; /** - * - * *
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1372,8 +1198,7 @@ private void ensureAnalysisResultsIsMutable() {
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
-      public java.util.List
-          getAnalysisResultsList() {
+      public java.util.List getAnalysisResultsList() {
         if (analysisResultsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(analysisResults_);
         } else {
@@ -1381,8 +1206,6 @@ private void ensureAnalysisResultsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1399,8 +1222,6 @@ public int getAnalysisResultsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1417,8 +1238,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1442,8 +1261,6 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1464,8 +1281,6 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1488,8 +1303,6 @@ public Builder addAnalysisResults(com.google.cloud.asset.v1.IamPolicyAnalysisRes
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1513,8 +1326,6 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1535,8 +1346,6 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1557,8 +1366,6 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1571,7 +1378,8 @@ public Builder addAllAnalysisResults(
           java.lang.Iterable values) {
         if (analysisResultsBuilder_ == null) {
           ensureAnalysisResultsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, analysisResults_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, analysisResults_);
           onChanged();
         } else {
           analysisResultsBuilder_.addAllMessages(values);
@@ -1579,8 +1387,6 @@ public Builder addAllAnalysisResults(
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1600,8 +1406,6 @@ public Builder clearAnalysisResults() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1621,8 +1425,6 @@ public Builder removeAnalysisResults(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1636,8 +1438,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
         return getAnalysisResultsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1649,14 +1449,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
       public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder(
           int index) {
         if (analysisResultsBuilder_ == null) {
-          return analysisResults_.get(index);
-        } else {
+          return analysisResults_.get(index);  } else {
           return analysisResultsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1665,8 +1462,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
-      public java.util.List
-          getAnalysisResultsOrBuilderList() {
+      public java.util.List 
+           getAnalysisResultsOrBuilderList() {
         if (analysisResultsBuilder_ != null) {
           return analysisResultsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1674,8 +1471,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
         }
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1685,12 +1480,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder() {
-        return getAnalysisResultsFieldBuilder()
-            .addBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
+        return getAnalysisResultsFieldBuilder().addBuilder(
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1701,13 +1494,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder(
           int index) {
-        return getAnalysisResultsFieldBuilder()
-            .addBuilder(
-                index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
+        return getAnalysisResultsFieldBuilder().addBuilder(
+            index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1716,22 +1506,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
-      public java.util.List
-          getAnalysisResultsBuilderList() {
+      public java.util.List 
+           getAnalysisResultsBuilderList() {
         return getAnalysisResultsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder> 
           getAnalysisResultsFieldBuilder() {
         if (analysisResultsBuilder_ == null) {
-          analysisResultsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>(
+          analysisResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>(
                   analysisResults_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -1741,10 +1525,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
         return analysisResultsBuilder_;
       }
 
-      private boolean fullyExplored_;
+      private boolean fullyExplored_ ;
       /**
-       *
-       *
        * 
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1752,7 +1534,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -1760,8 +1541,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1769,19 +1548,16 @@ public boolean getFullyExplored() {
        * 
* * bool fully_explored = 3; - * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** - * - * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1789,46 +1565,35 @@ public Builder setFullyExplored(boolean value) {
        * 
* * bool fully_explored = 3; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = false; onChanged(); return this; } private java.util.List nonCriticalErrors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNonCriticalErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = - new java.util.ArrayList( - nonCriticalErrors_); + nonCriticalErrors_ = new java.util.ArrayList(nonCriticalErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> - nonCriticalErrorsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> nonCriticalErrorsBuilder_; /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - public java.util.List - getNonCriticalErrorsList() { + public java.util.List getNonCriticalErrorsList() { if (nonCriticalErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(nonCriticalErrors_); } else { @@ -1836,14 +1601,11 @@ private void ensureNonCriticalErrorsIsMutable() { } } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public int getNonCriticalErrorsCount() { if (nonCriticalErrorsBuilder_ == null) { @@ -1853,14 +1615,11 @@ public int getNonCriticalErrorsCount() { } } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { @@ -1870,14 +1629,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int } } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder setNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState value) { @@ -1894,14 +1650,11 @@ public Builder setNonCriticalErrors( return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder setNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder builderForValue) { @@ -1915,14 +1668,11 @@ public Builder setNonCriticalErrors( return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder addNonCriticalErrors(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (nonCriticalErrorsBuilder_ == null) { @@ -1938,14 +1688,11 @@ public Builder addNonCriticalErrors(com.google.cloud.asset.v1.IamPolicyAnalysisS return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder addNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState value) { @@ -1962,14 +1709,11 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder addNonCriticalErrors( com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder builderForValue) { @@ -1983,14 +1727,11 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder addNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder builderForValue) { @@ -2004,20 +1745,18 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder addAllNonCriticalErrors( java.lang.Iterable values) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nonCriticalErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nonCriticalErrors_); onChanged(); } else { nonCriticalErrorsBuilder_.addAllMessages(values); @@ -2025,14 +1764,11 @@ public Builder addAllNonCriticalErrors( return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder clearNonCriticalErrors() { if (nonCriticalErrorsBuilder_ == null) { @@ -2045,14 +1781,11 @@ public Builder clearNonCriticalErrors() { return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public Builder removeNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { @@ -2065,49 +1798,39 @@ public Builder removeNonCriticalErrors(int index) { return this; } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getNonCriticalErrorsBuilder( int index) { return getNonCriticalErrorsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder - getNonCriticalErrorsOrBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( + int index) { if (nonCriticalErrorsBuilder_ == null) { - return nonCriticalErrors_.get(index); - } else { + return nonCriticalErrors_.get(index); } else { return nonCriticalErrorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - public java.util.List - getNonCriticalErrorsOrBuilderList() { + public java.util.List + getNonCriticalErrorsOrBuilderList() { if (nonCriticalErrorsBuilder_ != null) { return nonCriticalErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -2115,62 +1838,45 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getNonCriticalEr } } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder - addNonCriticalErrorsBuilder() { - return getNonCriticalErrorsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder addNonCriticalErrorsBuilder() { + return getNonCriticalErrorsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder addNonCriticalErrorsBuilder( int index) { - return getNonCriticalErrorsFieldBuilder() - .addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); + return getNonCriticalErrorsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); } /** - * - * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - public java.util.List - getNonCriticalErrorsBuilderList() { + public java.util.List + getNonCriticalErrorsBuilderList() { return getNonCriticalErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getNonCriticalErrorsFieldBuilder() { if (nonCriticalErrorsBuilder_ == null) { - nonCriticalErrorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + nonCriticalErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( nonCriticalErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2179,7 +1885,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder addNonCriticalEr } return nonCriticalErrorsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2192,32 +1897,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - private static final com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysis parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysis(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2229,24 +1932,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int MAIN_ANALYSIS_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_; /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return Whether the mainAnalysis field is set. */ @java.lang.Override @@ -2254,138 +1953,102 @@ public boolean hasMainAnalysis() { return mainAnalysis_ != null; } /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return The mainAnalysis. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() - : mainAnalysis_; + return mainAnalysis_ == null ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { return getMainAnalysis(); } public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER = 2; - private java.util.List - serviceAccountImpersonationAnalysis_; + private java.util.List serviceAccountImpersonationAnalysis_; /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public java.util.List - getServiceAccountImpersonationAnalysisList() { + public java.util.List getServiceAccountImpersonationAnalysisList() { return serviceAccountImpersonationAnalysis_; } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + public java.util.List getServiceAccountImpersonationAnalysisOrBuilderList() { return serviceAccountImpersonationAnalysis_; } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override public int getServiceAccountImpersonationAnalysisCount() { return serviceAccountImpersonationAnalysis_.size(); } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { return serviceAccountImpersonationAnalysis_.get(index); } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getServiceAccountImpersonationAnalysisOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( + int index) { return serviceAccountImpersonationAnalysis_.get(index); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 3; private boolean fullyExplored_; /** - * - * *
    * Represents whether all entries in the
    * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2395,7 +2058,6 @@ public int getServiceAccountImpersonationAnalysisCount() {
    * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -2404,7 +2066,6 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2416,7 +2077,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mainAnalysis_ != null) { output.writeMessage(1, getMainAnalysis()); } @@ -2436,15 +2098,16 @@ public int getSerializedSize() { size = 0; if (mainAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMainAnalysis()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMainAnalysis()); } for (int i = 0; i < serviceAccountImpersonationAnalysis_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, serviceAccountImpersonationAnalysis_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, serviceAccountImpersonationAnalysis_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2454,21 +2117,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.asset.v1.AnalyzeIamPolicyResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse other = - (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse other = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) obj; if (hasMainAnalysis() != other.hasMainAnalysis()) return false; if (hasMainAnalysis()) { - if (!getMainAnalysis().equals(other.getMainAnalysis())) return false; + if (!getMainAnalysis() + .equals(other.getMainAnalysis())) return false; } if (!getServiceAccountImpersonationAnalysisList() .equals(other.getServiceAccountImpersonationAnalysisList())) return false; - if (getFullyExplored() != other.getFullyExplored()) return false; + if (getFullyExplored() + != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2489,110 +2153,104 @@ public int hashCode() { hash = (53 * hash) + getServiceAccountImpersonationAnalysisList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( - byte[] data, com.google.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.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for
    * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -2600,23 +2258,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse)
       com.google.cloud.asset.v1.AnalyzeIamPolicyResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class,
-              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.newBuilder()
@@ -2624,17 +2280,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) {
         getServiceAccountImpersonationAnalysisFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2656,9 +2312,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
     }
 
     @java.lang.Override
@@ -2677,8 +2333,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result =
-          new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse(this);
       int from_bitField0_ = bitField0_;
       if (mainAnalysisBuilder_ == null) {
         result.mainAnalysis_ = mainAnalysis_;
@@ -2687,14 +2342,12 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse buildPartial() {
       }
       if (serviceAccountImpersonationAnalysisBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          serviceAccountImpersonationAnalysis_ =
-              java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
+          serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysis_;
       } else {
-        result.serviceAccountImpersonationAnalysis_ =
-            serviceAccountImpersonationAnalysisBuilder_.build();
+        result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysisBuilder_.build();
       }
       result.fullyExplored_ = fullyExplored_;
       onBuilt();
@@ -2705,39 +2358,38 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2745,8 +2397,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.getDefaultInstance()) return this;
       if (other.hasMainAnalysis()) {
         mergeMainAnalysis(other.getMainAnalysis());
       }
@@ -2768,13 +2419,11 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse othe
             serviceAccountImpersonationAnalysisBuilder_ = null;
             serviceAccountImpersonationAnalysis_ = other.serviceAccountImpersonationAnalysis_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            serviceAccountImpersonationAnalysisBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getServiceAccountImpersonationAnalysisFieldBuilder()
-                    : null;
+            serviceAccountImpersonationAnalysisBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getServiceAccountImpersonationAnalysisFieldBuilder() : null;
           } else {
-            serviceAccountImpersonationAnalysisBuilder_.addAllMessages(
-                other.serviceAccountImpersonationAnalysis_);
+            serviceAccountImpersonationAnalysisBuilder_.addAllMessages(other.serviceAccountImpersonationAnalysis_);
           }
         }
       }
@@ -2800,8 +2449,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2810,64 +2458,45 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder,
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>
-        mainAnalysisBuilder_;
+        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> mainAnalysisBuilder_;
     /**
-     *
-     *
      * 
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return Whether the mainAnalysis field is set. */ public boolean hasMainAnalysis() { return mainAnalysisBuilder_ != null || mainAnalysis_ != null; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return The mainAnalysis. */ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { if (mainAnalysisBuilder_ == null) { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance() - : mainAnalysis_; + return mainAnalysis_ == null ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } else { return mainAnalysisBuilder_.getMessage(); } } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public Builder setMainAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder setMainAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2881,18 +2510,14 @@ public Builder setMainAnalysis( return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ public Builder setMainAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (mainAnalysisBuilder_ == null) { mainAnalysis_ = builderForValue.build(); onChanged(); @@ -2903,24 +2528,17 @@ public Builder setMainAnalysis( return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public Builder mergeMainAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder mergeMainAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (mainAnalysis_ != null) { mainAnalysis_ = - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder( - mainAnalysis_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder(mainAnalysis_).mergeFrom(value).buildPartial(); } else { mainAnalysis_ = value; } @@ -2932,14 +2550,11 @@ public Builder mergeMainAnalysis( return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ public Builder clearMainAnalysis() { if (mainAnalysisBuilder_ == null) { @@ -2953,103 +2568,75 @@ public Builder clearMainAnalysis() { return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - getMainAnalysisBuilder() { - + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder() { + onChanged(); return getMainAnalysisFieldBuilder().getBuilder(); } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { if (mainAnalysisBuilder_ != null) { return mainAnalysisBuilder_.getMessageOrBuilder(); } else { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance() - : mainAnalysis_; + return mainAnalysis_ == null ? + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getMainAnalysisFieldBuilder() { if (mainAnalysisBuilder_ == null) { - mainAnalysisBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( - getMainAnalysis(), getParentForChildren(), isClean()); + mainAnalysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( + getMainAnalysis(), + getParentForChildren(), + isClean()); mainAnalysis_ = null; } return mainAnalysisBuilder_; } - private java.util.List - serviceAccountImpersonationAnalysis_ = java.util.Collections.emptyList(); - + private java.util.List serviceAccountImpersonationAnalysis_ = + java.util.Collections.emptyList(); private void ensureServiceAccountImpersonationAnalysisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>( - serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(serviceAccountImpersonationAnalysis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> - serviceAccountImpersonationAnalysisBuilder_; + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> serviceAccountImpersonationAnalysisBuilder_; /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public java.util.List - getServiceAccountImpersonationAnalysisList() { + public java.util.List getServiceAccountImpersonationAnalysisList() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); } else { @@ -3057,17 +2644,13 @@ private void ensureServiceAccountImpersonationAnalysisIsMutable() { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public int getServiceAccountImpersonationAnalysisCount() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -3077,20 +2660,15 @@ public int getServiceAccountImpersonationAnalysisCount() { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return serviceAccountImpersonationAnalysis_.get(index); } else { @@ -3098,17 +2676,13 @@ public int getServiceAccountImpersonationAnalysisCount() { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder setServiceAccountImpersonationAnalysis( int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { @@ -3125,22 +2699,16 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder setServiceAccountImpersonationAnalysis( - int index, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.set(index, builderForValue.build()); @@ -3151,20 +2719,15 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public Builder addServiceAccountImpersonationAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder addServiceAccountImpersonationAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3178,17 +2741,13 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addServiceAccountImpersonationAnalysis( int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { @@ -3205,21 +2764,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addServiceAccountImpersonationAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(builderForValue.build()); @@ -3230,22 +2784,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addServiceAccountImpersonationAnalysis( - int index, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(index, builderForValue.build()); @@ -3256,22 +2804,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addAllServiceAccountImpersonationAnalysis( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> - values) { + java.lang.Iterable values) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3283,17 +2825,13 @@ public Builder addAllServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder clearServiceAccountImpersonationAnalysis() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -3306,17 +2844,13 @@ public Builder clearServiceAccountImpersonationAnalysis() { return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder removeServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -3329,59 +2863,45 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - getServiceAccountImpersonationAnalysisBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder( + int index) { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilder(index); } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getServiceAccountImpersonationAnalysisOrBuilder(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( + int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - return serviceAccountImpersonationAnalysis_.get(index); - } else { + return serviceAccountImpersonationAnalysis_.get(index); } else { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public java.util.List< - ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> - getServiceAccountImpersonationAnalysisOrBuilderList() { + public java.util.List + getServiceAccountImpersonationAnalysisOrBuilderList() { if (serviceAccountImpersonationAnalysisBuilder_ != null) { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilderList(); } else { @@ -3389,76 +2909,51 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - addServiceAccountImpersonationAnalysisBuilder() { - return getServiceAccountImpersonationAnalysisFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder() { + return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - addServiceAccountImpersonationAnalysisBuilder(int index) { - return getServiceAccountImpersonationAnalysisFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder( + int index) { + return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public java.util.List< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> - getServiceAccountImpersonationAnalysisBuilderList() { + public java.util.List + getServiceAccountImpersonationAnalysisBuilderList() { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisFieldBuilder() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - serviceAccountImpersonationAnalysisBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( + serviceAccountImpersonationAnalysisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( serviceAccountImpersonationAnalysis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3468,10 +2963,8 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { return serviceAccountImpersonationAnalysisBuilder_; } - private boolean fullyExplored_; + private boolean fullyExplored_ ; /** - * - * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -3481,7 +2974,6 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) {
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -3489,8 +2981,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -3500,19 +2990,16 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 3; - * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** - * - * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -3522,18 +3009,17 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = 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); } @@ -3543,12 +3029,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse) private static final com.google.cloud.asset.v1.AnalyzeIamPolicyResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse(); } @@ -3557,16 +3043,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3581,4 +3067,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java index 6b26559c6..4eef1b0c3 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java @@ -1,146 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyResponseOrBuilder - extends +public interface AnalyzeIamPolicyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return Whether the mainAnalysis field is set. */ boolean hasMainAnalysis(); /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return The mainAnalysis. */ com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis(); /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getMainAnalysisOrBuilder(); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - java.util.List + java.util.List getServiceAccountImpersonationAnalysisList(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getServiceAccountImpersonationAnalysis(int index); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ int getServiceAccountImpersonationAnalysisCount(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - java.util.List< - ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + java.util.List getServiceAccountImpersonationAnalysisOrBuilderList(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getServiceAccountImpersonationAnalysisOrBuilder(int index); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( + int index); /** - * - * *
    * Represents whether all entries in the
    * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -150,7 +98,6 @@ public interface AnalyzeIamPolicyResponseOrBuilder
    * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ boolean getFullyExplored(); diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java similarity index 74% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java index 19aa2c4bd..2f6d86eb8 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * The request message for performing resource move analysis.
  * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveRequest} */ -public final class AnalyzeMoveRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalyzeMoveRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeMoveRequest) AnalyzeMoveRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalyzeMoveRequest.newBuilder() to construct. private AnalyzeMoveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalyzeMoveRequest() { resource_ = ""; destinationParent_ = ""; @@ -45,15 +27,16 @@ private AnalyzeMoveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalyzeMoveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnalyzeMoveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private AnalyzeMoveRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + resource_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - destinationParent_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + destinationParent_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,41 +87,36 @@ private AnalyzeMoveRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveRequest.class, - com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveRequest.class, com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); } /** - * - * *
    * View enum for supporting partial analysis responses.
    * 
* * Protobuf enum {@code google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView} */ - public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum { + public enum AnalysisView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default/unset value.
      * The API will default to the FULL view.
@@ -151,8 +126,6 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
      */
     ANALYSIS_VIEW_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Full analysis including all level of impacts of the specified resource
      * move.
@@ -162,8 +135,6 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
      */
     FULL(1),
     /**
-     *
-     *
      * 
      * Basic analysis only including blockers which will prevent the specified
      * resource move at runtime.
@@ -176,8 +147,6 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The default/unset value.
      * The API will default to the FULL view.
@@ -187,8 +156,6 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANALYSIS_VIEW_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Full analysis including all level of impacts of the specified resource
      * move.
@@ -198,8 +165,6 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FULL_VALUE = 1;
     /**
-     *
-     *
      * 
      * Basic analysis only including blockers which will prevent the specified
      * resource move at runtime.
@@ -209,6 +174,7 @@ public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BASIC_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -233,49 +199,49 @@ public static AnalysisView valueOf(int value) {
      */
     public static AnalysisView forNumber(int value) {
       switch (value) {
-        case 0:
-          return ANALYSIS_VIEW_UNSPECIFIED;
-        case 1:
-          return FULL;
-        case 2:
-          return BASIC;
-        default:
-          return null;
+        case 0: return ANALYSIS_VIEW_UNSPECIFIED;
+        case 1: return FULL;
+        case 2: return BASIC;
+        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<
+        AnalysisView> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AnalysisView findValueByNumber(int number) {
+              return AnalysisView.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public AnalysisView findValueByNumber(int number) {
-            return AnalysisView.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.asset.v1.AnalyzeMoveRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AnalysisView[] VALUES = values();
 
-    public static AnalysisView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AnalysisView valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -295,8 +261,6 @@ private AnalysisView(int value) {
   public static final int RESOURCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object resource_;
   /**
-   *
-   *
    * 
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -305,7 +269,6 @@ private AnalysisView(int value) {
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resource. */ @java.lang.Override @@ -314,15 +277,14 @@ 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; } } /** - * - * *
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -331,15 +293,16 @@ public java.lang.String getResource() {
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -350,8 +313,6 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int DESTINATION_PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object destinationParent_; /** - * - * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -361,7 +322,6 @@ public com.google.protobuf.ByteString getResourceBytes() {
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationParent. */ @java.lang.Override @@ -370,15 +330,14 @@ public java.lang.String getDestinationParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationParent_ = s; return s; } } /** - * - * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -388,15 +347,16 @@ public java.lang.String getDestinationParent() {
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationParent. */ @java.lang.Override - public com.google.protobuf.ByteString getDestinationParentBytes() { + public com.google.protobuf.ByteString + getDestinationParentBytes() { java.lang.Object ref = destinationParent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationParent_ = b; return b; } else { @@ -407,45 +367,33 @@ public com.google.protobuf.ByteString getDestinationParentBytes() { public static final int VIEW_FIELD_NUMBER = 3; private int view_; /** - * - * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { + @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); - return result == null - ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); + return result == null ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -457,16 +405,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationParent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationParent_); } - if (view_ - != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(3, view_); } unknownFields.writeTo(output); @@ -484,10 +431,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationParent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationParent_); } - if (view_ - != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); + if (view_ != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -497,16 +443,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.asset.v1.AnalyzeMoveRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeMoveRequest other = - (com.google.cloud.asset.v1.AnalyzeMoveRequest) obj; + com.google.cloud.asset.v1.AnalyzeMoveRequest other = (com.google.cloud.asset.v1.AnalyzeMoveRequest) obj; - if (!getResource().equals(other.getResource())) return false; - if (!getDestinationParent().equals(other.getDestinationParent())) return false; + if (!getResource() + .equals(other.getResource())) return false; + if (!getDestinationParent() + .equals(other.getDestinationParent())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -530,127 +477,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeMoveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( - byte[] data, com.google.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.asset.v1.AnalyzeMoveRequest 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.asset.v1.AnalyzeMoveRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeMoveRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeMoveRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeMoveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeMoveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request message for performing resource move analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeMoveRequest) com.google.cloud.asset.v1.AnalyzeMoveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveRequest.class, - com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveRequest.class, com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzeMoveRequest.newBuilder() @@ -658,15 +596,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -680,9 +619,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; } @java.lang.Override @@ -701,8 +640,7 @@ public com.google.cloud.asset.v1.AnalyzeMoveRequest build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest buildPartial() { - com.google.cloud.asset.v1.AnalyzeMoveRequest result = - new com.google.cloud.asset.v1.AnalyzeMoveRequest(this); + com.google.cloud.asset.v1.AnalyzeMoveRequest result = new com.google.cloud.asset.v1.AnalyzeMoveRequest(this); result.resource_ = resource_; result.destinationParent_ = destinationParent_; result.view_ = view_; @@ -714,39 +652,38 @@ public com.google.cloud.asset.v1.AnalyzeMoveRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeMoveRequest) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveRequest) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveRequest)other); } else { super.mergeFrom(other); return this; @@ -797,8 +734,6 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -807,13 +742,13 @@ public Builder mergeFrom(
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -822,8 +757,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -832,14 +765,15 @@ public java.lang.String getResource() {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -847,8 +781,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -857,22 +789,20 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -881,18 +811,15 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -901,16 +828,16 @@ public Builder clearResource() {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -918,8 +845,6 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object destinationParent_ = ""; /** - * - * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -929,13 +854,13 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationParent. */ public java.lang.String getDestinationParent() { java.lang.Object ref = destinationParent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationParent_ = s; return s; @@ -944,8 +869,6 @@ public java.lang.String getDestinationParent() { } } /** - * - * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -955,14 +878,15 @@ public java.lang.String getDestinationParent() {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationParent. */ - public com.google.protobuf.ByteString getDestinationParentBytes() { + public com.google.protobuf.ByteString + getDestinationParentBytes() { java.lang.Object ref = destinationParent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); destinationParent_ = b; return b; } else { @@ -970,8 +894,6 @@ public com.google.protobuf.ByteString getDestinationParentBytes() { } } /** - * - * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -981,22 +903,20 @@ public com.google.protobuf.ByteString getDestinationParentBytes() {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The destinationParent to set. * @return This builder for chaining. */ - public Builder setDestinationParent(java.lang.String value) { + public Builder setDestinationParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationParent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -1006,18 +926,15 @@ public Builder setDestinationParent(java.lang.String value) {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDestinationParent() { - + destinationParent_ = getDefaultInstance().getDestinationParent(); onChanged(); return this; } /** - * - * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -1027,16 +944,16 @@ public Builder clearDestinationParent() {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for destinationParent to set. * @return This builder for chaining. */ - public Builder setDestinationParentBytes(com.google.protobuf.ByteString value) { + public Builder setDestinationParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationParent_ = value; onChanged(); return this; @@ -1044,71 +961,55 @@ public Builder setDestinationParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return The view. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); - return result == null - ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); + return result == null ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED : result; } /** - * - * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1116,32 +1017,29 @@ public Builder setView(com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1151,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeMoveRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeMoveRequest) private static final com.google.cloud.asset.v1.AnalyzeMoveRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeMoveRequest(); } @@ -1165,16 +1063,16 @@ public static com.google.cloud.asset.v1.AnalyzeMoveRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeMoveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeMoveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeMoveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeMoveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,4 +1087,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeMoveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java index 5b4a1f5fd..9823f3719 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeMoveRequestOrBuilder - extends +public interface AnalyzeMoveRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeMoveRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -34,13 +16,10 @@ public interface AnalyzeMoveRequestOrBuilder
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -49,14 +28,12 @@ public interface AnalyzeMoveRequestOrBuilder
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -66,13 +43,10 @@ public interface AnalyzeMoveRequestOrBuilder
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The destinationParent. */ java.lang.String getDestinationParent(); /** - * - * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -82,34 +56,28 @@ public interface AnalyzeMoveRequestOrBuilder
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for destinationParent. */ - com.google.protobuf.ByteString getDestinationParentBytes(); + com.google.protobuf.ByteString + getDestinationParentBytes(); /** - * - * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; - * * @return The view. */ com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView(); diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java similarity index 75% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java index 5c684bd6a..ae20bed35 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * The response message for resource move analysis.
  * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveResponse} */ -public final class AnalyzeMoveResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalyzeMoveResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeMoveResponse) AnalyzeMoveResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalyzeMoveResponse.newBuilder() to construct. private AnalyzeMoveResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalyzeMoveResponse() { moveAnalysis_ = 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 AnalyzeMoveResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnalyzeMoveResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private AnalyzeMoveResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - moveAnalysis_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - moveAnalysis_.add( - input.readMessage( - com.google.cloud.asset.v1.MoveAnalysis.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + moveAnalysis_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + moveAnalysis_.add( + input.readMessage(com.google.cloud.asset.v1.MoveAnalysis.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private AnalyzeMoveResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { moveAnalysis_ = java.util.Collections.unmodifiableList(moveAnalysis_); @@ -105,27 +87,22 @@ private AnalyzeMoveResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveResponse.class, - com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveResponse.class, com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); } public static final int MOVE_ANALYSIS_FIELD_NUMBER = 1; private java.util.List moveAnalysis_; /** - * - * *
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -138,8 +115,6 @@ public java.util.List getMoveAnalysisLis
     return moveAnalysis_;
   }
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -148,13 +123,11 @@ public java.util.List getMoveAnalysisLis
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMoveAnalysisOrBuilderList() {
     return moveAnalysis_;
   }
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -167,8 +140,6 @@ public int getMoveAnalysisCount() {
     return moveAnalysis_.size();
   }
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -181,8 +152,6 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
     return moveAnalysis_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -191,12 +160,12 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(int index) {
+  public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
+      int index) {
     return moveAnalysis_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,7 +177,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < moveAnalysis_.size(); i++) {
       output.writeMessage(1, moveAnalysis_.get(i));
     }
@@ -222,7 +192,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < moveAnalysis_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, moveAnalysis_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, moveAnalysis_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -232,15 +203,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeMoveResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.AnalyzeMoveResponse other =
-        (com.google.cloud.asset.v1.AnalyzeMoveResponse) obj;
+    com.google.cloud.asset.v1.AnalyzeMoveResponse other = (com.google.cloud.asset.v1.AnalyzeMoveResponse) obj;
 
-    if (!getMoveAnalysisList().equals(other.getMoveAnalysisList())) return false;
+    if (!getMoveAnalysisList()
+        .equals(other.getMoveAnalysisList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -261,127 +232,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeMoveResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
-      byte[] data, com.google.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.asset.v1.AnalyzeMoveResponse 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.asset.v1.AnalyzeMoveResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeMoveResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeMoveResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AnalyzeMoveResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeMoveResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response message for resource move analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeMoveResponse) com.google.cloud.asset.v1.AnalyzeMoveResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveResponse.class, - com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveResponse.class, com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzeMoveResponse.newBuilder() @@ -389,17 +351,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) { getMoveAnalysisFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; } @java.lang.Override @@ -434,8 +396,7 @@ public com.google.cloud.asset.v1.AnalyzeMoveResponse build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveResponse buildPartial() { - com.google.cloud.asset.v1.AnalyzeMoveResponse result = - new com.google.cloud.asset.v1.AnalyzeMoveResponse(this); + com.google.cloud.asset.v1.AnalyzeMoveResponse result = new com.google.cloud.asset.v1.AnalyzeMoveResponse(this); int from_bitField0_ = bitField0_; if (moveAnalysisBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -454,39 +415,38 @@ public com.google.cloud.asset.v1.AnalyzeMoveResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeMoveResponse) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveResponse) other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveResponse)other); } else { super.mergeFrom(other); return this; @@ -513,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeMoveResponse other) { moveAnalysisBuilder_ = null; moveAnalysis_ = other.moveAnalysis_; bitField0_ = (bitField0_ & ~0x00000001); - moveAnalysisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMoveAnalysisFieldBuilder() - : null; + moveAnalysisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMoveAnalysisFieldBuilder() : null; } else { moveAnalysisBuilder_.addAllMessages(other.moveAnalysis_); } @@ -550,29 +509,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List moveAnalysis_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMoveAnalysisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - moveAnalysis_ = - new java.util.ArrayList(moveAnalysis_); + moveAnalysis_ = new java.util.ArrayList(moveAnalysis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysis, - com.google.cloud.asset.v1.MoveAnalysis.Builder, - com.google.cloud.asset.v1.MoveAnalysisOrBuilder> - moveAnalysisBuilder_; + com.google.cloud.asset.v1.MoveAnalysis, com.google.cloud.asset.v1.MoveAnalysis.Builder, com.google.cloud.asset.v1.MoveAnalysisOrBuilder> moveAnalysisBuilder_; /** - * - * *
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -588,8 +539,6 @@ public java.util.List getMoveAnalysisLis
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -605,8 +554,6 @@ public int getMoveAnalysisCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -622,8 +569,6 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -631,7 +576,8 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public Builder setMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis value) {
+    public Builder setMoveAnalysis(
+        int index, com.google.cloud.asset.v1.MoveAnalysis value) {
       if (moveAnalysisBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -645,8 +591,6 @@ public Builder setMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -666,8 +610,6 @@ public Builder setMoveAnalysis(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -689,8 +631,6 @@ public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -698,7 +638,8 @@ public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis value) {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public Builder addMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis value) {
+    public Builder addMoveAnalysis(
+        int index, com.google.cloud.asset.v1.MoveAnalysis value) {
       if (moveAnalysisBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -712,8 +653,6 @@ public Builder addMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -721,7 +660,8 @@ public Builder addMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis.Builder builderForValue) {
+    public Builder addMoveAnalysis(
+        com.google.cloud.asset.v1.MoveAnalysis.Builder builderForValue) {
       if (moveAnalysisBuilder_ == null) {
         ensureMoveAnalysisIsMutable();
         moveAnalysis_.add(builderForValue.build());
@@ -732,8 +672,6 @@ public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -753,8 +691,6 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -766,7 +702,8 @@ public Builder addAllMoveAnalysis(
         java.lang.Iterable values) {
       if (moveAnalysisBuilder_ == null) {
         ensureMoveAnalysisIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, moveAnalysis_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, moveAnalysis_);
         onChanged();
       } else {
         moveAnalysisBuilder_.addAllMessages(values);
@@ -774,8 +711,6 @@ public Builder addAllMoveAnalysis(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -794,8 +729,6 @@ public Builder clearMoveAnalysis() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -814,8 +747,6 @@ public Builder removeMoveAnalysis(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -823,12 +754,11 @@ public Builder removeMoveAnalysis(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public com.google.cloud.asset.v1.MoveAnalysis.Builder getMoveAnalysisBuilder(int index) {
+    public com.google.cloud.asset.v1.MoveAnalysis.Builder getMoveAnalysisBuilder(
+        int index) {
       return getMoveAnalysisFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -836,16 +766,14 @@ public com.google.cloud.asset.v1.MoveAnalysis.Builder getMoveAnalysisBuilder(int
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(int index) {
+    public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
+        int index) {
       if (moveAnalysisBuilder_ == null) {
-        return moveAnalysis_.get(index);
-      } else {
+        return moveAnalysis_.get(index);  } else {
         return moveAnalysisBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -853,8 +781,8 @@ public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public java.util.List
-        getMoveAnalysisOrBuilderList() {
+    public java.util.List 
+         getMoveAnalysisOrBuilderList() {
       if (moveAnalysisBuilder_ != null) {
         return moveAnalysisBuilder_.getMessageOrBuilderList();
       } else {
@@ -862,8 +790,6 @@ public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -872,12 +798,10 @@ public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
     public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder() {
-      return getMoveAnalysisFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
+      return getMoveAnalysisFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -885,13 +809,12 @@ public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder() {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder(int index) {
-      return getMoveAnalysisFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
+    public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder(
+        int index) {
+      return getMoveAnalysisFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -899,30 +822,27 @@ public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder(int
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public java.util.List
-        getMoveAnalysisBuilderList() {
+    public java.util.List 
+         getMoveAnalysisBuilderList() {
       return getMoveAnalysisFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveAnalysis,
-            com.google.cloud.asset.v1.MoveAnalysis.Builder,
-            com.google.cloud.asset.v1.MoveAnalysisOrBuilder>
+        com.google.cloud.asset.v1.MoveAnalysis, com.google.cloud.asset.v1.MoveAnalysis.Builder, com.google.cloud.asset.v1.MoveAnalysisOrBuilder> 
         getMoveAnalysisFieldBuilder() {
       if (moveAnalysisBuilder_ == null) {
-        moveAnalysisBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.MoveAnalysis,
-                com.google.cloud.asset.v1.MoveAnalysis.Builder,
-                com.google.cloud.asset.v1.MoveAnalysisOrBuilder>(
-                moveAnalysis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        moveAnalysisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.MoveAnalysis, com.google.cloud.asset.v1.MoveAnalysis.Builder, com.google.cloud.asset.v1.MoveAnalysisOrBuilder>(
+                moveAnalysis_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         moveAnalysis_ = null;
       }
       return moveAnalysisBuilder_;
     }
-
     @java.lang.Override
-    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 +852,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeMoveResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeMoveResponse)
   private static final com.google.cloud.asset.v1.AnalyzeMoveResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeMoveResponse();
   }
@@ -946,16 +866,16 @@ public static com.google.cloud.asset.v1.AnalyzeMoveResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AnalyzeMoveResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AnalyzeMoveResponse(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AnalyzeMoveResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AnalyzeMoveResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -970,4 +890,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AnalyzeMoveResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
similarity index 69%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
index ee10b893d..7fea545ce 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface AnalyzeMoveResponseOrBuilder
-    extends
+public interface AnalyzeMoveResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeMoveResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -33,10 +15,9 @@ public interface AnalyzeMoveResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
-  java.util.List getMoveAnalysisList();
+  java.util.List 
+      getMoveAnalysisList();
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -46,8 +27,6 @@ public interface AnalyzeMoveResponseOrBuilder
    */
   com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index);
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -57,8 +36,6 @@ public interface AnalyzeMoveResponseOrBuilder
    */
   int getMoveAnalysisCount();
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -66,11 +43,9 @@ public interface AnalyzeMoveResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
-  java.util.List
+  java.util.List 
       getMoveAnalysisOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -78,5 +53,6 @@ public interface AnalyzeMoveResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
-  com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(int index);
+  com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
similarity index 77%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
index 33e2a3092..9a1451c2a 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/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/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * An asset in Google Cloud. An asset can be any resource in the Google Cloud
  * [resource
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.asset.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.asset.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_ = "";
     assetType_ = "";
@@ -54,15 +36,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)
@@ -82,205 +65,163 @@ 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;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1.Resource.Builder subBuilder = null;
+            if (resource_ != null) {
+              subBuilder = resource_.toBuilder();
+            }
+            resource_ = input.readMessage(com.google.cloud.asset.v1.Resource.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(resource_);
+              resource_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1.Resource.Builder subBuilder = null;
-              if (resource_ != null) {
-                subBuilder = resource_.toBuilder();
-              }
-              resource_ =
-                  input.readMessage(com.google.cloud.asset.v1.Resource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(resource_);
-                resource_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.iam.v1.Policy.Builder subBuilder = null;
+            if (iamPolicy_ != null) {
+              subBuilder = iamPolicy_.toBuilder();
+            }
+            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamPolicy_);
+              iamPolicy_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.iam.v1.Policy.Builder subBuilder = null;
-              if (iamPolicy_ != null) {
-                subBuilder = iamPolicy_.toBuilder();
-              }
-              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamPolicy_);
-                iamPolicy_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              orgPolicy_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                orgPolicy_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              orgPolicy_.add(
-                  input.readMessage(
-                      com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
-              break;
+            orgPolicy_.add(
+                input.readMessage(com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 7) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_).toBuilder();
+            }
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 58:
-            {
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
-              if (accessContextPolicyCase_ == 7) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                            accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                        accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 7;
-              break;
+            accessContextPolicyCase_ = 7;
+            break;
+          }
+          case 66: {
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 8) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_).toBuilder();
             }
-          case 66:
-            {
-              com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
-              if (accessContextPolicyCase_ == 8) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.AccessLevel.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 8;
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessLevel.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder =
-                  null;
-              if (accessContextPolicyCase_ == 9) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                            accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                        accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 9;
-              break;
+            accessContextPolicyCase_ = 8;
+            break;
+          }
+          case 74: {
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 9) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_).toBuilder();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                ancestors_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              ancestors_.add(s);
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              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;
+            accessContextPolicyCase_ = 9;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              ancestors_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
+            }
+            ancestors_.add(s);
+            break;
+          }
+          case 90: {
+            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 98:
-            {
-              com.google.cloud.osconfig.v1.Inventory.Builder subBuilder = null;
-              if (osInventory_ != null) {
-                subBuilder = osInventory_.toBuilder();
-              }
-              osInventory_ =
-                  input.readMessage(
-                      com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(osInventory_);
-                osInventory_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 98: {
+            com.google.cloud.osconfig.v1.Inventory.Builder subBuilder = null;
+            if (osInventory_ != null) {
+              subBuilder = osInventory_.toBuilder();
+            }
+            osInventory_ = input.readMessage(com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(osInventory_);
+              osInventory_ = subBuilder.buildPartial();
             }
-          case 106:
-            {
-              com.google.cloud.asset.v1.RelatedAssets.Builder subBuilder = null;
-              if (relatedAssets_ != null) {
-                subBuilder = relatedAssets_.toBuilder();
-              }
-              relatedAssets_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.RelatedAssets.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relatedAssets_);
-                relatedAssets_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 106: {
+            com.google.cloud.asset.v1.RelatedAssets.Builder subBuilder = null;
+            if (relatedAssets_ != null) {
+              subBuilder = relatedAssets_.toBuilder();
+            }
+            relatedAssets_ = input.readMessage(com.google.cloud.asset.v1.RelatedAssets.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(relatedAssets_);
+              relatedAssets_ = subBuilder.buildPartial();
             }
-          case 122:
-            {
-              com.google.cloud.asset.v1.RelatedAsset.Builder subBuilder = null;
-              if (relatedAsset_ != null) {
-                subBuilder = relatedAsset_.toBuilder();
-              }
-              relatedAsset_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relatedAsset_);
-                relatedAsset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 122: {
+            com.google.cloud.asset.v1.RelatedAsset.Builder subBuilder = null;
+            if (relatedAsset_ != null) {
+              subBuilder = relatedAsset_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            relatedAsset_ = input.readMessage(com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(relatedAsset_);
+              relatedAsset_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -288,7 +229,8 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = java.util.Collections.unmodifiableList(orgPolicy_);
@@ -300,34 +242,29 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.asset.v1.Asset.class, com.google.cloud.asset.v1.Asset.Builder.class);
   }
 
   private int accessContextPolicyCase_ = 0;
   private java.lang.Object accessContextPolicy_;
-
   public enum AccessContextPolicyCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ACCESS_POLICY(7),
     ACCESS_LEVEL(8),
     SERVICE_PERIMETER(9),
     ACCESSCONTEXTPOLICY_NOT_SET(0);
     private final int value;
-
     private AccessContextPolicyCase(int value) {
       this.value = value;
     }
@@ -343,40 +280,33 @@ public static AccessContextPolicyCase valueOf(int value) {
 
     public static AccessContextPolicyCase forNumber(int value) {
       switch (value) {
-        case 7:
-          return ACCESS_POLICY;
-        case 8:
-          return ACCESS_LEVEL;
-        case 9:
-          return SERVICE_PERIMETER;
-        case 0:
-          return ACCESSCONTEXTPOLICY_NOT_SET;
-        default:
-          return null;
+        case 7: return ACCESS_POLICY;
+        case 8: return ACCESS_LEVEL;
+        case 9: return SERVICE_PERIMETER;
+        case 0: return ACCESSCONTEXTPOLICY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AccessContextPolicyCase getAccessContextPolicyCase() {
-    return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
+  public AccessContextPolicyCase
+  getAccessContextPolicyCase() {
+    return AccessContextPolicyCase.forNumber(
+        accessContextPolicyCase_);
   }
 
   public static final int UPDATE_TIME_FIELD_NUMBER = 11;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -384,15 +314,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ @java.lang.Override @@ -400,8 +327,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -417,8 +342,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -428,7 +351,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -437,15 +359,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 full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -455,15 +376,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 { @@ -474,8 +396,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -484,7 +404,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -493,15 +412,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -510,15 +428,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -529,14 +448,11 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.Resource resource_; /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -544,14 +460,11 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; - * * @return The resource. */ @java.lang.Override @@ -559,8 +472,6 @@ public com.google.cloud.asset.v1.Resource getResource() { return resource_ == null ? com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_; } /** - * - * *
    * A representation of the resource.
    * 
@@ -575,8 +486,6 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -590,7 +499,6 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -598,8 +506,6 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -613,7 +519,6 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -621,8 +526,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -645,8 +548,6 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
   private java.util.List orgPolicy_;
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -661,8 +562,6 @@ public java.util.List getOrgPolicyList() {
     return orgPolicy_;
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -673,13 +572,11 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOrgPolicyOrBuilderList() {
     return orgPolicy_;
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -694,8 +591,6 @@ public int getOrgPolicyCount() {
     return orgPolicy_.size();
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -710,8 +605,6 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
     return orgPolicy_.get(index);
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -722,21 +615,19 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
+  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+      int index) {
     return orgPolicy_.get(index);
   }
 
   public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -744,27 +635,22 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return The accessPolicy. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() { if (accessContextPolicyCase_ == 7) { - return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance(); } /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -773,25 +659,21 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
-      getAccessPolicyOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
     if (accessContextPolicyCase_ == 7) {
-      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
 
   public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
   /**
-   *
-   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -799,27 +681,22 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return The accessLevel. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() { if (accessContextPolicyCase_ == 8) { - return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance(); } /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -828,25 +705,21 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
-      getAccessLevelOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
     if (accessContextPolicyCase_ == 8) {
-      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
 
   public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
   /**
-   *
-   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -854,27 +727,22 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -883,10 +751,9 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-      getServicePerimeterOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
     if (accessContextPolicyCase_ == 9) {
-      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -894,8 +761,6 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
   public static final int OS_INVENTORY_FIELD_NUMBER = 12;
   private com.google.cloud.osconfig.v1.Inventory osInventory_;
   /**
-   *
-   *
    * 
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -903,7 +768,6 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return Whether the osInventory field is set. */ @java.lang.Override @@ -911,8 +775,6 @@ public boolean hasOsInventory() { return osInventory_ != null; } /** - * - * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -920,18 +782,13 @@ public boolean hasOsInventory() {
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return The osInventory. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory getOsInventory() { - return osInventory_ == null - ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() - : osInventory_; + return osInventory_ == null ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_; } /** - * - * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -948,8 +805,6 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
   public static final int RELATED_ASSETS_FIELD_NUMBER = 13;
   private com.google.cloud.asset.v1.RelatedAssets relatedAssets_;
   /**
-   *
-   *
    * 
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -959,19 +814,15 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See - * google/cloud/asset/v1/assets.proto;l=167 + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. + * See google/cloud/asset/v1/assets.proto;l=167 * @return Whether the relatedAssets field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasRelatedAssets() { + @java.lang.Deprecated public boolean hasRelatedAssets() { return relatedAssets_ != null; } /** - * - * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -981,21 +832,15 @@ public boolean hasRelatedAssets() {
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See - * google/cloud/asset/v1/assets.proto;l=167 + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. + * See google/cloud/asset/v1/assets.proto;l=167 * @return The relatedAssets. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { - return relatedAssets_ == null - ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() - : relatedAssets_; + @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { + return relatedAssets_ == null ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_; } /** - * - * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -1007,22 +852,18 @@ public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() {
    * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
+  @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
     return getRelatedAssets();
   }
 
   public static final int RELATED_ASSET_FIELD_NUMBER = 15;
   private com.google.cloud.asset.v1.RelatedAsset relatedAsset_;
   /**
-   *
-   *
    * 
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; - * * @return Whether the relatedAsset field is set. */ @java.lang.Override @@ -1030,25 +871,18 @@ public boolean hasRelatedAsset() { return relatedAsset_ != null; } /** - * - * *
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; - * * @return The relatedAsset. */ @java.lang.Override public com.google.cloud.asset.v1.RelatedAsset getRelatedAsset() { - return relatedAsset_ == null - ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() - : relatedAsset_; + return relatedAsset_ == null ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; } /** - * - * *
    * One related asset of the current asset.
    * 
@@ -1063,8 +897,6 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( public static final int ANCESTORS_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList ancestors_; /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1076,15 +908,13 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder(
    * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_; } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1096,15 +926,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
    * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1116,7 +943,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1124,8 +950,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1137,16 +961,15 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1158,7 +981,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1175,16 +999,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - output.writeMessage( - 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + output.writeMessage(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - output.writeMessage( - 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + output.writeMessage(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - output.writeMessage( - 9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + output.writeMessage(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i)); @@ -1217,29 +1038,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getIamPolicy()); } for (int i = 0; i < orgPolicy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, orgPolicy_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } { int dataSize = 0; @@ -1250,16 +1070,20 @@ public int getSerializedSize() { size += 1 * getAncestorsList().size(); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } if (osInventory_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getOsInventory()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getOsInventory()); } if (relatedAssets_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getRelatedAssets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getRelatedAssets()); } if (relatedAsset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getRelatedAsset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getRelatedAsset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1269,7 +1093,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.Asset)) { return super.equals(obj); @@ -1278,42 +1102,55 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getName().equals(other.getName())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) 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 (!getOrgPolicyList().equals(other.getOrgPolicyList())) return false; + if (!getOrgPolicyList() + .equals(other.getOrgPolicyList())) return false; if (hasOsInventory() != other.hasOsInventory()) return false; if (hasOsInventory()) { - if (!getOsInventory().equals(other.getOsInventory())) return false; + if (!getOsInventory() + .equals(other.getOsInventory())) return false; } if (hasRelatedAssets() != other.hasRelatedAssets()) return false; if (hasRelatedAssets()) { - if (!getRelatedAssets().equals(other.getRelatedAssets())) return false; + if (!getRelatedAssets() + .equals(other.getRelatedAssets())) return false; } if (hasRelatedAsset() != other.hasRelatedAsset()) return false; if (hasRelatedAsset()) { - if (!getRelatedAsset().equals(other.getRelatedAsset())) return false; + if (!getRelatedAsset() + .equals(other.getRelatedAsset())) return false; } - if (!getAncestorsList().equals(other.getAncestorsList())) return false; + if (!getAncestorsList() + .equals(other.getAncestorsList())) return false; if (!getAccessContextPolicyCase().equals(other.getAccessContextPolicyCase())) return false; switch (accessContextPolicyCase_) { case 7: - if (!getAccessPolicy().equals(other.getAccessPolicy())) return false; + if (!getAccessPolicy() + .equals(other.getAccessPolicy())) return false; break; case 8: - if (!getAccessLevel().equals(other.getAccessLevel())) return false; + if (!getAccessLevel() + .equals(other.getAccessLevel())) return false; break; case 9: - if (!getServicePerimeter().equals(other.getServicePerimeter())) return false; + if (!getServicePerimeter() + .equals(other.getServicePerimeter())) return false; break; case 0: default: @@ -1386,103 +1223,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Asset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Asset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.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.asset.v1.Asset parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.Asset parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.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.asset.v1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.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.asset.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.asset.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.asset.v1.Asset 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.asset.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.asset.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.asset.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.asset.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; } /** - * - * *
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -1497,20 +1328,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.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.asset.v1.Asset)
       com.google.cloud.asset.v1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.asset.v1.Asset.class, com.google.cloud.asset.v1.Asset.Builder.class);
     }
@@ -1520,17 +1350,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) {
         getOrgPolicyFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1588,9 +1418,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -1687,39 +1517,38 @@ public com.google.cloud.asset.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.asset.v1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1.Asset) other);
+        return mergeFrom((com.google.cloud.asset.v1.Asset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1763,10 +1592,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyFieldBuilder()
-                    : null;
+            orgPolicyBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyFieldBuilder() : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1792,25 +1620,21 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
         onChanged();
       }
       switch (other.getAccessContextPolicyCase()) {
-        case ACCESS_POLICY:
-          {
-            mergeAccessPolicy(other.getAccessPolicy());
-            break;
-          }
-        case ACCESS_LEVEL:
-          {
-            mergeAccessLevel(other.getAccessLevel());
-            break;
-          }
-        case SERVICE_PERIMETER:
-          {
-            mergeServicePerimeter(other.getServicePerimeter());
-            break;
-          }
-        case ACCESSCONTEXTPOLICY_NOT_SET:
-          {
-            break;
-          }
+        case ACCESS_POLICY: {
+          mergeAccessPolicy(other.getAccessPolicy());
+          break;
+        }
+        case ACCESS_LEVEL: {
+          mergeAccessLevel(other.getAccessLevel());
+          break;
+        }
+        case SERVICE_PERIMETER: {
+          mergeServicePerimeter(other.getServicePerimeter());
+          break;
+        }
+        case ACCESSCONTEXTPOLICY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1840,12 +1664,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int accessContextPolicyCase_ = 0;
     private java.lang.Object accessContextPolicy_;
-
-    public AccessContextPolicyCase getAccessContextPolicyCase() {
-      return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
+    public AccessContextPolicyCase
+        getAccessContextPolicyCase() {
+      return AccessContextPolicyCase.forNumber(
+          accessContextPolicyCase_);
     }
 
     public Builder clearAccessContextPolicy() {
@@ -1859,49 +1683,36 @@ public Builder clearAccessContextPolicy() {
 
     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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; - * * @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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1923,8 +1734,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1932,7 +1741,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 11;
      */
-    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();
@@ -1943,8 +1753,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1956,7 +1764,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;
         }
@@ -1968,8 +1776,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1989,8 +1795,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1999,13 +1803,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -2017,14 +1819,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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -2033,17 +1832,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     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_;
@@ -2051,8 +1847,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2062,13 +1856,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * 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; @@ -2077,8 +1871,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2088,14 +1880,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 { @@ -2103,8 +1896,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2114,22 +1905,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 full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2139,18 +1928,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 full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -2160,16 +1946,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; @@ -2177,8 +1963,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2187,13 +1971,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -2202,8 +1986,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2212,14 +1994,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -2227,8 +2010,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2237,22 +2018,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2261,18 +2040,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2281,16 +2057,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -2298,47 +2074,34 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Resource, - com.google.cloud.asset.v1.Resource.Builder, - com.google.cloud.asset.v1.ResourceOrBuilder> - resourceBuilder_; + com.google.cloud.asset.v1.Resource, com.google.cloud.asset.v1.Resource.Builder, com.google.cloud.asset.v1.ResourceOrBuilder> resourceBuilder_; /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1.Resource resource = 3; - * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1.Resource resource = 3; - * * @return The resource. */ public com.google.cloud.asset.v1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.asset.v1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * A representation of the resource.
      * 
@@ -2359,15 +2122,14 @@ public Builder setResource(com.google.cloud.asset.v1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1.Resource resource = 3; */ - public Builder setResource(com.google.cloud.asset.v1.Resource.Builder builderForValue) { + public Builder setResource( + com.google.cloud.asset.v1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -2378,8 +2140,6 @@ public Builder setResource(com.google.cloud.asset.v1.Resource.Builder builderFor return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2390,9 +2150,7 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1.Resource.newBuilder(resource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2404,8 +2162,6 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2424,8 +2180,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2433,13 +2187,11 @@ public Builder clearResource() { * .google.cloud.asset.v1.Resource resource = 3; */ public com.google.cloud.asset.v1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * A representation of the resource.
      * 
@@ -2450,14 +2202,11 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.asset.v1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_; } } /** - * - * *
      * A representation of the resource.
      * 
@@ -2465,17 +2214,14 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { * .google.cloud.asset.v1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Resource, - com.google.cloud.asset.v1.Resource.Builder, - com.google.cloud.asset.v1.ResourceOrBuilder> + com.google.cloud.asset.v1.Resource, com.google.cloud.asset.v1.Resource.Builder, com.google.cloud.asset.v1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Resource, - com.google.cloud.asset.v1.Resource.Builder, - com.google.cloud.asset.v1.ResourceOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.Resource, com.google.cloud.asset.v1.Resource.Builder, com.google.cloud.asset.v1.ResourceOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; @@ -2483,13 +2229,8 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - iamPolicyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; /** - * - * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2503,15 +2244,12 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } - /** - * - * + /** *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2525,7 +2263,6 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2536,8 +2273,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2566,8 +2301,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2582,7 +2315,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -2593,8 +2327,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2613,7 +2345,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -2625,8 +2357,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2653,8 +2383,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2670,13 +2398,11 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-
+      
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2695,12 +2421,11 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2716,41 +2441,32 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(), getParentForChildren(), isClean());
+        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(),
+                getParentForChildren(),
+                isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
     private java.util.List orgPolicy_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy,
-            com.google.cloud.orgpolicy.v1.Policy.Builder,
-            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
-        orgPolicyBuilder_;
+        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> orgPolicyBuilder_;
 
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2768,8 +2484,6 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2787,8 +2501,6 @@ public int getOrgPolicyCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2806,8 +2518,6 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2817,7 +2527,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder setOrgPolicy(
+        int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2831,8 +2542,6 @@ public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2854,8 +2563,6 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2879,8 +2586,6 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2890,7 +2595,8 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder addOrgPolicy(
+        int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2904,8 +2610,6 @@ public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2915,7 +2619,8 @@ public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
+    public Builder addOrgPolicy(
+        com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
         orgPolicy_.add(builderForValue.build());
@@ -2926,8 +2631,6 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2949,8 +2652,6 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2964,7 +2665,8 @@ public Builder addAllOrgPolicy(
         java.lang.Iterable values) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, orgPolicy_);
         onChanged();
       } else {
         orgPolicyBuilder_.addAllMessages(values);
@@ -2972,8 +2674,6 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2994,8 +2694,6 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3016,8 +2714,6 @@ public Builder removeOrgPolicy(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3027,12 +2723,11 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int index) {
+    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
+        int index) {
       return getOrgPolicyFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3042,16 +2737,14 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int inde
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
+    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+        int index) {
       if (orgPolicyBuilder_ == null) {
-        return orgPolicy_.get(index);
-      } else {
+        return orgPolicy_.get(index);  } else {
         return orgPolicyBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3061,8 +2754,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List
-        getOrgPolicyOrBuilderList() {
+    public java.util.List 
+         getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -3070,8 +2763,6 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3082,12 +2773,10 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
     public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
-      return getOrgPolicyFieldBuilder()
-          .addBuilder(com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+      return getOrgPolicyFieldBuilder().addBuilder(
+          com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3097,13 +2786,12 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int index) {
-      return getOrgPolicyFieldBuilder()
-          .addBuilder(index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
+        int index) {
+      return getOrgPolicyFieldBuilder().addBuilder(
+          index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -3113,42 +2801,34 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int inde
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List getOrgPolicyBuilderList() {
+    public java.util.List 
+         getOrgPolicyBuilderList() {
       return getOrgPolicyFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy,
-            com.google.cloud.orgpolicy.v1.Policy.Builder,
-            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
+        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 
         getOrgPolicyFieldBuilder() {
       if (orgPolicyBuilder_ == null) {
-        orgPolicyBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.orgpolicy.v1.Policy,
-                com.google.cloud.orgpolicy.v1.Policy.Builder,
-                com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
-                orgPolicy_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        orgPolicyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
+                orgPolicy_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy,
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
-        accessPolicyBuilder_;
+        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> accessPolicyBuilder_;
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -3156,15 +2836,12 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** - * - * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return The accessPolicy. */ @java.lang.Override @@ -3182,8 +2859,6 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy( } } /** - * - * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3205,8 +2880,6 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3226,8 +2899,6 @@ public Builder setAccessPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3235,18 +2906,12 @@ public Builder setAccessPolicy(
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public Builder mergeAccessPolicy(
-        com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
+    public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
-        if (accessContextPolicyCase_ == 7
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 7 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3262,8 +2927,6 @@ public Builder mergeAccessPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3288,8 +2951,6 @@ public Builder clearAccessPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3297,13 +2958,10 @@ public Builder clearAccessPolicy() {
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
-        getAccessPolicyBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder() {
       return getAccessPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3312,8 +2970,7 @@ public Builder clearAccessPolicy() {
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
-        getAccessPolicyOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
       if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
         return accessPolicyBuilder_.getMessageOrBuilder();
       } else {
@@ -3324,8 +2981,6 @@ public Builder clearAccessPolicy() {
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3334,46 +2989,33 @@ public Builder clearAccessPolicy() {
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy,
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
+        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> 
         getAccessPolicyFieldBuilder() {
       if (accessPolicyBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 7)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
         }
-        accessPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.AccessPolicy,
-                com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-                com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
+        accessPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 7;
-      onChanged();
-      ;
+      onChanged();;
       return accessPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel,
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
-        accessLevelBuilder_;
+        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> accessLevelBuilder_;
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -3381,15 +3023,12 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** - * - * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return The accessLevel. */ @java.lang.Override @@ -3407,8 +3046,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() } } /** - * - * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3430,8 +3067,6 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3451,8 +3086,6 @@ public Builder setAccessLevel(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3462,15 +3095,10 @@ public Builder setAccessLevel(
      */
     public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
-        if (accessContextPolicyCase_ == 8
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.AccessLevel)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 8 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3486,8 +3114,6 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3512,8 +3138,6 @@ public Builder clearAccessLevel() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3525,8 +3149,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       return getAccessLevelFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3535,8 +3157,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
-        getAccessLevelOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
       if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
         return accessLevelBuilder_.getMessageOrBuilder();
       } else {
@@ -3547,8 +3168,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3557,46 +3176,33 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel,
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
+        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> 
         getAccessLevelFieldBuilder() {
       if (accessLevelBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 8)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
         }
-        accessLevelBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.AccessLevel,
-                com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-                com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
+        accessLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 8;
-      onChanged();
-      ;
+      onChanged();;
       return accessLevelBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
-        servicePerimeterBuilder_;
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> servicePerimeterBuilder_;
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -3604,23 +3210,19 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** - * - * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (servicePerimeterBuilder_ == null) { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) - accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } else { @@ -3631,8 +3233,6 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe } } /** - * - * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3640,8 +3240,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder setServicePerimeter(
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3655,8 +3254,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3676,8 +3273,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3685,19 +3280,12 @@ public Builder setServicePerimeter(
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder mergeServicePerimeter(
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
-        if (accessContextPolicyCase_ == 9
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.ServicePerimeter
-                    .getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 9 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3713,8 +3301,6 @@ public Builder mergeServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3739,8 +3325,6 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3748,13 +3332,10 @@ public Builder clearServicePerimeter() {
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
-        getServicePerimeterBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder() {
       return getServicePerimeterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3763,21 +3344,17 @@ public Builder clearServicePerimeter() {
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-        getServicePerimeterOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
       if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
         return servicePerimeterBuilder_.getMessageOrBuilder();
       } else {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-              accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3786,40 +3363,28 @@ public Builder clearServicePerimeter() {
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> 
         getServicePerimeterFieldBuilder() {
       if (servicePerimeterBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 9)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
         }
-        servicePerimeterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-                com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-                com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
+        servicePerimeterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 9;
-      onChanged();
-      ;
+      onChanged();;
       return servicePerimeterBuilder_;
     }
 
     private com.google.cloud.osconfig.v1.Inventory osInventory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.osconfig.v1.Inventory,
-            com.google.cloud.osconfig.v1.Inventory.Builder,
-            com.google.cloud.osconfig.v1.InventoryOrBuilder>
-        osInventoryBuilder_;
+        com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> osInventoryBuilder_;
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3827,15 +3392,12 @@ public Builder clearServicePerimeter() {
      * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return Whether the osInventory field is set. */ public boolean hasOsInventory() { return osInventoryBuilder_ != null || osInventory_ != null; } /** - * - * *
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3843,21 +3405,16 @@ public boolean hasOsInventory() {
      * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return The osInventory. */ public com.google.cloud.osconfig.v1.Inventory getOsInventory() { if (osInventoryBuilder_ == null) { - return osInventory_ == null - ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() - : osInventory_; + return osInventory_ == null ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_; } else { return osInventoryBuilder_.getMessage(); } } /** - * - * *
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3880,8 +3437,6 @@ public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3890,7 +3445,8 @@ public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
      *
      * .google.cloud.osconfig.v1.Inventory os_inventory = 12;
      */
-    public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) {
+    public Builder setOsInventory(
+        com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) {
       if (osInventoryBuilder_ == null) {
         osInventory_ = builderForValue.build();
         onChanged();
@@ -3901,8 +3457,6 @@ public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3915,9 +3469,7 @@ public Builder mergeOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       if (osInventoryBuilder_ == null) {
         if (osInventory_ != null) {
           osInventory_ =
-              com.google.cloud.osconfig.v1.Inventory.newBuilder(osInventory_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.osconfig.v1.Inventory.newBuilder(osInventory_).mergeFrom(value).buildPartial();
         } else {
           osInventory_ = value;
         }
@@ -3929,8 +3481,6 @@ public Builder mergeOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3951,8 +3501,6 @@ public Builder clearOsInventory() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3962,13 +3510,11 @@ public Builder clearOsInventory() {
      * .google.cloud.osconfig.v1.Inventory os_inventory = 12;
      */
     public com.google.cloud.osconfig.v1.Inventory.Builder getOsInventoryBuilder() {
-
+      
       onChanged();
       return getOsInventoryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3981,14 +3527,11 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
       if (osInventoryBuilder_ != null) {
         return osInventoryBuilder_.getMessageOrBuilder();
       } else {
-        return osInventory_ == null
-            ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()
-            : osInventory_;
+        return osInventory_ == null ?
+            com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_;
       }
     }
     /**
-     *
-     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3998,17 +3541,14 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      * .google.cloud.osconfig.v1.Inventory os_inventory = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.osconfig.v1.Inventory,
-            com.google.cloud.osconfig.v1.Inventory.Builder,
-            com.google.cloud.osconfig.v1.InventoryOrBuilder>
+        com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> 
         getOsInventoryFieldBuilder() {
       if (osInventoryBuilder_ == null) {
-        osInventoryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.osconfig.v1.Inventory,
-                com.google.cloud.osconfig.v1.Inventory.Builder,
-                com.google.cloud.osconfig.v1.InventoryOrBuilder>(
-                getOsInventory(), getParentForChildren(), isClean());
+        osInventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder>(
+                getOsInventory(),
+                getParentForChildren(),
+                isClean());
         osInventory_ = null;
       }
       return osInventoryBuilder_;
@@ -4016,13 +3556,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
 
     private com.google.cloud.asset.v1.RelatedAssets relatedAssets_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.RelatedAssets,
-            com.google.cloud.asset.v1.RelatedAssets.Builder,
-            com.google.cloud.asset.v1.RelatedAssetsOrBuilder>
-        relatedAssetsBuilder_;
+        com.google.cloud.asset.v1.RelatedAssets, com.google.cloud.asset.v1.RelatedAssets.Builder, com.google.cloud.asset.v1.RelatedAssetsOrBuilder> relatedAssetsBuilder_;
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4032,18 +3567,14 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See - * google/cloud/asset/v1/assets.proto;l=167 + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. + * See google/cloud/asset/v1/assets.proto;l=167 * @return Whether the relatedAssets field is set. */ - @java.lang.Deprecated - public boolean hasRelatedAssets() { + @java.lang.Deprecated public boolean hasRelatedAssets() { return relatedAssetsBuilder_ != null || relatedAssets_ != null; } /** - * - * *
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4053,24 +3584,18 @@ public boolean hasRelatedAssets() {
      * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See - * google/cloud/asset/v1/assets.proto;l=167 + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. + * See google/cloud/asset/v1/assets.proto;l=167 * @return The relatedAssets. */ - @java.lang.Deprecated - public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { + @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { if (relatedAssetsBuilder_ == null) { - return relatedAssets_ == null - ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() - : relatedAssets_; + return relatedAssets_ == null ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_; } else { return relatedAssetsBuilder_.getMessage(); } } /** - * - * *
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4081,8 +3606,7 @@ public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() {
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
+    @java.lang.Deprecated public Builder setRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
       if (relatedAssetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4096,8 +3620,6 @@ public Builder setRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4108,8 +3630,7 @@ public Builder setRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setRelatedAssets(
+    @java.lang.Deprecated public Builder setRelatedAssets(
         com.google.cloud.asset.v1.RelatedAssets.Builder builderForValue) {
       if (relatedAssetsBuilder_ == null) {
         relatedAssets_ = builderForValue.build();
@@ -4121,8 +3642,6 @@ public Builder setRelatedAssets(
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4133,14 +3652,11 @@ public Builder setRelatedAssets(
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder mergeRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
+    @java.lang.Deprecated public Builder mergeRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
       if (relatedAssetsBuilder_ == null) {
         if (relatedAssets_ != null) {
           relatedAssets_ =
-              com.google.cloud.asset.v1.RelatedAssets.newBuilder(relatedAssets_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1.RelatedAssets.newBuilder(relatedAssets_).mergeFrom(value).buildPartial();
         } else {
           relatedAssets_ = value;
         }
@@ -4152,8 +3668,6 @@ public Builder mergeRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value)
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4164,8 +3678,7 @@ public Builder mergeRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value)
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder clearRelatedAssets() {
+    @java.lang.Deprecated public Builder clearRelatedAssets() {
       if (relatedAssetsBuilder_ == null) {
         relatedAssets_ = null;
         onChanged();
@@ -4177,8 +3690,6 @@ public Builder clearRelatedAssets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4189,15 +3700,12 @@ public Builder clearRelatedAssets() {
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.cloud.asset.v1.RelatedAssets.Builder getRelatedAssetsBuilder() {
-
+    @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssets.Builder getRelatedAssetsBuilder() {
+      
       onChanged();
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4208,19 +3716,15 @@ public com.google.cloud.asset.v1.RelatedAssets.Builder getRelatedAssetsBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
+    @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
       if (relatedAssetsBuilder_ != null) {
         return relatedAssetsBuilder_.getMessageOrBuilder();
       } else {
-        return relatedAssets_ == null
-            ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()
-            : relatedAssets_;
+        return relatedAssets_ == null ?
+            com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_;
       }
     }
     /**
-     *
-     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -4232,17 +3736,14 @@ public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilde
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.RelatedAssets,
-            com.google.cloud.asset.v1.RelatedAssets.Builder,
-            com.google.cloud.asset.v1.RelatedAssetsOrBuilder>
+        com.google.cloud.asset.v1.RelatedAssets, com.google.cloud.asset.v1.RelatedAssets.Builder, com.google.cloud.asset.v1.RelatedAssetsOrBuilder> 
         getRelatedAssetsFieldBuilder() {
       if (relatedAssetsBuilder_ == null) {
-        relatedAssetsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.RelatedAssets,
-                com.google.cloud.asset.v1.RelatedAssets.Builder,
-                com.google.cloud.asset.v1.RelatedAssetsOrBuilder>(
-                getRelatedAssets(), getParentForChildren(), isClean());
+        relatedAssetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.RelatedAssets, com.google.cloud.asset.v1.RelatedAssets.Builder, com.google.cloud.asset.v1.RelatedAssetsOrBuilder>(
+                getRelatedAssets(),
+                getParentForChildren(),
+                isClean());
         relatedAssets_ = null;
       }
       return relatedAssetsBuilder_;
@@ -4250,47 +3751,34 @@ public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilde
 
     private com.google.cloud.asset.v1.RelatedAsset relatedAsset_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.RelatedAsset,
-            com.google.cloud.asset.v1.RelatedAsset.Builder,
-            com.google.cloud.asset.v1.RelatedAssetOrBuilder>
-        relatedAssetBuilder_;
+        com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> relatedAssetBuilder_;
     /**
-     *
-     *
      * 
      * One related asset of the current asset.
      * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; - * * @return Whether the relatedAsset field is set. */ public boolean hasRelatedAsset() { return relatedAssetBuilder_ != null || relatedAsset_ != null; } /** - * - * *
      * One related asset of the current asset.
      * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; - * * @return The relatedAsset. */ public com.google.cloud.asset.v1.RelatedAsset getRelatedAsset() { if (relatedAssetBuilder_ == null) { - return relatedAsset_ == null - ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() - : relatedAsset_; + return relatedAsset_ == null ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; } else { return relatedAssetBuilder_.getMessage(); } } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4311,15 +3799,14 @@ public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** - * - * *
      * One related asset of the current asset.
      * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; */ - public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { + public Builder setRelatedAsset( + com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { if (relatedAssetBuilder_ == null) { relatedAsset_ = builderForValue.build(); onChanged(); @@ -4330,8 +3817,6 @@ public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset.Builder bu return this; } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4342,9 +3827,7 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { if (relatedAssetBuilder_ == null) { if (relatedAsset_ != null) { relatedAsset_ = - com.google.cloud.asset.v1.RelatedAsset.newBuilder(relatedAsset_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.RelatedAsset.newBuilder(relatedAsset_).mergeFrom(value).buildPartial(); } else { relatedAsset_ = value; } @@ -4356,8 +3839,6 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4376,8 +3857,6 @@ public Builder clearRelatedAsset() { return this; } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4385,13 +3864,11 @@ public Builder clearRelatedAsset() { * .google.cloud.asset.v1.RelatedAsset related_asset = 15; */ public com.google.cloud.asset.v1.RelatedAsset.Builder getRelatedAssetBuilder() { - + onChanged(); return getRelatedAssetFieldBuilder().getBuilder(); } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4402,14 +3879,11 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( if (relatedAssetBuilder_ != null) { return relatedAssetBuilder_.getMessageOrBuilder(); } else { - return relatedAsset_ == null - ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() - : relatedAsset_; + return relatedAsset_ == null ? + com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; } } /** - * - * *
      * One related asset of the current asset.
      * 
@@ -4417,34 +3891,27 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( * .google.cloud.asset.v1.RelatedAsset related_asset = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, - com.google.cloud.asset.v1.RelatedAsset.Builder, - com.google.cloud.asset.v1.RelatedAssetOrBuilder> + com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> getRelatedAssetFieldBuilder() { if (relatedAssetBuilder_ == null) { - relatedAssetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, - com.google.cloud.asset.v1.RelatedAsset.Builder, - com.google.cloud.asset.v1.RelatedAssetOrBuilder>( - getRelatedAsset(), getParentForChildren(), isClean()); + relatedAssetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder>( + getRelatedAsset(), + getParentForChildren(), + isClean()); relatedAsset_ = null; } return relatedAssetBuilder_; } - private com.google.protobuf.LazyStringList ancestors_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4456,15 +3923,13 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4476,15 +3941,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
      * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4496,7 +3958,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -4504,8 +3965,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4517,16 +3976,14 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4538,23 +3995,21 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
      * 
* * repeated string ancestors = 10; - * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors(int index, java.lang.String value) { + public Builder setAncestors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4566,22 +4021,20 @@ public Builder setAncestors(int index, java.lang.String value) {
      * 
* * repeated string ancestors = 10; - * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors(java.lang.String value) { + public Builder addAncestors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4593,19 +4046,18 @@ public Builder addAncestors(java.lang.String value) {
      * 
* * repeated string ancestors = 10; - * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors(java.lang.Iterable values) { + public Builder addAllAncestors( + java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ancestors_); onChanged(); return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4617,7 +4069,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 10; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -4627,8 +4078,6 @@ public Builder clearAncestors() { return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4640,23 +4089,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 10; - * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -4666,12 +4115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Asset) private static final com.google.cloud.asset.v1.Asset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Asset(); } @@ -4680,16 +4129,16 @@ public static com.google.cloud.asset.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; @@ -4704,4 +4153,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java similarity index 89% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java index 5ec771a28..a4ba89c43 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java @@ -1,57 +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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface AssetOrBuilder - extends +public interface AssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Asset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -62,8 +38,6 @@ public interface AssetOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -73,13 +47,10 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -89,14 +60,12 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -105,13 +74,10 @@ public interface AssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -120,38 +86,30 @@ public interface AssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; - * * @return The resource. */ com.google.cloud.asset.v1.Resource getResource(); /** - * - * *
    * A representation of the resource.
    * 
@@ -161,8 +119,6 @@ public interface AssetOrBuilder com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder(); /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -176,13 +132,10 @@ public interface AssetOrBuilder
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -196,13 +149,10 @@ public interface AssetOrBuilder
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -220,8 +170,6 @@ public interface AssetOrBuilder
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -231,10 +179,9 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List getOrgPolicyList();
+  java.util.List 
+      getOrgPolicyList();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -246,8 +193,6 @@ public interface AssetOrBuilder
    */
   com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index);
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -259,8 +204,6 @@ public interface AssetOrBuilder
    */
   int getOrgPolicyCount();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -270,11 +213,9 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List
+  java.util.List 
       getOrgPolicyOrBuilderList();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -284,37 +225,30 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return Whether the accessPolicy field is set. */ boolean hasAccessPolicy(); /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return The accessPolicy. */ com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(); /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -325,34 +259,26 @@ public interface AssetOrBuilder
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return Whether the accessLevel field is set. */ boolean hasAccessLevel(); /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return The accessLevel. */ com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel(); /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -363,34 +289,26 @@ public interface AssetOrBuilder
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
-   *
-   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return Whether the servicePerimeter field is set. */ boolean hasServicePerimeter(); /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return The servicePerimeter. */ com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter(); /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -398,12 +316,9 @@ public interface AssetOrBuilder
    *
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
-  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-      getServicePerimeterOrBuilder();
+  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder();
 
   /**
-   *
-   *
    * 
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -411,13 +326,10 @@ public interface AssetOrBuilder
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return Whether the osInventory field is set. */ boolean hasOsInventory(); /** - * - * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -425,13 +337,10 @@ public interface AssetOrBuilder
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; - * * @return The osInventory. */ com.google.cloud.osconfig.v1.Inventory getOsInventory(); /** - * - * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -443,8 +352,6 @@ public interface AssetOrBuilder
   com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder();
 
   /**
-   *
-   *
    * 
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -454,16 +361,12 @@ public interface AssetOrBuilder
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See - * google/cloud/asset/v1/assets.proto;l=167 + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. + * See google/cloud/asset/v1/assets.proto;l=167 * @return Whether the relatedAssets field is set. */ - @java.lang.Deprecated - boolean hasRelatedAssets(); + @java.lang.Deprecated boolean hasRelatedAssets(); /** - * - * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -473,16 +376,12 @@ public interface AssetOrBuilder
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See - * google/cloud/asset/v1/assets.proto;l=167 + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. + * See google/cloud/asset/v1/assets.proto;l=167 * @return The relatedAssets. */ - @java.lang.Deprecated - com.google.cloud.asset.v1.RelatedAssets getRelatedAssets(); + @java.lang.Deprecated com.google.cloud.asset.v1.RelatedAssets getRelatedAssets(); /** - * - * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -493,36 +392,27 @@ public interface AssetOrBuilder
    *
    * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
    */
-  @java.lang.Deprecated
-  com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder();
+  @java.lang.Deprecated com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder();
 
   /**
-   *
-   *
    * 
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; - * * @return Whether the relatedAsset field is set. */ boolean hasRelatedAsset(); /** - * - * *
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; - * * @return The relatedAsset. */ com.google.cloud.asset.v1.RelatedAsset getRelatedAsset(); /** - * - * *
    * One related asset of the current asset.
    * 
@@ -532,8 +422,6 @@ public interface AssetOrBuilder com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder(); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -545,13 +433,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - java.util.List getAncestorsList(); + java.util.List + getAncestorsList(); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -563,13 +449,10 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ int getAncestorsCount(); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -581,14 +464,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -600,11 +480,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString getAncestorsBytes(int index); + com.google.protobuf.ByteString + getAncestorsBytes(int index); public com.google.cloud.asset.v1.Asset.AccessContextPolicyCase getAccessContextPolicyCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java new file mode 100644 index 000000000..15788a15d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java @@ -0,0 +1,504 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/assets.proto + +package com.google.cloud.asset.v1; + +public final class AssetProto { + private AssetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1_TemporalAsset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_Asset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedAssets_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedAsset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_VersionedResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AttachedResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_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/asset/v1/assets.proto\022\025go" + + "ogle.cloud.asset.v1\032\037google/api/field_be" + + "havior.proto\032\031google/api/resource.proto\032" + + ")google/cloud/orgpolicy/v1/orgpolicy.pro" + + "to\032(google/cloud/osconfig/v1/inventory.p" + + "roto\032\032google/iam/v1/policy.proto\032:google" + + "/identity/accesscontextmanager/v1/access" + + "_level.proto\032;google/identity/accesscont" + + "extmanager/v1/access_policy.proto\032?googl" + + "e/identity/accesscontextmanager/v1/servi" + + "ce_perimeter.proto\032\034google/protobuf/stru" + + "ct.proto\032\037google/protobuf/timestamp.prot" + + "o\032\025google/rpc/code.proto\"\365\002\n\rTemporalAss" + + "et\0221\n\006window\030\001 \001(\0132!.google.cloud.asset." + + "v1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\022+\n\005asset\030" + + "\003 \001(\0132\034.google.cloud.asset.v1.Asset\022O\n\021p" + + "rior_asset_state\030\004 \001(\01624.google.cloud.as" + + "set.v1.TemporalAsset.PriorAssetState\0221\n\013" + + "prior_asset\030\005 \001(\0132\034.google.cloud.asset.v" + + "1.Asset\"o\n\017PriorAssetState\022!\n\035PRIOR_ASSE" + + "T_STATE_UNSPECIFIED\020\000\022\013\n\007PRESENT\020\001\022\013\n\007IN" + + "VALID\020\002\022\022\n\016DOES_NOT_EXIST\020\003\022\013\n\007DELETED\020\004" + + "\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\"\363\005\n\005Asset\022/" + + "\n\013update_time\030\013 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" + + "\t\0221\n\010resource\030\003 \001(\0132\037.google.cloud.asset" + + ".v1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.googl" + + "e.iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.go" + + "ogle.cloud.orgpolicy.v1.Policy\022N\n\raccess" + + "_policy\030\007 \001(\01325.google.identity.accessco" + + "ntextmanager.v1.AccessPolicyH\000\022L\n\014access" + + "_level\030\010 \001(\01324.google.identity.accesscon" + + "textmanager.v1.AccessLevelH\000\022V\n\021service_" + + "perimeter\030\t \001(\01329.google.identity.access" + + "contextmanager.v1.ServicePerimeterH\000\0229\n\014" + + "os_inventory\030\014 \001(\0132#.google.cloud.osconf" + + "ig.v1.Inventory\022@\n\016related_assets\030\r \001(\0132" + + "$.google.cloud.asset.v1.RelatedAssetsB\002\030" + + "\001\022:\n\rrelated_asset\030\017 \001(\0132#.google.cloud." + + "asset.v1.RelatedAsset\022\021\n\tancestors\030\n \003(\t" + + ":\'\352A$\n\037cloudasset.googleapis.com/Asset\022\001" + + "*B\027\n\025access_context_policy\"\262\001\n\010Resource\022" + + "\017\n\007version\030\001 \001(\t\022\036\n\026discovery_document_u" + + "ri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014reso" + + "urce_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006" + + " \001(\0132\027.google.protobuf.Struct\022\020\n\010locatio" + + "n\030\010 \001(\t\"\230\001\n\rRelatedAssets\022N\n\027relationshi" + + "p_attributes\030\001 \001(\0132-.google.cloud.asset." + + "v1.RelationshipAttributes\0223\n\006assets\030\002 \003(" + + "\0132#.google.cloud.asset.v1.RelatedAsset:\002" + + "\030\001\"v\n\026RelationshipAttributes\022\014\n\004type\030\004 \001" + + "(\t\022\034\n\024source_resource_type\030\001 \001(\t\022\034\n\024targ" + + "et_resource_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t:\002" + + "\030\001\"\205\001\n\014RelatedAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n" + + "\037cloudasset.googleapis.com/Asset\022\022\n\nasse" + + "t_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\t\022\031\n\021relat" + + "ionship_type\030\004 \001(\t\"\262\007\n\024ResourceSearchRes" + + "ult\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n" + + "\007project\030\003 \001(\t\022\017\n\007folders\030\021 \003(\t\022\024\n\014organ" + + "ization\030\022 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013d" + + "escription\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\022G\n\006la" + + "bels\030\007 \003(\01327.google.cloud.asset.v1.Resou" + + "rceSearchResult.LabelsEntry\022\024\n\014network_t" + + "ags\030\010 \003(\t\022\017\n\007kms_key\030\n \001(\t\022/\n\013create_tim" + + "e\030\013 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" + + "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" + + "tamp\022\r\n\005state\030\r \001(\t\0226\n\025additional_attrib" + + "utes\030\t \001(\0132\027.google.protobuf.Struct\022!\n\031p" + + "arent_full_resource_name\030\023 \001(\t\022E\n\023versio" + + "ned_resources\030\020 \003(\0132(.google.cloud.asset" + + ".v1.VersionedResource\022C\n\022attached_resour" + + "ces\030\024 \003(\0132\'.google.cloud.asset.v1.Attach" + + "edResource\022U\n\rrelationships\030\025 \003(\0132>.goog" + + "le.cloud.asset.v1.ResourceSearchResult.R" + + "elationshipsEntry\022\020\n\010tag_keys\030\027 \003(\t\022\022\n\nt" + + "ag_values\030\031 \003(\t\022\025\n\rtag_value_ids\030\032 \003(\t\022\031" + + "\n\021parent_asset_type\030g \001(\t\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032]\n\022Rela" + + "tionshipsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001" + + "(\0132\'.google.cloud.asset.v1.RelatedResour" + + "ces:\0028\001\"O\n\021VersionedResource\022\017\n\007version\030" + + "\001 \001(\t\022)\n\010resource\030\002 \001(\0132\027.google.protobu" + + "f.Struct\"m\n\020AttachedResource\022\022\n\nasset_ty" + + "pe\030\001 \001(\t\022E\n\023versioned_resources\030\003 \003(\0132(." + + "google.cloud.asset.v1.VersionedResource\"" + + "U\n\020RelatedResources\022A\n\021related_resources" + + "\030\001 \003(\0132&.google.cloud.asset.v1.RelatedRe" + + "source\"A\n\017RelatedResource\022\022\n\nasset_type\030" + + "\001 \001(\t\022\032\n\022full_resource_name\030\002 \001(\t\"\217\004\n\025Ia" + + "mPolicySearchResult\022\020\n\010resource\030\001 \001(\t\022\022\n" + + "\nasset_type\030\005 \001(\t\022\017\n\007project\030\002 \001(\t\022\017\n\007fo" + + "lders\030\006 \003(\t\022\024\n\014organization\030\007 \001(\t\022%\n\006pol" + + "icy\030\003 \001(\0132\025.google.iam.v1.Policy\022M\n\013expl" + + "anation\030\004 \001(\01328.google.cloud.asset.v1.Ia" + + "mPolicySearchResult.Explanation\032\241\002\n\013Expl" + + "anation\022m\n\023matched_permissions\030\001 \003(\0132P.g" + + "oogle.cloud.asset.v1.IamPolicySearchResu" + + "lt.Explanation.MatchedPermissionsEntry\032\"" + + "\n\013Permissions\022\023\n\013permissions\030\001 \003(\t\032\177\n\027Ma" + + "tchedPermissionsEntry\022\013\n\003key\030\001 \001(\t\022S\n\005va" + + "lue\030\002 \001(\0132D.google.cloud.asset.v1.IamPol" + + "icySearchResult.Explanation.Permissions:" + + "\0028\001\"G\n\026IamPolicyAnalysisState\022\036\n\004code\030\001 " + + "\001(\0162\020.google.rpc.Code\022\r\n\005cause\030\002 \001(\t\"\306\001\n" + + "\023ConditionEvaluation\022T\n\020evaluation_value" + + "\030\001 \001(\0162:.google.cloud.asset.v1.Condition" + + "Evaluation.EvaluationValue\"Y\n\017Evaluation" + + "Value\022 \n\034EVALUATION_VALUE_UNSPECIFIED\020\000\022" + + "\010\n\004TRUE\020\001\022\t\n\005FALSE\020\002\022\017\n\013CONDITIONAL\020\003\"\253\t" + + "\n\027IamPolicyAnalysisResult\022#\n\033attached_re" + + "source_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 " + + "\001(\0132\026.google.iam.v1.Binding\022^\n\024access_co" + + "ntrol_lists\030\003 \003(\0132@.google.cloud.asset.v" + + "1.IamPolicyAnalysisResult.AccessControlL" + + "ist\022R\n\ridentity_list\030\004 \001(\0132;.google.clou" + + "d.asset.v1.IamPolicyAnalysisResult.Ident" + + "ityList\022\026\n\016fully_explored\030\005 \001(\010\032m\n\010Resou" + + "rce\022\032\n\022full_resource_name\030\001 \001(\t\022E\n\016analy" + + "sis_state\030\002 \001(\0132-.google.cloud.asset.v1." + + "IamPolicyAnalysisState\032\205\001\n\006Access\022\016\n\004rol" + + "e\030\001 \001(\tH\000\022\024\n\npermission\030\002 \001(\tH\000\022E\n\016analy" + + "sis_state\030\003 \001(\0132-.google.cloud.asset.v1." + + "IamPolicyAnalysisStateB\016\n\014oneof_access\032_" + + "\n\010Identity\022\014\n\004name\030\001 \001(\t\022E\n\016analysis_sta" + + "te\030\002 \001(\0132-.google.cloud.asset.v1.IamPoli" + + "cyAnalysisState\0320\n\004Edge\022\023\n\013source_node\030\001" + + " \001(\t\022\023\n\013target_node\030\002 \001(\t\032\277\002\n\021AccessCont" + + "rolList\022J\n\tresources\030\001 \003(\01327.google.clou" + + "d.asset.v1.IamPolicyAnalysisResult.Resou" + + "rce\022G\n\010accesses\030\002 \003(\01325.google.cloud.ass" + + "et.v1.IamPolicyAnalysisResult.Access\022K\n\016" + + "resource_edges\030\003 \003(\01323.google.cloud.asse" + + "t.v1.IamPolicyAnalysisResult.Edge\022H\n\024con" + + "dition_evaluation\030\004 \001(\0132*.google.cloud.a" + + "sset.v1.ConditionEvaluation\032\245\001\n\014Identity" + + "List\022K\n\nidentities\030\001 \003(\01327.google.cloud." + + "asset.v1.IamPolicyAnalysisResult.Identit" + + "y\022H\n\013group_edges\030\002 \003(\01323.google.cloud.as" + + "set.v1.IamPolicyAnalysisResult.EdgeB\230\001\n\031" + + "com.google.cloud.asset.v1B\nAssetProtoP\001Z" + + ":google.golang.org/genproto/googleapis/c" + + "loud/asset/v1;asset\370\001\001\252\002\025Google.Cloud.As" + + "set.V1\312\002\025Google\\Cloud\\Asset\\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.orgpolicy.v1.OrgPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1.Inventories.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.CodeProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1_TemporalAsset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TemporalAsset_descriptor, + new java.lang.String[] { "Window", "Deleted", "Asset", "PriorAssetState", "PriorAsset", }); + internal_static_google_cloud_asset_v1_TimeWindow_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TimeWindow_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_asset_v1_Asset_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Asset_descriptor, + new java.lang.String[] { "UpdateTime", "Name", "AssetType", "Resource", "IamPolicy", "OrgPolicy", "AccessPolicy", "AccessLevel", "ServicePerimeter", "OsInventory", "RelatedAssets", "RelatedAsset", "Ancestors", "AccessContextPolicy", }); + internal_static_google_cloud_asset_v1_Resource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Resource_descriptor, + new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", "Location", }); + internal_static_google_cloud_asset_v1_RelatedAssets_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedAssets_descriptor, + new java.lang.String[] { "RelationshipAttributes", "Assets", }); + internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor, + new java.lang.String[] { "Type", "SourceResourceType", "TargetResourceType", "Action", }); + internal_static_google_cloud_asset_v1_RelatedAsset_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedAsset_descriptor, + new java.lang.String[] { "Asset", "AssetType", "Ancestors", "RelationshipType", }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor, + new java.lang.String[] { "Name", "AssetType", "Project", "Folders", "Organization", "DisplayName", "Description", "Location", "Labels", "NetworkTags", "KmsKey", "CreateTime", "UpdateTime", "State", "AdditionalAttributes", "ParentFullResourceName", "VersionedResources", "AttachedResources", "Relationships", "TagKeys", "TagValues", "TagValueIds", "ParentAssetType", }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor = + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor = + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_asset_v1_VersionedResource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_VersionedResource_descriptor, + new java.lang.String[] { "Version", "Resource", }); + internal_static_google_cloud_asset_v1_AttachedResource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AttachedResource_descriptor, + new java.lang.String[] { "AssetType", "VersionedResources", }); + internal_static_google_cloud_asset_v1_RelatedResources_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedResources_descriptor, + new java.lang.String[] { "RelatedResources", }); + internal_static_google_cloud_asset_v1_RelatedResource_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedResource_descriptor, + new java.lang.String[] { "AssetType", "FullResourceName", }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor, + new java.lang.String[] { "Resource", "AssetType", "Project", "Folders", "Organization", "Policy", "Explanation", }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor = + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor, + new java.lang.String[] { "MatchedPermissions", }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor = + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor, + new java.lang.String[] { "Permissions", }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor, + new java.lang.String[] { "Code", "Cause", }); + internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor, + new java.lang.String[] { "EvaluationValue", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor, + new java.lang.String[] { "AttachedResourceFullName", "IamBinding", "AccessControlLists", "IdentityList", "FullyExplored", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor, + new java.lang.String[] { "FullResourceName", "AnalysisState", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor, + new java.lang.String[] { "Role", "Permission", "AnalysisState", "OneofAccess", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor, + new java.lang.String[] { "Name", "AnalysisState", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor, + new java.lang.String[] { "SourceNode", "TargetNode", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor, + new java.lang.String[] { "Resources", "Accesses", "ResourceEdges", "ConditionEvaluation", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor, + new java.lang.String[] { "Identities", "GroupEdges", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1.Inventories.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.CodeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java new file mode 100644 index 000000000..e3e388177 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java @@ -0,0 +1,1034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_OutputResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_Feed_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_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/asset/v1/asset_service.pr" + + "oto\022\025google.cloud.asset.v1\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032\"google/cloud/asse" + + "t/v1/assets.proto\032\032google/iam/v1/policy." + + "proto\032#google/longrunning/operations.pro" + + "to\032\036google/protobuf/duration.proto\032\033goog" + + "le/protobuf/empty.proto\032 google/protobuf" + + "/field_mask.proto\032\037google/protobuf/times" + + "tamp.proto\032\027google/rpc/status.proto\032\026goo" + + "gle/type/expr.proto\"[\n#AnalyzeIamPolicyL" + + "ongrunningMetadata\0224\n\013create_time\030\001 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\"\251\002\n\023Exp" + + "ortAssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!" + + "\022\037cloudasset.googleapis.com/Asset\022-\n\trea" + + "d_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022\023\n\013asset_types\030\003 \003(\t\0228\n\014content_type\030\004 " + + "\001(\0162\".google.cloud.asset.v1.ContentType\022" + + "?\n\routput_config\030\005 \001(\0132#.google.cloud.as" + + "set.v1.OutputConfigB\003\340A\002\022\032\n\022relationship" + + "_types\030\006 \003(\t\"\275\001\n\024ExportAssetsResponse\022-\n" + + "\tread_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022:\n\routput_config\030\002 \001(\0132#.google.clo" + + "ud.asset.v1.OutputConfig\022:\n\routput_resul" + + "t\030\003 \001(\0132#.google.cloud.asset.v1.OutputRe" + + "sult\"\215\002\n\021ListAssetsRequest\0227\n\006parent\030\001 \001" + + "(\tB\'\340A\002\372A!\022\037cloudasset.googleapis.com/As" + + "set\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014conte" + + "nt_type\030\004 \001(\0162\".google.cloud.asset.v1.Co" + + "ntentType\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_tok" + + "en\030\006 \001(\t\022\032\n\022relationship_types\030\007 \003(\t\"\212\001\n" + + "\022ListAssetsResponse\022-\n\tread_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\006assets\030\002 \003" + + "(\0132\034.google.cloud.asset.v1.Asset\022\027\n\017next" + + "_page_token\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHist" + + "oryRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037clou" + + "dasset.googleapis.com/Asset\022\023\n\013asset_nam" + + "es\030\002 \003(\t\022=\n\014content_type\030\003 \001(\0162\".google." + + "cloud.asset.v1.ContentTypeB\003\340A\001\022@\n\020read_" + + "time_window\030\004 \001(\0132!.google.cloud.asset.v" + + "1.TimeWindowB\003\340A\001\022\037\n\022relationship_types\030" + + "\005 \003(\tB\003\340A\001\"U\n\035BatchGetAssetsHistoryRespo" + + "nse\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset" + + ".v1.TemporalAsset\"n\n\021CreateFeedRequest\022\023" + + "\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A" + + "\002\022.\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1." + + "FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001(" + + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" + + "d\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340" + + "A\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(\0132\033" + + ".google.cloud.asset.v1.Feed\"y\n\021UpdateFee" + + "dRequest\022.\n\004feed\030\001 \001(\0132\033.google.cloud.as" + + "set.v1.FeedB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032." + + "google.protobuf.FieldMaskB\003\340A\002\"I\n\021Delete" + + "FeedRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "asset.googleapis.com/Feed\"\253\001\n\014OutputConf" + + "ig\022@\n\017gcs_destination\030\001 \001(\0132%.google.clo" + + "ud.asset.v1.GcsDestinationH\000\022J\n\024bigquery" + + "_destination\030\002 \001(\0132*.google.cloud.asset." + + "v1.BigQueryDestinationH\000B\r\n\013destination\"" + + "V\n\014OutputResult\022<\n\ngcs_result\030\001 \001(\0132&.go" + + "ogle.cloud.asset.v1.GcsOutputResultH\000B\010\n" + + "\006result\"\037\n\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t" + + "\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri" + + "_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\264\001\n\023BigQue" + + "ryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005t" + + "able\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partit" + + "ion_spec\030\004 \001(\0132$.google.cloud.asset.v1.P" + + "artitionSpec\022&\n\036separate_tables_per_asse" + + "t_type\030\005 \001(\010\"\251\001\n\rPartitionSpec\022H\n\rpartit" + + "ion_key\030\001 \001(\01621.google.cloud.asset.v1.Pa" + + "rtitionSpec.PartitionKey\"N\n\014PartitionKey" + + "\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_" + + "TIME\020\001\022\020\n\014REQUEST_TIME\020\002\"\"\n\021PubsubDestin" + + "ation\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutputConfig" + + "\022F\n\022pubsub_destination\030\001 \001(\0132(.google.cl" + + "oud.asset.v1.PubsubDestinationH\000B\r\n\013dest" + + "ination\"\235\003\n\004Feed\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013a" + + "sset_names\030\002 \003(\t\022\023\n\013asset_types\030\003 \003(\t\0228\n" + + "\014content_type\030\004 \001(\0162\".google.cloud.asset" + + ".v1.ContentType\022H\n\022feed_output_config\030\005 " + + "\001(\0132\'.google.cloud.asset.v1.FeedOutputCo" + + "nfigB\003\340A\002\022$\n\tcondition\030\006 \001(\0132\021.google.ty" + + "pe.Expr\022\032\n\022relationship_types\030\007 \003(\t:\221\001\352A" + + "\215\001\n\036cloudasset.googleapis.com/Feed\022\037proj" + + "ects/{project}/feeds/{feed}\022\035folders/{fo" + + "lder}/feeds/{feed}\022)organizations/{organ" + + "ization}/feeds/{feed} \001\"\331\001\n\031SearchAllRes" + + "ourcesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005que" + + "ry\030\002 \001(\tB\003\340A\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022" + + "\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 " + + "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0222\n\tread_" + + "mask\030\010 \001(\0132\032.google.protobuf.FieldMaskB\003" + + "\340A\001\"s\n\032SearchAllResourcesResponse\022<\n\007res" + + "ults\030\001 \003(\0132+.google.cloud.asset.v1.Resou" + + "rceSearchResult\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\247\001\n\033SearchAllIamPoliciesRequest\022\022\n\005scop" + + "e\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage" + + "_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A" + + "\001\022\030\n\013asset_types\030\005 \003(\tB\003\340A\001\022\025\n\010order_by\030" + + "\007 \001(\tB\003\340A\001\"v\n\034SearchAllIamPoliciesRespon" + + "se\022=\n\007results\030\001 \003(\0132,.google.cloud.asset" + + ".v1.IamPolicySearchResult\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"\306\007\n\026IamPolicyAnalysisQuery\022\022\n" + + "\005scope\030\001 \001(\tB\003\340A\002\022^\n\021resource_selector\030\002" + + " \001(\0132>.google.cloud.asset.v1.IamPolicyAn" + + "alysisQuery.ResourceSelectorB\003\340A\001\022^\n\021ide" + + "ntity_selector\030\003 \001(\0132>.google.cloud.asse" + + "t.v1.IamPolicyAnalysisQuery.IdentitySele" + + "ctorB\003\340A\001\022Z\n\017access_selector\030\004 \001(\0132<.goo" + + "gle.cloud.asset.v1.IamPolicyAnalysisQuer" + + "y.AccessSelectorB\003\340A\001\022K\n\007options\030\005 \001(\01325" + + ".google.cloud.asset.v1.IamPolicyAnalysis" + + "Query.OptionsB\003\340A\001\022^\n\021condition_context\030" + + "\006 \001(\0132>.google.cloud.asset.v1.IamPolicyA" + + "nalysisQuery.ConditionContextB\003\340A\001\0323\n\020Re" + + "sourceSelector\022\037\n\022full_resource_name\030\001 \001" + + "(\tB\003\340A\002\032)\n\020IdentitySelector\022\025\n\010identity\030" + + "\001 \001(\tB\003\340A\002\032>\n\016AccessSelector\022\022\n\005roles\030\001 " + + "\003(\tB\003\340A\001\022\030\n\013permissions\030\002 \003(\tB\003\340A\001\032\330\001\n\007O" + + "ptions\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n\014ex" + + "pand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resource" + + "s\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges\030\004 " + + "\001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B\003\340A" + + "\001\0222\n%analyze_service_account_impersonati" + + "on\030\006 \001(\010B\003\340A\001\032T\n\020ConditionContext\0221\n\013acc" + + "ess_time\030\001 \001(\0132\032.google.protobuf.Timesta" + + "mpH\000B\r\n\013TimeContext\"\303\001\n\027AnalyzeIamPolicy" + + "Request\022J\n\016analysis_query\030\001 \001(\0132-.google" + + ".cloud.asset.v1.IamPolicyAnalysisQueryB\003" + + "\340A\002\022!\n\024saved_analysis_query\030\003 \001(\tB\003\340A\001\0229" + + "\n\021execution_timeout\030\002 \001(\0132\031.google.proto" + + "buf.DurationB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyRe" + + "sponse\022X\n\rmain_analysis\030\001 \001(\0132A.google.c" + + "loud.asset.v1.AnalyzeIamPolicyResponse.I" + + "amPolicyAnalysis\022q\n&service_account_impe" + + "rsonation_analysis\030\002 \003(\0132A.google.cloud." + + "asset.v1.AnalyzeIamPolicyResponse.IamPol" + + "icyAnalysis\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021" + + "IamPolicyAnalysis\022E\n\016analysis_query\030\001 \001(" + + "\0132-.google.cloud.asset.v1.IamPolicyAnaly" + + "sisQuery\022H\n\020analysis_results\030\002 \003(\0132..goo" + + "gle.cloud.asset.v1.IamPolicyAnalysisResu" + + "lt\022\026\n\016fully_explored\030\003 \001(\010\022J\n\023non_critic" + + "al_errors\030\005 \003(\0132-.google.cloud.asset.v1." + + "IamPolicyAnalysisState\"\264\004\n\035IamPolicyAnal" + + "ysisOutputConfig\022^\n\017gcs_destination\030\001 \001(" + + "\0132C.google.cloud.asset.v1.IamPolicyAnaly" + + "sisOutputConfig.GcsDestinationH\000\022h\n\024bigq" + + "uery_destination\030\002 \001(\0132H.google.cloud.as" + + "set.v1.IamPolicyAnalysisOutputConfig.Big" + + "QueryDestinationH\000\032\"\n\016GcsDestination\022\020\n\003" + + "uri\030\001 \001(\tB\003\340A\002\032\225\002\n\023BigQueryDestination\022\024" + + "\n\007dataset\030\001 \001(\tB\003\340A\002\022\031\n\014table_prefix\030\002 \001" + + "(\tB\003\340A\002\022l\n\rpartition_key\030\003 \001(\0162U.google." + + "cloud.asset.v1.IamPolicyAnalysisOutputCo" + + "nfig.BigQueryDestination.PartitionKey\022\036\n" + + "\021write_disposition\030\004 \001(\tB\003\340A\001\"?\n\014Partiti" + + "onKey\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014" + + "REQUEST_TIME\020\001B\r\n\013destination\"\345\001\n\"Analyz" + + "eIamPolicyLongrunningRequest\022J\n\016analysis" + + "_query\030\001 \001(\0132-.google.cloud.asset.v1.Iam" + + "PolicyAnalysisQueryB\003\340A\002\022!\n\024saved_analys" + + "is_query\030\003 \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001" + + "(\01324.google.cloud.asset.v1.IamPolicyAnal" + + "ysisOutputConfigB\003\340A\002\"%\n#AnalyzeIamPolic" + + "yLongrunningResponse\"\267\005\n\nSavedQuery\022\014\n\004n" + + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\013create" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022\024\n\007creator\030\004 \001(\tB\003\340A\003\0229\n\020last_updat" + + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022\031\n\014last_updater\030\006 \001(\tB\003\340A\003\022=\n\006labe" + + "ls\030\007 \003(\0132-.google.cloud.asset.v1.SavedQu" + + "ery.LabelsEntry\022?\n\007content\030\010 \001(\0132..googl" + + "e.cloud.asset.v1.SavedQuery.QueryContent" + + "\032s\n\014QueryContent\022R\n\031iam_policy_analysis_" + + "query\030\001 \001(\0132-.google.cloud.asset.v1.IamP" + + "olicyAnalysisQueryH\000B\017\n\rquery_content\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001:\277\001\352A\273\001\n$cloudasset.googleapis.com/S" + + "avedQuery\022-projects/{project}/savedQueri" + + "es/{saved_query}\022+folders/{folder}/saved" + + "Queries/{saved_query}\0227organizations/{or" + + "ganization}/savedQueries/{saved_query}\"\261" + + "\001\n\027CreateSavedQueryRequest\022<\n\006parent\030\001 \001" + + "(\tB,\340A\002\372A&\022$cloudasset.googleapis.com/Sa" + + "vedQuery\022;\n\013saved_query\030\002 \001(\0132!.google.c" + + "loud.asset.v1.SavedQueryB\003\340A\002\022\033\n\016saved_q" + + "uery_id\030\003 \001(\tB\003\340A\002\"R\n\024GetSavedQueryReque" + + "st\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.goo" + + "gleapis.com/SavedQuery\"\235\001\n\027ListSavedQuer" + + "iesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$clou" + + "dasset.googleapis.com/SavedQuery\022\023\n\006filt" + + "er\030\004 \001(\tB\003\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueri" + + "esResponse\0228\n\rsaved_queries\030\001 \003(\0132!.goog" + + "le.cloud.asset.v1.SavedQuery\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\214\001\n\027UpdateSavedQueryReques" + + "t\022;\n\013saved_query\030\001 \001(\0132!.google.cloud.as" + + "set.v1.SavedQueryB\003\340A\002\0224\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"U\n\027" + + "DeleteSavedQueryRequest\022:\n\004name\030\001 \001(\tB,\340" + + "A\002\372A&\n$cloudasset.googleapis.com/SavedQu" + + "ery\"\326\001\n\022AnalyzeMoveRequest\022\025\n\010resource\030\001" + + " \001(\tB\003\340A\002\022\037\n\022destination_parent\030\002 \001(\tB\003\340" + + "A\002\022D\n\004view\030\003 \001(\01626.google.cloud.asset.v1" + + ".AnalyzeMoveRequest.AnalysisView\"B\n\014Anal" + + "ysisView\022\035\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022" + + "\010\n\004FULL\020\001\022\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveRespo" + + "nse\022:\n\rmove_analysis\030\001 \003(\0132#.google.clou" + + "d.asset.v1.MoveAnalysis\"\222\001\n\014MoveAnalysis" + + "\022\024\n\014display_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\013" + + "2).google.cloud.asset.v1.MoveAnalysisRes" + + "ultH\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.Status" + + "H\000B\010\n\006result\"~\n\022MoveAnalysisResult\0223\n\010bl" + + "ockers\030\001 \003(\0132!.google.cloud.asset.v1.Mov" + + "eImpact\0223\n\010warnings\030\002 \003(\0132!.google.cloud" + + ".asset.v1.MoveImpact\"\034\n\nMoveImpact\022\016\n\006de" + + "tail\030\001 \001(\t\"Y\n#BatchGetEffectiveIamPolici" + + "esRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022\030\n\005n" + + "ames\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEffect" + + "iveIamPoliciesResponse\022f\n\016policy_results" + + "\030\002 \003(\0132N.google.cloud.asset.v1.BatchGetE" + + "ffectiveIamPoliciesResponse.EffectiveIam" + + "Policy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022full_re" + + "source_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132Y.go" + + "ogle.cloud.asset.v1.BatchGetEffectiveIam" + + "PoliciesResponse.EffectiveIamPolicy.Poli" + + "cyInfo\032N\n\nPolicyInfo\022\031\n\021attached_resourc" + + "e\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam.v1." + + "Policy*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_U" + + "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" + + "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n" + + "\014OS_INVENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\213\032\n\014As" + + "setService\022\336\001\n\014ExportAssets\022*.google.clo" + + "ud.asset.v1.ExportAssetsRequest\032\035.google" + + ".longrunning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{pa" + + "rent=*/*}:exportAssets:\001*\312AW\n*google.clo" + + "ud.asset.v1.ExportAssetsResponse\022)google" + + ".cloud.asset.v1.ExportAssetsRequest\022\213\001\n\n" + + "ListAssets\022(.google.cloud.asset.v1.ListA" + + "ssetsRequest\032).google.cloud.asset.v1.Lis" + + "tAssetsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*" + + "}/assets\332A\006parent\022\262\001\n\025BatchGetAssetsHist" + + "ory\0223.google.cloud.asset.v1.BatchGetAsse" + + "tsHistoryRequest\0324.google.cloud.asset.v1" + + ".BatchGetAssetsHistoryResponse\".\202\323\344\223\002(\022&" + + "/v1/{parent=*/*}:batchGetAssetsHistory\022\177" + + "\n\nCreateFeed\022(.google.cloud.asset.v1.Cre" + + "ateFeedRequest\032\033.google.cloud.asset.v1.F" + + "eed\"*\202\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A" + + "\006parent\022t\n\007GetFeed\022%.google.cloud.asset." + + "v1.GetFeedRequest\032\033.google.cloud.asset.v" + + "1.Feed\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A" + + "\004name\022\207\001\n\tListFeeds\022\'.google.cloud.asset" + + ".v1.ListFeedsRequest\032(.google.cloud.asse" + + "t.v1.ListFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{par" + + "ent=*/*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(" + + ".google.cloud.asset.v1.UpdateFeedRequest" + + "\032\033.google.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/" + + "v1/{feed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\n" + + "DeleteFeed\022(.google.cloud.asset.v1.Delet" + + "eFeedRequest\032\026.google.protobuf.Empty\"%\202\323" + + "\344\223\002\030*\026/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022" + + "SearchAllResources\0220.google.cloud.asset." + + "v1.SearchAllResourcesRequest\0321.google.cl" + + "oud.asset.v1.SearchAllResourcesResponse\"" + + "D\202\323\344\223\002$\022\"/v1/{scope=*/*}:searchAllResour" + + "ces\332A\027scope,query,asset_types\022\273\001\n\024Search" + + "AllIamPolicies\0222.google.cloud.asset.v1.S" + + "earchAllIamPoliciesRequest\0323.google.clou" + + "d.asset.v1.SearchAllIamPoliciesResponse\"" + + ":\202\323\344\223\002&\022$/v1/{scope=*/*}:searchAllIamPol" + + "icies\332A\013scope,query\022\254\001\n\020AnalyzeIamPolicy" + + "\022..google.cloud.asset.v1.AnalyzeIamPolic" + + "yRequest\032/.google.cloud.asset.v1.Analyze" + + "IamPolicyResponse\"7\202\323\344\223\0021\022//v1/{analysis" + + "_query.scope=*/*}:analyzeIamPolicy\022\270\002\n\033A" + + "nalyzeIamPolicyLongrunning\0229.google.clou" + + "d.asset.v1.AnalyzeIamPolicyLongrunningRe" + + "quest\032\035.google.longrunning.Operation\"\276\001\202" + + "\323\344\223\002?\":/v1/{analysis_query.scope=*/*}:an" + + "alyzeIamPolicyLongrunning:\001*\312Av\n9google." + + "cloud.asset.v1.AnalyzeIamPolicyLongrunni" + + "ngResponse\0229google.cloud.asset.v1.Analyz" + + "eIamPolicyLongrunningMetadata\022\214\001\n\013Analyz" + + "eMove\022).google.cloud.asset.v1.AnalyzeMov" + + "eRequest\032*.google.cloud.asset.v1.Analyze" + + "MoveResponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}" + + ":analyzeMove\022\275\001\n\020CreateSavedQuery\022..goog" + + "le.cloud.asset.v1.CreateSavedQueryReques" + + "t\032!.google.cloud.asset.v1.SavedQuery\"V\202\323" + + "\344\223\002,\"\035/v1/{parent=*/*}/savedQueries:\013sav" + + "ed_query\332A!parent,saved_query,saved_quer" + + "y_id\022\215\001\n\rGetSavedQuery\022+.google.cloud.as" + + "set.v1.GetSavedQueryRequest\032!.google.clo" + + "ud.asset.v1.SavedQuery\",\202\323\344\223\002\037\022\035/v1/{nam" + + "e=*/*/savedQueries/*}\332A\004name\022\243\001\n\020ListSav" + + "edQueries\022..google.cloud.asset.v1.ListSa" + + "vedQueriesRequest\032/.google.cloud.asset.v" + + "1.ListSavedQueriesResponse\".\202\323\344\223\002\037\022\035/v1/" + + "{parent=*/*}/savedQueries\332A\006parent\022\277\001\n\020U" + + "pdateSavedQuery\022..google.cloud.asset.v1." + + "UpdateSavedQueryRequest\032!.google.cloud.a" + + "sset.v1.SavedQuery\"X\202\323\344\223\00282)/v1/{saved_q" + + "uery.name=*/*/savedQueries/*}:\013saved_que" + + "ry\332A\027saved_query,update_mask\022\210\001\n\020DeleteS" + + "avedQuery\022..google.cloud.asset.v1.Delete" + + "SavedQueryRequest\032\026.google.protobuf.Empt" + + "y\",\202\323\344\223\002\037*\035/v1/{name=*/*/savedQueries/*}" + + "\332A\004name\022\316\001\n\034BatchGetEffectiveIamPolicies" + + "\022:.google.cloud.asset.v1.BatchGetEffecti" + + "veIamPoliciesRequest\032;.google.cloud.asse" + + "t.v1.BatchGetEffectiveIamPoliciesRespons" + + "e\"5\202\323\344\223\002/\022-/v1/{scope=*/*}/effectiveIamP" + + "olicies:batchGet\032M\312A\031cloudasset.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\234\001\n\031com.google.cloud.ass" + + "et.v1B\021AssetServiceProtoP\001Z:google.golan" + + "g.org/genproto/googleapis/cloud/asset/v1" + + ";asset\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\" + + "Cloud\\Asset\\V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1.AssetProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.type.ExprProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor, + new java.lang.String[] { "CreateTime", }); + internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor, + new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "OutputConfig", "RelationshipTypes", }); + internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor, + new java.lang.String[] { "ReadTime", "OutputConfig", "OutputResult", }); + internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor, + new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "PageSize", "PageToken", "RelationshipTypes", }); + internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor, + new java.lang.String[] { "ReadTime", "Assets", "NextPageToken", }); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor, + new java.lang.String[] { "Parent", "AssetNames", "ContentType", "ReadTimeWindow", "RelationshipTypes", }); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor, + new java.lang.String[] { "Assets", }); + internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor, + new java.lang.String[] { "Parent", "FeedId", "Feed", }); + internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor, + new java.lang.String[] { "Parent", }); + internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor, + new java.lang.String[] { "Feeds", }); + internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor, + new java.lang.String[] { "Feed", "UpdateMask", }); + internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_asset_v1_OutputConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_OutputConfig_descriptor, + new java.lang.String[] { "GcsDestination", "BigqueryDestination", "Destination", }); + internal_static_google_cloud_asset_v1_OutputResult_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_OutputResult_descriptor, + new java.lang.String[] { "GcsResult", "Result", }); + internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor, + new java.lang.String[] { "Uris", }); + internal_static_google_cloud_asset_v1_GcsDestination_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GcsDestination_descriptor, + new java.lang.String[] { "Uri", "UriPrefix", "ObjectUri", }); + internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor, + new java.lang.String[] { "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", }); + internal_static_google_cloud_asset_v1_PartitionSpec_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_PartitionSpec_descriptor, + new java.lang.String[] { "PartitionKey", }); + internal_static_google_cloud_asset_v1_PubsubDestination_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_PubsubDestination_descriptor, + new java.lang.String[] { "Topic", }); + internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor, + new java.lang.String[] { "PubsubDestination", "Destination", }); + internal_static_google_cloud_asset_v1_Feed_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Feed_descriptor, + new java.lang.String[] { "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", "Condition", "RelationshipTypes", }); + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor, + new java.lang.String[] { "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", "ReadMask", }); + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor, + new java.lang.String[] { "Results", "NextPageToken", }); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor, + new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", "AssetTypes", "OrderBy", }); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor, + new java.lang.String[] { "Results", "NextPageToken", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor, + new java.lang.String[] { "Scope", "ResourceSelector", "IdentitySelector", "AccessSelector", "Options", "ConditionContext", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor, + new java.lang.String[] { "FullResourceName", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor, + new java.lang.String[] { "Identity", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor, + new java.lang.String[] { "Roles", "Permissions", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor, + new java.lang.String[] { "ExpandGroups", "ExpandRoles", "ExpandResources", "OutputResourceEdges", "OutputGroupEdges", "AnalyzeServiceAccountImpersonation", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor, + new java.lang.String[] { "AccessTime", "TimeContext", }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor, + new java.lang.String[] { "AnalysisQuery", "SavedAnalysisQuery", "ExecutionTimeout", }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor, + new java.lang.String[] { "MainAnalysis", "ServiceAccountImpersonationAnalysis", "FullyExplored", }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor, + new java.lang.String[] { "AnalysisQuery", "AnalysisResults", "FullyExplored", "NonCriticalErrors", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor, + new java.lang.String[] { "GcsDestination", "BigqueryDestination", "Destination", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor, + new java.lang.String[] { "Uri", }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor, + new java.lang.String[] { "Dataset", "TablePrefix", "PartitionKey", "WriteDisposition", }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor, + new java.lang.String[] { "AnalysisQuery", "SavedAnalysisQuery", "OutputConfig", }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_asset_v1_SavedQuery_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SavedQuery_descriptor, + new java.lang.String[] { "Name", "Description", "CreateTime", "Creator", "LastUpdateTime", "LastUpdater", "Labels", "Content", }); + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor = + internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor, + new java.lang.String[] { "IamPolicyAnalysisQuery", "QueryContent", }); + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor = + internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor, + new java.lang.String[] { "Parent", "SavedQuery", "SavedQueryId", }); + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor, + new java.lang.String[] { "SavedQueries", "NextPageToken", }); + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor, + new java.lang.String[] { "SavedQuery", "UpdateMask", }); + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor, + new java.lang.String[] { "Resource", "DestinationParent", "View", }); + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor, + new java.lang.String[] { "MoveAnalysis", }); + internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor, + new java.lang.String[] { "DisplayName", "Analysis", "Error", "Result", }); + internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor, + new java.lang.String[] { "Blockers", "Warnings", }); + internal_static_google_cloud_asset_v1_MoveImpact_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_MoveImpact_descriptor, + new java.lang.String[] { "Detail", }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor, + new java.lang.String[] { "Scope", "Names", }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor, + new java.lang.String[] { "PolicyResults", }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor = + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor, + new java.lang.String[] { "FullResourceName", "Policies", }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor = + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor, + new java.lang.String[] { "AttachedResource", "Policy", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1.AssetProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.type.ExprProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java similarity index 78% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java index 35e4ee101..554af654c 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * Attached resource representation, which is defined by the corresponding
  * service provider. It represents an attached resource's payload.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AttachedResource}
  */
-public final class AttachedResource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AttachedResource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AttachedResource)
     AttachedResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AttachedResource.newBuilder() to construct.
   private AttachedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AttachedResource() {
     assetType_ = "";
     versionedResources_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private AttachedResource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AttachedResource();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AttachedResource(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,32 +56,28 @@ private AttachedResource(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                versionedResources_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              versionedResources_.add(
-                  input.readMessage(
-                      com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry));
-              break;
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              versionedResources_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            versionedResources_.add(
+                input.readMessage(com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,7 +85,8 @@ private AttachedResource(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         versionedResources_ = java.util.Collections.unmodifiableList(versionedResources_);
@@ -115,27 +95,22 @@ private AttachedResource(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AttachedResource.class,
-            com.google.cloud.asset.v1.AttachedResource.Builder.class);
+            com.google.cloud.asset.v1.AttachedResource.class, com.google.cloud.asset.v1.AttachedResource.Builder.class);
   }
 
   public static final int ASSET_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object assetType_;
   /**
-   *
-   *
    * 
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -145,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset_type = 1; - * * @return The assetType. */ @java.lang.Override @@ -154,15 +128,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -172,15 +145,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 1; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -191,8 +165,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 3; private java.util.List versionedResources_; /** - * - * *
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -206,8 +178,6 @@ public java.util.List getVersionedR
     return versionedResources_;
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -217,13 +187,11 @@ public java.util.List getVersionedR
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getVersionedResourcesOrBuilderList() {
     return versionedResources_;
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -237,8 +205,6 @@ public int getVersionedResourcesCount() {
     return versionedResources_.size();
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -252,8 +218,6 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
     return versionedResources_.get(index);
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -269,7 +233,6 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -281,7 +244,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetType_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assetType_);
     }
@@ -301,8 +265,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, assetType_);
     }
     for (int i = 0; i < versionedResources_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(3, versionedResources_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, versionedResources_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -312,16 +276,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.asset.v1.AttachedResource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.AttachedResource other =
-        (com.google.cloud.asset.v1.AttachedResource) obj;
+    com.google.cloud.asset.v1.AttachedResource other = (com.google.cloud.asset.v1.AttachedResource) obj;
 
-    if (!getAssetType().equals(other.getAssetType())) return false;
-    if (!getVersionedResourcesList().equals(other.getVersionedResourcesList())) return false;
+    if (!getAssetType()
+        .equals(other.getAssetType())) return false;
+    if (!getVersionedResourcesList()
+        .equals(other.getVersionedResourcesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -344,104 +309,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.AttachedResource parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.AttachedResource parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AttachedResource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(
-      byte[] data, com.google.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.asset.v1.AttachedResource 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.asset.v1.AttachedResource parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AttachedResource parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.AttachedResource parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.AttachedResource parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AttachedResource parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.AttachedResource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.AttachedResource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Attached resource representation, which is defined by the corresponding
    * service provider. It represents an attached resource's payload.
@@ -449,23 +407,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.AttachedResource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AttachedResource)
       com.google.cloud.asset.v1.AttachedResourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AttachedResource.class,
-              com.google.cloud.asset.v1.AttachedResource.Builder.class);
+              com.google.cloud.asset.v1.AttachedResource.class, com.google.cloud.asset.v1.AttachedResource.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AttachedResource.newBuilder()
@@ -473,17 +429,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) {
         getVersionedResourcesFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -499,9 +455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
     }
 
     @java.lang.Override
@@ -520,8 +476,7 @@ public com.google.cloud.asset.v1.AttachedResource build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AttachedResource buildPartial() {
-      com.google.cloud.asset.v1.AttachedResource result =
-          new com.google.cloud.asset.v1.AttachedResource(this);
+      com.google.cloud.asset.v1.AttachedResource result = new com.google.cloud.asset.v1.AttachedResource(this);
       int from_bitField0_ = bitField0_;
       result.assetType_ = assetType_;
       if (versionedResourcesBuilder_ == null) {
@@ -541,39 +496,38 @@ public com.google.cloud.asset.v1.AttachedResource buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AttachedResource) {
-        return mergeFrom((com.google.cloud.asset.v1.AttachedResource) other);
+        return mergeFrom((com.google.cloud.asset.v1.AttachedResource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -604,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AttachedResource other) {
             versionedResourcesBuilder_ = null;
             versionedResources_ = other.versionedResources_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            versionedResourcesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVersionedResourcesFieldBuilder()
-                    : null;
+            versionedResourcesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVersionedResourcesFieldBuilder() : null;
           } else {
             versionedResourcesBuilder_.addAllMessages(other.versionedResources_);
           }
@@ -641,13 +594,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object assetType_ = "";
     /**
-     *
-     *
      * 
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -657,13 +607,13 @@ public Builder mergeFrom(
      * 
* * string asset_type = 1; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -672,8 +622,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -683,14 +631,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 1; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -698,8 +647,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -709,22 +656,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 1; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -734,18 +679,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 1; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -755,42 +697,34 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 1; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versionedResources_ = - new java.util.ArrayList( - versionedResources_); + versionedResources_ = new java.util.ArrayList(versionedResources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.VersionedResource, - com.google.cloud.asset.v1.VersionedResource.Builder, - com.google.cloud.asset.v1.VersionedResourceOrBuilder> - versionedResourcesBuilder_; + com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> versionedResourcesBuilder_; /** - * - * *
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -807,8 +741,6 @@ public java.util.List getVersionedR
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -825,8 +757,6 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -843,8 +773,6 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -868,8 +796,6 @@ public Builder setVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -890,8 +816,6 @@ public Builder setVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -914,8 +838,6 @@ public Builder addVersionedResources(com.google.cloud.asset.v1.VersionedResource
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -939,8 +861,6 @@ public Builder addVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -961,8 +881,6 @@ public Builder addVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -983,8 +901,6 @@ public Builder addVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -997,7 +913,8 @@ public Builder addAllVersionedResources(
         java.lang.Iterable values) {
       if (versionedResourcesBuilder_ == null) {
         ensureVersionedResourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versionedResources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, versionedResources_);
         onChanged();
       } else {
         versionedResourcesBuilder_.addAllMessages(values);
@@ -1005,8 +922,6 @@ public Builder addAllVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1026,8 +941,6 @@ public Builder clearVersionedResources() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1047,8 +960,6 @@ public Builder removeVersionedResources(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1062,8 +973,6 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
       return getVersionedResourcesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1075,14 +984,11 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
     public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
         int index) {
       if (versionedResourcesBuilder_ == null) {
-        return versionedResources_.get(index);
-      } else {
+        return versionedResources_.get(index);  } else {
         return versionedResourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1091,8 +997,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
      */
-    public java.util.List
-        getVersionedResourcesOrBuilderList() {
+    public java.util.List 
+         getVersionedResourcesOrBuilderList() {
       if (versionedResourcesBuilder_ != null) {
         return versionedResourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1100,8 +1006,6 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1111,12 +1015,10 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder() {
-      return getVersionedResourcesFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1127,12 +1029,10 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder(
         int index) {
-      return getVersionedResourcesFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1141,22 +1041,16 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
      */
-    public java.util.List
-        getVersionedResourcesBuilderList() {
+    public java.util.List 
+         getVersionedResourcesBuilderList() {
       return getVersionedResourcesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.VersionedResource,
-            com.google.cloud.asset.v1.VersionedResource.Builder,
-            com.google.cloud.asset.v1.VersionedResourceOrBuilder>
+        com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> 
         getVersionedResourcesFieldBuilder() {
       if (versionedResourcesBuilder_ == null) {
-        versionedResourcesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.VersionedResource,
-                com.google.cloud.asset.v1.VersionedResource.Builder,
-                com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
+        versionedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
                 versionedResources_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1165,9 +1059,9 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
       }
       return versionedResourcesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1177,12 +1071,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AttachedResource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AttachedResource)
   private static final com.google.cloud.asset.v1.AttachedResource DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AttachedResource();
   }
@@ -1191,16 +1085,16 @@ public static com.google.cloud.asset.v1.AttachedResource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AttachedResource parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new AttachedResource(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AttachedResource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new AttachedResource(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1215,4 +1109,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AttachedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
similarity index 76%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
index 3b927c873..15fc2826e 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.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/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface AttachedResourceOrBuilder
-    extends
+public interface AttachedResourceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AttachedResource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -35,13 +17,10 @@ public interface AttachedResourceOrBuilder
    * 
* * string asset_type = 1; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -51,14 +30,12 @@ public interface AttachedResourceOrBuilder
    * 
* * string asset_type = 1; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -67,10 +44,9 @@ public interface AttachedResourceOrBuilder
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
-  java.util.List getVersionedResourcesList();
+  java.util.List 
+      getVersionedResourcesList();
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -81,8 +57,6 @@ public interface AttachedResourceOrBuilder
    */
   com.google.cloud.asset.v1.VersionedResource getVersionedResources(int index);
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -93,8 +67,6 @@ public interface AttachedResourceOrBuilder
    */
   int getVersionedResourcesCount();
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -103,11 +75,9 @@ public interface AttachedResourceOrBuilder
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
-  java.util.List
+  java.util.List 
       getVersionedResourcesOrBuilderList();
   /**
-   *
-   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -116,5 +86,6 @@ public interface AttachedResourceOrBuilder
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
-  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index);
+  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
similarity index 75%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
index 6ea0ce8d5..c8b5b27bb 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * Batch get assets history request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryRequest} */ -public final class BatchGetAssetsHistoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetAssetsHistoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) BatchGetAssetsHistoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetAssetsHistoryRequest.newBuilder() to construct. private BatchGetAssetsHistoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetAssetsHistoryRequest() { parent_ = ""; assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -46,15 +28,16 @@ private BatchGetAssetsHistoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchGetAssetsHistoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchGetAssetsHistoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,63 +57,56 @@ private BatchGetAssetsHistoryRequest( 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(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetNames_.add(s); - break; + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - int rawValue = input.readEnum(); + assetNames_.add(s); + break; + } + case 24: { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; + contentType_ = rawValue; + break; + } + case 34: { + com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null; + if (readTimeWindow_ != null) { + subBuilder = readTimeWindow_.toBuilder(); } - case 34: - { - com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null; - if (readTimeWindow_ != null) { - subBuilder = readTimeWindow_.toBuilder(); - } - readTimeWindow_ = - input.readMessage( - com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTimeWindow_); - readTimeWindow_ = subBuilder.buildPartial(); - } - - break; + readTimeWindow_ = input.readMessage(com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTimeWindow_); + readTimeWindow_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - relationshipTypes_.add(s); - break; + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + relationshipTypes_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -138,7 +114,8 @@ private BatchGetAssetsHistoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetNames_ = assetNames_.getUnmodifiableView(); @@ -150,37 +127,29 @@ private BatchGetAssetsHistoryRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * - * string parent = 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 @@ -189,33 +158,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * - * string parent = 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 { @@ -226,8 +193,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ASSET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assetNames_; /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -238,15 +203,13 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList getAssetNamesList() { + public com.google.protobuf.ProtocolStringList + getAssetNamesList() { return assetNames_; } /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -257,15 +220,12 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
    * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -276,7 +236,6 @@ public int getAssetNamesCount() {
    * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -284,8 +243,6 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -296,59 +253,44 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString + getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 3; private int contentType_; /** - * - * *
    * Optional. The content type.
    * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Optional. The content type.
    * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int READ_TIME_WINDOW_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.TimeWindow readTimeWindow_; /** - * - * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -358,10 +300,7 @@ public com.google.cloud.asset.v1.ContentType getContentType() {
    * window overlap with read_time_window.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTimeWindow field is set. */ @java.lang.Override @@ -369,8 +308,6 @@ public boolean hasReadTimeWindow() { return readTimeWindow_ != null; } /** - * - * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -380,21 +317,14 @@ public boolean hasReadTimeWindow() {
    * window overlap with read_time_window.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTimeWindow. */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { - return readTimeWindow_ == null - ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() - : readTimeWindow_; + return readTimeWindow_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; } /** - * - * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -404,9 +334,7 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() {
    * window overlap with read_time_window.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { @@ -416,8 +344,6 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList relationshipTypes_; /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -438,15 +364,13 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_; } /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -467,15 +391,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -496,7 +417,6 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -504,8 +424,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -526,16 +444,15 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -547,15 +464,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } for (int i = 0; i < assetNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, assetNames_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, contentType_); } if (readTimeWindow_ != null) { @@ -584,12 +501,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetNamesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, contentType_); + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, contentType_); } if (readTimeWindow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTimeWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getReadTimeWindow()); } { int dataSize = 0; @@ -607,22 +525,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.asset.v1.BatchGetAssetsHistoryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest other = - (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) obj; + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest other = (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAssetNamesList().equals(other.getAssetNamesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAssetNamesList() + .equals(other.getAssetNamesList())) return false; if (contentType_ != other.contentType_) return false; if (hasReadTimeWindow() != other.hasReadTimeWindow()) return false; if (hasReadTimeWindow()) { - if (!getReadTimeWindow().equals(other.getReadTimeWindow())) return false; + if (!getReadTimeWindow() + .equals(other.getReadTimeWindow())) return false; } - if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList() + .equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -656,127 +577,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.nio.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - byte[] data, com.google.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Batch get assets history request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) com.google.cloud.asset.v1.BatchGetAssetsHistoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.newBuilder() @@ -784,15 +695,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -814,9 +726,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; } @java.lang.Override @@ -835,8 +747,7 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest buildPartial() { - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result = - new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(this); + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result = new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -863,39 +774,38 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) { - return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) other); + return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest)other); } else { super.mergeFrom(other); return this; @@ -903,8 +813,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest other) { - if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -954,8 +863,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -964,29 +872,24 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * - * string parent = 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; @@ -995,25 +898,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * - * string parent = 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 { @@ -1021,90 +921,73 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * - * 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 relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * - * string 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 relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1115,15 +998,13 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList getAssetNamesList() { + public com.google.protobuf.ProtocolStringList + getAssetNamesList() { return assetNames_.getUnmodifiableView(); } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1134,15 +1015,12 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
      * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1153,7 +1031,6 @@ public int getAssetNamesCount() {
      * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -1161,8 +1038,6 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1173,16 +1048,14 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString + getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1193,23 +1066,21 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
      * 
* * repeated string asset_names = 2; - * * @param index The index to set the value at. * @param value The assetNames to set. * @return This builder for chaining. */ - public Builder setAssetNames(int index, java.lang.String value) { + public Builder setAssetNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1220,22 +1091,20 @@ public Builder setAssetNames(int index, java.lang.String value) {
      * 
* * repeated string asset_names = 2; - * * @param value The assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNames(java.lang.String value) { + public Builder addAssetNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1246,19 +1115,18 @@ public Builder addAssetNames(java.lang.String value) {
      * 
* * repeated string asset_names = 2; - * * @param values The assetNames to add. * @return This builder for chaining. */ - public Builder addAllAssetNames(java.lang.Iterable values) { + public Builder addAllAssetNames( + java.lang.Iterable values) { ensureAssetNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetNames_); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1269,7 +1137,6 @@ public Builder addAllAssetNames(java.lang.Iterable values) {
      * 
* * repeated string asset_names = 2; - * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1279,8 +1146,6 @@ public Builder clearAssetNames() { return this; } /** - * - * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1291,15 +1156,15 @@ public Builder clearAssetNames() {
      * 
* * repeated string asset_names = 2; - * * @param value The bytes of the assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); @@ -1308,73 +1173,51 @@ public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Optional. The content type.
      * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Optional. The content type.
      * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The content type.
      * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The content type.
      * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The contentType to set. * @return This builder for chaining. */ @@ -1382,26 +1225,21 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Optional. The content type.
      * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1409,13 +1247,8 @@ public Builder clearContentType() { private com.google.cloud.asset.v1.TimeWindow readTimeWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, - com.google.cloud.asset.v1.TimeWindow.Builder, - com.google.cloud.asset.v1.TimeWindowOrBuilder> - readTimeWindowBuilder_; + com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> readTimeWindowBuilder_; /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1425,18 +1258,13 @@ public Builder clearContentType() {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTimeWindow field is set. */ public boolean hasReadTimeWindow() { return readTimeWindowBuilder_ != null || readTimeWindow_ != null; } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1446,24 +1274,17 @@ public boolean hasReadTimeWindow() {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTimeWindow. */ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { if (readTimeWindowBuilder_ == null) { - return readTimeWindow_ == null - ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() - : readTimeWindow_; + return readTimeWindow_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; } else { return readTimeWindowBuilder_.getMessage(); } } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1473,9 +1294,7 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { @@ -1491,8 +1310,6 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1502,11 +1319,10 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { + public Builder setReadTimeWindow( + com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { if (readTimeWindowBuilder_ == null) { readTimeWindow_ = builderForValue.build(); onChanged(); @@ -1517,8 +1333,6 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow.Builder bu return this; } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1528,17 +1342,13 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow.Builder bu
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { if (readTimeWindow_ != null) { readTimeWindow_ = - com.google.cloud.asset.v1.TimeWindow.newBuilder(readTimeWindow_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.TimeWindow.newBuilder(readTimeWindow_).mergeFrom(value).buildPartial(); } else { readTimeWindow_ = value; } @@ -1550,8 +1360,6 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1561,9 +1369,7 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadTimeWindow() { if (readTimeWindowBuilder_ == null) { @@ -1577,8 +1383,6 @@ public Builder clearReadTimeWindow() { return this; } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1588,18 +1392,14 @@ public Builder clearReadTimeWindow() {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() { - + onChanged(); return getReadTimeWindowFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1609,22 +1409,17 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() {
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { if (readTimeWindowBuilder_ != null) { return readTimeWindowBuilder_.getMessageOrBuilder(); } else { - return readTimeWindow_ == null - ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() - : readTimeWindow_; + return readTimeWindow_ == null ? + com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; } } /** - * - * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1634,39 +1429,30 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(
      * window overlap with read_time_window.
      * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, - com.google.cloud.asset.v1.TimeWindow.Builder, - com.google.cloud.asset.v1.TimeWindowOrBuilder> + com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> getReadTimeWindowFieldBuilder() { if (readTimeWindowBuilder_ == null) { - readTimeWindowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, - com.google.cloud.asset.v1.TimeWindow.Builder, - com.google.cloud.asset.v1.TimeWindowOrBuilder>( - getReadTimeWindow(), getParentForChildren(), isClean()); + readTimeWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder>( + getReadTimeWindow(), + getParentForChildren(), + isClean()); readTimeWindow_ = null; } return readTimeWindowBuilder_; } - private com.google.protobuf.LazyStringList relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1686,17 +1472,14 @@ private void ensureRelationshipTypesIsMutable() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1716,17 +1499,13 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1746,9 +1525,7 @@ public int getRelationshipTypesCount() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -1756,8 +1533,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1777,18 +1552,15 @@ public java.lang.String getRelationshipTypes(int index) {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1808,25 +1580,22 @@ public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes(int index, java.lang.String value) { + public Builder setRelationshipTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1846,24 +1615,21 @@ public Builder setRelationshipTypes(int index, java.lang.String value) {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes(java.lang.String value) { + public Builder addRelationshipTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1883,21 +1649,19 @@ public Builder addRelationshipTypes(java.lang.String value) {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes(java.lang.Iterable values) { + public Builder addAllRelationshipTypes( + java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relationshipTypes_); onChanged(); return this; } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1917,9 +1681,7 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -1929,8 +1691,6 @@ public Builder clearRelationshipTypes() { return this; } /** - * - * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1950,25 +1710,24 @@ public Builder clearRelationshipTypes() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -1978,12 +1737,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) private static final com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(); } @@ -1992,16 +1751,16 @@ public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetAssetsHistoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetAssetsHistoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetAssetsHistoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2016,4 +1775,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java similarity index 82% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java index eec143169..cfc137961 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetAssetsHistoryRequestOrBuilder - extends +public interface BatchGetAssetsHistoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * - * string parent = 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 relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * - * string parent = 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(); /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -69,13 +42,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - java.util.List getAssetNamesList(); + java.util.List + getAssetNamesList(); /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -86,13 +57,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ int getAssetNamesCount(); /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -103,14 +71,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ java.lang.String getAssetNames(int index); /** - * - * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -121,44 +86,32 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - com.google.protobuf.ByteString getAssetNamesBytes(int index); + com.google.protobuf.ByteString + getAssetNamesBytes(int index); /** - * - * *
    * Optional. The content type.
    * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Optional. The content type.
    * 
* - * - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** - * - * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -168,16 +121,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * window overlap with read_time_window.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readTimeWindow field is set. */ boolean hasReadTimeWindow(); /** - * - * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -187,16 +135,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * window overlap with read_time_window.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The readTimeWindow. */ com.google.cloud.asset.v1.TimeWindow getReadTimeWindow(); /** - * - * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -206,15 +149,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * window overlap with read_time_window.
    * 
* - * - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(); /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -235,13 +174,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the relationshipTypes. */ - java.util.List getRelationshipTypesList(); + java.util.List + getRelationshipTypesList(); /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -262,13 +199,10 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -289,14 +223,11 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** - * - * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -317,9 +248,9 @@ public interface BatchGetAssetsHistoryRequestOrBuilder
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString + getRelationshipTypesBytes(int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java index eae14325c..149893295 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Batch get assets history response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryResponse} */ -public final class BatchGetAssetsHistoryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchGetAssetsHistoryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) BatchGetAssetsHistoryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchGetAssetsHistoryResponse.newBuilder() to construct. private BatchGetAssetsHistoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchGetAssetsHistoryResponse() { assets_ = 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 BatchGetAssetsHistoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchGetAssetsHistoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,24 +54,22 @@ private BatchGetAssetsHistoryResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assets_.add( - input.readMessage( - com.google.cloud.asset.v1.TemporalAsset.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + assets_.add( + input.readMessage(com.google.cloud.asset.v1.TemporalAsset.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,7 +77,8 @@ private BatchGetAssetsHistoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -105,27 +87,22 @@ private BatchGetAssetsHistoryResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); } public static final int ASSETS_FIELD_NUMBER = 1; private java.util.List assets_; /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -137,8 +114,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -146,13 +121,11 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -164,8 +137,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -177,8 +148,6 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -186,12 +155,12 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( + int index) { return assets_.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 < assets_.size(); i++) { output.writeMessage(1, assets_.get(i)); } @@ -217,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, assets_.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.asset.v1.BatchGetAssetsHistoryResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse other = - (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) obj; + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse other = (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) obj; - if (!getAssetsList().equals(other.getAssetsList())) return false; + if (!getAssetsList() + .equals(other.getAssetsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -257,127 +228,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.nio.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - byte[] data, com.google.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Batch get assets history response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) com.google.cloud.asset.v1.BatchGetAssetsHistoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.newBuilder() @@ -385,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) { getAssetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override @@ -430,8 +391,7 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse build() { @java.lang.Override public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse buildPartial() { - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result = - new com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse(this); + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result = new com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse(this); int from_bitField0_ = bitField0_; if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -450,39 +410,38 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) { - return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) other); + return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse)other); } else { super.mergeFrom(other); return this; @@ -490,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse other) { - if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.getDefaultInstance()) return this; if (assetsBuilder_ == null) { if (!other.assets_.isEmpty()) { if (assets_.isEmpty()) { @@ -510,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -538,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,28 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List assets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TemporalAsset, - com.google.cloud.asset.v1.TemporalAsset.Builder, - com.google.cloud.asset.v1.TemporalAssetOrBuilder> - assetsBuilder_; + com.google.cloud.asset.v1.TemporalAsset, com.google.cloud.asset.v1.TemporalAsset.Builder, com.google.cloud.asset.v1.TemporalAssetOrBuilder> assetsBuilder_; /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -584,8 +533,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -600,8 +547,6 @@ public int getAssetsCount() { } } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -616,15 +561,14 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { } } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public Builder setAssets(int index, com.google.cloud.asset.v1.TemporalAsset value) { + public Builder setAssets( + int index, com.google.cloud.asset.v1.TemporalAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -638,8 +582,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.TemporalAsset valu return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -658,8 +600,6 @@ public Builder setAssets( return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -680,15 +620,14 @@ public Builder addAssets(com.google.cloud.asset.v1.TemporalAsset value) { return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public Builder addAssets(int index, com.google.cloud.asset.v1.TemporalAsset value) { + public Builder addAssets( + int index, com.google.cloud.asset.v1.TemporalAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,15 +641,14 @@ public Builder addAssets(int index, com.google.cloud.asset.v1.TemporalAsset valu return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public Builder addAssets(com.google.cloud.asset.v1.TemporalAsset.Builder builderForValue) { + public Builder addAssets( + com.google.cloud.asset.v1.TemporalAsset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -721,8 +659,6 @@ public Builder addAssets(com.google.cloud.asset.v1.TemporalAsset.Builder builder return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -741,8 +677,6 @@ public Builder addAssets( return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -753,7 +687,8 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -761,8 +696,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -780,8 +713,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -799,44 +730,39 @@ public Builder removeAssets(int index) { return this; } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1.TemporalAsset.Builder getAssetsBuilder(int index) { + public com.google.cloud.asset.v1.TemporalAsset.Builder getAssetsBuilder( + int index) { return getAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( + int index) { if (assetsBuilder_ == null) { - return assets_.get(index); - } else { + return assets_.get(index); } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -844,8 +770,6 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int i } } /** - * - * *
      * A list of assets with valid time windows.
      * 
@@ -853,54 +777,49 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int i * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ public com.google.cloud.asset.v1.TemporalAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); + return getAssetsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1.TemporalAsset.Builder addAssetsBuilder(int index) { - return getAssetsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); + public com.google.cloud.asset.v1.TemporalAsset.Builder addAssetsBuilder( + int index) { + return getAssetsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); } /** - * - * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public java.util.List getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TemporalAsset, - com.google.cloud.asset.v1.TemporalAsset.Builder, - com.google.cloud.asset.v1.TemporalAssetOrBuilder> + com.google.cloud.asset.v1.TemporalAsset, com.google.cloud.asset.v1.TemporalAsset.Builder, com.google.cloud.asset.v1.TemporalAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TemporalAsset, - com.google.cloud.asset.v1.TemporalAsset.Builder, - com.google.cloud.asset.v1.TemporalAssetOrBuilder>( - assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.TemporalAsset, com.google.cloud.asset.v1.TemporalAsset.Builder, com.google.cloud.asset.v1.TemporalAssetOrBuilder>( + assets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; } - @java.lang.Override - 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.asset.v1.BatchGetAssetsHistoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) private static final com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse(); } @@ -924,16 +843,16 @@ public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetAssetsHistoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetAssetsHistoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetAssetsHistoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,4 +867,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java index 22976e616..70e9d55a2 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetAssetsHistoryResponseOrBuilder - extends +public interface BatchGetAssetsHistoryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - java.util.List getAssetsList(); + java.util.List + getAssetsList(); /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -44,8 +25,6 @@ public interface BatchGetAssetsHistoryResponseOrBuilder */ com.google.cloud.asset.v1.TemporalAsset getAssets(int index); /** - * - * *
    * A list of assets with valid time windows.
    * 
@@ -54,24 +33,21 @@ public interface BatchGetAssetsHistoryResponseOrBuilder */ int getAssetsCount(); /** - * - * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** - * - * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index); + com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java similarity index 69% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java index 13901f543..3acec1606 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A request message for
  * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest}
  */
-public final class BatchGetEffectiveIamPoliciesRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchGetEffectiveIamPoliciesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)
     BatchGetEffectiveIamPoliciesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchGetEffectiveIamPoliciesRequest.newBuilder() to construct.
-  private BatchGetEffectiveIamPoliciesRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private BatchGetEffectiveIamPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchGetEffectiveIamPoliciesRequest() {
     scope_ = "";
     names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -47,15 +27,16 @@ private BatchGetEffectiveIamPoliciesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchGetEffectiveIamPoliciesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private BatchGetEffectiveIamPoliciesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,30 +56,28 @@ private BatchGetEffectiveIamPoliciesRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                names_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              names_.add(s);
-              break;
+            scope_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              names_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            names_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,7 +85,8 @@ private BatchGetEffectiveIamPoliciesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         names_ = names_.getUnmodifiableView();
@@ -115,27 +95,22 @@ private BatchGetEffectiveIamPoliciesRequest(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class,
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
   }
 
   public static final int SCOPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object scope_;
   /**
-   *
-   *
    * 
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -147,10 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The scope. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -179,18 +150,17 @@ public java.lang.String getScope() {
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -201,8 +171,6 @@ public com.google.protobuf.ByteString getScopeBytes() { public static final int NAMES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList names_; /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -211,18 +179,14 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_; } /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -231,18 +195,13 @@ public com.google.protobuf.ProtocolStringList getNamesList() {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -251,10 +210,7 @@ public int getNamesCount() {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ @@ -262,8 +218,6 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -272,19 +226,16 @@ public java.lang.String getNames(int index) {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -331,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.asset.v1.BatchGetEffectiveIamPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest other = - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) obj; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) obj; - if (!getScope().equals(other.getScope())) return false; - if (!getNamesList().equals(other.getNamesList())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getNamesList() + .equals(other.getNamesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -364,104 +317,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.nio.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - byte[] data, com.google.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for
    * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -469,23 +414,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)
       com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class,
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.newBuilder()
@@ -493,15 +436,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -513,14 +457,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance();
     }
 
@@ -535,8 +478,7 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest buildPartial() {
-      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result =
-          new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(this);
+      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(this);
       int from_bitField0_ = bitField0_;
       result.scope_ = scope_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -552,39 +494,38 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) other);
+        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -592,9 +533,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest other) {
-      if (other
-          == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance()) return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         onChanged();
@@ -628,9 +567,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -639,13 +576,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
-     *
-     *
      * 
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -657,16 +591,14 @@ public Builder mergeFrom(
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -675,8 +607,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -688,17 +618,16 @@ public java.lang.String getScope() {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -706,8 +635,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -719,25 +646,21 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -749,21 +672,16 @@ public Builder setScope(java.lang.String value) {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -775,36 +693,30 @@ public Builder clearScope() {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -813,18 +725,14 @@ private void ensureNamesIsMutable() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_.getUnmodifiableView(); } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -833,18 +741,13 @@ public com.google.protobuf.ProtocolStringList getNamesList() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -853,10 +756,7 @@ public int getNamesCount() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ @@ -864,8 +764,6 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -874,19 +772,15 @@ public java.lang.String getNames(int index) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -895,26 +789,22 @@ public com.google.protobuf.ByteString getNamesBytes(int index) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames(int index, java.lang.String value) { + public Builder setNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -923,25 +813,21 @@ public Builder setNames(int index, java.lang.String value) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames(java.lang.String value) { + public Builder addNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -950,22 +836,19 @@ public Builder addNames(java.lang.String value) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames(java.lang.Iterable values) { + public Builder addAllNames( + java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, names_); onChanged(); return this; } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -974,10 +857,7 @@ public Builder addAllNames(java.lang.Iterable values) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearNames() { @@ -987,8 +867,6 @@ public Builder clearNames() { return this; } /** - * - * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -997,26 +875,24 @@ public Builder clearNames() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes(com.google.protobuf.ByteString value) { + public Builder addNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.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); } @@ -1026,13 +902,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) - private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(); } @@ -1041,16 +916,16 @@ public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetEffectiveIamPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetEffectiveIamPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetEffectiveIamPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,4 +940,6 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java index 90bbc28f3..f75a8b07c 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetEffectiveIamPoliciesRequestOrBuilder - extends +public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -37,16 +19,11 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -58,17 +35,13 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -77,16 +50,12 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return A list containing the names. */ - java.util.List getNamesList(); + java.util.List + getNamesList(); /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -95,16 +64,11 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The count of names. */ int getNamesCount(); /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -113,17 +77,12 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** - * - * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -132,12 +91,10 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString getNamesBytes(int index); + com.google.protobuf.ByteString + getNamesBytes(int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java index a0e086b23..1cc8063e3 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A response message for
  * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -28,33 +11,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse}
  */
-public final class BatchGetEffectiveIamPoliciesResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchGetEffectiveIamPoliciesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)
     BatchGetEffectiveIamPoliciesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchGetEffectiveIamPoliciesResponse.newBuilder() to construct.
-  private BatchGetEffectiveIamPoliciesResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private BatchGetEffectiveIamPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchGetEffectiveIamPoliciesResponse() {
     policyResults_ = 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 BatchGetEffectiveIamPoliciesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private BatchGetEffectiveIamPoliciesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,29 +55,22 @@ private BatchGetEffectiveIamPoliciesResponse(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                policyResults_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-                            .EffectiveIamPolicy>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              policyResults_.add(
-                  input.readMessage(
-                      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-                          .EffectiveIamPolicy.parser(),
-                      extensionRegistry));
-              break;
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              policyResults_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            policyResults_.add(
+                input.readMessage(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,7 +78,8 @@ private BatchGetEffectiveIamPoliciesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         policyResults_ = java.util.Collections.unmodifiableList(policyResults_);
@@ -113,30 +88,24 @@ private BatchGetEffectiveIamPoliciesResponse(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class,
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
   }
 
-  public interface EffectiveIamPolicyOrBuilder
-      extends
+  public interface EffectiveIamPolicyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -148,13 +117,10 @@ public interface EffectiveIamPolicyOrBuilder
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** - * - * *
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -166,14 +132,12 @@ public interface EffectiveIamPolicyOrBuilder
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -195,17 +159,11 @@ public interface EffectiveIamPolicyOrBuilder
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo> + java.util.List getPoliciesList(); /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -227,15 +185,10 @@ public interface EffectiveIamPolicyOrBuilder
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo - getPolicies(int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index); /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -257,14 +210,10 @@ public interface EffectiveIamPolicyOrBuilder
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ int getPoliciesCount(); /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -286,18 +235,11 @@ public interface EffectiveIamPolicyOrBuilder
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - java.util.List< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder> + java.util.List getPoliciesOrBuilderList(); /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -319,34 +261,27 @@ public interface EffectiveIamPolicyOrBuilder
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder - getPoliciesOrBuilder(int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder( + int index); } /** - * - * *
    * The effective IAM policies on one resource.
    * 
* - * Protobuf type {@code - * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} + * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} */ - public static final class EffectiveIamPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class EffectiveIamPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) EffectiveIamPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EffectiveIamPolicy.newBuilder() to construct. private EffectiveIamPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EffectiveIamPolicy() { fullResourceName_ = ""; policies_ = java.util.Collections.emptyList(); @@ -354,15 +289,16 @@ private EffectiveIamPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EffectiveIamPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private EffectiveIamPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -382,36 +318,28 @@ private EffectiveIamPolicy( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy.PolicyInfo>(); - mutable_bitField0_ |= 0x00000001; - } - policies_.add( - input.readMessage( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy.PolicyInfo.parser(), - extensionRegistry)); - break; + fullResourceName_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + policies_.add( + input.readMessage(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,7 +347,8 @@ private EffectiveIamPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { policies_ = java.util.Collections.unmodifiableList(policies_); @@ -428,32 +357,24 @@ private EffectiveIamPolicy( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .class, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder.class); } - public interface PolicyInfoOrBuilder - extends + public interface PolicyInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -461,13 +382,10 @@ public interface PolicyInfoOrBuilder
        * 
* * string attached_resource = 1; - * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** - * - * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -475,40 +393,32 @@ public interface PolicyInfoOrBuilder
        * 
* * string attached_resource = 1; - * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString getAttachedResourceBytes(); + com.google.protobuf.ByteString + getAttachedResourceBytes(); /** - * - * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; - * * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; - * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** - * - * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -519,40 +429,37 @@ public interface PolicyInfoOrBuilder
       com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
     }
     /**
-     *
-     *
      * 
      * The IAM policy and its attached resource.
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} + * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} */ - public static final class PolicyInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PolicyInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) PolicyInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PolicyInfo.newBuilder() to construct. private PolicyInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PolicyInfo() { attachedResource_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PolicyInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PolicyInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -571,34 +478,32 @@ private PolicyInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - attachedResource_ = s; - break; + attachedResource_ = s; + break; + } + case 18: { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); } - case 18: - { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = 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) { @@ -606,36 +511,29 @@ private PolicyInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.class, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder.class); } public static final int ATTACHED_RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object attachedResource_; /** - * - * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -643,7 +541,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * string attached_resource = 1; - * * @return The attachedResource. */ @java.lang.Override @@ -652,15 +549,14 @@ public java.lang.String getAttachedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResource_ = s; return s; } } /** - * - * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -668,15 +564,16 @@ public java.lang.String getAttachedResource() {
        * 
* * string attached_resource = 1; - * * @return The bytes for attachedResource. */ @java.lang.Override - public com.google.protobuf.ByteString getAttachedResourceBytes() { + public com.google.protobuf.ByteString + getAttachedResourceBytes() { java.lang.Object ref = attachedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedResource_ = b; return b; } else { @@ -687,15 +584,12 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { public static final int POLICY_FIELD_NUMBER = 2; private com.google.iam.v1.Policy policy_; /** - * - * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -703,15 +597,12 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; - * * @return The policy. */ @java.lang.Override @@ -719,8 +610,6 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** - * - * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -734,7 +623,6 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       }
 
       private byte memoizedIsInitialized = -1;
-
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -746,7 +634,8 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output)
+                          throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResource_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResource_);
         }
@@ -766,7 +655,8 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResource_);
         }
         if (policy_ != null) {
-          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy());
+          size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(2, getPolicy());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -776,24 +666,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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-                .PolicyInfo)) {
+        if (!(obj instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)) {
           return super.equals(obj);
         }
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
-            other =
-                (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-                        .PolicyInfo)
-                    obj;
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) obj;
 
-        if (!getAttachedResource().equals(other.getAttachedResource())) return false;
+        if (!getAttachedResource()
+            .equals(other.getAttachedResource())) return false;
         if (hasPolicy() != other.hasPolicy()) return false;
         if (hasPolicy()) {
-          if (!getPolicy().equals(other.getPolicy())) return false;
+          if (!getPolicy()
+              .equals(other.getPolicy())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -817,117 +702,88 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(java.nio.ByteBuffer data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
+          java.nio.ByteBuffer data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(
-              java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo 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.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(com.google.protobuf.ByteString data)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
+          com.google.protobuf.ByteString data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(
-              com.google.protobuf.ByteString data,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
+          com.google.protobuf.ByteString data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(byte[] data)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
+          byte[] data,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo 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.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(java.io.InputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseDelimitedWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseDelimitedFrom(
-              java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(
+          java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
+          com.google.protobuf.CodedInputStream input)
+          throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3
+            .parseWithIOException(PARSER, input);
       }
-
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-                  .PolicyInfo
-              prototype) {
+      public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
-
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE
+            ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -937,53 +793,44 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
-       *
-       *
        * 
        * The IAM policy and its attached resource.
        * 
* - * Protobuf type {@code - * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} + * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.class, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.newBuilder() + // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -999,26 +846,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.getDefaultInstance(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType() { + return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - build() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - result = buildPartial(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo build() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1026,14 +866,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - buildPartial() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - result = - new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy.PolicyInfo(this); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo buildPartial() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo(this); result.attachedResource_ = attachedResource_; if (policyBuilder_ == null) { result.policy_ = policy_; @@ -1048,60 +882,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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo) { - return mergeFrom( - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo) - other); + if (other instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) { + return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - other) { - if (other - == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo other) { + if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance()) return this; if (!other.getAttachedResource().isEmpty()) { attachedResource_ = other.attachedResource_; onChanged(); @@ -1124,16 +944,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - parsedMessage = null; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1145,8 +960,6 @@ public Builder mergeFrom( private java.lang.Object attachedResource_ = ""; /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1154,13 +967,13 @@ public Builder mergeFrom(
          * 
* * string attached_resource = 1; - * * @return The attachedResource. */ public java.lang.String getAttachedResource() { java.lang.Object ref = attachedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResource_ = s; return s; @@ -1169,8 +982,6 @@ public java.lang.String getAttachedResource() { } } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1178,14 +989,15 @@ public java.lang.String getAttachedResource() {
          * 
* * string attached_resource = 1; - * * @return The bytes for attachedResource. */ - public com.google.protobuf.ByteString getAttachedResourceBytes() { + public com.google.protobuf.ByteString + getAttachedResourceBytes() { java.lang.Object ref = attachedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedResource_ = b; return b; } else { @@ -1193,8 +1005,6 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() { } } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1202,22 +1012,20 @@ public com.google.protobuf.ByteString getAttachedResourceBytes() {
          * 
* * string attached_resource = 1; - * * @param value The attachedResource to set. * @return This builder for chaining. */ - public Builder setAttachedResource(java.lang.String value) { + public Builder setAttachedResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attachedResource_ = value; onChanged(); return this; } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1225,18 +1033,15 @@ public Builder setAttachedResource(java.lang.String value) {
          * 
* * string attached_resource = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResource() { - + attachedResource_ = getDefaultInstance().getAttachedResource(); onChanged(); return this; } /** - * - * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1244,16 +1049,16 @@ public Builder clearAttachedResource() {
          * 
* * string attached_resource = 1; - * * @param value The bytes for attachedResource to set. * @return This builder for chaining. */ - public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { + public Builder setAttachedResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attachedResource_ = value; onChanged(); return this; @@ -1261,35 +1066,26 @@ public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - policyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; /** - * - * *
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
          * 
* * .google.iam.v1.Policy policy = 2; - * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** - * - * *
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
          * 
* * .google.iam.v1.Policy policy = 2; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -1300,8 +1096,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1323,8 +1117,6 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1332,7 +1124,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
          *
          * .google.iam.v1.Policy policy = 2;
          */
-        public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+        public Builder setPolicy(
+            com.google.iam.v1.Policy.Builder builderForValue) {
           if (policyBuilder_ == null) {
             policy_ = builderForValue.build();
             onChanged();
@@ -1343,8 +1136,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1356,7 +1147,7 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
           if (policyBuilder_ == null) {
             if (policy_ != null) {
               policy_ =
-                  com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+                com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
             } else {
               policy_ = value;
             }
@@ -1368,8 +1159,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
           return this;
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1389,8 +1178,6 @@ public Builder clearPolicy() {
           return this;
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1399,13 +1186,11 @@ public Builder clearPolicy() {
          * .google.iam.v1.Policy policy = 2;
          */
         public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-
+          
           onChanged();
           return getPolicyFieldBuilder().getBuilder();
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1417,12 +1202,11 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
           if (policyBuilder_ != null) {
             return policyBuilder_.getMessageOrBuilder();
           } else {
-            return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+            return policy_ == null ?
+                com.google.iam.v1.Policy.getDefaultInstance() : policy_;
           }
         }
         /**
-         *
-         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1431,22 +1215,18 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
          * .google.iam.v1.Policy policy = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
             getPolicyFieldBuilder() {
           if (policyBuilder_ == null) {
-            policyBuilder_ =
-                new com.google.protobuf.SingleFieldBuilderV3<
-                    com.google.iam.v1.Policy,
-                    com.google.iam.v1.Policy.Builder,
-                    com.google.iam.v1.PolicyOrBuilder>(
-                    getPolicy(), getParentForChildren(), isClean());
+            policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                    getPolicy(),
+                    getParentForChildren(),
+                    isClean());
             policy_ = null;
           }
           return policyBuilder_;
         }
-
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1459,36 +1239,30 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
+
         // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)
-      private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          DEFAULT_INSTANCE;
-
+      private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo DEFAULT_INSTANCE;
       static {
-        DEFAULT_INSTANCE =
-            new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-                .PolicyInfo();
+        DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo();
       }
 
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-              .EffectiveIamPolicy.PolicyInfo
-          getDefaultInstance() {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser PARSER =
-          new com.google.protobuf.AbstractParser() {
-            @java.lang.Override
-            public PolicyInfo parsePartialFrom(
-                com.google.protobuf.CodedInputStream input,
-                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-                throws com.google.protobuf.InvalidProtocolBufferException {
-              return new PolicyInfo(input, extensionRegistry);
-            }
-          };
+      private static final com.google.protobuf.Parser
+          PARSER = new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PolicyInfo parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new PolicyInfo(input, extensionRegistry);
+        }
+      };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -1500,18 +1274,15 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-              .PolicyInfo
-          getDefaultInstanceForType() {
+      public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
+
     }
 
     public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object fullResourceName_;
     /**
-     *
-     *
      * 
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1523,7 +1294,6 @@ public com.google.protobuf.Parser getParserForType() {
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ @java.lang.Override @@ -1532,15 +1302,14 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** - * - * *
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1552,15 +1321,16 @@ public java.lang.String getFullResourceName() {
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1569,13 +1339,8 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } public static final int POLICIES_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo> - policies_; + private java.util.List policies_; /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1597,20 +1362,13 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ @java.lang.Override - public java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo> - getPoliciesList() { + public java.util.List getPoliciesList() { return policies_; } /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1632,21 +1390,14 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder> + public java.util.List getPoliciesOrBuilderList() { return policies_; } /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1668,17 +1419,13 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ @java.lang.Override public int getPoliciesCount() { return policies_.size(); } /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1700,19 +1447,13 @@ public int getPoliciesCount() {
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - getPolicies(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index) { return policies_.get(index); } /** - * - * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1734,19 +1475,15 @@ public int getPoliciesCount() {
      * if policies[i+1] exists.
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder - getPoliciesOrBuilder(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder( + int index) { return policies_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1758,7 +1495,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -1778,7 +1516,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullResourceName_); } for (int i = 0; i < policies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, policies_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, policies_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1788,18 +1527,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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)) { + if (!(obj instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other = - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) obj; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) obj; - if (!getFullResourceName().equals(other.getFullResourceName())) return false; - if (!getPoliciesList().equals(other.getPoliciesList())) return false; + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; + if (!getPoliciesList() + .equals(other.getPoliciesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1822,102 +1560,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseDelimitedFrom( - java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseDelimitedFrom( + java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1927,54 +1651,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The effective IAM policies on one resource.
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} + * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .class, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.newBuilder() + // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPoliciesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1990,23 +1705,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .getDefaultInstance(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType() { + return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - build() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = - buildPartial(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy build() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2014,11 +1725,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - buildPartial() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = - new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy( - this); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy buildPartial() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy(this); int from_bitField0_ = bitField0_; result.fullResourceName_ = fullResourceName_; if (policiesBuilder_ == null) { @@ -2038,56 +1746,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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) { - return mergeFrom( - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) - other); + if (other instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) { + return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other) { - if (other - == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other) { + if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; onChanged(); @@ -2110,10 +1808,9 @@ public Builder mergeFrom( policiesBuilder_ = null; policies_ = other.policies_; bitField0_ = (bitField0_ & ~0x00000001); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPoliciesFieldBuilder() - : null; + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPoliciesFieldBuilder() : null; } else { policiesBuilder_.addAllMessages(other.policies_); } @@ -2134,14 +1831,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - parsedMessage = null; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2150,13 +1844,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2168,13 +1859,13 @@ public Builder mergeFrom(
        * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -2183,8 +1874,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2196,14 +1885,15 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -2211,8 +1901,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2224,22 +1912,20 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
        * 
* * string full_resource_name = 1; - * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName(java.lang.String value) { + public Builder setFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2251,18 +1937,15 @@ public Builder setFullResourceName(java.lang.String value) {
        * 
* * string full_resource_name = 1; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** - * - * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -2274,48 +1957,34 @@ public Builder clearFullResourceName() {
        * 
* * string full_resource_name = 1; - * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } - private java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo> - policies_ = java.util.Collections.emptyList(); - + private java.util.List policies_ = + java.util.Collections.emptyList(); private void ensurePoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - policies_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo>(policies_); + policies_ = new java.util.ArrayList(policies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder> - policiesBuilder_; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> policiesBuilder_; /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2337,14 +2006,9 @@ private void ensurePoliciesIsMutable() {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo> - getPoliciesList() { + public java.util.List getPoliciesList() { if (policiesBuilder_ == null) { return java.util.Collections.unmodifiableList(policies_); } else { @@ -2352,8 +2016,6 @@ private void ensurePoliciesIsMutable() { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2375,9 +2037,7 @@ private void ensurePoliciesIsMutable() {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public int getPoliciesCount() { if (policiesBuilder_ == null) { @@ -2387,8 +2047,6 @@ public int getPoliciesCount() { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2410,13 +2068,9 @@ public int getPoliciesCount() {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - getPolicies(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index) { if (policiesBuilder_ == null) { return policies_.get(index); } else { @@ -2424,8 +2078,6 @@ public int getPoliciesCount() { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2447,15 +2099,10 @@ public int getPoliciesCount() {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder setPolicies( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - value) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value) { if (policiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2469,8 +2116,6 @@ public Builder setPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2492,15 +2137,10 @@ public Builder setPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder setPolicies( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); policies_.set(index, builderForValue.build()); @@ -2511,8 +2151,6 @@ public Builder setPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2534,14 +2172,9 @@ public Builder setPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public Builder addPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - value) { + public Builder addPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value) { if (policiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2555,8 +2188,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2578,15 +2209,10 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder addPolicies( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo - value) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value) { if (policiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2600,8 +2226,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2623,14 +2247,10 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder addPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder - builderForValue) { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); policies_.add(builderForValue.build()); @@ -2641,8 +2261,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2664,15 +2282,10 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder addPolicies( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); policies_.add(index, builderForValue.build()); @@ -2683,8 +2296,6 @@ public Builder addPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2706,19 +2317,14 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder addAllPolicies( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy.PolicyInfo> - values) { + java.lang.Iterable values) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, policies_); onChanged(); } else { policiesBuilder_.addAllMessages(values); @@ -2726,8 +2332,6 @@ public Builder addAllPolicies( return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2749,9 +2353,7 @@ public Builder addAllPolicies(
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder clearPolicies() { if (policiesBuilder_ == null) { @@ -2764,8 +2366,6 @@ public Builder clearPolicies() { return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2787,9 +2387,7 @@ public Builder clearPolicies() {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ public Builder removePolicies(int index) { if (policiesBuilder_ == null) { @@ -2802,8 +2400,6 @@ public Builder removePolicies(int index) { return this; } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2825,18 +2421,13 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder - getPoliciesBuilder(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder getPoliciesBuilder( + int index) { return getPoliciesFieldBuilder().getBuilder(index); } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2858,22 +2449,16 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder - getPoliciesOrBuilder(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder( + int index) { if (policiesBuilder_ == null) { - return policies_.get(index); - } else { + return policies_.get(index); } else { return policiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2895,15 +2480,10 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder> - getPoliciesOrBuilderList() { + public java.util.List + getPoliciesOrBuilderList() { if (policiesBuilder_ != null) { return policiesBuilder_.getMessageOrBuilderList(); } else { @@ -2911,8 +2491,6 @@ public Builder removePolicies(int index) { } } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2934,21 +2512,13 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder - addPoliciesBuilder() { - return getPoliciesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder() { + return getPoliciesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance()); } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2970,22 +2540,14 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder - addPoliciesBuilder(int index) { - return getPoliciesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder( + int index) { + return getPoliciesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance()); } /** - * - * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -3007,40 +2569,26 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; */ - public java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder> - getPoliciesBuilderList() { + public java.util.List + getPoliciesBuilderList() { return getPoliciesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder> + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> getPoliciesFieldBuilder() { if (policiesBuilder_ == null) { - policiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfo.Builder, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .PolicyInfoOrBuilder>( - policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + policiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder>( + policies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); policies_ = null; } return policiesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3053,34 +2601,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) - private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy(); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - getDefaultInstance() { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EffectiveIamPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EffectiveIamPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EffectiveIamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EffectiveIamPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3092,19 +2636,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int POLICY_RESULTS_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> - policyResults_; + private java.util.List policyResults_; /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -3114,19 +2654,13 @@ public com.google.protobuf.Parser getParserForType() {
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ @java.lang.Override - public java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> - getPolicyResultsList() { + public java.util.List getPolicyResultsList() { return policyResults_; } /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -3136,21 +2670,14 @@ public com.google.protobuf.Parser getParserForType() {
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicyOrBuilder> + public java.util.List getPolicyResultsOrBuilderList() { return policyResults_; } /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -3160,17 +2687,13 @@ public com.google.protobuf.Parser getParserForType() {
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ @java.lang.Override public int getPolicyResultsCount() { return policyResults_.size(); } /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -3180,18 +2703,13 @@ public int getPolicyResultsCount() {
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - getPolicyResults(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index) { return policyResults_.get(index); } /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -3201,18 +2719,15 @@ public int getPolicyResultsCount() {
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder - getPolicyResultsOrBuilder(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder( + int index) { return policyResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3224,7 +2739,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < policyResults_.size(); i++) { output.writeMessage(2, policyResults_.get(i)); } @@ -3238,7 +2754,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < policyResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, policyResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, policyResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3248,15 +2765,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.asset.v1.BatchGetEffectiveIamPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse other = - (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) obj; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) obj; - if (!getPolicyResultsList().equals(other.getPolicyResultsList())) return false; + if (!getPolicyResultsList() + .equals(other.getPolicyResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3278,104 +2795,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.nio.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - byte[] data, com.google.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for
    * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -3383,23 +2892,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)
       com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class,
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.newBuilder()
@@ -3407,17 +2914,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) {
         getPolicyResultsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3431,14 +2938,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance();
     }
 
@@ -3453,8 +2959,7 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse buildPartial() {
-      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result =
-          new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse(this);
+      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse(this);
       int from_bitField0_ = bitField0_;
       if (policyResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -3473,39 +2978,38 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse 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.asset.v1.BatchGetEffectiveIamPoliciesResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3513,9 +3017,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse other) {
-      if (other
-          == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance()) return this;
       if (policyResultsBuilder_ == null) {
         if (!other.policyResults_.isEmpty()) {
           if (policyResults_.isEmpty()) {
@@ -3534,10 +3036,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesR
             policyResultsBuilder_ = null;
             policyResults_ = other.policyResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            policyResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPolicyResultsFieldBuilder()
-                    : null;
+            policyResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPolicyResultsFieldBuilder() : null;
           } else {
             policyResultsBuilder_.addAllMessages(other.policyResults_);
           }
@@ -3562,9 +3063,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -3573,34 +3072,21 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List<
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy>
-        policyResults_ = java.util.Collections.emptyList();
-
+    private java.util.List policyResults_ =
+      java.util.Collections.emptyList();
     private void ensurePolicyResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        policyResults_ =
-            new java.util.ArrayList<
-                com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy>(
-                policyResults_);
+        policyResults_ = new java.util.ArrayList(policyResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy,
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
-                .Builder,
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
-                .EffectiveIamPolicyOrBuilder>
-        policyResultsBuilder_;
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> policyResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3610,13 +3096,9 @@ private void ensurePolicyResultsIsMutable() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> - getPolicyResultsList() { + public java.util.List getPolicyResultsList() { if (policyResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(policyResults_); } else { @@ -3624,8 +3106,6 @@ private void ensurePolicyResultsIsMutable() { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3635,9 +3115,7 @@ private void ensurePolicyResultsIsMutable() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public int getPolicyResultsCount() { if (policyResultsBuilder_ == null) { @@ -3647,8 +3125,6 @@ public int getPolicyResultsCount() { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3658,12 +3134,9 @@ public int getPolicyResultsCount() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - getPolicyResults(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index) { if (policyResultsBuilder_ == null) { return policyResults_.get(index); } else { @@ -3671,8 +3144,6 @@ public int getPolicyResultsCount() { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3682,13 +3153,10 @@ public int getPolicyResultsCount() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder setPolicyResults( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { if (policyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3702,8 +3170,6 @@ public Builder setPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3713,14 +3179,10 @@ public Builder setPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder setPolicyResults( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); policyResults_.set(index, builderForValue.build()); @@ -3731,8 +3193,6 @@ public Builder setPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3742,12 +3202,9 @@ public Builder setPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public Builder addPolicyResults( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { + public Builder addPolicyResults(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { if (policyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3761,8 +3218,6 @@ public Builder addPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3772,13 +3227,10 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder addPolicyResults( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { if (policyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3792,8 +3244,6 @@ public Builder addPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3803,13 +3253,10 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder addPolicyResults( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder - builderForValue) { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); policyResults_.add(builderForValue.build()); @@ -3820,8 +3267,6 @@ public Builder addPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3831,14 +3276,10 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder addPolicyResults( - int index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); policyResults_.add(index, builderForValue.build()); @@ -3849,8 +3290,6 @@ public Builder addPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3860,19 +3299,14 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder addAllPolicyResults( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicy> - values) { + java.lang.Iterable values) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, policyResults_); onChanged(); } else { policyResultsBuilder_.addAllMessages(values); @@ -3880,8 +3314,6 @@ public Builder addAllPolicyResults( return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3891,9 +3323,7 @@ public Builder addAllPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder clearPolicyResults() { if (policyResultsBuilder_ == null) { @@ -3906,8 +3336,6 @@ public Builder clearPolicyResults() { return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3917,9 +3345,7 @@ public Builder clearPolicyResults() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ public Builder removePolicyResults(int index) { if (policyResultsBuilder_ == null) { @@ -3932,8 +3358,6 @@ public Builder removePolicyResults(int index) { return this; } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3943,17 +3367,13 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder - getPolicyResultsBuilder(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder getPolicyResultsBuilder( + int index) { return getPolicyResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3963,22 +3383,16 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicyOrBuilder - getPolicyResultsOrBuilder(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder( + int index) { if (policyResultsBuilder_ == null) { - return policyResults_.get(index); - } else { + return policyResults_.get(index); } else { return policyResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3988,15 +3402,10 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicyOrBuilder> - getPolicyResultsOrBuilderList() { + public java.util.List + getPolicyResultsOrBuilderList() { if (policyResultsBuilder_ != null) { return policyResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4004,8 +3413,6 @@ public Builder removePolicyResults(int index) { } } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -4015,20 +3422,13 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder - addPolicyResultsBuilder() { - return getPolicyResultsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicyResultsBuilder() { + return getPolicyResultsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance()); } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -4038,21 +3438,14 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder - addPolicyResultsBuilder(int index) { - return getPolicyResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicyResultsBuilder( + int index) { + return getPolicyResultsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance()); } /** - * - * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -4062,32 +3455,18 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - public java.util.List< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .Builder> - getPolicyResultsBuilderList() { + public java.util.List + getPolicyResultsBuilderList() { return getPolicyResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .Builder, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicyOrBuilder> + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> getPolicyResultsFieldBuilder() { if (policyResultsBuilder_ == null) { - policyResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - .Builder, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicyOrBuilder>( + policyResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder>( policyResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4096,9 +3475,9 @@ public Builder removePolicyResults(int index) { } return policyResultsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4108,32 +3487,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) - private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse(); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - getDefaultInstance() { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetEffectiveIamPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetEffectiveIamPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetEffectiveIamPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4145,8 +3522,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java similarity index 64% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java index 8a5e5c254..55cd6994a 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetEffectiveIamPoliciesResponseOrBuilder - extends +public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -35,15 +17,11 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - java.util.List + java.util.List getPolicyResultsList(); /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -53,15 +31,10 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy - getPolicyResults(int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index); /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -71,14 +44,10 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ int getPolicyResultsCount(); /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -88,18 +57,11 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - java.util.List< - ? extends - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse - .EffectiveIamPolicyOrBuilder> + java.util.List getPolicyResultsOrBuilderList(); /** - * - * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -109,10 +71,8 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; - * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder - getPolicyResultsOrBuilder(int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java similarity index 83% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java index d3db2835d..f21e8c3b0 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A BigQuery destination for exporting assets to.
  * 
* * Protobuf type {@code google.cloud.asset.v1.BigQueryDestination} */ -public final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDestination() { dataset_ = ""; table_ = ""; @@ -44,15 +26,16 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,53 +54,48 @@ private BigQueryDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 24: - { - force_ = input.readBool(); - break; - } - case 34: - { - com.google.cloud.asset.v1.PartitionSpec.Builder subBuilder = null; - if (partitionSpec_ != null) { - subBuilder = partitionSpec_.toBuilder(); - } - partitionSpec_ = - input.readMessage( - com.google.cloud.asset.v1.PartitionSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitionSpec_); - partitionSpec_ = subBuilder.buildPartial(); - } + table_ = s; + break; + } + case 24: { - break; + force_ = input.readBool(); + break; + } + case 34: { + com.google.cloud.asset.v1.PartitionSpec.Builder subBuilder = null; + if (partitionSpec_ != null) { + subBuilder = partitionSpec_.toBuilder(); } - case 40: - { - separateTablesPerAssetType_ = input.readBool(); - break; + partitionSpec_ = input.readMessage(com.google.cloud.asset.v1.PartitionSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionSpec_); + partitionSpec_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 40: { + + separateTablesPerAssetType_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,33 +103,29 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BigQueryDestination.class, - com.google.cloud.asset.v1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.BigQueryDestination.class, com.google.cloud.asset.v1.BigQueryDestination.Builder.class); } public static final int DATASET_FIELD_NUMBER = 1; private volatile java.lang.Object dataset_; /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -164,7 +138,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -173,15 +146,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; } } /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -194,15 +166,16 @@ public java.lang.String getDataset() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -213,8 +186,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -222,7 +193,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -231,15 +201,14 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -247,15 +216,16 @@ public java.lang.String getTable() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -266,8 +236,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** - * - * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -276,7 +244,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -287,8 +254,6 @@ public boolean getForce() { public static final int PARTITION_SPEC_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.PartitionSpec partitionSpec_; /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -308,7 +273,6 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -316,8 +280,6 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -337,18 +299,13 @@ public boolean hasPartitionSpec() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return The partitionSpec. */ @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec getPartitionSpec() { - return partitionSpec_ == null - ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() - : partitionSpec_; + return partitionSpec_ == null ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_; } /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -377,8 +334,6 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_;
   /**
-   *
-   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -407,7 +362,6 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
    * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -416,7 +370,6 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -428,7 +381,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -460,13 +414,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, force_); } if (partitionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPartitionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPartitionSpec()); } if (separateTablesPerAssetType_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, separateTablesPerAssetType_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, separateTablesPerAssetType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -476,22 +433,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.BigQueryDestination other = - (com.google.cloud.asset.v1.BigQueryDestination) obj; + com.google.cloud.asset.v1.BigQueryDestination other = (com.google.cloud.asset.v1.BigQueryDestination) obj; - if (!getDataset().equals(other.getDataset())) return false; - if (!getTable().equals(other.getTable())) return false; - if (getForce() != other.getForce()) return false; + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (getForce() + != other.getForce()) return false; if (hasPartitionSpec() != other.hasPartitionSpec()) return false; if (hasPartitionSpec()) { - if (!getPartitionSpec().equals(other.getPartitionSpec())) return false; + if (!getPartitionSpec() + .equals(other.getPartitionSpec())) return false; } - if (getSeparateTablesPerAssetType() != other.getSeparateTablesPerAssetType()) return false; + if (getSeparateTablesPerAssetType() + != other.getSeparateTablesPerAssetType()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -508,139 +469,132 @@ public int hashCode() { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); if (hasPartitionSpec()) { hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); } hash = (37 * hash) + SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSeparateTablesPerAssetType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSeparateTablesPerAssetType()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.BigQueryDestination parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BigQueryDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( - byte[] data, com.google.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.asset.v1.BigQueryDestination 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.asset.v1.BigQueryDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.BigQueryDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A BigQuery destination for exporting assets to.
    * 
* * Protobuf type {@code google.cloud.asset.v1.BigQueryDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BigQueryDestination) com.google.cloud.asset.v1.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BigQueryDestination.class, - com.google.cloud.asset.v1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.BigQueryDestination.class, com.google.cloud.asset.v1.BigQueryDestination.Builder.class); } // Construct using com.google.cloud.asset.v1.BigQueryDestination.newBuilder() @@ -648,15 +602,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -678,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; } @java.lang.Override @@ -699,8 +654,7 @@ public com.google.cloud.asset.v1.BigQueryDestination build() { @java.lang.Override public com.google.cloud.asset.v1.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1.BigQueryDestination result = - new com.google.cloud.asset.v1.BigQueryDestination(this); + com.google.cloud.asset.v1.BigQueryDestination result = new com.google.cloud.asset.v1.BigQueryDestination(this); result.dataset_ = dataset_; result.table_ = table_; result.force_ = force_; @@ -718,39 +672,38 @@ public com.google.cloud.asset.v1.BigQueryDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.BigQueryDestination) { - return mergeFrom((com.google.cloud.asset.v1.BigQueryDestination) other); + return mergeFrom((com.google.cloud.asset.v1.BigQueryDestination)other); } else { super.mergeFrom(other); return this; @@ -807,8 +760,6 @@ public Builder mergeFrom( private java.lang.Object dataset_ = ""; /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -821,13 +772,13 @@ public Builder mergeFrom(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -836,8 +787,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -850,14 +799,15 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -865,8 +815,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -879,22 +827,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -907,18 +853,15 @@ public Builder setDataset(java.lang.String value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -931,16 +874,16 @@ public Builder clearDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -948,8 +891,6 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object table_ = ""; /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -957,13 +898,13 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -972,8 +913,6 @@ public java.lang.String getTable() { } } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -981,14 +920,15 @@ public java.lang.String getTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -996,8 +936,6 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -1005,22 +943,20 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -1028,18 +964,15 @@ public Builder setTable(java.lang.String value) {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -1047,25 +980,23 @@ public Builder clearTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1074,7 +1005,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -1082,8 +1012,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1092,19 +1020,16 @@ public boolean getForce() {
      * 
* * bool force = 3; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1113,11 +1038,10 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; @@ -1125,13 +1049,8 @@ public Builder clearForce() { private com.google.cloud.asset.v1.PartitionSpec partitionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PartitionSpec, - com.google.cloud.asset.v1.PartitionSpec.Builder, - com.google.cloud.asset.v1.PartitionSpecOrBuilder> - partitionSpecBuilder_; + com.google.cloud.asset.v1.PartitionSpec, com.google.cloud.asset.v1.PartitionSpec.Builder, com.google.cloud.asset.v1.PartitionSpecOrBuilder> partitionSpecBuilder_; /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1151,15 +1070,12 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return partitionSpecBuilder_ != null || partitionSpec_ != null; } /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1179,21 +1095,16 @@ public boolean hasPartitionSpec() {
      * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return The partitionSpec. */ public com.google.cloud.asset.v1.PartitionSpec getPartitionSpec() { if (partitionSpecBuilder_ == null) { - return partitionSpec_ == null - ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() - : partitionSpec_; + return partitionSpec_ == null ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_; } else { return partitionSpecBuilder_.getMessage(); } } /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1228,8 +1139,6 @@ public Builder setPartitionSpec(com.google.cloud.asset.v1.PartitionSpec value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1262,8 +1171,6 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1288,9 +1195,7 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1.PartitionSpec value)
       if (partitionSpecBuilder_ == null) {
         if (partitionSpec_ != null) {
           partitionSpec_ =
-              com.google.cloud.asset.v1.PartitionSpec.newBuilder(partitionSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1.PartitionSpec.newBuilder(partitionSpec_).mergeFrom(value).buildPartial();
         } else {
           partitionSpec_ = value;
         }
@@ -1302,8 +1207,6 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1.PartitionSpec value)
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1336,8 +1239,6 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1359,13 +1260,11 @@ public Builder clearPartitionSpec() {
      * .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
      */
     public com.google.cloud.asset.v1.PartitionSpec.Builder getPartitionSpecBuilder() {
-
+      
       onChanged();
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1390,14 +1289,11 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
       if (partitionSpecBuilder_ != null) {
         return partitionSpecBuilder_.getMessageOrBuilder();
       } else {
-        return partitionSpec_ == null
-            ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()
-            : partitionSpec_;
+        return partitionSpec_ == null ?
+            com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_;
       }
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1419,26 +1315,21 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.PartitionSpec,
-            com.google.cloud.asset.v1.PartitionSpec.Builder,
-            com.google.cloud.asset.v1.PartitionSpecOrBuilder>
+        com.google.cloud.asset.v1.PartitionSpec, com.google.cloud.asset.v1.PartitionSpec.Builder, com.google.cloud.asset.v1.PartitionSpecOrBuilder> 
         getPartitionSpecFieldBuilder() {
       if (partitionSpecBuilder_ == null) {
-        partitionSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.PartitionSpec,
-                com.google.cloud.asset.v1.PartitionSpec.Builder,
-                com.google.cloud.asset.v1.PartitionSpecOrBuilder>(
-                getPartitionSpec(), getParentForChildren(), isClean());
+        partitionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.PartitionSpec, com.google.cloud.asset.v1.PartitionSpec.Builder, com.google.cloud.asset.v1.PartitionSpecOrBuilder>(
+                getPartitionSpec(),
+                getParentForChildren(),
+                isClean());
         partitionSpec_ = null;
       }
       return partitionSpecBuilder_;
     }
 
-    private boolean separateTablesPerAssetType_;
+    private boolean separateTablesPerAssetType_ ;
     /**
-     *
-     *
      * 
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1467,7 +1358,6 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1475,8 +1365,6 @@ public boolean getSeparateTablesPerAssetType() { return separateTablesPerAssetType_; } /** - * - * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1505,19 +1393,16 @@ public boolean getSeparateTablesPerAssetType() {
      * 
* * bool separate_tables_per_asset_type = 5; - * * @param value The separateTablesPerAssetType to set. * @return This builder for chaining. */ public Builder setSeparateTablesPerAssetType(boolean value) { - + separateTablesPerAssetType_ = value; onChanged(); return this; } /** - * - * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1546,18 +1431,17 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { - + separateTablesPerAssetType_ = 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); } @@ -1567,12 +1451,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BigQueryDestination) private static final com.google.cloud.asset.v1.BigQueryDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BigQueryDestination(); } @@ -1581,16 +1465,16 @@ public static com.google.cloud.asset.v1.BigQueryDestination getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1605,4 +1489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java similarity index 90% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java index b5571d295..2b70f211f 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BigQueryDestinationOrBuilder - extends +public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -38,13 +20,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -57,14 +36,12 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -72,13 +49,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -86,14 +60,12 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -102,14 +74,11 @@ public interface BigQueryDestinationOrBuilder
    * 
* * bool force = 3; - * * @return The force. */ boolean getForce(); /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -129,13 +98,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ boolean hasPartitionSpec(); /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -155,13 +121,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; - * * @return The partitionSpec. */ com.google.cloud.asset.v1.PartitionSpec getPartitionSpec(); /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -185,8 +148,6 @@ public interface BigQueryDestinationOrBuilder
   com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -215,7 +176,6 @@ public interface BigQueryDestinationOrBuilder
    * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ boolean getSeparateTablesPerAssetType(); diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java similarity index 70% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java index 2d821fe3f..c3895147a 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * The Condition evaluation.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ConditionEvaluation} */ -public final class ConditionEvaluation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConditionEvaluation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ConditionEvaluation) ConditionEvaluationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConditionEvaluation.newBuilder() to construct. private ConditionEvaluation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConditionEvaluation() { evaluationValue_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConditionEvaluation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConditionEvaluation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ConditionEvaluation( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - evaluationValue_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + evaluationValue_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,36 @@ private ConditionEvaluation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ConditionEvaluation.class, - com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); + com.google.cloud.asset.v1.ConditionEvaluation.class, com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); } /** - * - * *
    * Value of this expression.
    * 
* * Protobuf enum {@code google.cloud.asset.v1.ConditionEvaluation.EvaluationValue} */ - public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationValue + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Reserved for future use.
      * 
@@ -134,8 +111,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_VALUE_UNSPECIFIED(0), /** - * - * *
      * The evaluation result is `true`.
      * 
@@ -144,8 +119,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ TRUE(1), /** - * - * *
      * The evaluation result is `false`.
      * 
@@ -154,8 +127,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ FALSE(2), /** - * - * *
      * The evaluation result is `conditional` when the condition expression
      * contains variables that are either missing input values or have not been
@@ -169,8 +140,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Reserved for future use.
      * 
@@ -179,8 +148,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_VALUE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The evaluation result is `true`.
      * 
@@ -189,8 +156,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRUE_VALUE = 1; /** - * - * *
      * The evaluation result is `false`.
      * 
@@ -199,8 +164,6 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FALSE_VALUE = 2; /** - * - * *
      * The evaluation result is `conditional` when the condition expression
      * contains variables that are either missing input values or have not been
@@ -211,6 +174,7 @@ public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CONDITIONAL_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -235,44 +199,40 @@ public static EvaluationValue valueOf(int value) {
      */
     public static EvaluationValue forNumber(int value) {
       switch (value) {
-        case 0:
-          return EVALUATION_VALUE_UNSPECIFIED;
-        case 1:
-          return TRUE;
-        case 2:
-          return FALSE;
-        case 3:
-          return CONDITIONAL;
-        default:
-          return null;
+        case 0: return EVALUATION_VALUE_UNSPECIFIED;
+        case 1: return TRUE;
+        case 2: return FALSE;
+        case 3: return CONDITIONAL;
+        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<
+        EvaluationValue> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EvaluationValue findValueByNumber(int number) {
+              return EvaluationValue.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public EvaluationValue findValueByNumber(int number) {
-                return EvaluationValue.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.asset.v1.ConditionEvaluation.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -281,7 +241,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static EvaluationValue 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;
@@ -301,43 +262,31 @@ private EvaluationValue(int value) {
   public static final int EVALUATION_VALUE_FIELD_NUMBER = 1;
   private int evaluationValue_;
   /**
-   *
-   *
    * 
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return The enum numeric value on the wire for evaluationValue. */ - @java.lang.Override - public int getEvaluationValueValue() { + @java.lang.Override public int getEvaluationValueValue() { return evaluationValue_; } /** - * - * *
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return The evaluationValue. */ - @java.lang.Override - public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { + @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); - return result == null - ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); + return result == null ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,11 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (evaluationValue_ - != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue - .EVALUATION_VALUE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (evaluationValue_ != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.EVALUATION_VALUE_UNSPECIFIED.getNumber()) { output.writeEnum(1, evaluationValue_); } unknownFields.writeTo(output); @@ -365,11 +312,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationValue_ - != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue - .EVALUATION_VALUE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationValue_); + if (evaluationValue_ != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.EVALUATION_VALUE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, evaluationValue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,13 +324,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.asset.v1.ConditionEvaluation)) { return super.equals(obj); } - com.google.cloud.asset.v1.ConditionEvaluation other = - (com.google.cloud.asset.v1.ConditionEvaluation) obj; + com.google.cloud.asset.v1.ConditionEvaluation other = (com.google.cloud.asset.v1.ConditionEvaluation) obj; if (evaluationValue_ != other.evaluationValue_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -406,127 +350,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ConditionEvaluation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( - byte[] data, com.google.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.asset.v1.ConditionEvaluation 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.asset.v1.ConditionEvaluation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ConditionEvaluation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ConditionEvaluation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ConditionEvaluation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ConditionEvaluation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ConditionEvaluation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ConditionEvaluation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Condition evaluation.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ConditionEvaluation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ConditionEvaluation) com.google.cloud.asset.v1.ConditionEvaluationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ConditionEvaluation.class, - com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); + com.google.cloud.asset.v1.ConditionEvaluation.class, com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); } // Construct using com.google.cloud.asset.v1.ConditionEvaluation.newBuilder() @@ -534,15 +469,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; } @java.lang.Override @@ -573,8 +509,7 @@ public com.google.cloud.asset.v1.ConditionEvaluation build() { @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation buildPartial() { - com.google.cloud.asset.v1.ConditionEvaluation result = - new com.google.cloud.asset.v1.ConditionEvaluation(this); + com.google.cloud.asset.v1.ConditionEvaluation result = new com.google.cloud.asset.v1.ConditionEvaluation(this); result.evaluationValue_ = evaluationValue_; onBuilt(); return result; @@ -584,39 +519,38 @@ public com.google.cloud.asset.v1.ConditionEvaluation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ConditionEvaluation) { - return mergeFrom((com.google.cloud.asset.v1.ConditionEvaluation) other); + return mergeFrom((com.google.cloud.asset.v1.ConditionEvaluation)other); } else { super.mergeFrom(other); return this; @@ -659,100 +593,80 @@ public Builder mergeFrom( private int evaluationValue_ = 0; /** - * - * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return The enum numeric value on the wire for evaluationValue. */ - @java.lang.Override - public int getEvaluationValueValue() { + @java.lang.Override public int getEvaluationValueValue() { return evaluationValue_; } /** - * - * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @param value The enum numeric value on the wire for evaluationValue to set. * @return This builder for chaining. */ public Builder setEvaluationValueValue(int value) { - + evaluationValue_ = value; onChanged(); return this; } /** - * - * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return The evaluationValue. */ @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); - return result == null - ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); + return result == null ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED : result; } /** - * - * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @param value The evaluationValue to set. * @return This builder for chaining. */ - public Builder setEvaluationValue( - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue value) { + public Builder setEvaluationValue(com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue value) { if (value == null) { throw new NullPointerException(); } - + evaluationValue_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return This builder for chaining. */ public Builder clearEvaluationValue() { - + evaluationValue_ = 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); } @@ -762,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ConditionEvaluation) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ConditionEvaluation) private static final com.google.cloud.asset.v1.ConditionEvaluation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ConditionEvaluation(); } @@ -776,16 +690,16 @@ public static com.google.cloud.asset.v1.ConditionEvaluation getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConditionEvaluation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConditionEvaluation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConditionEvaluation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConditionEvaluation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -800,4 +714,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ConditionEvaluation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java similarity index 55% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java index 316a06ba4..999084a21 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface ConditionEvaluationOrBuilder - extends +public interface ConditionEvaluationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ConditionEvaluation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return The enum numeric value on the wire for evaluationValue. */ int getEvaluationValueValue(); /** - * - * *
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; - * * @return The evaluationValue. */ com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue(); diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java similarity index 70% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java index 973207d89..9838b22f4 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1.ContentType} */ -public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified content type.
    * 
@@ -39,8 +21,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ CONTENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource metadata.
    * 
@@ -49,8 +29,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE(1), /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -59,8 +37,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ IAM_POLICY(2), /** - * - * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -69,8 +45,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ORG_POLICY(4), /** - * - * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -79,8 +53,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ACCESS_POLICY(5), /** - * - * *
    * The runtime OS Inventory information.
    * 
@@ -89,8 +61,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ OS_INVENTORY(6), /** - * - * *
    * The related resources.
    * 
@@ -102,8 +72,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified content type.
    * 
@@ -112,8 +80,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource metadata.
    * 
@@ -122,8 +88,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_VALUE = 1; /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -132,8 +96,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IAM_POLICY_VALUE = 2; /** - * - * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -142,8 +104,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORG_POLICY_VALUE = 4; /** - * - * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -152,8 +112,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCESS_POLICY_VALUE = 5; /** - * - * *
    * The runtime OS Inventory information.
    * 
@@ -162,8 +120,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OS_INVENTORY_VALUE = 6; /** - * - * *
    * The related resources.
    * 
@@ -172,6 +128,7 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELATIONSHIP_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -196,57 +153,53 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: - return CONTENT_TYPE_UNSPECIFIED; - case 1: - return RESOURCE; - case 2: - return IAM_POLICY; - case 4: - return ORG_POLICY; - case 5: - return ACCESS_POLICY; - case 6: - return OS_INVENTORY; - case 7: - return RELATIONSHIP; - default: - return null; + case 0: return CONTENT_TYPE_UNSPECIFIED; + case 1: return RESOURCE; + case 2: return IAM_POLICY; + case 4: return ORG_POLICY; + case 5: return ACCESS_POLICY; + case 6: return OS_INVENTORY; + case 7: return RELATIONSHIP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ContentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.asset.v1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -262,3 +215,4 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1.ContentType) } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java similarity index 75% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java index f05fab727..25f55d41b 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Create asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.CreateFeedRequest} */ -public final class CreateFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.CreateFeedRequest) CreateFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateFeedRequest.newBuilder() to construct. private CreateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateFeedRequest() { parent_ = ""; feedId_ = ""; @@ -44,15 +26,16 @@ private CreateFeedRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,41 +54,38 @@ private CreateFeedRequest( 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(); - feedId_ = s; - break; + feedId_ = s; + break; + } + case 26: { + com.google.cloud.asset.v1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); } - case 26: - { - com.google.cloud.asset.v1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); - } - feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); - } - - break; + feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = 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) { @@ -113,33 +93,29 @@ private CreateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateFeedRequest.class, - com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1.CreateFeedRequest.class, com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -149,7 +125,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -158,15 +133,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. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -176,15 +150,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,15 +170,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FEED_ID_FIELD_NUMBER = 2; private volatile java.lang.Object feedId_; /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feedId. */ @java.lang.Override @@ -212,30 +184,30 @@ public java.lang.String getFeedId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; } } /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for feedId. */ @java.lang.Override - public com.google.protobuf.ByteString getFeedIdBytes() { + public com.google.protobuf.ByteString + getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); feedId_ = b; return b; } else { @@ -246,8 +218,6 @@ public com.google.protobuf.ByteString getFeedIdBytes() { public static final int FEED_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.Feed feed_; /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -256,7 +226,6 @@ public com.google.protobuf.ByteString getFeedIdBytes() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the feed field is set. */ @java.lang.Override @@ -264,8 +233,6 @@ public boolean hasFeed() { return feed_ != null; } /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -274,7 +241,6 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ @java.lang.Override @@ -282,8 +248,6 @@ public com.google.cloud.asset.v1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_; } /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -299,7 +263,6 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -311,7 +274,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -337,7 +301,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, feedId_);
     }
     if (feed_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFeed());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getFeed());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -347,19 +312,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.asset.v1.CreateFeedRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.CreateFeedRequest other =
-        (com.google.cloud.asset.v1.CreateFeedRequest) obj;
+    com.google.cloud.asset.v1.CreateFeedRequest other = (com.google.cloud.asset.v1.CreateFeedRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getFeedId().equals(other.getFeedId())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getFeedId()
+        .equals(other.getFeedId())) return false;
     if (hasFeed() != other.hasFeed()) return false;
     if (hasFeed()) {
-      if (!getFeed().equals(other.getFeed())) return false;
+      if (!getFeed()
+          .equals(other.getFeed())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -385,127 +352,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.CreateFeedRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
-      byte[] data, com.google.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.asset.v1.CreateFeedRequest 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.asset.v1.CreateFeedRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.CreateFeedRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.CreateFeedRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.CreateFeedRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.CreateFeedRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.CreateFeedRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.CreateFeedRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Create asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.CreateFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.CreateFeedRequest) com.google.cloud.asset.v1.CreateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateFeedRequest.class, - com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1.CreateFeedRequest.class, com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.CreateFeedRequest.newBuilder() @@ -513,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(); @@ -539,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; } @java.lang.Override @@ -560,8 +519,7 @@ public com.google.cloud.asset.v1.CreateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.CreateFeedRequest buildPartial() { - com.google.cloud.asset.v1.CreateFeedRequest result = - new com.google.cloud.asset.v1.CreateFeedRequest(this); + com.google.cloud.asset.v1.CreateFeedRequest result = new com.google.cloud.asset.v1.CreateFeedRequest(this); result.parent_ = parent_; result.feedId_ = feedId_; if (feedBuilder_ == null) { @@ -577,39 +535,38 @@ public com.google.cloud.asset.v1.CreateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.CreateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.CreateFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1.CreateFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -660,8 +617,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -671,13 +626,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -686,8 +641,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -697,14 +650,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -712,8 +666,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -723,22 +675,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -748,18 +698,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -769,16 +716,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -786,21 +733,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object feedId_ = ""; /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feedId. */ public java.lang.String getFeedId() { java.lang.Object ref = feedId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; @@ -809,22 +754,21 @@ public java.lang.String getFeedId() { } } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for feedId. */ - public com.google.protobuf.ByteString getFeedIdBytes() { + public com.google.protobuf.ByteString + getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); feedId_ = b; return b; } else { @@ -832,64 +776,57 @@ public com.google.protobuf.ByteString getFeedIdBytes() { } } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The feedId to set. * @return This builder for chaining. */ - public Builder setFeedId(java.lang.String value) { + public Builder setFeedId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + feedId_ = value; onChanged(); return this; } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFeedId() { - + feedId_ = getDefaultInstance().getFeedId(); onChanged(); return this; } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for feedId to set. * @return This builder for chaining. */ - public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { + public Builder setFeedIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedId_ = value; onChanged(); return this; @@ -897,13 +834,8 @@ public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Feed, - com.google.cloud.asset.v1.Feed.Builder, - com.google.cloud.asset.v1.FeedOrBuilder> - feedBuilder_; + com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> feedBuilder_; /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -912,15 +844,12 @@ public Builder setFeedIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -929,7 +858,6 @@ public boolean hasFeed() {
      * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ public com.google.cloud.asset.v1.Feed getFeed() { @@ -940,8 +868,6 @@ public com.google.cloud.asset.v1.Feed getFeed() { } } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -965,8 +891,6 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -976,7 +900,8 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
      *
      * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
+    public Builder setFeed(
+        com.google.cloud.asset.v1.Feed.Builder builderForValue) {
       if (feedBuilder_ == null) {
         feed_ = builderForValue.build();
         onChanged();
@@ -987,8 +912,6 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -1001,7 +924,8 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
     public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       if (feedBuilder_ == null) {
         if (feed_ != null) {
-          feed_ = com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
+          feed_ =
+            com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
         } else {
           feed_ = value;
         }
@@ -1013,8 +937,6 @@ public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -1036,8 +958,6 @@ public Builder clearFeed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -1048,13 +968,11 @@ public Builder clearFeed() {
      * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
-
+      
       onChanged();
       return getFeedFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -1068,12 +986,11 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
       if (feedBuilder_ != null) {
         return feedBuilder_.getMessageOrBuilder();
       } else {
-        return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
+        return feed_ == null ?
+            com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -1084,24 +1001,21 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
      * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.Feed,
-            com.google.cloud.asset.v1.Feed.Builder,
-            com.google.cloud.asset.v1.FeedOrBuilder>
+        com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> 
         getFeedFieldBuilder() {
       if (feedBuilder_ == null) {
-        feedBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.Feed,
-                com.google.cloud.asset.v1.Feed.Builder,
-                com.google.cloud.asset.v1.FeedOrBuilder>(
-                getFeed(), getParentForChildren(), isClean());
+        feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder>(
+                getFeed(),
+                getParentForChildren(),
+                isClean());
         feed_ = null;
       }
       return feedBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1111,12 +1025,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.CreateFeedRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.CreateFeedRequest)
   private static final com.google.cloud.asset.v1.CreateFeedRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.CreateFeedRequest();
   }
@@ -1125,16 +1039,16 @@ public static com.google.cloud.asset.v1.CreateFeedRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateFeedRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new CreateFeedRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateFeedRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new CreateFeedRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1149,4 +1063,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.CreateFeedRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
similarity index 79%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
index 8b873ad91..23948980d 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface CreateFeedRequestOrBuilder
-    extends
+public interface CreateFeedRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.CreateFeedRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -35,13 +17,10 @@ public interface CreateFeedRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -51,41 +30,34 @@ public interface CreateFeedRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feedId. */ java.lang.String getFeedId(); /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for feedId. */ - com.google.protobuf.ByteString getFeedIdBytes(); + com.google.protobuf.ByteString + getFeedIdBytes(); /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -94,13 +66,10 @@ public interface CreateFeedRequestOrBuilder
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the feed field is set. */ boolean hasFeed(); /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -109,13 +78,10 @@ public interface CreateFeedRequestOrBuilder
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ com.google.cloud.asset.v1.Feed getFeed(); /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
similarity index 69%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
index 7bb028864..ccbd50c72 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * Request to create a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.CreateSavedQueryRequest} */ -public final class CreateSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSavedQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.CreateSavedQueryRequest) CreateSavedQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSavedQueryRequest.newBuilder() to construct. private CreateSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSavedQueryRequest() { parent_ = ""; savedQueryId_ = ""; @@ -44,15 +26,16 @@ private CreateSavedQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateSavedQueryRequest( 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.asset.v1.SavedQuery.Builder subBuilder = null; + if (savedQuery_ != null) { + subBuilder = savedQuery_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; - if (savedQuery_ != null) { - subBuilder = savedQuery_.toBuilder(); - } - savedQuery_ = - input.readMessage( - com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(savedQuery_); - savedQuery_ = subBuilder.buildPartial(); - } - - break; + savedQuery_ = input.readMessage(com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(savedQuery_); + savedQuery_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - savedQueryId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + savedQueryId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,33 +93,29 @@ private CreateSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateSavedQueryRequest.class, - com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.CreateSavedQueryRequest.class, com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -150,10 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * as "projects/12345").
    * 
* - * - * string parent = 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 @@ -162,15 +133,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. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -179,18 +149,17 @@ public java.lang.String getParent() {
    * as "projects/12345").
    * 
* - * - * string parent = 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 { @@ -201,17 +170,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SAVED_QUERY_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.SavedQuery savedQuery_; /** - * - * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the savedQuery field is set. */ @java.lang.Override @@ -219,36 +183,25 @@ public boolean hasSavedQuery() { return savedQuery_ != null; } /** - * - * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The savedQuery. */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } /** - * - * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { @@ -258,8 +211,6 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { public static final int SAVED_QUERY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object savedQueryId_; /** - * - * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -271,7 +222,6 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() {
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The savedQueryId. */ @java.lang.Override @@ -280,15 +230,14 @@ public java.lang.String getSavedQueryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedQueryId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -300,15 +249,16 @@ public java.lang.String getSavedQueryId() {
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for savedQueryId. */ @java.lang.Override - public com.google.protobuf.ByteString getSavedQueryIdBytes() { + public com.google.protobuf.ByteString + getSavedQueryIdBytes() { java.lang.Object ref = savedQueryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); savedQueryId_ = b; return b; } else { @@ -317,7 +267,6 @@ public com.google.protobuf.ByteString getSavedQueryIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +278,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -352,7 +302,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (savedQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSavedQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSavedQuery()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(savedQueryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, savedQueryId_); @@ -365,20 +316,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.asset.v1.CreateSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.CreateSavedQueryRequest other = - (com.google.cloud.asset.v1.CreateSavedQueryRequest) obj; + com.google.cloud.asset.v1.CreateSavedQueryRequest other = (com.google.cloud.asset.v1.CreateSavedQueryRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasSavedQuery() != other.hasSavedQuery()) return false; if (hasSavedQuery()) { - if (!getSavedQuery().equals(other.getSavedQuery())) return false; + if (!getSavedQuery() + .equals(other.getSavedQuery())) return false; } - if (!getSavedQueryId().equals(other.getSavedQueryId())) return false; + if (!getSavedQueryId() + .equals(other.getSavedQueryId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,126 +357,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( - java.nio.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.asset.v1.CreateSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.CreateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( - byte[] data, com.google.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.asset.v1.CreateSavedQueryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.CreateSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.CreateSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.CreateSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.CreateSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.CreateSavedQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.CreateSavedQueryRequest) com.google.cloud.asset.v1.CreateSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateSavedQueryRequest.class, - com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.CreateSavedQueryRequest.class, com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.CreateSavedQueryRequest.newBuilder() @@ -531,15 +475,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; } @java.lang.Override @@ -578,8 +523,7 @@ public com.google.cloud.asset.v1.CreateSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.CreateSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.CreateSavedQueryRequest result = - new com.google.cloud.asset.v1.CreateSavedQueryRequest(this); + com.google.cloud.asset.v1.CreateSavedQueryRequest result = new com.google.cloud.asset.v1.CreateSavedQueryRequest(this); result.parent_ = parent_; if (savedQueryBuilder_ == null) { result.savedQuery_ = savedQuery_; @@ -595,39 +539,38 @@ public com.google.cloud.asset.v1.CreateSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.CreateSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.CreateSavedQueryRequest) other); + return mergeFrom((com.google.cloud.asset.v1.CreateSavedQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -635,8 +578,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.CreateSavedQueryRequest other) { - if (other == com.google.cloud.asset.v1.CreateSavedQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.CreateSavedQueryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -667,8 +609,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.CreateSavedQueryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.CreateSavedQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -680,8 +621,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -690,16 +629,14 @@ public Builder mergeFrom(
      * as "projects/12345").
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -708,8 +645,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -718,17 +653,16 @@ public java.lang.String getParent() {
      * as "projects/12345").
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -736,8 +670,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -746,25 +678,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * as "projects/12345").
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -773,21 +701,16 @@ public Builder setParent(java.lang.String value) {
      * as "projects/12345").
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -796,19 +719,17 @@ public Builder clearParent() {
      * as "projects/12345").
      * 
* - * - * 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; @@ -816,61 +737,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.SavedQuery savedQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder> - savedQueryBuilder_; + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> savedQueryBuilder_; /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the savedQuery field is set. */ public boolean hasSavedQuery() { return savedQueryBuilder_ != null || savedQuery_ != null; } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The savedQuery. */ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { if (savedQueryBuilder_ == null) { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } else { return savedQueryBuilder_.getMessage(); } } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { @@ -886,18 +788,15 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { + public Builder setSavedQuery( + com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { if (savedQueryBuilder_ == null) { savedQuery_ = builderForValue.build(); onChanged(); @@ -908,24 +807,18 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builde return this; } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { if (savedQuery_ != null) { savedQuery_ = - com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_).mergeFrom(value).buildPartial(); } else { savedQuery_ = value; } @@ -937,16 +830,12 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSavedQuery() { if (savedQueryBuilder_ == null) { @@ -960,67 +849,51 @@ public Builder clearSavedQuery() { return this; } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { - + onChanged(); return getSavedQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { if (savedQueryBuilder_ != null) { return savedQueryBuilder_.getMessageOrBuilder(); } else { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } } /** - * - * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder> + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> getSavedQueryFieldBuilder() { if (savedQueryBuilder_ == null) { - savedQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder>( - getSavedQuery(), getParentForChildren(), isClean()); + savedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder>( + getSavedQuery(), + getParentForChildren(), + isClean()); savedQuery_ = null; } return savedQueryBuilder_; @@ -1028,8 +901,6 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { private java.lang.Object savedQueryId_ = ""; /** - * - * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -1041,13 +912,13 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The savedQueryId. */ public java.lang.String getSavedQueryId() { java.lang.Object ref = savedQueryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedQueryId_ = s; return s; @@ -1056,8 +927,6 @@ public java.lang.String getSavedQueryId() { } } /** - * - * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -1069,14 +938,15 @@ public java.lang.String getSavedQueryId() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for savedQueryId. */ - public com.google.protobuf.ByteString getSavedQueryIdBytes() { + public com.google.protobuf.ByteString + getSavedQueryIdBytes() { java.lang.Object ref = savedQueryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); savedQueryId_ = b; return b; } else { @@ -1084,8 +954,6 @@ public com.google.protobuf.ByteString getSavedQueryIdBytes() { } } /** - * - * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -1097,22 +965,20 @@ public com.google.protobuf.ByteString getSavedQueryIdBytes() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The savedQueryId to set. * @return This builder for chaining. */ - public Builder setSavedQueryId(java.lang.String value) { + public Builder setSavedQueryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + savedQueryId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -1124,18 +990,15 @@ public Builder setSavedQueryId(java.lang.String value) {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSavedQueryId() { - + savedQueryId_ = getDefaultInstance().getSavedQueryId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -1147,23 +1010,23 @@ public Builder clearSavedQueryId() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for savedQueryId to set. * @return This builder for chaining. */ - public Builder setSavedQueryIdBytes(com.google.protobuf.ByteString value) { + public Builder setSavedQueryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + savedQueryId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1173,12 +1036,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.CreateSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.CreateSavedQueryRequest) private static final com.google.cloud.asset.v1.CreateSavedQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.CreateSavedQueryRequest(); } @@ -1187,16 +1050,16 @@ public static com.google.cloud.asset.v1.CreateSavedQueryRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1211,4 +1074,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.CreateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java index 651097a14..4bba625d5 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface CreateSavedQueryRequestOrBuilder - extends +public interface CreateSavedQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.CreateSavedQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -34,16 +16,11 @@ public interface CreateSavedQueryRequestOrBuilder
    * as "projects/12345").
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -52,61 +29,43 @@ public interface CreateSavedQueryRequestOrBuilder
    * as "projects/12345").
    * 
* - * - * string parent = 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 saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the savedQuery field is set. */ boolean hasSavedQuery(); /** - * - * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The savedQuery. */ com.google.cloud.asset.v1.SavedQuery getSavedQuery(); /** - * - * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder(); /** - * - * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -118,13 +77,10 @@ public interface CreateSavedQueryRequestOrBuilder
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The savedQueryId. */ java.lang.String getSavedQueryId(); /** - * - * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -136,8 +92,8 @@ public interface CreateSavedQueryRequestOrBuilder
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for savedQueryId. */ - com.google.protobuf.ByteString getSavedQueryIdBytes(); + com.google.protobuf.ByteString + getSavedQueryIdBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java similarity index 66% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java index e8556cb77..952a6e51c 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -/** Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} */ -public final class DeleteFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} + */ +public final class DeleteFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.DeleteFeedRequest) DeleteFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteFeedRequest.newBuilder() to construct. private DeleteFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62,20 +49,19 @@ private DeleteFeedRequest( 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) { @@ -83,33 +69,29 @@ private DeleteFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteFeedRequest.class, - com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1.DeleteFeedRequest.class, com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -117,10 +99,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * organizations/organization_number/feeds/feed_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 @@ -129,15 +108,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. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -145,18 +123,17 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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_); } @@ -201,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.asset.v1.DeleteFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.DeleteFeedRequest other = - (com.google.cloud.asset.v1.DeleteFeedRequest) obj; + com.google.cloud.asset.v1.DeleteFeedRequest other = (com.google.cloud.asset.v1.DeleteFeedRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,119 +205,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1.DeleteFeedRequest 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.asset.v1.DeleteFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.DeleteFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.DeleteFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.DeleteFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.DeleteFeedRequest) com.google.cloud.asset.v1.DeleteFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteFeedRequest.class, - com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1.DeleteFeedRequest.class, com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.DeleteFeedRequest.newBuilder() @@ -348,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -366,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; } @java.lang.Override @@ -387,8 +360,7 @@ public com.google.cloud.asset.v1.DeleteFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.DeleteFeedRequest buildPartial() { - com.google.cloud.asset.v1.DeleteFeedRequest result = - new com.google.cloud.asset.v1.DeleteFeedRequest(this); + com.google.cloud.asset.v1.DeleteFeedRequest result = new com.google.cloud.asset.v1.DeleteFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -398,39 +370,38 @@ public com.google.cloud.asset.v1.DeleteFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.DeleteFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.DeleteFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1.DeleteFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -474,8 +445,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -483,16 +452,14 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -501,8 +468,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -510,17 +475,16 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -528,8 +492,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -537,25 +499,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -563,21 +521,16 @@ public Builder setName(java.lang.String value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -585,26 +538,24 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -614,12 +565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.DeleteFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.DeleteFeedRequest) private static final com.google.cloud.asset.v1.DeleteFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.DeleteFeedRequest(); } @@ -628,16 +579,16 @@ public static com.google.cloud.asset.v1.DeleteFeedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,4 +603,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000..cf666128a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface DeleteFeedRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.DeleteFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java similarity index 66% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java index 87acf06bf..a294340be 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Request to delete a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.DeleteSavedQueryRequest} */ -public final class DeleteSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteSavedQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.DeleteSavedQueryRequest) DeleteSavedQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteSavedQueryRequest.newBuilder() to construct. private DeleteSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteSavedQueryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteSavedQueryRequest( 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 DeleteSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, - com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -126,10 +104,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * organizations/organization_number/savedQueries/saved_query_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 @@ -138,15 +113,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. The name of the saved query to delete. It must be in the format
    * of:
@@ -155,18 +129,17 @@ public java.lang.String getName() {
    * * organizations/organization_number/savedQueries/saved_query_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 { @@ -175,7 +148,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -211,15 +184,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.asset.v1.DeleteSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.DeleteSavedQueryRequest other = - (com.google.cloud.asset.v1.DeleteSavedQueryRequest) obj; + com.google.cloud.asset.v1.DeleteSavedQueryRequest other = (com.google.cloud.asset.v1.DeleteSavedQueryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,126 +212,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( - java.nio.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.asset.v1.DeleteSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.DeleteSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( - byte[] data, com.google.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.asset.v1.DeleteSavedQueryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.DeleteSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.DeleteSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.DeleteSavedQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.DeleteSavedQueryRequest) com.google.cloud.asset.v1.DeleteSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, - com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.DeleteSavedQueryRequest.newBuilder() @@ -366,15 +330,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; } @java.lang.Override @@ -405,8 +370,7 @@ public com.google.cloud.asset.v1.DeleteSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.DeleteSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.DeleteSavedQueryRequest result = - new com.google.cloud.asset.v1.DeleteSavedQueryRequest(this); + com.google.cloud.asset.v1.DeleteSavedQueryRequest result = new com.google.cloud.asset.v1.DeleteSavedQueryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -416,39 +380,38 @@ public com.google.cloud.asset.v1.DeleteSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.DeleteSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.DeleteSavedQueryRequest) other); + return mergeFrom((com.google.cloud.asset.v1.DeleteSavedQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -456,8 +419,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.DeleteSavedQueryRequest other) { - if (other == com.google.cloud.asset.v1.DeleteSavedQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.DeleteSavedQueryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -481,8 +443,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.DeleteSavedQueryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.DeleteSavedQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -494,8 +455,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -504,16 +463,14 @@ public Builder mergeFrom(
      * * organizations/organization_number/savedQueries/saved_query_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; @@ -522,8 +479,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -532,17 +487,16 @@ public java.lang.String getName() {
      * * organizations/organization_number/savedQueries/saved_query_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 +504,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -560,25 +512,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -587,21 +535,16 @@ public Builder setName(java.lang.String value) {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -610,26 +553,24 @@ public Builder clearName() {
      * * organizations/organization_number/savedQueries/saved_query_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); } @@ -639,12 +580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.DeleteSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.DeleteSavedQueryRequest) private static final com.google.cloud.asset.v1.DeleteSavedQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.DeleteSavedQueryRequest(); } @@ -653,16 +594,16 @@ public static com.google.cloud.asset.v1.DeleteSavedQueryRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,4 +618,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java index eba137a41..80e6bbfad 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface DeleteSavedQueryRequestOrBuilder - extends +public interface DeleteSavedQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.DeleteSavedQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -34,16 +16,11 @@ public interface DeleteSavedQueryRequestOrBuilder
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -52,11 +29,9 @@ public interface DeleteSavedQueryRequestOrBuilder
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java similarity index 79% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java index 5d34a1eb0..b17dc8289 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Export asset request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ExportAssetsRequest} */ -public final class ExportAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ExportAssetsRequest) ExportAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportAssetsRequest.newBuilder() to construct. private ExportAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -46,15 +28,16 @@ private ExportAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExportAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,78 +57,69 @@ private ExportAssetsRequest( 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.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - 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; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + assetTypes_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; + contentType_ = rawValue; + break; + } + case 42: { + com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null; + if (outputConfig_ != null) { + subBuilder = outputConfig_.toBuilder(); } - case 42: - { - com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null; - if (outputConfig_ != null) { - subBuilder = outputConfig_.toBuilder(); - } - outputConfig_ = - input.readMessage( - com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputConfig_); - outputConfig_ = subBuilder.buildPartial(); - } - - break; + outputConfig_ = input.readMessage(com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputConfig_); + outputConfig_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - relationshipTypes_.add(s); - break; + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + relationshipTypes_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,7 +127,8 @@ private ExportAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -165,27 +140,22 @@ private ExportAssetsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ExportAssetsRequest.class, - com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ExportAssetsRequest.class, com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -193,10 +163,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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 @@ -205,15 +172,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. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -221,18 +187,17 @@ public java.lang.String getParent() {
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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 { @@ -243,8 +208,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -254,7 +217,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -262,8 +224,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -273,7 +233,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -281,8 +240,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -301,8 +258,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -321,15 +276,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -348,15 +301,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -375,7 +325,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -383,8 +332,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -403,66 +350,52 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.OutputConfig outputConfig_; /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -470,36 +403,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -509,8 +431,6 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList relationshipTypes_; /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -530,15 +450,13 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
    * 
* * repeated string relationship_types = 6; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_; } /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -558,15 +476,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
    * 
* * repeated string relationship_types = 6; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -586,7 +501,6 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -594,8 +508,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -615,16 +527,15 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,7 +547,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -646,8 +558,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (outputConfig_ != null) { @@ -669,7 +580,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -679,12 +591,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, contentType_); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getOutputConfig()); } { int dataSize = 0; @@ -702,26 +615,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ExportAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ExportAssetsRequest other = - (com.google.cloud.asset.v1.ExportAssetsRequest) obj; + com.google.cloud.asset.v1.ExportAssetsRequest other = (com.google.cloud.asset.v1.ExportAssetsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) 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 (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } - if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList() + .equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -758,127 +675,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( - byte[] data, com.google.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.asset.v1.ExportAssetsRequest 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.asset.v1.ExportAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ExportAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ExportAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ExportAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ExportAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ExportAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Export asset request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ExportAssetsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ExportAssetsRequest) com.google.cloud.asset.v1.ExportAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ExportAssetsRequest.class, - com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ExportAssetsRequest.class, com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ExportAssetsRequest.newBuilder() @@ -886,15 +794,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -922,9 +831,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; } @java.lang.Override @@ -943,8 +852,7 @@ public com.google.cloud.asset.v1.ExportAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ExportAssetsRequest buildPartial() { - com.google.cloud.asset.v1.ExportAssetsRequest result = - new com.google.cloud.asset.v1.ExportAssetsRequest(this); + com.google.cloud.asset.v1.ExportAssetsRequest result = new com.google.cloud.asset.v1.ExportAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -976,39 +884,38 @@ public com.google.cloud.asset.v1.ExportAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ExportAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1.ExportAssetsRequest) other); + return mergeFrom((com.google.cloud.asset.v1.ExportAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -1078,13 +985,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1092,16 +996,14 @@ public Builder mergeFrom(
      * or a folder number (such as "folders/123").
      * 
* - * - * string parent = 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; @@ -1110,8 +1012,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1119,17 +1019,16 @@ public java.lang.String getParent() {
      * or a folder number (such as "folders/123").
      * 
* - * - * string parent = 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 { @@ -1137,8 +1036,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1146,25 +1043,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * or a folder number (such as "folders/123").
      * 
* - * - * 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1172,21 +1065,16 @@ public Builder setParent(java.lang.String value) {
      * or a folder number (such as "folders/123").
      * 
* - * - * string 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1194,19 +1082,17 @@ public Builder clearParent() {
      * or a folder number (such as "folders/123").
      * 
* - * - * 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; @@ -1214,13 +1100,8 @@ public Builder setParentBytes(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_; /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1230,15 +1111,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1248,7 +1126,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1259,8 +1136,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1285,8 +1160,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1297,7 +1170,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1308,8 +1182,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1324,7 +1196,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;
         }
@@ -1336,8 +1208,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1360,8 +1230,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1373,13 +1241,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1394,12 +1260,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1411,34 +1276,27 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1457,15 +1315,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1484,15 +1340,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1511,7 +1364,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1519,8 +1371,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1539,16 +1389,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1567,23 +1415,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1602,22 +1448,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1636,19 +1480,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1667,7 +1510,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1677,8 +1519,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1697,15 +1537,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1714,69 +1554,55 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1784,25 +1610,22 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1810,61 +1633,42 @@ public Builder clearContentType() { private com.google.cloud.asset.v1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, - com.google.cloud.asset.v1.OutputConfig.Builder, - com.google.cloud.asset.v1.OutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1880,18 +1684,15 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { + public Builder setOutputConfig( + com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { if (outputConfigBuilder_ == null) { outputConfig_ = builderForValue.build(); onChanged(); @@ -1902,24 +1703,18 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder bu return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -1931,16 +1726,12 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1954,84 +1745,64 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, - com.google.cloud.asset.v1.OutputConfig.Builder, - com.google.cloud.asset.v1.OutputConfigOrBuilder> + com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, - com.google.cloud.asset.v1.OutputConfig.Builder, - com.google.cloud.asset.v1.OutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - private com.google.protobuf.LazyStringList relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2051,15 +1822,13 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 6; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2079,15 +1848,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
      * 
* * repeated string relationship_types = 6; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2107,7 +1873,6 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 6; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -2115,8 +1880,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2136,16 +1899,14 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 6; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2165,23 +1926,21 @@ public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) {
      * 
* * repeated string relationship_types = 6; - * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes(int index, java.lang.String value) { + public Builder setRelationshipTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2201,22 +1960,20 @@ public Builder setRelationshipTypes(int index, java.lang.String value) {
      * 
* * repeated string relationship_types = 6; - * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes(java.lang.String value) { + public Builder addRelationshipTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2236,19 +1993,18 @@ public Builder addRelationshipTypes(java.lang.String value) {
      * 
* * repeated string relationship_types = 6; - * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes(java.lang.Iterable values) { + public Builder addAllRelationshipTypes( + java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relationshipTypes_); onChanged(); return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2268,7 +2024,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 6; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2278,8 +2033,6 @@ public Builder clearRelationshipTypes() { return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2299,23 +2052,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 6; - * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2325,12 +2078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ExportAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ExportAssetsRequest) private static final com.google.cloud.asset.v1.ExportAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ExportAssetsRequest(); } @@ -2339,16 +2092,16 @@ public static com.google.cloud.asset.v1.ExportAssetsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2363,4 +2116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java similarity index 87% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java index 01284605a..46cabddf1 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ExportAssetsRequestOrBuilder - extends +public interface ExportAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ExportAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -33,16 +15,11 @@ public interface ExportAssetsRequestOrBuilder
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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 relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -50,17 +27,13 @@ public interface ExportAssetsRequestOrBuilder
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -70,13 +43,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -86,13 +56,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -106,8 +73,6 @@ public interface ExportAssetsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -126,13 +91,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -151,13 +114,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -176,14 +136,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -202,86 +159,64 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ com.google.cloud.asset.v1.OutputConfig getOutputConfig(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -301,13 +236,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @return A list containing the relationshipTypes. */ - java.util.List getRelationshipTypesList(); + java.util.List + getRelationshipTypesList(); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -327,13 +260,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -353,14 +283,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -380,9 +307,9 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString + getRelationshipTypesBytes(int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java index 871329111..ea9e90077 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * The export asset response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.ExportAssetsResponse}
  */
-public final class ExportAssetsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportAssetsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ExportAssetsResponse)
     ExportAssetsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportAssetsResponse.newBuilder() to construct.
   private ExportAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ExportAssetsResponse() {}
+  private ExportAssetsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportAssetsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExportAssetsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,60 +56,52 @@ private ExportAssetsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              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: {
+            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();
             }
-          case 18:
-            {
-              com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null;
-              if (outputConfig_ != null) {
-                subBuilder = outputConfig_.toBuilder();
-              }
-              outputConfig_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputConfig_);
-                outputConfig_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null;
+            if (outputConfig_ != null) {
+              subBuilder = outputConfig_.toBuilder();
+            }
+            outputConfig_ = input.readMessage(com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputConfig_);
+              outputConfig_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1.OutputResult.Builder subBuilder = null;
-              if (outputResult_ != null) {
-                subBuilder = outputResult_.toBuilder();
-              }
-              outputResult_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.OutputResult.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputResult_);
-                outputResult_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1.OutputResult.Builder subBuilder = null;
+            if (outputResult_ != null) {
+              subBuilder = outputResult_.toBuilder();
+            }
+            outputResult_ = input.readMessage(com.google.cloud.asset.v1.OutputResult.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputResult_);
+              outputResult_ = 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) {
@@ -133,39 +109,34 @@ private ExportAssetsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.ExportAssetsResponse.class,
-            com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1.ExportAssetsResponse.class, com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp readTime_;
   /**
-   *
-   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -173,14 +144,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -188,8 +156,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -204,14 +170,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.OutputConfig outputConfig_; /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; - * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -219,25 +182,18 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; - * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
@@ -252,8 +208,6 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( public static final int OUTPUT_RESULT_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.OutputResult outputResult_; /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -263,7 +217,6 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; - * * @return Whether the outputResult field is set. */ @java.lang.Override @@ -271,8 +224,6 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -282,18 +233,13 @@ public boolean hasOutputResult() {
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; - * * @return The outputResult. */ @java.lang.Override public com.google.cloud.asset.v1.OutputResult getOutputResult() { - return outputResult_ == null - ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() - : outputResult_; + return outputResult_ == null ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_; } /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -310,7 +256,6 @@ public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -322,7 +267,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (readTime_ != null) {
       output.writeMessage(1, getReadTime());
     }
@@ -342,13 +288,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReadTime());
     }
     if (outputConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOutputConfig());
     }
     if (outputResult_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputResult());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getOutputResult());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -358,25 +307,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.asset.v1.ExportAssetsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.ExportAssetsResponse other =
-        (com.google.cloud.asset.v1.ExportAssetsResponse) obj;
+    com.google.cloud.asset.v1.ExportAssetsResponse other = (com.google.cloud.asset.v1.ExportAssetsResponse) obj;
 
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (hasOutputConfig() != other.hasOutputConfig()) return false;
     if (hasOutputConfig()) {
-      if (!getOutputConfig().equals(other.getOutputConfig())) return false;
+      if (!getOutputConfig()
+          .equals(other.getOutputConfig())) return false;
     }
     if (hasOutputResult() != other.hasOutputResult()) return false;
     if (hasOutputResult()) {
-      if (!getOutputResult().equals(other.getOutputResult())) return false;
+      if (!getOutputResult()
+          .equals(other.getOutputResult())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -406,104 +357,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
-      byte[] data, com.google.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.asset.v1.ExportAssetsResponse 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.asset.v1.ExportAssetsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.ExportAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.ExportAssetsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.ExportAssetsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ExportAssetsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.ExportAssetsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The export asset response. This message is returned by the
    * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -514,23 +458,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.ExportAssetsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ExportAssetsResponse)
       com.google.cloud.asset.v1.ExportAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.ExportAssetsResponse.class,
-              com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1.ExportAssetsResponse.class, com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.ExportAssetsResponse.newBuilder()
@@ -538,15 +480,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -572,9 +515,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -593,8 +536,7 @@ public com.google.cloud.asset.v1.ExportAssetsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1.ExportAssetsResponse result =
-          new com.google.cloud.asset.v1.ExportAssetsResponse(this);
+      com.google.cloud.asset.v1.ExportAssetsResponse result = new com.google.cloud.asset.v1.ExportAssetsResponse(this);
       if (readTimeBuilder_ == null) {
         result.readTime_ = readTime_;
       } else {
@@ -618,39 +560,38 @@ public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.ExportAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.ExportAssetsResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1.ExportAssetsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,33 +640,24 @@ public Builder mergeFrom(
 
     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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -736,8 +668,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -758,15 +688,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -777,8 +706,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -789,7 +716,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; } @@ -801,8 +728,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -821,8 +746,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -830,13 +753,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -847,12 +768,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 the snapshot was taken.
      * 
@@ -860,17 +780,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -878,47 +795,34 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, - com.google.cloud.asset.v1.OutputConfig.Builder, - com.google.cloud.asset.v1.OutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; - * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; - * * @return The outputConfig. */ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -939,15 +843,14 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; */ - public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { + public Builder setOutputConfig( + com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { if (outputConfigBuilder_ == null) { outputConfig_ = builderForValue.build(); onChanged(); @@ -958,8 +861,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder bu return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -970,9 +871,7 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -984,8 +883,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1004,8 +901,6 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1013,13 +908,11 @@ public Builder clearOutputConfig() { * .google.cloud.asset.v1.OutputConfig output_config = 2; */ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1030,14 +923,11 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1045,17 +935,14 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( * .google.cloud.asset.v1.OutputConfig output_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, - com.google.cloud.asset.v1.OutputConfig.Builder, - com.google.cloud.asset.v1.OutputConfigOrBuilder> + com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, - com.google.cloud.asset.v1.OutputConfig.Builder, - com.google.cloud.asset.v1.OutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; @@ -1063,13 +950,8 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( private com.google.cloud.asset.v1.OutputResult outputResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputResult, - com.google.cloud.asset.v1.OutputResult.Builder, - com.google.cloud.asset.v1.OutputResultOrBuilder> - outputResultBuilder_; + com.google.cloud.asset.v1.OutputResult, com.google.cloud.asset.v1.OutputResult.Builder, com.google.cloud.asset.v1.OutputResultOrBuilder> outputResultBuilder_; /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1079,15 +961,12 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
      * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; - * * @return Whether the outputResult field is set. */ public boolean hasOutputResult() { return outputResultBuilder_ != null || outputResult_ != null; } /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1097,21 +976,16 @@ public boolean hasOutputResult() {
      * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; - * * @return The outputResult. */ public com.google.cloud.asset.v1.OutputResult getOutputResult() { if (outputResultBuilder_ == null) { - return outputResult_ == null - ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() - : outputResult_; + return outputResult_ == null ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_; } else { return outputResultBuilder_.getMessage(); } } /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1136,8 +1010,6 @@ public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1148,7 +1020,8 @@ public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult value) {
      *
      * .google.cloud.asset.v1.OutputResult output_result = 3;
      */
-    public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult.Builder builderForValue) {
+    public Builder setOutputResult(
+        com.google.cloud.asset.v1.OutputResult.Builder builderForValue) {
       if (outputResultBuilder_ == null) {
         outputResult_ = builderForValue.build();
         onChanged();
@@ -1159,8 +1032,6 @@ public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1175,9 +1046,7 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       if (outputResultBuilder_ == null) {
         if (outputResult_ != null) {
           outputResult_ =
-              com.google.cloud.asset.v1.OutputResult.newBuilder(outputResult_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1.OutputResult.newBuilder(outputResult_).mergeFrom(value).buildPartial();
         } else {
           outputResult_ = value;
         }
@@ -1189,8 +1058,6 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1213,8 +1080,6 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1226,13 +1091,11 @@ public Builder clearOutputResult() {
      * .google.cloud.asset.v1.OutputResult output_result = 3;
      */
     public com.google.cloud.asset.v1.OutputResult.Builder getOutputResultBuilder() {
-
+      
       onChanged();
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1247,14 +1110,11 @@ public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder(
       if (outputResultBuilder_ != null) {
         return outputResultBuilder_.getMessageOrBuilder();
       } else {
-        return outputResult_ == null
-            ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance()
-            : outputResult_;
+        return outputResult_ == null ?
+            com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_;
       }
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1266,24 +1126,21 @@ public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder(
      * .google.cloud.asset.v1.OutputResult output_result = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.OutputResult,
-            com.google.cloud.asset.v1.OutputResult.Builder,
-            com.google.cloud.asset.v1.OutputResultOrBuilder>
+        com.google.cloud.asset.v1.OutputResult, com.google.cloud.asset.v1.OutputResult.Builder, com.google.cloud.asset.v1.OutputResultOrBuilder> 
         getOutputResultFieldBuilder() {
       if (outputResultBuilder_ == null) {
-        outputResultBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.OutputResult,
-                com.google.cloud.asset.v1.OutputResult.Builder,
-                com.google.cloud.asset.v1.OutputResultOrBuilder>(
-                getOutputResult(), getParentForChildren(), isClean());
+        outputResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.OutputResult, com.google.cloud.asset.v1.OutputResult.Builder, com.google.cloud.asset.v1.OutputResultOrBuilder>(
+                getOutputResult(),
+                getParentForChildren(),
+                isClean());
         outputResult_ = null;
       }
       return outputResultBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1293,12 +1150,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ExportAssetsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ExportAssetsResponse)
   private static final com.google.cloud.asset.v1.ExportAssetsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ExportAssetsResponse();
   }
@@ -1307,16 +1164,16 @@ public static com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExportAssetsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ExportAssetsResponse(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExportAssetsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ExportAssetsResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1331,4 +1188,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
index 83e57dbaf..e3a7e5889 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface ExportAssetsResponseOrBuilder
-    extends
+public interface ExportAssetsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ExportAssetsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -59,32 +35,24 @@ public interface ExportAssetsResponseOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; - * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; - * * @return The outputConfig. */ com.google.cloud.asset.v1.OutputConfig getOutputConfig(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
@@ -94,8 +62,6 @@ public interface ExportAssetsResponseOrBuilder com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -105,13 +71,10 @@ public interface ExportAssetsResponseOrBuilder
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; - * * @return Whether the outputResult field is set. */ boolean hasOutputResult(); /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -121,13 +84,10 @@ public interface ExportAssetsResponseOrBuilder
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; - * * @return The outputResult. */ com.google.cloud.asset.v1.OutputResult getOutputResult(); /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
similarity index 81%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
index 54f095768..ae225896a 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * An asset feed used to export asset updates to a destinations.
  * An asset feed filter controls what updates are exported.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.Feed}
  */
-public final class Feed extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Feed extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.Feed)
     FeedOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Feed.newBuilder() to construct.
   private Feed(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Feed() {
     name_ = "";
     assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -51,15 +33,16 @@ private Feed() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Feed();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Feed(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,87 +62,78 @@ private Feed(
           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)) {
-                assetNames_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              assetNames_.add(s);
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              assetNames_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                assetTypes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              assetTypes_.add(s);
-              break;
+            assetNames_.add(s);
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              assetTypes_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            assetTypes_.add(s);
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              contentType_ = rawValue;
-              break;
+            contentType_ = rawValue;
+            break;
+          }
+          case 42: {
+            com.google.cloud.asset.v1.FeedOutputConfig.Builder subBuilder = null;
+            if (feedOutputConfig_ != null) {
+              subBuilder = feedOutputConfig_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.asset.v1.FeedOutputConfig.Builder subBuilder = null;
-              if (feedOutputConfig_ != null) {
-                subBuilder = feedOutputConfig_.toBuilder();
-              }
-              feedOutputConfig_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.FeedOutputConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(feedOutputConfig_);
-                feedOutputConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            feedOutputConfig_ = input.readMessage(com.google.cloud.asset.v1.FeedOutputConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(feedOutputConfig_);
+              feedOutputConfig_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.type.Expr.Builder subBuilder = null;
-              if (condition_ != null) {
-                subBuilder = condition_.toBuilder();
-              }
-              condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(condition_);
-                condition_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 50: {
+            com.google.type.Expr.Builder subBuilder = null;
+            if (condition_ != null) {
+              subBuilder = condition_.toBuilder();
             }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                relationshipTypes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000004;
-              }
-              relationshipTypes_.add(s);
-              break;
+            condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(condition_);
+              condition_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 58: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+              relationshipTypes_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000004;
             }
+            relationshipTypes_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -167,7 +141,8 @@ private Feed(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         assetNames_ = assetNames_.getUnmodifiableView();
@@ -182,17 +157,15 @@ private Feed(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_Feed_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.asset.v1.Feed.class, com.google.cloud.asset.v1.Feed.Builder.class);
   }
@@ -200,8 +173,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -212,7 +183,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -221,15 +191,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. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -240,15 +209,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -259,8 +229,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assetNames_; /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -272,15 +240,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList getAssetNamesList() { + public com.google.protobuf.ProtocolStringList + getAssetNamesList() { return assetNames_; } /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -292,15 +258,12 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
    * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -312,7 +275,6 @@ public int getAssetNamesCount() {
    * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -320,8 +282,6 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -333,19 +293,17 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString + getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -356,15 +314,13 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -375,15 +331,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -394,7 +347,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -402,8 +354,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -414,66 +364,52 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int FEED_OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.FeedOutputConfig feedOutputConfig_; /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feedOutputConfig field is set. */ @java.lang.Override @@ -481,36 +417,25 @@ public boolean hasFeedOutputConfig() { return feedOutputConfig_ != null; } /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The feedOutputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.FeedOutputConfig getFeedOutputConfig() { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { @@ -520,8 +445,6 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr public static final int CONDITION_FIELD_NUMBER = 6; private com.google.type.Expr condition_; /** - * - * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -537,7 +460,6 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
    * 
* * .google.type.Expr condition = 6; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -545,8 +467,6 @@ public boolean hasCondition() { return condition_ != null; } /** - * - * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -562,7 +482,6 @@ public boolean hasCondition() {
    * 
* * .google.type.Expr condition = 6; - * * @return The condition. */ @java.lang.Override @@ -570,8 +489,6 @@ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** - * - * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -596,8 +513,6 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
   public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7;
   private com.google.protobuf.LazyStringList relationshipTypes_;
   /**
-   *
-   *
    * 
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -618,15 +533,13 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
    * 
* * repeated string relationship_types = 7; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_; } /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -647,15 +560,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
    * 
* * repeated string relationship_types = 7; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -676,7 +586,6 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -684,8 +593,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -706,16 +613,15 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -727,7 +633,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -737,8 +644,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (feedOutputConfig_ != null) { @@ -778,15 +684,17 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, contentType_); } if (feedOutputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFeedOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFeedOutputConfig()); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCondition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCondition()); } { int dataSize = 0; @@ -804,26 +712,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.Feed)) { return super.equals(obj); } com.google.cloud.asset.v1.Feed other = (com.google.cloud.asset.v1.Feed) obj; - if (!getName().equals(other.getName())) return false; - if (!getAssetNamesList().equals(other.getAssetNamesList())) return false; - if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAssetNamesList() + .equals(other.getAssetNamesList())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasFeedOutputConfig() != other.hasFeedOutputConfig()) return false; if (hasFeedOutputConfig()) { - if (!getFeedOutputConfig().equals(other.getFeedOutputConfig())) return false; + if (!getFeedOutputConfig() + .equals(other.getFeedOutputConfig())) return false; } if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition().equals(other.getCondition())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; } - if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList() + .equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -864,103 +778,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Feed parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Feed parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.Feed parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.Feed parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.Feed parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.Feed parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.Feed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.Feed parseFrom( - byte[] data, com.google.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.asset.v1.Feed 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.asset.v1.Feed parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Feed 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.asset.v1.Feed parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Feed parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.asset.v1.Feed parseFrom( + com.google.protobuf.CodedInputStream 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.asset.v1.Feed parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.Feed prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An asset feed used to export asset updates to a destinations.
    * An asset feed filter controls what updates are exported.
@@ -971,20 +879,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.Feed}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.Feed)
       com.google.cloud.asset.v1.FeedOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_Feed_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.asset.v1.Feed.class, com.google.cloud.asset.v1.Feed.Builder.class);
     }
@@ -994,15 +901,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1032,9 +940,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_Feed_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_descriptor;
     }
 
     @java.lang.Override
@@ -1090,39 +998,38 @@ public com.google.cloud.asset.v1.Feed buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.Feed) {
-        return mergeFrom((com.google.cloud.asset.v1.Feed) other);
+        return mergeFrom((com.google.cloud.asset.v1.Feed)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1202,13 +1109,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1219,13 +1123,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1234,8 +1138,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1246,14 +1148,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1261,8 +1164,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1273,22 +1174,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1299,18 +1198,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1321,33 +1217,29 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1359,15 +1251,13 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList getAssetNamesList() { + public com.google.protobuf.ProtocolStringList + getAssetNamesList() { return assetNames_.getUnmodifiableView(); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1379,15 +1269,12 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
      * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1399,7 +1286,6 @@ public int getAssetNamesCount() {
      * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -1407,8 +1293,6 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1420,16 +1304,14 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString + getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1441,23 +1323,21 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
      * 
* * repeated string asset_names = 2; - * * @param index The index to set the value at. * @param value The assetNames to set. * @return This builder for chaining. */ - public Builder setAssetNames(int index, java.lang.String value) { + public Builder setAssetNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1469,22 +1349,20 @@ public Builder setAssetNames(int index, java.lang.String value) {
      * 
* * repeated string asset_names = 2; - * * @param value The assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNames(java.lang.String value) { + public Builder addAssetNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1496,19 +1374,18 @@ public Builder addAssetNames(java.lang.String value) {
      * 
* * repeated string asset_names = 2; - * * @param values The assetNames to add. * @return This builder for chaining. */ - public Builder addAllAssetNames(java.lang.Iterable values) { + public Builder addAllAssetNames( + java.lang.Iterable values) { ensureAssetNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetNames_); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1520,7 +1397,6 @@ public Builder addAllAssetNames(java.lang.Iterable values) {
      * 
* * repeated string asset_names = 2; - * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1530,8 +1406,6 @@ public Builder clearAssetNames() { return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1543,33 +1417,29 @@ public Builder clearAssetNames() {
      * 
* * repeated string asset_names = 2; - * * @param value The bytes of the assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1580,15 +1450,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1599,15 +1467,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1618,7 +1483,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1626,8 +1490,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1638,16 +1500,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1658,23 +1518,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1685,22 +1543,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1711,19 +1567,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1734,7 +1589,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1744,8 +1598,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1756,15 +1608,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1773,69 +1625,55 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1843,25 +1681,22 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1869,61 +1704,42 @@ public Builder clearContentType() { private com.google.cloud.asset.v1.FeedOutputConfig feedOutputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.FeedOutputConfig, - com.google.cloud.asset.v1.FeedOutputConfig.Builder, - com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> - feedOutputConfigBuilder_; + com.google.cloud.asset.v1.FeedOutputConfig, com.google.cloud.asset.v1.FeedOutputConfig.Builder, com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> feedOutputConfigBuilder_; /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feedOutputConfig field is set. */ public boolean hasFeedOutputConfig() { return feedOutputConfigBuilder_ != null || feedOutputConfig_ != null; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The feedOutputConfig. */ public com.google.cloud.asset.v1.FeedOutputConfig getFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } else { return feedOutputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { @@ -1939,16 +1755,12 @@ public Builder setFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig va return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFeedOutputConfig( com.google.cloud.asset.v1.FeedOutputConfig.Builder builderForValue) { @@ -1962,24 +1774,18 @@ public Builder setFeedOutputConfig( return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { if (feedOutputConfig_ != null) { feedOutputConfig_ = - com.google.cloud.asset.v1.FeedOutputConfig.newBuilder(feedOutputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.FeedOutputConfig.newBuilder(feedOutputConfig_).mergeFrom(value).buildPartial(); } else { feedOutputConfig_ = value; } @@ -1991,16 +1797,12 @@ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { @@ -2014,67 +1816,51 @@ public Builder clearFeedOutputConfig() { return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.FeedOutputConfig.Builder getFeedOutputConfigBuilder() { - + onChanged(); return getFeedOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { if (feedOutputConfigBuilder_ != null) { return feedOutputConfigBuilder_.getMessageOrBuilder(); } else { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? + com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.FeedOutputConfig, - com.google.cloud.asset.v1.FeedOutputConfig.Builder, - com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> + com.google.cloud.asset.v1.FeedOutputConfig, com.google.cloud.asset.v1.FeedOutputConfig.Builder, com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> getFeedOutputConfigFieldBuilder() { if (feedOutputConfigBuilder_ == null) { - feedOutputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.FeedOutputConfig, - com.google.cloud.asset.v1.FeedOutputConfig.Builder, - com.google.cloud.asset.v1.FeedOutputConfigOrBuilder>( - getFeedOutputConfig(), getParentForChildren(), isClean()); + feedOutputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.FeedOutputConfig, com.google.cloud.asset.v1.FeedOutputConfig.Builder, com.google.cloud.asset.v1.FeedOutputConfigOrBuilder>( + getFeedOutputConfig(), + getParentForChildren(), + isClean()); feedOutputConfig_ = null; } return feedOutputConfigBuilder_; @@ -2082,11 +1868,8 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr private com.google.type.Expr condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - conditionBuilder_; + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> conditionBuilder_; /** - * - * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2102,15 +1885,12 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
      * 
* * .google.type.Expr condition = 6; - * * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** - * - * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2126,7 +1906,6 @@ public boolean hasCondition() {
      * 
* * .google.type.Expr condition = 6; - * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -2137,8 +1916,6 @@ public com.google.type.Expr getCondition() { } } /** - * - * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2169,8 +1946,6 @@ public Builder setCondition(com.google.type.Expr value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2187,7 +1962,8 @@ public Builder setCondition(com.google.type.Expr value) {
      *
      * .google.type.Expr condition = 6;
      */
-    public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
+    public Builder setCondition(
+        com.google.type.Expr.Builder builderForValue) {
       if (conditionBuilder_ == null) {
         condition_ = builderForValue.build();
         onChanged();
@@ -2198,8 +1974,6 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2219,7 +1993,8 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
     public Builder mergeCondition(com.google.type.Expr value) {
       if (conditionBuilder_ == null) {
         if (condition_ != null) {
-          condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
+          condition_ =
+            com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
         } else {
           condition_ = value;
         }
@@ -2231,8 +2006,6 @@ public Builder mergeCondition(com.google.type.Expr value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2261,8 +2034,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2280,13 +2051,11 @@ public Builder clearCondition() {
      * .google.type.Expr condition = 6;
      */
     public com.google.type.Expr.Builder getConditionBuilder() {
-
+      
       onChanged();
       return getConditionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2307,12 +2076,11 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
       if (conditionBuilder_ != null) {
         return conditionBuilder_.getMessageOrBuilder();
       } else {
-        return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_;
+        return condition_ == null ?
+            com.google.type.Expr.getDefaultInstance() : condition_;
       }
     }
     /**
-     *
-     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2330,30 +2098,27 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
      * .google.type.Expr condition = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>
+        com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> 
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
-        conditionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
-                getCondition(), getParentForChildren(), isClean());
+        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
+                getCondition(),
+                getParentForChildren(),
+                isClean());
         condition_ = null;
       }
       return conditionBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList relationshipTypes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureRelationshipTypesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2374,15 +2139,13 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 7; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2403,15 +2166,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
      * 
* * repeated string relationship_types = 7; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2432,7 +2192,6 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 7; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -2440,8 +2199,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2462,16 +2219,14 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 7; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2492,23 +2247,21 @@ public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) {
      * 
* * repeated string relationship_types = 7; - * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes(int index, java.lang.String value) { + public Builder setRelationshipTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2529,22 +2282,20 @@ public Builder setRelationshipTypes(int index, java.lang.String value) {
      * 
* * repeated string relationship_types = 7; - * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes(java.lang.String value) { + public Builder addRelationshipTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2565,19 +2316,18 @@ public Builder addRelationshipTypes(java.lang.String value) {
      * 
* * repeated string relationship_types = 7; - * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes(java.lang.Iterable values) { + public Builder addAllRelationshipTypes( + java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relationshipTypes_); onChanged(); return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2598,7 +2348,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 7; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2608,8 +2357,6 @@ public Builder clearRelationshipTypes() { return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2630,23 +2377,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 7; - * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2656,12 +2403,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Feed) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Feed) private static final com.google.cloud.asset.v1.Feed DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Feed(); } @@ -2670,16 +2417,16 @@ public static com.google.cloud.asset.v1.Feed getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Feed parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Feed(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Feed(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2694,4 +2441,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java similarity index 100% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java similarity index 89% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java index 3a9a8f7e2..1086910dc 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface FeedOrBuilder - extends +public interface FeedOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Feed) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -36,13 +18,10 @@ public interface FeedOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -53,14 +32,12 @@ public interface FeedOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -72,13 +49,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - java.util.List getAssetNamesList(); + java.util.List + getAssetNamesList(); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -90,13 +65,10 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ int getAssetNamesCount(); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -108,14 +80,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ java.lang.String getAssetNames(int index); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -127,15 +96,13 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - com.google.protobuf.ByteString getAssetNamesBytes(int index); + com.google.protobuf.ByteString + getAssetNamesBytes(int index); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -146,13 +113,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -163,13 +128,10 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -180,14 +142,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -198,86 +157,64 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feedOutputConfig field is set. */ boolean hasFeedOutputConfig(); /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The feedOutputConfig. */ com.google.cloud.asset.v1.FeedOutputConfig getFeedOutputConfig(); /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder(); /** - * - * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -293,13 +230,10 @@ public interface FeedOrBuilder
    * 
* * .google.type.Expr condition = 6; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -315,13 +249,10 @@ public interface FeedOrBuilder
    * 
* * .google.type.Expr condition = 6; - * * @return The condition. */ com.google.type.Expr getCondition(); /** - * - * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -341,8 +272,6 @@ public interface FeedOrBuilder
   com.google.type.ExprOrBuilder getConditionOrBuilder();
 
   /**
-   *
-   *
    * 
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -363,13 +292,11 @@ public interface FeedOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @return A list containing the relationshipTypes. */ - java.util.List getRelationshipTypesList(); + java.util.List + getRelationshipTypesList(); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -390,13 +317,10 @@ public interface FeedOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -417,14 +341,11 @@ public interface FeedOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -445,9 +366,9 @@ public interface FeedOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString + getRelationshipTypesBytes(int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java similarity index 70% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java index b117cbc08..3d2fbe6ed 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Output configuration for asset feed destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.FeedOutputConfig} */ -public final class FeedOutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FeedOutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.FeedOutputConfig) FeedOutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FeedOutputConfig.newBuilder() to construct. private FeedOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FeedOutputConfig() {} + private FeedOutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FeedOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FeedOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,30 +52,27 @@ private FeedOutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.PubsubDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1.PubsubDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1.PubsubDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.PubsubDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1.PubsubDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.PubsubDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage(com.google.cloud.asset.v1.PubsubDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.PubsubDestination) destination_); + destination_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private FeedOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.FeedOutputConfig.class, - com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1.FeedOutputConfig.class, com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PUBSUB_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -147,34 +123,29 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return PUBSUB_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return PUBSUB_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int PUBSUB_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; - * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -182,26 +153,21 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; - * * @return The pubsubDestination. */ @java.lang.Override public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1.PubsubDestination) destination_; } return com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Pub/Sub.
    * 
@@ -211,13 +177,12 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { @java.lang.Override public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1.PubsubDestination) destination_; } return com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1.PubsubDestination) destination_); } @@ -243,9 +209,8 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.asset.v1.PubsubDestination) destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1.PubsubDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,18 +220,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.asset.v1.FeedOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1.FeedOutputConfig other = - (com.google.cloud.asset.v1.FeedOutputConfig) obj; + com.google.cloud.asset.v1.FeedOutputConfig other = (com.google.cloud.asset.v1.FeedOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getPubsubDestination().equals(other.getPubsubDestination())) return false; + if (!getPubsubDestination() + .equals(other.getPubsubDestination())) return false; break; case 0: default: @@ -295,127 +260,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( - byte[] data, com.google.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.asset.v1.FeedOutputConfig 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.asset.v1.FeedOutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.FeedOutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.FeedOutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.FeedOutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.FeedOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.FeedOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.FeedOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output configuration for asset feed destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.FeedOutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.FeedOutputConfig) com.google.cloud.asset.v1.FeedOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.FeedOutputConfig.class, - com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1.FeedOutputConfig.class, com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.FeedOutputConfig.newBuilder() @@ -423,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; } @java.lang.Override @@ -462,8 +419,7 @@ public com.google.cloud.asset.v1.FeedOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.FeedOutputConfig buildPartial() { - com.google.cloud.asset.v1.FeedOutputConfig result = - new com.google.cloud.asset.v1.FeedOutputConfig(this); + com.google.cloud.asset.v1.FeedOutputConfig result = new com.google.cloud.asset.v1.FeedOutputConfig(this); if (destinationCase_ == 1) { if (pubsubDestinationBuilder_ == null) { result.destination_ = destination_; @@ -480,39 +436,38 @@ public com.google.cloud.asset.v1.FeedOutputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.FeedOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.FeedOutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1.FeedOutputConfig)other); } else { super.mergeFrom(other); return this; @@ -522,15 +477,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.FeedOutputConfig other) { if (other == com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case PUBSUB_DESTINATION: - { - mergePubsubDestination(other.getPubsubDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case PUBSUB_DESTINATION: { + mergePubsubDestination(other.getPubsubDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -560,12 +513,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -575,20 +528,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PubsubDestination, - com.google.cloud.asset.v1.PubsubDestination.Builder, - com.google.cloud.asset.v1.PubsubDestinationOrBuilder> - pubsubDestinationBuilder_; + com.google.cloud.asset.v1.PubsubDestination, com.google.cloud.asset.v1.PubsubDestination.Builder, com.google.cloud.asset.v1.PubsubDestinationOrBuilder> pubsubDestinationBuilder_; /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; - * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -596,14 +544,11 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; - * * @return The pubsubDestination. */ @java.lang.Override @@ -621,8 +566,6 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { } } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -643,8 +586,6 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1.PubsubDestination return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -663,8 +604,6 @@ public Builder setPubsubDestination( return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -673,13 +612,10 @@ public Builder setPubsubDestination( */ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestination value) { if (pubsubDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ != com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1.PubsubDestination.newBuilder( - (com.google.cloud.asset.v1.PubsubDestination) destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1.PubsubDestination.newBuilder((com.google.cloud.asset.v1.PubsubDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -695,8 +631,6 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestinatio return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -720,8 +654,6 @@ public Builder clearPubsubDestination() { return this; } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -732,8 +664,6 @@ public com.google.cloud.asset.v1.PubsubDestination.Builder getPubsubDestinationB return getPubsubDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -752,8 +682,6 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination } } /** - * - * *
      * Destination on Pub/Sub.
      * 
@@ -761,32 +689,26 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PubsubDestination, - com.google.cloud.asset.v1.PubsubDestination.Builder, - com.google.cloud.asset.v1.PubsubDestinationOrBuilder> + com.google.cloud.asset.v1.PubsubDestination, com.google.cloud.asset.v1.PubsubDestination.Builder, com.google.cloud.asset.v1.PubsubDestinationOrBuilder> getPubsubDestinationFieldBuilder() { if (pubsubDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance(); } - pubsubDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PubsubDestination, - com.google.cloud.asset.v1.PubsubDestination.Builder, - com.google.cloud.asset.v1.PubsubDestinationOrBuilder>( + pubsubDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.PubsubDestination, com.google.cloud.asset.v1.PubsubDestination.Builder, com.google.cloud.asset.v1.PubsubDestinationOrBuilder>( (com.google.cloud.asset.v1.PubsubDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return pubsubDestinationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -796,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.FeedOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.FeedOutputConfig) private static final com.google.cloud.asset.v1.FeedOutputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.FeedOutputConfig(); } @@ -810,16 +732,16 @@ public static com.google.cloud.asset.v1.FeedOutputConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeedOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FeedOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FeedOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java similarity index 61% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java index 4d58fa3e4..ac8bae633 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface FeedOutputConfigOrBuilder - extends +public interface FeedOutputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.FeedOutputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; - * * @return Whether the pubsubDestination field is set. */ boolean hasPubsubDestination(); /** - * - * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; - * * @return The pubsubDestination. */ com.google.cloud.asset.v1.PubsubDestination getPubsubDestination(); /** - * - * *
    * Destination on Pub/Sub.
    * 
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java similarity index 100% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java similarity index 78% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java index 1dce75f52..be616ac0a 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GcsDestination} */ -public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcsDestination() {} + private GcsDestination() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,27 +52,25 @@ private GcsDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,40 +78,35 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsDestination.class, - com.google.cloud.asset.v1.GcsDestination.Builder.class); + com.google.cloud.asset.v1.GcsDestination.class, com.google.cloud.asset.v1.GcsDestination.Builder.class); } private int objectUriCase_ = 0; private java.lang.Object objectUri_; - public enum ObjectUriCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { URI(1), URI_PREFIX(2), OBJECTURI_NOT_SET(0); private final int value; - private ObjectUriCase(int value) { this.value = value; } @@ -145,30 +122,25 @@ public static ObjectUriCase valueOf(int value) { public static ObjectUriCase forNumber(int value) { switch (value) { - case 1: - return URI; - case 2: - return URI_PREFIX; - case 0: - return OBJECTURI_NOT_SET; - default: - return null; + case 1: return URI; + case 2: return URI_PREFIX; + case 0: return OBJECTURI_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ObjectUriCase getObjectUriCase() { - return ObjectUriCase.forNumber(objectUriCase_); + public ObjectUriCase + getObjectUriCase() { + return ObjectUriCase.forNumber( + objectUriCase_); } public static final int URI_FIELD_NUMBER = 1; /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -181,15 +153,12 @@ public ObjectUriCase getObjectUriCase() {
    * 
* * string uri = 1; - * * @return Whether the uri field is set. */ public boolean hasUri() { return objectUriCase_ == 1; } /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -202,7 +171,6 @@ public boolean hasUri() {
    * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { @@ -213,7 +181,8 @@ 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(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -222,8 +191,6 @@ public java.lang.String getUri() { } } /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -236,17 +203,18 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -258,8 +226,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int URI_PREFIX_FIELD_NUMBER = 2; /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -273,15 +239,12 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -295,7 +258,6 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -306,7 +268,8 @@ public java.lang.String getUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -315,8 +278,6 @@ public java.lang.String getUriPrefix() { } } /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -330,17 +291,18 @@ public java.lang.String getUriPrefix() {
    * 
* * string uri_prefix = 2; - * * @return The bytes for uriPrefix. */ - public com.google.protobuf.ByteString getUriPrefixBytes() { + public com.google.protobuf.ByteString + getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -351,7 +313,6 @@ public com.google.protobuf.ByteString getUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,7 +324,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -393,7 +355,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.GcsDestination)) { return super.equals(obj); @@ -403,10 +365,12 @@ public boolean equals(final java.lang.Object obj) { if (!getObjectUriCase().equals(other.getObjectUriCase())) return false; switch (objectUriCase_) { case 1: - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; break; case 2: - if (!getUriPrefix().equals(other.getUriPrefix())) return false; + if (!getUriPrefix() + .equals(other.getUriPrefix())) return false; break; case 0: default: @@ -439,127 +403,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GcsDestination parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GcsDestination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GcsDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.GcsDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GcsDestination parseFrom( - byte[] data, com.google.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.asset.v1.GcsDestination 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.asset.v1.GcsDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.GcsDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.GcsDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GcsDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GcsDestination) com.google.cloud.asset.v1.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsDestination.class, - com.google.cloud.asset.v1.GcsDestination.Builder.class); + com.google.cloud.asset.v1.GcsDestination.class, com.google.cloud.asset.v1.GcsDestination.Builder.class); } // Construct using com.google.cloud.asset.v1.GcsDestination.newBuilder() @@ -567,15 +522,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_descriptor; } @java.lang.Override @@ -606,8 +562,7 @@ public com.google.cloud.asset.v1.GcsDestination build() { @java.lang.Override public com.google.cloud.asset.v1.GcsDestination buildPartial() { - com.google.cloud.asset.v1.GcsDestination result = - new com.google.cloud.asset.v1.GcsDestination(this); + com.google.cloud.asset.v1.GcsDestination result = new com.google.cloud.asset.v1.GcsDestination(this); if (objectUriCase_ == 1) { result.objectUri_ = objectUri_; } @@ -623,39 +578,38 @@ public com.google.cloud.asset.v1.GcsDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1.GcsDestination) other); + return mergeFrom((com.google.cloud.asset.v1.GcsDestination)other); } else { super.mergeFrom(other); return this; @@ -665,24 +619,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.GcsDestination other) { if (other == com.google.cloud.asset.v1.GcsDestination.getDefaultInstance()) return this; switch (other.getObjectUriCase()) { - case URI: - { - objectUriCase_ = 1; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case URI_PREFIX: - { - objectUriCase_ = 2; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case OBJECTURI_NOT_SET: - { - break; - } + case URI: { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case URI_PREFIX: { + objectUriCase_ = 2; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -712,12 +663,12 @@ public Builder mergeFrom( } return this; } - private int objectUriCase_ = 0; private java.lang.Object objectUri_; - - public ObjectUriCase getObjectUriCase() { - return ObjectUriCase.forNumber(objectUriCase_); + public ObjectUriCase + getObjectUriCase() { + return ObjectUriCase.forNumber( + objectUriCase_); } public Builder clearObjectUri() { @@ -727,9 +678,8 @@ public Builder clearObjectUri() { return this; } + /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -742,7 +692,6 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; - * * @return Whether the uri field is set. */ @java.lang.Override @@ -750,8 +699,6 @@ public boolean hasUri() { return objectUriCase_ == 1; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -764,7 +711,6 @@ public boolean hasUri() {
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -774,7 +720,8 @@ public java.lang.String getUri() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -785,8 +732,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -799,18 +744,19 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -820,8 +766,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -834,22 +778,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 1; - * * @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(); - } - objectUriCase_ = 1; + throw new NullPointerException(); + } + objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -862,7 +804,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -874,8 +815,6 @@ public Builder clearUri() { return this; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -888,15 +827,15 @@ public Builder clearUri() {
      * 
* * string uri = 1; - * * @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); objectUriCase_ = 1; objectUri_ = value; onChanged(); @@ -904,8 +843,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -919,7 +856,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -927,8 +863,6 @@ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -942,7 +876,6 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ @java.lang.Override @@ -952,7 +885,8 @@ public java.lang.String getUriPrefix() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -963,8 +897,6 @@ public java.lang.String getUriPrefix() { } } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -978,18 +910,19 @@ public java.lang.String getUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @return The bytes for uriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getUriPrefixBytes() { + public com.google.protobuf.ByteString + getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -999,8 +932,6 @@ public com.google.protobuf.ByteString getUriPrefixBytes() { } } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -1014,22 +945,20 @@ public com.google.protobuf.ByteString getUriPrefixBytes() {
      * 
* * string uri_prefix = 2; - * * @param value The uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefix(java.lang.String value) { + public Builder setUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - objectUriCase_ = 2; + throw new NullPointerException(); + } + objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -1043,7 +972,6 @@ public Builder setUriPrefix(java.lang.String value) {
      * 
* * string uri_prefix = 2; - * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -1055,8 +983,6 @@ public Builder clearUriPrefix() { return this; } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -1070,23 +996,23 @@ public Builder clearUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @param value The bytes for uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefixBytes(com.google.protobuf.ByteString value) { + public Builder setUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1096,12 +1022,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GcsDestination) private static final com.google.cloud.asset.v1.GcsDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GcsDestination(); } @@ -1110,16 +1036,16 @@ public static com.google.cloud.asset.v1.GcsDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,4 +1060,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java similarity index 84% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java index 99805d341..7fef46dc7 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface GcsDestinationOrBuilder - extends +public interface GcsDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GcsDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -38,13 +20,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return Whether the uri field is set. */ boolean hasUri(); /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -57,13 +36,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -76,14 +52,12 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -97,13 +71,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ boolean hasUriPrefix(); /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -117,13 +88,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ java.lang.String getUriPrefix(); /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -137,10 +105,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri_prefix = 2; - * * @return The bytes for uriPrefix. */ - com.google.protobuf.ByteString getUriPrefixBytes(); + com.google.protobuf.ByteString + getUriPrefixBytes(); public com.google.cloud.asset.v1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java similarity index 70% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java index 0aa88585c..42618d6dd 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A Cloud Storage output result.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GcsOutputResult} */ -public final class GcsOutputResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsOutputResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GcsOutputResult) GcsOutputResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsOutputResult.newBuilder() to construct. private GcsOutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsOutputResult() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsOutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsOutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,23 +54,22 @@ private GcsOutputResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,7 +77,8 @@ private GcsOutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -104,64 +87,53 @@ private GcsOutputResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsOutputResult.class, - com.google.cloud.asset.v1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1.GcsOutputResult.class, com.google.cloud.asset.v1.GcsOutputResult.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -169,24 +141,21 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -227,15 +197,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.asset.v1.GcsOutputResult)) { return super.equals(obj); } - com.google.cloud.asset.v1.GcsOutputResult other = - (com.google.cloud.asset.v1.GcsOutputResult) obj; + com.google.cloud.asset.v1.GcsOutputResult other = (com.google.cloud.asset.v1.GcsOutputResult) obj; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,127 +226,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GcsOutputResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.GcsOutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( - byte[] data, com.google.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.asset.v1.GcsOutputResult 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.asset.v1.GcsOutputResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsOutputResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.GcsOutputResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.GcsOutputResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsOutputResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.GcsOutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.GcsOutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Storage output result.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GcsOutputResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GcsOutputResult) com.google.cloud.asset.v1.GcsOutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsOutputResult.class, - com.google.cloud.asset.v1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1.GcsOutputResult.class, com.google.cloud.asset.v1.GcsOutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1.GcsOutputResult.newBuilder() @@ -384,15 +345,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; } @java.lang.Override @@ -423,8 +385,7 @@ public com.google.cloud.asset.v1.GcsOutputResult build() { @java.lang.Override public com.google.cloud.asset.v1.GcsOutputResult buildPartial() { - com.google.cloud.asset.v1.GcsOutputResult result = - new com.google.cloud.asset.v1.GcsOutputResult(this); + com.google.cloud.asset.v1.GcsOutputResult result = new com.google.cloud.asset.v1.GcsOutputResult(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -439,39 +400,38 @@ public com.google.cloud.asset.v1.GcsOutputResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GcsOutputResult) { - return mergeFrom((com.google.cloud.asset.v1.GcsOutputResult) other); + return mergeFrom((com.google.cloud.asset.v1.GcsOutputResult)other); } else { super.mergeFrom(other); return this; @@ -518,58 +478,47 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -577,95 +526,85 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -675,31 +614,29 @@ public Builder clearUris() { return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -709,12 +646,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GcsOutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GcsOutputResult) private static final com.google.cloud.asset.v1.GcsOutputResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GcsOutputResult(); } @@ -723,16 +660,16 @@ public static com.google.cloud.asset.v1.GcsOutputResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsOutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsOutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsOutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -747,4 +684,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java similarity index 62% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java index b5ed3e0d7..bff599adb 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java @@ -1,80 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface GcsOutputResultOrBuilder - extends +public interface GcsOutputResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GcsOutputResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java index c99beadb0..5d64a43ee 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Get asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GetFeedRequest} */ -public final class GetFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GetFeedRequest) GetFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFeedRequest.newBuilder() to construct. private GetFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFeedRequest( 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 GetFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetFeedRequest.class, - com.google.cloud.asset.v1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1.GetFeedRequest.class, com.google.cloud.asset.v1.GetFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -125,10 +103,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * organizations/organization_number/feeds/feed_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. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -153,18 +127,17 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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,14 +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.asset.v1.GetFeedRequest)) { return super.equals(obj); } com.google.cloud.asset.v1.GetFeedRequest other = (com.google.cloud.asset.v1.GetFeedRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +209,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GetFeedRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.GetFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1.GetFeedRequest 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.asset.v1.GetFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.GetFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.GetFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.GetFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.GetFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GetFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GetFeedRequest) com.google.cloud.asset.v1.GetFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetFeedRequest.class, - com.google.cloud.asset.v1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1.GetFeedRequest.class, com.google.cloud.asset.v1.GetFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.GetFeedRequest.newBuilder() @@ -363,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(); @@ -381,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; } @java.lang.Override @@ -402,8 +368,7 @@ public com.google.cloud.asset.v1.GetFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.GetFeedRequest buildPartial() { - com.google.cloud.asset.v1.GetFeedRequest result = - new com.google.cloud.asset.v1.GetFeedRequest(this); + com.google.cloud.asset.v1.GetFeedRequest result = new com.google.cloud.asset.v1.GetFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,39 +378,38 @@ public com.google.cloud.asset.v1.GetFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GetFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.GetFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1.GetFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -489,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -498,16 +460,14 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -516,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -525,17 +483,16 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -552,25 +507,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -578,21 +529,16 @@ public Builder setName(java.lang.String value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -600,26 +546,24 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -629,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GetFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GetFeedRequest) private static final com.google.cloud.asset.v1.GetFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GetFeedRequest(); } @@ -643,16 +587,16 @@ public static com.google.cloud.asset.v1.GetFeedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -667,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000..fb82dab26 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface GetFeedRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java index 98ae2dbb9..9a63451d7 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Request to get a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GetSavedQueryRequest} */ -public final class GetSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSavedQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GetSavedQueryRequest) GetSavedQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSavedQueryRequest.newBuilder() to construct. private GetSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSavedQueryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetSavedQueryRequest( 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 GetSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetSavedQueryRequest.class, - com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.GetSavedQueryRequest.class, com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the saved query and it must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -125,10 +103,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * organizations/organization_number/savedQueries/saved_query_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. The name of the saved query and it must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -153,18 +127,17 @@ public java.lang.String getName() {
    * * organizations/organization_number/savedQueries/saved_query_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.asset.v1.GetSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.GetSavedQueryRequest other = - (com.google.cloud.asset.v1.GetSavedQueryRequest) obj; + com.google.cloud.asset.v1.GetSavedQueryRequest other = (com.google.cloud.asset.v1.GetSavedQueryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,127 +209,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GetSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( - byte[] data, com.google.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.asset.v1.GetSavedQueryRequest 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.asset.v1.GetSavedQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.GetSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.GetSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to get a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GetSavedQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GetSavedQueryRequest) com.google.cloud.asset.v1.GetSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetSavedQueryRequest.class, - com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.GetSavedQueryRequest.class, com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.GetSavedQueryRequest.newBuilder() @@ -364,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(); @@ -382,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; } @java.lang.Override @@ -403,8 +368,7 @@ public com.google.cloud.asset.v1.GetSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.GetSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.GetSavedQueryRequest result = - new com.google.cloud.asset.v1.GetSavedQueryRequest(this); + com.google.cloud.asset.v1.GetSavedQueryRequest result = new com.google.cloud.asset.v1.GetSavedQueryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,39 +378,38 @@ public com.google.cloud.asset.v1.GetSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GetSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.GetSavedQueryRequest) other); + return mergeFrom((com.google.cloud.asset.v1.GetSavedQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -490,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -499,16 +460,14 @@ public Builder mergeFrom(
      * * organizations/organization_number/savedQueries/saved_query_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; @@ -517,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -526,17 +483,16 @@ public java.lang.String getName() {
      * * organizations/organization_number/savedQueries/saved_query_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 { @@ -544,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -553,25 +507,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -579,21 +529,16 @@ public Builder setName(java.lang.String value) {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -601,26 +546,24 @@ public Builder clearName() {
      * * organizations/organization_number/savedQueries/saved_query_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); } @@ -630,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GetSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GetSavedQueryRequest) private static final com.google.cloud.asset.v1.GetSavedQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GetSavedQueryRequest(); } @@ -644,16 +587,16 @@ public static com.google.cloud.asset.v1.GetSavedQueryRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java new file mode 100644 index 000000000..66de7ef84 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface GetSavedQueryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetSavedQueryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the saved query and it must be in the format of:
+   * * projects/project_number/savedQueries/saved_query_id
+   * * folders/folder_number/savedQueries/saved_query_id
+   * * organizations/organization_number/savedQueries/saved_query_id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the saved query and it must be in the format of:
+   * * projects/project_number/savedQueries/saved_query_id
+   * * folders/folder_number/savedQueries/saved_query_id
+   * * organizations/organization_number/savedQueries/saved_query_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-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java index a222d55a9..c398706d6 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Output configuration for export IAM policy analysis destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig} */ -public final class IamPolicyAnalysisOutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IamPolicyAnalysisOutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) IamPolicyAnalysisOutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisOutputConfig.newBuilder() to construct. private IamPolicyAnalysisOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IamPolicyAnalysisOutputConfig() {} + private IamPolicyAnalysisOutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicyAnalysisOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicyAnalysisOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,41 @@ private IamPolicyAnalysisOutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_) - .toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_).toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder - subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = - ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_) - .toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 2; - break; + destination_ = + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationCase_ = 1; + break; + } + case 18: { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,36 +94,31 @@ private IamPolicyAnalysisOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); } - public interface GcsDestinationOrBuilder - extends + public interface GcsDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -172,13 +131,10 @@ public interface GcsDestinationOrBuilder
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -191,45 +147,43 @@ public interface GcsDestinationOrBuilder
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); } /** - * - * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GcsDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestination() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -248,20 +202,19 @@ private GcsDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -269,33 +222,29 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -308,7 +257,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -317,15 +265,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -338,15 +285,16 @@ public java.lang.String getUri() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -355,7 +303,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,7 +314,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -391,16 +339,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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination)) { + if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other = - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -420,95 +367,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -518,50 +457,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Cloud Storage location.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - .class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() + // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -571,22 +504,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination build() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = - buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -595,8 +525,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination bu @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = - new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(this); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(this); result.uri_ = uri_; onBuilt(); return result; @@ -606,54 +535,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) { - return mergeFrom( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) other); + if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) { + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other) { - if (other - == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other) { + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -677,9 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -691,8 +610,6 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -705,13 +622,13 @@ public Builder mergeFrom(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -720,8 +637,6 @@ public java.lang.String getUri() { } } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -734,14 +649,15 @@ public java.lang.String getUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -749,8 +665,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -763,22 +677,20 @@ public com.google.protobuf.ByteString getUriBytes() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -791,18 +703,15 @@ public Builder setUri(java.lang.String value) {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -815,21 +724,20 @@ public Builder clearUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -842,33 +750,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -880,20 +785,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface BigQueryDestinationOrBuilder - extends + public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -902,13 +804,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -917,14 +816,12 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -937,13 +834,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** - * - * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -956,44 +850,31 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString getTablePrefixBytes(); + com.google.protobuf.ByteString + getTablePrefixBytes(); /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return The enum numeric value on the wire for partitionKey. */ int getPartitionKeyValue(); /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return The partitionKey. */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - getPartitionKey(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey(); /** - * - * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -1009,13 +890,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The writeDisposition. */ java.lang.String getWriteDisposition(); /** - * - * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -1031,30 +909,27 @@ public interface BigQueryDestinationOrBuilder
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for writeDisposition. */ - com.google.protobuf.ByteString getWriteDispositionBytes(); + com.google.protobuf.ByteString + getWriteDispositionBytes(); } /** - * - * *
    * A BigQuery destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination} */ - public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDestination() { dataset_ = ""; tablePrefix_ = ""; @@ -1064,15 +939,16 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1091,41 +967,37 @@ private BigQueryDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tablePrefix_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + tablePrefix_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - partitionKey_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + partitionKey_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - writeDisposition_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + writeDisposition_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1133,32 +1005,27 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder - .class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder.class); } /** - * - * *
      * This enum determines the partition key column for the bigquery tables.
      * Partitioning can improve query performance and reduce query cost by
@@ -1166,13 +1033,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * https://cloud.google.com/bigquery/docs/partitioned-tables for details.
      * 
* - * Protobuf enum {@code - * google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey} + * Protobuf enum {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey} */ - public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum { + public enum PartitionKey + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -1182,8 +1047,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
        */
       PARTITION_KEY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * The time when the request is received. If specified as partition key,
        * the result table(s) is partitoned by the RequestTime column, an
@@ -1197,8 +1060,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -1208,8 +1069,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int PARTITION_KEY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * The time when the request is received. If specified as partition key,
        * the result table(s) is partitoned by the RequestTime column, an
@@ -1220,6 +1079,7 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1244,50 +1104,48 @@ public static PartitionKey valueOf(int value) {
        */
       public static PartitionKey forNumber(int value) {
         switch (value) {
-          case 0:
-            return PARTITION_KEY_UNSPECIFIED;
-          case 1:
-            return REQUEST_TIME;
-          default:
-            return null;
+          case 0: return PARTITION_KEY_UNSPECIFIED;
+          case 1: return REQUEST_TIME;
+          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<
+          PartitionKey> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public PartitionKey findValueByNumber(int number) {
+                return PartitionKey.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PartitionKey findValueByNumber(int number) {
-              return PartitionKey.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination
-            .getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final PartitionKey[] VALUES = values();
 
-      public static PartitionKey valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static PartitionKey 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;
@@ -1307,8 +1165,6 @@ private PartitionKey(int value) {
     public static final int DATASET_FIELD_NUMBER = 1;
     private volatile java.lang.Object dataset_;
     /**
-     *
-     *
      * 
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1317,7 +1173,6 @@ private PartitionKey(int value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -1326,15 +1181,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; } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1343,15 +1197,16 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1362,8 +1217,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object tablePrefix_; /** - * - * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -1376,7 +1229,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tablePrefix. */ @java.lang.Override @@ -1385,15 +1237,14 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** - * - * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -1406,15 +1257,16 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -1425,54 +1277,33 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { public static final int PARTITION_KEY_FIELD_NUMBER = 3; private int partitionKey_; /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override - public int getPartitionKeyValue() { + @java.lang.Override public int getPartitionKeyValue() { return partitionKey_; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return The partitionKey. */ - @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - getPartitionKey() { + @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - result = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.valueOf(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - .UNRECOGNIZED - : result; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.valueOf(partitionKey_); + return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; } public static final int WRITE_DISPOSITION_FIELD_NUMBER = 4; private volatile java.lang.Object writeDisposition_; /** - * - * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -1488,7 +1319,6 @@ public int getPartitionKeyValue() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The writeDisposition. */ @java.lang.Override @@ -1497,15 +1327,14 @@ public java.lang.String getWriteDisposition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeDisposition_ = s; return s; } } /** - * - * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -1521,15 +1350,16 @@ public java.lang.String getWriteDisposition() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for writeDisposition. */ @java.lang.Override - public com.google.protobuf.ByteString getWriteDispositionBytes() { + public com.google.protobuf.ByteString + getWriteDispositionBytes() { java.lang.Object ref = writeDisposition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); writeDisposition_ = b; return b; } else { @@ -1538,7 +1368,6 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1550,17 +1379,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tablePrefix_); } - if (partitionKey_ - != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.PARTITION_KEY_UNSPECIFIED - .getNumber()) { + if (partitionKey_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { output.writeEnum(3, partitionKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeDisposition_)) { @@ -1581,11 +1408,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tablePrefix_); } - if (partitionKey_ - != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.PARTITION_KEY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, partitionKey_); + if (partitionKey_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, partitionKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeDisposition_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, writeDisposition_); @@ -1598,19 +1423,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination)) { + if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other = - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) obj; - if (!getDataset().equals(other.getDataset())) return false; - if (!getTablePrefix().equals(other.getTablePrefix())) return false; + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTablePrefix() + .equals(other.getTablePrefix())) return false; if (partitionKey_ != other.partitionKey_) return false; - if (!getWriteDisposition().equals(other.getWriteDisposition())) return false; + if (!getWriteDisposition() + .equals(other.getWriteDisposition())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1635,101 +1461,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1739,50 +1552,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A BigQuery destination.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder - .class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder() + // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1798,22 +1605,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination build() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = - buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1821,10 +1625,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinati } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = - new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(this); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination buildPartial() { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(this); result.dataset_ = dataset_; result.tablePrefix_ = tablePrefix_; result.partitionKey_ = partitionKey_; @@ -1837,55 +1639,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinati public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) { - return mergeFrom( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) other); + if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) { + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other) { - if (other - == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other) { + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance()) return this; if (!other.getDataset().isEmpty()) { dataset_ = other.dataset_; onChanged(); @@ -1916,14 +1709,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parsedMessage = - null; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1935,8 +1725,6 @@ public Builder mergeFrom( private java.lang.Object dataset_ = ""; /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1945,13 +1733,13 @@ public Builder mergeFrom(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -1960,8 +1748,6 @@ public java.lang.String getDataset() { } } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1970,14 +1756,15 @@ public java.lang.String getDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -1985,8 +1772,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1995,22 +1780,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -2019,18 +1802,15 @@ public Builder setDataset(java.lang.String value) {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** - * - * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -2039,16 +1819,16 @@ public Builder clearDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -2056,8 +1836,6 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object tablePrefix_ = ""; /** - * - * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -2070,13 +1848,13 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -2085,8 +1863,6 @@ public java.lang.String getTablePrefix() { } } /** - * - * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -2099,14 +1875,15 @@ public java.lang.String getTablePrefix() {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -2114,8 +1891,6 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } } /** - * - * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -2128,22 +1903,20 @@ public com.google.protobuf.ByteString getTablePrefixBytes() {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix(java.lang.String value) { + public Builder setTablePrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** - * - * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -2156,18 +1929,15 @@ public Builder setTablePrefix(java.lang.String value) {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** - * - * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -2180,16 +1950,16 @@ public Builder clearTablePrefix() {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); return this; @@ -2197,109 +1967,73 @@ public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { private int partitionKey_ = 0; /** - * - * *
        * The partition key for BigQuery partitioned table.
        * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override - public int getPartitionKeyValue() { + @java.lang.Override public int getPartitionKeyValue() { return partitionKey_; } /** - * - * *
        * The partition key for BigQuery partitioned table.
        * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @param value The enum numeric value on the wire for partitionKey to set. * @return This builder for chaining. */ public Builder setPartitionKeyValue(int value) { - + partitionKey_ = value; onChanged(); return this; } /** - * - * *
        * The partition key for BigQuery partitioned table.
        * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return The partitionKey. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey - getPartitionKey() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - result = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.valueOf(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .PartitionKey.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.valueOf(partitionKey_); + return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; } /** - * - * *
        * The partition key for BigQuery partitioned table.
        * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @param value The partitionKey to set. * @return This builder for chaining. */ - public Builder setPartitionKey( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey - value) { + public Builder setPartitionKey(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey value) { if (value == null) { throw new NullPointerException(); } - + partitionKey_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The partition key for BigQuery partitioned table.
        * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; * @return This builder for chaining. */ public Builder clearPartitionKey() { - + partitionKey_ = 0; onChanged(); return this; @@ -2307,8 +2041,6 @@ public Builder clearPartitionKey() { private java.lang.Object writeDisposition_ = ""; /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2324,13 +2056,13 @@ public Builder clearPartitionKey() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The writeDisposition. */ public java.lang.String getWriteDisposition() { java.lang.Object ref = writeDisposition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeDisposition_ = s; return s; @@ -2339,8 +2071,6 @@ public java.lang.String getWriteDisposition() { } } /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2356,14 +2086,15 @@ public java.lang.String getWriteDisposition() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for writeDisposition. */ - public com.google.protobuf.ByteString getWriteDispositionBytes() { + public com.google.protobuf.ByteString + getWriteDispositionBytes() { java.lang.Object ref = writeDisposition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); writeDisposition_ = b; return b; } else { @@ -2371,8 +2102,6 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() { } } /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2388,22 +2117,20 @@ public com.google.protobuf.ByteString getWriteDispositionBytes() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDisposition(java.lang.String value) { + public Builder setWriteDisposition( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + writeDisposition_ = value; onChanged(); return this; } /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2419,18 +2146,15 @@ public Builder setWriteDisposition(java.lang.String value) {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearWriteDisposition() { - + writeDisposition_ = getDefaultInstance().getWriteDisposition(); onChanged(); return this; } /** - * - * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2446,21 +2170,20 @@ public Builder clearWriteDisposition() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDispositionBytes(com.google.protobuf.ByteString value) { + public Builder setWriteDispositionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + writeDisposition_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2473,33 +2196,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2511,24 +2231,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), BIGQUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -2544,37 +2261,30 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return GCS_DESTINATION; - case 2: - return BIGQUERY_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return GCS_DESTINATION; + case 2: return BIGQUERY_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -2582,58 +2292,42 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - getGcsDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder - getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 2; /** - * - * *
    * Destination on BigQuery.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -2641,52 +2335,36 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** - * - * *
    * Destination on BigQuery.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; * @return The bigqueryDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - getBigqueryDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getBigqueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } /** - * - * *
    * Destination on BigQuery.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2698,16 +2376,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 (destinationCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + output.writeMessage(1, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); } if (destinationCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_); + output.writeMessage(2, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_); } unknownFields.writeTo(output); } @@ -2719,18 +2394,12 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); } if (destinationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2740,21 +2409,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.asset.v1.IamPolicyAnalysisOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig other = - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig other = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getGcsDestination().equals(other.getGcsDestination())) return false; + if (!getGcsDestination() + .equals(other.getGcsDestination())) return false; break; case 2: - if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination() + .equals(other.getBigqueryDestination())) return false; break; case 0: default: @@ -2788,127 +2458,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output configuration for export IAM policy analysis destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.newBuilder() @@ -2916,15 +2576,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2934,9 +2595,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override @@ -2955,8 +2616,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result = - new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(this); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -2980,39 +2640,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig)other); } else { super.mergeFrom(other); return this; @@ -3020,23 +2679,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: - { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case BIGQUERY_DESTINATION: - { - mergeBigqueryDestination(other.getBigqueryDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case GCS_DESTINATION: { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case BIGQUERY_DESTINATION: { + mergeBigqueryDestination(other.getBigqueryDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3057,8 +2712,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3067,12 +2721,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -3082,22 +2736,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> - gcsDestinationBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> gcsDestinationBuilder_; /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -3105,49 +2752,35 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - getGcsDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { if (gcsDestinationBuilder_ == null) { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } else { if (destinationCase_ == 1) { return gcsDestinationBuilder_.getMessage(); } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - public Builder setGcsDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder setGcsDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3161,19 +2794,14 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ public Builder setGcsDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - builderForValue) { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder builderForValue) { if (gcsDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -3184,29 +2812,18 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - public Builder mergeGcsDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder mergeGcsDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ - != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -3222,15 +2839,11 @@ public Builder mergeGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ public Builder clearGcsDestination() { if (gcsDestinationBuilder_ == null) { @@ -3249,100 +2862,67 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - getGcsDestinationBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder getGcsDestinationBuilder() { return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder - getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if ((destinationCase_ == 1) && (gcsDestinationBuilder_ != null)) { return gcsDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { - destination_ = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder>( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_, + gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder>( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return gcsDestinationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> - bigqueryDestinationBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -3350,49 +2930,35 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; * @return The bigqueryDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - getBigqueryDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } else { if (destinationCase_ == 2) { return bigqueryDestinationBuilder_.getMessage(); } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ - public Builder setBigqueryDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { + public Builder setBigqueryDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3406,19 +2972,14 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ public Builder setBigqueryDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder - builderForValue) { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder builderForValue) { if (bigqueryDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -3429,30 +2990,18 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ - public Builder mergeBigqueryDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { - if (destinationCase_ == 2 - && destination_ - != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .newBuilder( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 2 && + destination_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -3468,15 +3017,11 @@ public Builder mergeBigqueryDestination( return this; } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ public Builder clearBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { @@ -3495,87 +3040,61 @@ public Builder clearBigqueryDestination() { return this; } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder - getBigqueryDestinationBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { return getBigqueryDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { if ((destinationCase_ == 2) && (bigqueryDestinationBuilder_ != null)) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } } /** - * - * *
      * Destination on BigQuery.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { if (!(destinationCase_ == 2)) { - destination_ = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - .getDefaultInstance(); + destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); } - bigqueryDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig - .BigQueryDestinationOrBuilder>( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - destination_, + bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder>( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 2; - onChanged(); - ; + onChanged();; return bigqueryDestinationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3585,12 +3104,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(); } @@ -3599,16 +3118,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3623,4 +3142,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java similarity index 50% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java index 0e02268b9..044214c54 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java @@ -1,110 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisOutputConfigOrBuilder - extends +public interface IamPolicyAnalysisOutputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return The gcsDestination. */ com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder - getGcsDestinationOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); /** - * - * *
    * Destination on BigQuery.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** - * - * *
    * Destination on BigQuery.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; * @return The bigqueryDestination. */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination - getBigqueryDestination(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getBigqueryDestination(); /** - * - * *
    * Destination on BigQuery.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; - * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.DestinationCase - getDestinationCase(); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.DestinationCase getDestinationCase(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java index 4e7987d6f..ae9b40063 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * IAM policy analysis query message.
  * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery} */ -public final class IamPolicyAnalysisQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IamPolicyAnalysisQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery) IamPolicyAnalysisQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisQuery.newBuilder() to construct. private IamPolicyAnalysisQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicyAnalysisQuery() { scope_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicyAnalysisQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicyAnalysisQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,109 +53,84 @@ private IamPolicyAnalysisQuery( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; + scope_ = s; + break; + } + case 18: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder subBuilder = null; + if (resourceSelector_ != null) { + subBuilder = resourceSelector_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder subBuilder = - null; - if (resourceSelector_ != null) { - subBuilder = resourceSelector_.toBuilder(); - } - resourceSelector_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceSelector_); - resourceSelector_ = subBuilder.buildPartial(); - } - - break; + resourceSelector_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceSelector_); + resourceSelector_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder subBuilder = - null; - if (identitySelector_ != null) { - subBuilder = identitySelector_.toBuilder(); - } - identitySelector_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(identitySelector_); - identitySelector_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder subBuilder = null; + if (identitySelector_ != null) { + subBuilder = identitySelector_.toBuilder(); + } + identitySelector_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identitySelector_); + identitySelector_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder subBuilder = - null; - if (accessSelector_ != null) { - subBuilder = accessSelector_.toBuilder(); - } - accessSelector_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(accessSelector_); - accessSelector_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder subBuilder = null; + if (accessSelector_ != null) { + subBuilder = accessSelector_.toBuilder(); + } + accessSelector_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(accessSelector_); + accessSelector_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder subBuilder = - null; - if (conditionContext_ != null) { - subBuilder = conditionContext_.toBuilder(); - } - conditionContext_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conditionContext_); - conditionContext_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder subBuilder = null; + if (conditionContext_ != null) { + subBuilder = conditionContext_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + conditionContext_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conditionContext_); + conditionContext_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -180,36 +138,31 @@ private IamPolicyAnalysisQuery( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); } - public interface ResourceSelectorOrBuilder - extends + public interface ResourceSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -218,13 +171,10 @@ public interface ResourceSelectorOrBuilder
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** - * - * *
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -233,14 +183,12 @@ public interface ResourceSelectorOrBuilder
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); } /** - * - * *
    * Specifies the resource to analyze for access policies, which may be set
    * directly on the resource, or on ancestors such as organizations, folders or
@@ -249,31 +197,31 @@ public interface ResourceSelectorOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector}
    */
-  public static final class ResourceSelector extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ResourceSelector extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)
       ResourceSelectorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ResourceSelector.newBuilder() to construct.
     private ResourceSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ResourceSelector() {
       fullResourceName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ResourceSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ResourceSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -292,20 +240,19 @@ private ResourceSelector(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                fullResourceName_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              fullResourceName_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -313,33 +260,29 @@ private ResourceSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class,
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
     }
 
     public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object fullResourceName_;
     /**
-     *
-     *
      * 
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -348,7 +291,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fullResourceName. */ @java.lang.Override @@ -357,15 +299,14 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** - * - * *
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -374,15 +315,16 @@ public java.lang.String getFullResourceName() {
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -391,7 +333,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -403,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -427,15 +369,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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) obj; - if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -455,95 +397,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector - parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -553,8 +487,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the resource to analyze for access policies, which may be set
      * directly on the resource, or on ancestors such as organizations, folders or
@@ -563,41 +495,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)
         com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class,
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -607,16 +536,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -630,8 +557,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector build()
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result =
-            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(this);
         result.fullResourceName_ = fullResourceName_;
         onBuilt();
         return result;
@@ -641,53 +567,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) other);
+          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other) {
-        if (other
-            == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other) {
+        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance()) return this;
         if (!other.getFullResourceName().isEmpty()) {
           fullResourceName_ = other.fullResourceName_;
           onChanged();
@@ -711,9 +630,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -725,8 +642,6 @@ public Builder mergeFrom(
 
       private java.lang.Object fullResourceName_ = "";
       /**
-       *
-       *
        * 
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -735,13 +650,13 @@ public Builder mergeFrom(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -750,8 +665,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -760,14 +673,15 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -775,8 +689,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -785,22 +697,20 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName(java.lang.String value) { + public Builder setFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -809,18 +719,15 @@ public Builder setFullResourceName(java.lang.String value) {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** - * - * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -829,21 +736,20 @@ public Builder clearFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -856,32 +762,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector - getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,20 +797,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IdentitySelectorOrBuilder - extends + public interface IdentitySelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -921,13 +822,10 @@ public interface IdentitySelectorOrBuilder
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ java.lang.String getIdentity(); /** - * - * *
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -942,14 +840,12 @@ public interface IdentitySelectorOrBuilder
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for identity. */ - com.google.protobuf.ByteString getIdentityBytes(); + com.google.protobuf.ByteString + getIdentityBytes(); } /** - * - * *
    * Specifies an identity for which to determine resource access, based on
    * roles assigned either directly to them or to the groups they belong to,
@@ -958,31 +854,31 @@ public interface IdentitySelectorOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector}
    */
-  public static final class IdentitySelector extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IdentitySelector extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)
       IdentitySelectorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IdentitySelector.newBuilder() to construct.
     private IdentitySelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IdentitySelector() {
       identity_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IdentitySelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private IdentitySelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1001,20 +897,19 @@ private IdentitySelector(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                identity_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              identity_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1022,33 +917,29 @@ private IdentitySelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class,
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
     }
 
     public static final int IDENTITY_FIELD_NUMBER = 1;
     private volatile java.lang.Object identity_;
     /**
-     *
-     *
      * 
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -1063,7 +954,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ @java.lang.Override @@ -1072,15 +962,14 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** - * - * *
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -1095,15 +984,16 @@ public java.lang.String getIdentity() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString getIdentityBytes() { + public com.google.protobuf.ByteString + getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identity_ = b; return b; } else { @@ -1112,7 +1002,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1124,7 +1013,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identity_); } @@ -1148,15 +1038,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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) obj; - if (!getIdentity().equals(other.getIdentity())) return false; + if (!getIdentity() + .equals(other.getIdentity())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1176,95 +1066,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector - parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1274,8 +1156,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies an identity for which to determine resource access, based on
      * roles assigned either directly to them or to the groups they belong to,
@@ -1284,41 +1164,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)
         com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class,
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1328,16 +1205,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1351,8 +1226,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector build()
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result =
-            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(this);
         result.identity_ = identity_;
         onBuilt();
         return result;
@@ -1362,53 +1236,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) other);
+          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other) {
-        if (other
-            == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other) {
+        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance()) return this;
         if (!other.getIdentity().isEmpty()) {
           identity_ = other.identity_;
           onChanged();
@@ -1432,9 +1299,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1446,8 +1311,6 @@ public Builder mergeFrom(
 
       private java.lang.Object identity_ = "";
       /**
-       *
-       *
        * 
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1462,13 +1325,13 @@ public Builder mergeFrom(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -1477,8 +1340,6 @@ public java.lang.String getIdentity() { } } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1493,14 +1354,15 @@ public java.lang.String getIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for identity. */ - public com.google.protobuf.ByteString getIdentityBytes() { + public com.google.protobuf.ByteString + getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identity_ = b; return b; } else { @@ -1508,8 +1370,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1524,22 +1384,20 @@ public com.google.protobuf.ByteString getIdentityBytes() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity(java.lang.String value) { + public Builder setIdentity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identity_ = value; onChanged(); return this; } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1554,18 +1412,15 @@ public Builder setIdentity(java.lang.String value) {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIdentity() { - + identity_ = getDefaultInstance().getIdentity(); onChanged(); return this; } /** - * - * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1580,21 +1435,20 @@ public Builder clearIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes(com.google.protobuf.ByteString value) { + public Builder setIdentityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identity_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1607,32 +1461,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector - getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentitySelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentitySelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentitySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentitySelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1644,122 +1496,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessSelectorOrBuilder - extends + public interface AccessSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the roles. */ - java.util.List getRolesList(); + java.util.List + getRolesList(); /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of roles. */ int getRolesCount(); /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The roles at the given index. */ java.lang.String getRoles(int index); /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - com.google.protobuf.ByteString getRolesBytes(int index); + com.google.protobuf.ByteString + getRolesBytes(int index); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the permissions. */ - java.util.List getPermissionsList(); + java.util.List + getPermissionsList(); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of permissions. */ int getPermissionsCount(); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString getPermissionsBytes(int index); + com.google.protobuf.ByteString + getPermissionsBytes(int index); } /** - * - * *
    * Specifies roles and/or permissions to analyze, to determine both the
    * identities possessing them and the resources they control. If multiple
@@ -1770,16 +1599,15 @@ public interface AccessSelectorOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector}
    */
-  public static final class AccessSelector extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AccessSelector extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)
       AccessSelectorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AccessSelector.newBuilder() to construct.
     private AccessSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AccessSelector() {
       roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1787,15 +1615,16 @@ private AccessSelector() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AccessSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AccessSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1815,33 +1644,31 @@ private AccessSelector(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  roles_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                roles_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                roles_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  permissions_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                permissions_.add(s);
-                break;
+              roles_.add(s);
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                permissions_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              permissions_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1849,7 +1676,8 @@ private AccessSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           roles_ = roles_.getUnmodifiableView();
@@ -1861,61 +1689,50 @@ private AccessSelector(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class,
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
     }
 
     public static final int ROLES_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList roles_;
     /**
-     *
-     *
      * 
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList getRolesList() { + public com.google.protobuf.ProtocolStringList + getRolesList() { return roles_; } /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -1923,60 +1740,50 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString getRolesBytes(int index) { + public com.google.protobuf.ByteString + getRolesBytes(int index) { return roles_.getByteString(index); } public static final int PERMISSIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList permissions_; /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_; } /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -1984,23 +1791,20 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2012,7 +1816,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < roles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roles_.getRaw(i)); } @@ -2052,16 +1857,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.asset.v1.IamPolicyAnalysisQuery.AccessSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) obj; - if (!getRolesList().equals(other.getRolesList())) return false; - if (!getPermissionsList().equals(other.getPermissionsList())) return false; + if (!getRolesList() + .equals(other.getRolesList())) return false; + if (!getPermissionsList() + .equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2087,95 +1893,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector - parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2185,8 +1983,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies roles and/or permissions to analyze, to determine both the
      * identities possessing them and the resources they control. If multiple
@@ -2197,41 +1993,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)
         com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class,
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2243,14 +2036,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector
-          getDefaultInstanceForType() {
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() {
         return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance();
       }
 
@@ -2265,8 +2057,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector build() {
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result =
-            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           roles_ = roles_.getUnmodifiableView();
@@ -2286,52 +2077,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector 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) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) {
-          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) other);
+          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other) {
-        if (other
-            == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other) {
+        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance()) return this;
         if (!other.roles_.isEmpty()) {
           if (roles_.isEmpty()) {
             roles_ = other.roles_;
@@ -2371,9 +2156,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2382,55 +2165,44 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList roles_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureRolesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           roles_ = new com.google.protobuf.LazyStringArrayList(roles_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList getRolesList() { + public com.google.protobuf.ProtocolStringList + getRolesList() { return roles_.getUnmodifiableView(); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -2438,90 +2210,80 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString getRolesBytes(int index) { + public com.google.protobuf.ByteString + getRolesBytes(int index) { return roles_.getByteString(index); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The roles to set. * @return This builder for chaining. */ - public Builder setRoles(int index, java.lang.String value) { + public Builder setRoles( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.set(index, value); onChanged(); return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The roles to add. * @return This builder for chaining. */ - public Builder addRoles(java.lang.String value) { + public Builder addRoles( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The roles to add. * @return This builder for chaining. */ - public Builder addAllRoles(java.lang.Iterable values) { + public Builder addAllRoles( + java.lang.Iterable values) { ensureRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, roles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, roles_); onChanged(); return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRoles() { @@ -2531,74 +2293,62 @@ public Builder clearRoles() { return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the roles to add. * @return This builder for chaining. */ - public Builder addRolesBytes(com.google.protobuf.ByteString value) { + public Builder addRolesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_.getUnmodifiableView(); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -2606,90 +2356,80 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(int index, java.lang.String value) { + public Builder setPermissions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions(java.lang.String value) { + public Builder addPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions(java.lang.Iterable values) { + public Builder addAllPermissions( + java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); onChanged(); return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -2699,28 +2439,25 @@ public Builder clearPermissions() { return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2733,32 +2470,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector - getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AccessSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AccessSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2770,20 +2505,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OptionsOrBuilder - extends + public interface OptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -2797,14 +2529,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ boolean getExpandGroups(); /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -2816,14 +2545,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ boolean getExpandRoles(); /** - * - * *
      * Optional. If true and
      * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -2850,28 +2576,22 @@ public interface OptionsOrBuilder
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ boolean getExpandResources(); /** - * - * *
      * Optional. If true, the result will output the relevant parent/child
      * relationships between resources. Default is false.
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ boolean getOutputResourceEdges(); /** - * - * *
      * Optional. If true, the result will output the relevant membership
      * relationships between groups and other groups, and between groups and
@@ -2879,14 +2599,11 @@ public interface OptionsOrBuilder
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ boolean getOutputGroupEdges(); /** - * - * *
      * Optional. If true, the response will include access analysis from
      * identities to resources via service account impersonation. This is a very
@@ -2918,46 +2635,42 @@ public interface OptionsOrBuilder
      * Default is false.
      * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ boolean getAnalyzeServiceAccountImpersonation(); } /** - * - * *
    * Contains query options.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.Options} */ - public static final class Options extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Options extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Options() {} + private Options() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Options( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2976,43 +2689,43 @@ private Options( case 0: done = true; break; - case 8: - { - expandGroups_ = input.readBool(); - break; - } - case 16: - { - expandRoles_ = input.readBool(); - break; - } - case 24: - { - expandResources_ = input.readBool(); - break; - } - case 32: - { - outputResourceEdges_ = input.readBool(); - break; - } - case 40: - { - outputGroupEdges_ = input.readBool(); - break; - } - case 48: - { - analyzeServiceAccountImpersonation_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + expandGroups_ = input.readBool(); + break; + } + case 16: { + + expandRoles_ = input.readBool(); + break; + } + case 24: { + + expandResources_ = input.readBool(); + break; + } + case 32: { + + outputResourceEdges_ = input.readBool(); + break; + } + case 40: { + + outputGroupEdges_ = input.readBool(); + break; + } + case 48: { + + analyzeServiceAccountImpersonation_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3020,33 +2733,29 @@ private Options( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); } public static final int EXPAND_GROUPS_FIELD_NUMBER = 1; private boolean expandGroups_; /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -3060,7 +2769,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -3071,8 +2779,6 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_; /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -3084,7 +2790,6 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -3095,8 +2800,6 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_; /** - * - * *
      * Optional. If true and
      * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3123,7 +2826,6 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -3134,15 +2836,12 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_; /** - * - * *
      * Optional. If true, the result will output the relevant parent/child
      * relationships between resources. Default is false.
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ @java.lang.Override @@ -3153,8 +2852,6 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_; /** - * - * *
      * Optional. If true, the result will output the relevant membership
      * relationships between groups and other groups, and between groups and
@@ -3162,7 +2859,6 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -3173,8 +2869,6 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_; /** - * - * *
      * Optional. If true, the response will include access analysis from
      * identities to resources via service account impersonation. This is a very
@@ -3206,10 +2900,7 @@ public boolean getOutputGroupEdges() {
      * Default is false.
      * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -3218,7 +2909,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3230,7 +2920,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (expandGroups_ != false) { output.writeBool(1, expandGroups_); } @@ -3259,24 +2950,28 @@ public int getSerializedSize() { size = 0; if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandGroups_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, expandGroups_); } if (expandRoles_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, expandRoles_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, expandRoles_); } if (expandResources_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, expandResources_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, expandResources_); } if (outputResourceEdges_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outputResourceEdges_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, outputResourceEdges_); } if (outputGroupEdges_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outputGroupEdges_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, outputGroupEdges_); } if (analyzeServiceAccountImpersonation_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 6, analyzeServiceAccountImpersonation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, analyzeServiceAccountImpersonation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3286,21 +2981,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.asset.v1.IamPolicyAnalysisQuery.Options)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options other = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) obj; - - if (getExpandGroups() != other.getExpandGroups()) return false; - if (getExpandRoles() != other.getExpandRoles()) return false; - if (getExpandResources() != other.getExpandResources()) return false; - if (getOutputResourceEdges() != other.getOutputResourceEdges()) return false; - if (getOutputGroupEdges() != other.getOutputGroupEdges()) return false; - if (getAnalyzeServiceAccountImpersonation() != other.getAnalyzeServiceAccountImpersonation()) - return false; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) obj; + + if (getExpandGroups() + != other.getExpandGroups()) return false; + if (getExpandRoles() + != other.getExpandRoles()) return false; + if (getExpandResources() + != other.getExpandResources()) return false; + if (getOutputResourceEdges() + != other.getOutputResourceEdges()) return false; + if (getOutputGroupEdges() + != other.getOutputGroupEdges()) return false; + if (getAnalyzeServiceAccountImpersonation() + != other.getAnalyzeServiceAccountImpersonation()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3313,113 +3012,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandGroups()); hash = (37 * hash) + EXPAND_ROLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandRoles()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandRoles()); hash = (37 * hash) + EXPAND_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandResources()); hash = (37 * hash) + OUTPUT_RESOURCE_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputResourceEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOutputResourceEdges()); hash = (37 * hash) + OUTPUT_GROUP_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputGroupEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOutputGroupEdges()); hash = (37 * hash) + ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getAnalyzeServiceAccountImpersonation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAnalyzeServiceAccountImpersonation()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.Options parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3429,32 +3125,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Contains query options.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.Options} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.newBuilder() @@ -3462,15 +3153,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3490,9 +3182,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; } @java.lang.Override @@ -3511,8 +3203,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options result = - new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(this); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(this); result.expandGroups_ = expandGroups_; result.expandRoles_ = expandRoles_; result.expandResources_ = expandResources_; @@ -3527,41 +3218,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisQuery.Options) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options)other); } else { super.mergeFrom(other); return this; @@ -3569,8 +3257,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) return this; if (other.getExpandGroups() != false) { setExpandGroups(other.getExpandGroups()); } @@ -3608,8 +3295,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3619,10 +3305,8 @@ public Builder mergeFrom( return this; } - private boolean expandGroups_; + private boolean expandGroups_ ; /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3636,7 +3320,6 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -3644,8 +3327,6 @@ public boolean getExpandGroups() { return expandGroups_; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3659,19 +3340,16 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandGroups to set. * @return This builder for chaining. */ public Builder setExpandGroups(boolean value) { - + expandGroups_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3685,20 +3363,17 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandGroups() { - + expandGroups_ = false; onChanged(); return this; } - private boolean expandRoles_; + private boolean expandRoles_ ; /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3710,7 +3385,6 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -3718,8 +3392,6 @@ public boolean getExpandRoles() { return expandRoles_; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3731,19 +3403,16 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandRoles to set. * @return This builder for chaining. */ public Builder setExpandRoles(boolean value) { - + expandRoles_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3755,20 +3424,17 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandRoles() { - + expandRoles_ = false; onChanged(); return this; } - private boolean expandResources_; + private boolean expandResources_ ; /** - * - * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3795,7 +3461,6 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -3803,8 +3468,6 @@ public boolean getExpandResources() { return expandResources_; } /** - * - * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3831,19 +3494,16 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandResources to set. * @return This builder for chaining. */ public Builder setExpandResources(boolean value) { - + expandResources_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3870,27 +3530,23 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandResources() { - + expandResources_ = false; onChanged(); return this; } - private boolean outputResourceEdges_; + private boolean outputResourceEdges_ ; /** - * - * *
        * Optional. If true, the result will output the relevant parent/child
        * relationships between resources. Default is false.
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ @java.lang.Override @@ -3898,47 +3554,39 @@ public boolean getOutputResourceEdges() { return outputResourceEdges_; } /** - * - * *
        * Optional. If true, the result will output the relevant parent/child
        * relationships between resources. Default is false.
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The outputResourceEdges to set. * @return This builder for chaining. */ public Builder setOutputResourceEdges(boolean value) { - + outputResourceEdges_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output the relevant parent/child
        * relationships between resources. Default is false.
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputResourceEdges() { - + outputResourceEdges_ = false; onChanged(); return this; } - private boolean outputGroupEdges_; + private boolean outputGroupEdges_ ; /** - * - * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3946,7 +3594,6 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -3954,8 +3601,6 @@ public boolean getOutputGroupEdges() { return outputGroupEdges_; } /** - * - * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3963,19 +3608,16 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ public Builder setOutputGroupEdges(boolean value) { - + outputGroupEdges_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3983,20 +3625,17 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { - + outputGroupEdges_ = false; onChanged(); return this; } - private boolean analyzeServiceAccountImpersonation_; + private boolean analyzeServiceAccountImpersonation_ ; /** - * - * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -4028,10 +3667,7 @@ public Builder clearOutputGroupEdges() {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -4039,8 +3675,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { return analyzeServiceAccountImpersonation_; } /** - * - * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -4072,22 +3706,17 @@ public boolean getAnalyzeServiceAccountImpersonation() {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The analyzeServiceAccountImpersonation to set. * @return This builder for chaining. */ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { - + analyzeServiceAccountImpersonation_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -4119,19 +3748,15 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearAnalyzeServiceAccountImpersonation() { - + analyzeServiceAccountImpersonation_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4144,12 +3769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(); } @@ -4158,16 +3783,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Options(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Options(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4182,16 +3807,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConditionContextOrBuilder - extends + public interface ConditionContextOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4199,13 +3822,10 @@ public interface ConditionContextOrBuilder
      * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return Whether the accessTime field is set. */ boolean hasAccessTime(); /** - * - * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4213,13 +3833,10 @@ public interface ConditionContextOrBuilder
      * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return The accessTime. */ com.google.protobuf.Timestamp getAccessTime(); /** - * - * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4230,41 +3847,39 @@ public interface ConditionContextOrBuilder
      */
     com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder();
 
-    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.TimeContextCase
-        getTimeContextCase();
+    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.TimeContextCase getTimeContextCase();
   }
   /**
-   *
-   *
    * 
    * The IAM conditions context.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext} */ - public static final class ConditionContext extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConditionContext extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) ConditionContextOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConditionContext.newBuilder() to construct. private ConditionContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConditionContext() {} + private ConditionContext() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConditionContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConditionContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4283,28 +3898,27 @@ private ConditionContext( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (timeContextCase_ == 1) { - subBuilder = ((com.google.protobuf.Timestamp) timeContext_).toBuilder(); - } - timeContext_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) timeContext_); - timeContext_ = subBuilder.buildPartial(); - } - timeContextCase_ = 1; - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (timeContextCase_ == 1) { + subBuilder = ((com.google.protobuf.Timestamp) timeContext_).toBuilder(); + } + timeContext_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) timeContext_); + timeContext_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + timeContextCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4312,39 +3926,34 @@ private ConditionContext( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); } private int timeContextCase_ = 0; private java.lang.Object timeContext_; - public enum TimeContextCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ACCESS_TIME(1), TIMECONTEXT_NOT_SET(0); private final int value; - private TimeContextCase(int value) { this.value = value; } @@ -4360,28 +3969,24 @@ public static TimeContextCase valueOf(int value) { public static TimeContextCase forNumber(int value) { switch (value) { - case 1: - return ACCESS_TIME; - case 0: - return TIMECONTEXT_NOT_SET; - default: - return null; + case 1: return ACCESS_TIME; + case 0: return TIMECONTEXT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TimeContextCase getTimeContextCase() { - return TimeContextCase.forNumber(timeContextCase_); + public TimeContextCase + getTimeContextCase() { + return TimeContextCase.forNumber( + timeContextCase_); } public static final int ACCESS_TIME_FIELD_NUMBER = 1; /** - * - * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4389,7 +3994,6 @@ public TimeContextCase getTimeContextCase() {
      * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4397,8 +4001,6 @@ public boolean hasAccessTime() { return timeContextCase_ == 1; } /** - * - * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4406,19 +4008,16 @@ public boolean hasAccessTime() {
      * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return The accessTime. */ @java.lang.Override public com.google.protobuf.Timestamp getAccessTime() { if (timeContextCase_ == 1) { - return (com.google.protobuf.Timestamp) timeContext_; + return (com.google.protobuf.Timestamp) timeContext_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4430,13 +4029,12 @@ public com.google.protobuf.Timestamp getAccessTime() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder() {
       if (timeContextCase_ == 1) {
-        return (com.google.protobuf.Timestamp) timeContext_;
+         return (com.google.protobuf.Timestamp) timeContext_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4448,7 +4046,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (timeContextCase_ == 1) {
         output.writeMessage(1, (com.google.protobuf.Timestamp) timeContext_);
       }
@@ -4462,9 +4061,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (timeContextCase_ == 1) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                1, (com.google.protobuf.Timestamp) timeContext_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, (com.google.protobuf.Timestamp) timeContext_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -4474,18 +4072,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.asset.v1.IamPolicyAnalysisQuery.ConditionContext)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other =
-          (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) obj;
+      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) obj;
 
       if (!getTimeContextCase().equals(other.getTimeContextCase())) return false;
       switch (timeContextCase_) {
         case 1:
-          if (!getAccessTime().equals(other.getAccessTime())) return false;
+          if (!getAccessTime()
+              .equals(other.getAccessTime())) return false;
           break;
         case 0:
         default:
@@ -4515,95 +4113,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.nio.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        byte[] data, com.google.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
-        parseDelimitedFrom(
-            java.io.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseDelimitedFrom(
+        java.io.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext prototype) {
+    public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -4613,49 +4203,44 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The IAM conditions context.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder() + // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4665,16 +4250,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext - .getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance(); } @java.lang.Override @@ -4688,8 +4271,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext build() @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result = - new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext(this); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext(this); if (timeContextCase_ == 1) { if (accessTimeBuilder_ == null) { result.timeContext_ = timeContext_; @@ -4706,63 +4288,54 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext 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.asset.v1.IamPolicyAnalysisQuery.ConditionContext) { - return mergeFrom( - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other) { - if (other - == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other) { + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance()) return this; switch (other.getTimeContextCase()) { - case ACCESS_TIME: - { - mergeAccessTime(other.getAccessTime()); - break; - } - case TIMECONTEXT_NOT_SET: - { - break; - } + case ACCESS_TIME: { + mergeAccessTime(other.getAccessTime()); + break; + } + case TIMECONTEXT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4783,9 +4356,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4794,12 +4365,12 @@ public Builder mergeFrom( } return this; } - private int timeContextCase_ = 0; private java.lang.Object timeContext_; - - public TimeContextCase getTimeContextCase() { - return TimeContextCase.forNumber(timeContextCase_); + public TimeContextCase + getTimeContextCase() { + return TimeContextCase.forNumber( + timeContextCase_); } public Builder clearTimeContext() { @@ -4809,14 +4380,10 @@ public Builder clearTimeContext() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - accessTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> accessTimeBuilder_; /** - * - * *
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4824,16 +4391,13 @@ public Builder clearTimeContext() {
        * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return Whether the accessTime field is set. */ @java.lang.Override public boolean hasAccessTime() { return timeContextCase_ == 1; } - /** - * - * + /** *
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4841,7 +4405,6 @@ public boolean hasAccessTime() {
        * 
* * .google.protobuf.Timestamp access_time = 1; - * * @return The accessTime. */ @java.lang.Override @@ -4859,8 +4422,6 @@ public com.google.protobuf.Timestamp getAccessTime() { } } /** - * - * *
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4883,8 +4444,6 @@ public Builder setAccessTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4893,7 +4452,8 @@ public Builder setAccessTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp access_time = 1;
        */
-      public Builder setAccessTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setAccessTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (accessTimeBuilder_ == null) {
           timeContext_ = builderForValue.build();
           onChanged();
@@ -4904,8 +4464,6 @@ public Builder setAccessTime(com.google.protobuf.Timestamp.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4916,13 +4474,10 @@ public Builder setAccessTime(com.google.protobuf.Timestamp.Builder builderForVal
        */
       public Builder mergeAccessTime(com.google.protobuf.Timestamp value) {
         if (accessTimeBuilder_ == null) {
-          if (timeContextCase_ == 1
-              && timeContext_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timeContext_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) timeContext_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (timeContextCase_ == 1 &&
+              timeContext_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timeContext_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timeContext_)
+                .mergeFrom(value).buildPartial();
           } else {
             timeContext_ = value;
           }
@@ -4938,8 +4493,6 @@ public Builder mergeAccessTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4965,8 +4518,6 @@ public Builder clearAccessTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4979,8 +4530,6 @@ public com.google.protobuf.Timestamp.Builder getAccessTimeBuilder() {
         return getAccessTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -5001,8 +4550,6 @@ public com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -5012,28 +4559,23 @@ public com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder() {
        * .google.protobuf.Timestamp access_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getAccessTimeFieldBuilder() {
         if (accessTimeBuilder_ == null) {
           if (!(timeContextCase_ == 1)) {
             timeContext_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          accessTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  (com.google.protobuf.Timestamp) timeContext_, getParentForChildren(), isClean());
+          accessTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  (com.google.protobuf.Timestamp) timeContext_,
+                  getParentForChildren(),
+                  isClean());
           timeContext_ = null;
         }
         timeContextCase_ = 1;
-        onChanged();
-        ;
+        onChanged();;
         return accessTimeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5046,32 +4588,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext)
-    private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext();
     }
 
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
-        getDefaultInstance() {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ConditionContext parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new ConditionContext(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ConditionContext parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new ConditionContext(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -5083,17 +4623,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int SCOPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object scope_;
   /**
-   *
-   *
    * 
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -5107,7 +4645,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -5116,15 +4653,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -5138,15 +4674,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -5157,16 +4694,11 @@ public com.google.protobuf.ByteString getScopeBytes() { public static final int RESOURCE_SELECTOR_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; /** - * - * *
    * Optional. Specifies a resource for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceSelector field is set. */ @java.lang.Override @@ -5174,54 +4706,37 @@ public boolean hasResourceSelector() { return resourceSelector_ != null; } /** - * - * *
    * Optional. Specifies a resource for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceSelector. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { - return resourceSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() - : resourceSelector_; + return resourceSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } /** - * - * *
    * Optional. Specifies a resource for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder - getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { return getResourceSelector(); } public static final int IDENTITY_SELECTOR_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; /** - * - * *
    * Optional. Specifies an identity for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the identitySelector field is set. */ @java.lang.Override @@ -5229,54 +4744,37 @@ public boolean hasIdentitySelector() { return identitySelector_ != null; } /** - * - * *
    * Optional. Specifies an identity for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The identitySelector. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { - return identitySelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() - : identitySelector_; + return identitySelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } /** - * - * *
    * Optional. Specifies an identity for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder - getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { return getIdentitySelector(); } public static final int ACCESS_SELECTOR_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; /** - * - * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the accessSelector field is set. */ @java.lang.Override @@ -5284,54 +4782,37 @@ public boolean hasAccessSelector() { return accessSelector_ != null; } /** - * - * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The accessSelector. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { - return accessSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() - : accessSelector_; + return accessSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } /** - * - * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder - getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { return getAccessSelector(); } public static final int OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options_; /** - * - * *
    * Optional. The query options.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ @java.lang.Override @@ -5339,34 +4820,23 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * Optional. The query options.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getOptions() { - return options_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; } /** - * - * *
    * Optional. The query options.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder() { @@ -5376,16 +4846,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOpti public static final int CONDITION_CONTEXT_FIELD_NUMBER = 6; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext conditionContext_; /** - * - * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the conditionContext field is set. */ @java.lang.Override @@ -5393,43 +4858,30 @@ public boolean hasConditionContext() { return conditionContext_ != null; } /** - * - * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The conditionContext. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getConditionContext() { - return conditionContext_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() - : conditionContext_; + return conditionContext_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; } /** - * - * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder - getConditionContextOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder() { return getConditionContext(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5441,7 +4893,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -5473,19 +4926,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scope_); } if (resourceSelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResourceSelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResourceSelector()); } if (identitySelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIdentitySelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getIdentitySelector()); } if (accessSelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAccessSelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAccessSelector()); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getOptions()); } if (conditionContext_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getConditionContext()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getConditionContext()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5495,34 +4953,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisQuery)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery other = - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) obj; - if (!getScope().equals(other.getScope())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (hasResourceSelector() != other.hasResourceSelector()) return false; if (hasResourceSelector()) { - if (!getResourceSelector().equals(other.getResourceSelector())) return false; + if (!getResourceSelector() + .equals(other.getResourceSelector())) return false; } if (hasIdentitySelector() != other.hasIdentitySelector()) return false; if (hasIdentitySelector()) { - if (!getIdentitySelector().equals(other.getIdentitySelector())) return false; + if (!getIdentitySelector() + .equals(other.getIdentitySelector())) return false; } if (hasAccessSelector() != other.hasAccessSelector()) return false; if (hasAccessSelector()) { - if (!getAccessSelector().equals(other.getAccessSelector())) return false; + if (!getAccessSelector() + .equals(other.getAccessSelector())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; } if (hasConditionContext() != other.hasConditionContext()) return false; if (hasConditionContext()) { - if (!getConditionContext().equals(other.getConditionContext())) return false; + if (!getConditionContext() + .equals(other.getConditionContext())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5562,127 +5025,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisQuery parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IAM policy analysis query message.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery) com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder() @@ -5690,15 +5144,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5738,9 +5193,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override @@ -5759,8 +5214,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery result = - new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(this); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(this); result.scope_ = scope_; if (resourceSelectorBuilder_ == null) { result.resourceSelector_ = resourceSelector_; @@ -5795,39 +5249,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisQuery) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery)other); } else { super.mergeFrom(other); return this; @@ -5835,8 +5288,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -5887,8 +5339,6 @@ public Builder mergeFrom( private java.lang.Object scope_ = ""; /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5902,13 +5352,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -5917,8 +5367,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5932,14 +5380,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -5947,8 +5396,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5962,22 +5409,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5991,18 +5436,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -6016,16 +5458,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -6033,61 +5475,41 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> - resourceSelectorBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> resourceSelectorBuilder_; /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceSelector field is set. */ public boolean hasResourceSelector() { return resourceSelectorBuilder_ != null || resourceSelector_ != null; } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceSelector. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { if (resourceSelectorBuilder_ == null) { - return resourceSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() - : resourceSelector_; + return resourceSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } else { return resourceSelectorBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setResourceSelector( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder setResourceSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6101,15 +5523,11 @@ public Builder setResourceSelector( return this; } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setResourceSelector( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue) { @@ -6123,25 +5541,17 @@ public Builder setResourceSelector( return this; } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeResourceSelector( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder mergeResourceSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (resourceSelector_ != null) { resourceSelector_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder( - resourceSelector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder(resourceSelector_).mergeFrom(value).buildPartial(); } else { resourceSelector_ = value; } @@ -6153,15 +5563,11 @@ public Builder mergeResourceSelector( return this; } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearResourceSelector() { if (resourceSelectorBuilder_ == null) { @@ -6175,66 +5581,48 @@ public Builder clearResourceSelector() { return this; } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder - getResourceSelectorBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder getResourceSelectorBuilder() { + onChanged(); return getResourceSelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder - getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { if (resourceSelectorBuilder_ != null) { return resourceSelectorBuilder_.getMessageOrBuilder(); } else { - return resourceSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() - : resourceSelector_; + return resourceSelector_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } } /** - * - * *
      * Optional. Specifies a resource for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> getResourceSelectorFieldBuilder() { if (resourceSelectorBuilder_ == null) { - resourceSelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( - getResourceSelector(), getParentForChildren(), isClean()); + resourceSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( + getResourceSelector(), + getParentForChildren(), + isClean()); resourceSelector_ = null; } return resourceSelectorBuilder_; @@ -6242,61 +5630,41 @@ public Builder clearResourceSelector() { private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> - identitySelectorBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> identitySelectorBuilder_; /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the identitySelector field is set. */ public boolean hasIdentitySelector() { return identitySelectorBuilder_ != null || identitySelector_ != null; } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The identitySelector. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { if (identitySelectorBuilder_ == null) { - return identitySelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() - : identitySelector_; + return identitySelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } else { return identitySelectorBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIdentitySelector( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder setIdentitySelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6310,15 +5678,11 @@ public Builder setIdentitySelector( return this; } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIdentitySelector( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue) { @@ -6332,25 +5696,17 @@ public Builder setIdentitySelector( return this; } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeIdentitySelector( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder mergeIdentitySelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (identitySelector_ != null) { identitySelector_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder( - identitySelector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder(identitySelector_).mergeFrom(value).buildPartial(); } else { identitySelector_ = value; } @@ -6362,15 +5718,11 @@ public Builder mergeIdentitySelector( return this; } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIdentitySelector() { if (identitySelectorBuilder_ == null) { @@ -6384,66 +5736,48 @@ public Builder clearIdentitySelector() { return this; } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder - getIdentitySelectorBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder getIdentitySelectorBuilder() { + onChanged(); return getIdentitySelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder - getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { if (identitySelectorBuilder_ != null) { return identitySelectorBuilder_.getMessageOrBuilder(); } else { - return identitySelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() - : identitySelector_; + return identitySelector_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } } /** - * - * *
      * Optional. Specifies an identity for analysis.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> getIdentitySelectorFieldBuilder() { if (identitySelectorBuilder_ == null) { - identitySelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( - getIdentitySelector(), getParentForChildren(), isClean()); + identitySelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( + getIdentitySelector(), + getParentForChildren(), + isClean()); identitySelector_ = null; } return identitySelectorBuilder_; @@ -6451,61 +5785,41 @@ public Builder clearIdentitySelector() { private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> - accessSelectorBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> accessSelectorBuilder_; /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the accessSelector field is set. */ public boolean hasAccessSelector() { return accessSelectorBuilder_ != null || accessSelector_ != null; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The accessSelector. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { if (accessSelectorBuilder_ == null) { - return accessSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() - : accessSelector_; + return accessSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } else { return accessSelectorBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAccessSelector( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder setAccessSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6519,15 +5833,11 @@ public Builder setAccessSelector( return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAccessSelector( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue) { @@ -6541,25 +5851,17 @@ public Builder setAccessSelector( return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAccessSelector( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder mergeAccessSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (accessSelector_ != null) { accessSelector_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder( - accessSelector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder(accessSelector_).mergeFrom(value).buildPartial(); } else { accessSelector_ = value; } @@ -6571,15 +5873,11 @@ public Builder mergeAccessSelector( return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAccessSelector() { if (accessSelectorBuilder_ == null) { @@ -6593,66 +5891,48 @@ public Builder clearAccessSelector() { return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder - getAccessSelectorBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder getAccessSelectorBuilder() { + onChanged(); return getAccessSelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder - getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { if (accessSelectorBuilder_ != null) { return accessSelectorBuilder_.getMessageOrBuilder(); } else { - return accessSelector_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() - : accessSelector_; + return accessSelector_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> getAccessSelectorFieldBuilder() { if (accessSelectorBuilder_ == null) { - accessSelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( - getAccessSelector(), getParentForChildren(), isClean()); + accessSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( + getAccessSelector(), + getParentForChildren(), + isClean()); accessSelector_ = null; } return accessSelectorBuilder_; @@ -6660,58 +5940,39 @@ public Builder clearAccessSelector() { private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> - optionsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> optionsBuilder_; /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options value) { if (optionsBuilder_ == null) { @@ -6727,15 +5988,11 @@ public Builder setOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Optio return this; } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOptions( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder builderForValue) { @@ -6749,23 +6006,17 @@ public Builder setOptions( return this; } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.newBuilder(options_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -6777,15 +6028,11 @@ public Builder mergeOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Opt return this; } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearOptions() { if (optionsBuilder_ == null) { @@ -6799,64 +6046,48 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder getOptionsBuilder() { - + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() - : options_; + return options_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; } } /** - * - * *
      * Optional. The query options.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; @@ -6864,61 +6095,41 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOpti private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext conditionContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> - conditionContextBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> conditionContextBuilder_; /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the conditionContext field is set. */ public boolean hasConditionContext() { return conditionContextBuilder_ != null || conditionContext_ != null; } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The conditionContext. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getConditionContext() { if (conditionContextBuilder_ == null) { - return conditionContext_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() - : conditionContext_; + return conditionContext_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; } else { return conditionContextBuilder_.getMessage(); } } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setConditionContext( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { + public Builder setConditionContext(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { if (conditionContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6932,15 +6143,11 @@ public Builder setConditionContext( return this; } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setConditionContext( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder builderForValue) { @@ -6954,25 +6161,17 @@ public Builder setConditionContext( return this; } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeConditionContext( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { + public Builder mergeConditionContext(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { if (conditionContextBuilder_ == null) { if (conditionContext_ != null) { conditionContext_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder( - conditionContext_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder(conditionContext_).mergeFrom(value).buildPartial(); } else { conditionContext_ = value; } @@ -6984,15 +6183,11 @@ public Builder mergeConditionContext( return this; } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearConditionContext() { if (conditionContextBuilder_ == null) { @@ -7006,73 +6201,55 @@ public Builder clearConditionContext() { return this; } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder - getConditionContextBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder getConditionContextBuilder() { + onChanged(); return getConditionContextFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder - getConditionContextOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder() { if (conditionContextBuilder_ != null) { return conditionContextBuilder_.getMessageOrBuilder(); } else { - return conditionContext_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() - : conditionContext_; + return conditionContext_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; } } /** - * - * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> getConditionContextFieldBuilder() { if (conditionContextBuilder_ == null) { - conditionContextBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder>( - getConditionContext(), getParentForChildren(), isClean()); + conditionContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder>( + getConditionContext(), + getParentForChildren(), + isClean()); conditionContext_ = null; } return conditionContextBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7082,12 +6259,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery) private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(); } @@ -7096,16 +6273,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisQuery(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisQuery(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7120,4 +6297,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java similarity index 58% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java index 9d5e56d59..ed674b920 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisQueryOrBuilder - extends +public interface IamPolicyAnalysisQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -39,13 +21,10 @@ public interface IamPolicyAnalysisQueryOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -59,217 +38,143 @@ public interface IamPolicyAnalysisQueryOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Optional. Specifies a resource for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceSelector field is set. */ boolean hasResourceSelector(); /** - * - * *
    * Optional. Specifies a resource for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceSelector. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector(); /** - * - * *
    * Optional. Specifies a resource for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder - getResourceSelectorOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder(); /** - * - * *
    * Optional. Specifies an identity for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the identitySelector field is set. */ boolean hasIdentitySelector(); /** - * - * *
    * Optional. Specifies an identity for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The identitySelector. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector(); /** - * - * *
    * Optional. Specifies an identity for analysis.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder - getIdentitySelectorOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder(); /** - * - * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the accessSelector field is set. */ boolean hasAccessSelector(); /** - * - * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The accessSelector. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector(); /** - * - * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder - getAccessSelectorOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder(); /** - * - * *
    * Optional. The query options.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * Optional. The query options.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getOptions(); /** - * - * *
    * Optional. The query options.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder(); /** - * - * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the conditionContext field is set. */ boolean hasConditionContext(); /** - * - * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The conditionContext. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getConditionContext(); /** - * - * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder - getConditionContextOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java similarity index 77% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java index 49581224e..751df6709 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * IAM Policy analysis result, consisting of one IAM policy binding and derived
  * access control lists.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult}
  */
-public final class IamPolicyAnalysisResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IamPolicyAnalysisResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult)
     IamPolicyAnalysisResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IamPolicyAnalysisResult.newBuilder() to construct.
   private IamPolicyAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IamPolicyAnalysisResult() {
     attachedResourceFullName_ = "";
     accessControlLists_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private IamPolicyAnalysisResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private IamPolicyAnalysisResult(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,72 +56,59 @@ private IamPolicyAnalysisResult(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              attachedResourceFullName_ = s;
-              break;
-            }
-          case 18:
-            {
-              com.google.iam.v1.Binding.Builder subBuilder = null;
-              if (iamBinding_ != null) {
-                subBuilder = iamBinding_.toBuilder();
-              }
-              iamBinding_ =
-                  input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamBinding_);
-                iamBinding_ = subBuilder.buildPartial();
-              }
-
-              break;
+            attachedResourceFullName_ = s;
+            break;
+          }
+          case 18: {
+            com.google.iam.v1.Binding.Builder subBuilder = null;
+            if (iamBinding_ != null) {
+              subBuilder = iamBinding_.toBuilder();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                accessControlLists_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              accessControlLists_.add(
-                  input.readMessage(
-                      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.parser(),
-                      extensionRegistry));
-              break;
+            iamBinding_ = input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamBinding_);
+              iamBinding_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder subBuilder =
-                  null;
-              if (identityList_ != null) {
-                subBuilder = identityList_.toBuilder();
-              }
-              identityList_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(identityList_);
-                identityList_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              accessControlLists_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 40:
-            {
-              fullyExplored_ = input.readBool();
-              break;
+            accessControlLists_.add(
+                input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder subBuilder = null;
+            if (identityList_ != null) {
+              subBuilder = identityList_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            identityList_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(identityList_);
+              identityList_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 40: {
+
+            fullyExplored_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -146,7 +116,8 @@ private IamPolicyAnalysisResult(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         accessControlLists_ = java.util.Collections.unmodifiableList(accessControlLists_);
@@ -155,81 +126,64 @@ private IamPolicyAnalysisResult(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.class,
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
   }
 
-  public interface ResourceOrBuilder
-      extends
+  public interface ResourceOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); /** - * - * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** - * - * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return The analysisState. */ com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState(); /** - * - * *
      * The analysis state of this resource.
      * 
@@ -239,39 +193,37 @@ public interface ResourceOrBuilder com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder(); } /** - * - * *
    * A Google Cloud resource under analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Resource} */ - public static final class Resource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Resource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Resource() { fullResourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -290,37 +242,32 @@ private Resource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; + fullResourceName_ = s; + break; + } + case 18: { + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); - } - analysisState_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); - } - - break; + analysisState_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = 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) { @@ -328,40 +275,35 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fullResourceName_; /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ @java.lang.Override @@ -370,30 +312,30 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -404,14 +346,11 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; /** - * - * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -419,25 +358,18 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** - * - * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return The analysisState. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } /** - * - * *
      * The analysis state of this resource.
      * 
@@ -450,7 +382,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -462,7 +393,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -482,7 +414,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullResourceName_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -492,18 +425,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.asset.v1.IamPolicyAnalysisResult.Resource)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource other = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) obj; - if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState().equals(other.getAnalysisState())) return false; + if (!getAnalysisState() + .equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -528,94 +462,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Resource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -625,32 +552,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Google Cloud resource under analysis.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Resource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.newBuilder() @@ -658,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(); @@ -682,14 +605,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance(); } @@ -704,8 +626,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result = - new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(this); result.fullResourceName_ = fullResourceName_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -720,41 +641,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisResult.Resource) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource)other); } else { super.mergeFrom(other); return this; @@ -762,9 +680,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource other) { - if (other - == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; onChanged(); @@ -791,8 +707,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -804,21 +719,19 @@ public Builder mergeFrom( private java.lang.Object fullResourceName_ = ""; /** - * - * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -827,22 +740,21 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -850,64 +762,57 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; - * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName(java.lang.String value) { + public Builder setFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** - * - * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** - * - * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; - * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; @@ -915,47 +820,34 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> - analysisStateBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> analysisStateBuilder_; /** - * - * *
        * The analysis state of this resource.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** - * - * *
        * The analysis state of this resource.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return The analysisState. */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -976,8 +868,6 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -996,8 +886,6 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -1008,9 +896,7 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); } else { analysisState_ = value; } @@ -1022,8 +908,6 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -1042,8 +926,6 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -1051,13 +933,11 @@ public Builder clearAnalysisState() { * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisStateBuilder() { - + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -1068,14 +948,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } } /** - * - * *
        * The analysis state of this resource.
        * 
@@ -1083,22 +960,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( - getAnalysisState(), getParentForChildren(), isClean()); + analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + getAnalysisState(), + getParentForChildren(), + isClean()); analysisState_ = null; } return analysisStateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1111,13 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(); } @@ -1126,16 +998,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,114 +1022,90 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessOrBuilder - extends + public interface AccessOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Access) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return Whether the role field is set. */ boolean hasRole(); /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The role. */ java.lang.String getRole(); /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The bytes for role. */ - com.google.protobuf.ByteString getRoleBytes(); + com.google.protobuf.ByteString + getRoleBytes(); /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return Whether the permission field is set. */ boolean hasPermission(); /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The permission. */ java.lang.String getPermission(); /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The bytes for permission. */ - com.google.protobuf.ByteString getPermissionBytes(); + com.google.protobuf.ByteString + getPermissionBytes(); /** - * - * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; - * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** - * - * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; - * * @return The analysisState. */ com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState(); /** - * - * *
      * The analysis state of this access.
      * 
@@ -1266,41 +1114,39 @@ public interface AccessOrBuilder */ com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder(); - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.OneofAccessCase - getOneofAccessCase(); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase(); } /** - * - * *
    * An IAM role or permission under analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Access} */ - public static final class Access extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Access extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.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() {} + 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) @@ -1319,44 +1165,38 @@ private Access( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 1; - oneofAccess_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 2; - oneofAccess_ = s; - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 1; + oneofAccess_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 2; + oneofAccess_ = s; + break; + } + case 26: { + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); } - case 26: - { - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); - } - analysisState_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); - } - - break; + analysisState_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = 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) { @@ -1364,40 +1204,35 @@ 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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); } private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; - public enum OneofAccessCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROLE(1), PERMISSION(2), ONEOFACCESS_NOT_SET(0); private final int value; - private OneofAccessCase(int value) { this.value = value; } @@ -1413,50 +1248,41 @@ public static OneofAccessCase valueOf(int value) { public static OneofAccessCase forNumber(int value) { switch (value) { - case 1: - return ROLE; - case 2: - return PERMISSION; - case 0: - return ONEOFACCESS_NOT_SET; - default: - return null; + case 1: return ROLE; + case 2: return PERMISSION; + case 0: return ONEOFACCESS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneofAccessCase getOneofAccessCase() { - return OneofAccessCase.forNumber(oneofAccessCase_); + public OneofAccessCase + getOneofAccessCase() { + return OneofAccessCase.forNumber( + oneofAccessCase_); } public static final int ROLE_FIELD_NUMBER = 1; /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return Whether the role field is set. */ public boolean hasRole() { return oneofAccessCase_ == 1; } /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The role. */ public java.lang.String getRole() { @@ -1467,7 +1293,8 @@ 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(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -1476,24 +1303,23 @@ public java.lang.String getRole() { } } /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The bytes for role. */ - public com.google.protobuf.ByteString getRoleBytes() { + public com.google.protobuf.ByteString + getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -1505,28 +1331,22 @@ public com.google.protobuf.ByteString getRoleBytes() { public static final int PERMISSION_FIELD_NUMBER = 2; /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return Whether the permission field is set. */ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The permission. */ public java.lang.String getPermission() { @@ -1537,7 +1357,8 @@ public java.lang.String getPermission() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -1546,24 +1367,23 @@ public java.lang.String getPermission() { } } /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The bytes for permission. */ - public com.google.protobuf.ByteString getPermissionBytes() { + public com.google.protobuf.ByteString + getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -1576,14 +1396,11 @@ public com.google.protobuf.ByteString getPermissionBytes() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; /** - * - * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; - * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -1591,25 +1408,18 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** - * - * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; - * * @return The analysisState. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } /** - * - * *
      * The analysis state of this access.
      * 
@@ -1622,7 +1432,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1634,7 +1443,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneofAccessCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneofAccess_); } @@ -1660,7 +1470,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oneofAccess_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1670,25 +1481,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.asset.v1.IamPolicyAnalysisResult.Access)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access other = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) obj; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState().equals(other.getAnalysisState())) return false; + if (!getAnalysisState() + .equals(other.getAnalysisState())) return false; } if (!getOneofAccessCase().equals(other.getOneofAccessCase())) return false; switch (oneofAccessCase_) { case 1: - if (!getRole().equals(other.getRole())) return false; + if (!getRole() + .equals(other.getRole())) return false; break; case 2: - if (!getPermission().equals(other.getPermission())) return false; + if (!getPermission() + .equals(other.getPermission())) return false; break; case 0: default: @@ -1726,94 +1539,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.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 @@ -1823,32 +1629,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An IAM role or permission under analysis.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access) com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.newBuilder() @@ -1856,15 +1657,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1880,9 +1682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override @@ -1901,8 +1703,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result = - new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(this); if (oneofAccessCase_ == 1) { result.oneofAccess_ = oneofAccess_; } @@ -1923,41 +1724,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access)other); } else { super.mergeFrom(other); return this; @@ -1965,30 +1763,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance()) return this; if (other.hasAnalysisState()) { mergeAnalysisState(other.getAnalysisState()); } switch (other.getOneofAccessCase()) { - case ROLE: - { - oneofAccessCase_ = 1; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case PERMISSION: - { - oneofAccessCase_ = 2; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case ONEOFACCESS_NOT_SET: - { - break; - } + case ROLE: { + oneofAccessCase_ = 1; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case PERMISSION: { + oneofAccessCase_ = 2; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case ONEOFACCESS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2009,8 +1803,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2019,12 +1812,12 @@ public Builder mergeFrom( } return this; } - private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; - - public OneofAccessCase getOneofAccessCase() { - return OneofAccessCase.forNumber(oneofAccessCase_); + public OneofAccessCase + getOneofAccessCase() { + return OneofAccessCase.forNumber( + oneofAccessCase_); } public Builder clearOneofAccess() { @@ -2034,15 +1827,13 @@ public Builder clearOneofAccess() { return this; } + /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return Whether the role field is set. */ @java.lang.Override @@ -2050,14 +1841,11 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return The role. */ @java.lang.Override @@ -2067,7 +1855,8 @@ public java.lang.String getRole() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -2078,25 +1867,24 @@ public java.lang.String getRole() { } } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return The bytes for role. */ @java.lang.Override - public com.google.protobuf.ByteString getRoleBytes() { + public com.google.protobuf.ByteString + getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -2106,35 +1894,30 @@ public com.google.protobuf.ByteString getRoleBytes() { } } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @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(); - } - oneofAccessCase_ = 1; + throw new NullPointerException(); + } + oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); return this; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return This builder for chaining. */ public Builder clearRole() { @@ -2146,22 +1929,20 @@ public Builder clearRole() { return this; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @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); oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); @@ -2169,14 +1950,11 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return Whether the permission field is set. */ @java.lang.Override @@ -2184,14 +1962,11 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return The permission. */ @java.lang.Override @@ -2201,7 +1976,8 @@ public java.lang.String getPermission() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -2212,25 +1988,24 @@ public java.lang.String getPermission() { } } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return The bytes for permission. */ @java.lang.Override - public com.google.protobuf.ByteString getPermissionBytes() { + public com.google.protobuf.ByteString + getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -2240,35 +2015,30 @@ public com.google.protobuf.ByteString getPermissionBytes() { } } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @param value The permission to set. * @return This builder for chaining. */ - public Builder setPermission(java.lang.String value) { + public Builder setPermission( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneofAccessCase_ = 2; + throw new NullPointerException(); + } + oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); return this; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return This builder for chaining. */ public Builder clearPermission() { @@ -2280,22 +2050,20 @@ public Builder clearPermission() { return this; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @param value The bytes for permission to set. * @return This builder for chaining. */ - public Builder setPermissionBytes(com.google.protobuf.ByteString value) { + public Builder setPermissionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); @@ -2304,47 +2072,34 @@ public Builder setPermissionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> - analysisStateBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> analysisStateBuilder_; /** - * - * *
        * The analysis state of this access.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; - * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** - * - * *
        * The analysis state of this access.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; - * * @return The analysisState. */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2365,8 +2120,6 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2385,8 +2138,6 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2397,9 +2148,7 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); } else { analysisState_ = value; } @@ -2411,8 +2160,6 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2431,8 +2178,6 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2440,13 +2185,11 @@ public Builder clearAnalysisState() { * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisStateBuilder() { - + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2457,14 +2200,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } } /** - * - * *
        * The analysis state of this access.
        * 
@@ -2472,22 +2212,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( - getAnalysisState(), getParentForChildren(), isClean()); + analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + getAnalysisState(), + getParentForChildren(), + isClean()); analysisState_ = null; } return analysisStateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2500,12 +2236,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Access) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Access) private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(); } @@ -2514,16 +2250,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getDefaul 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; @@ -2538,16 +2274,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IdentityOrBuilder - extends + public interface IdentityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2563,13 +2297,10 @@ public interface IdentityOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2585,38 +2316,30 @@ public interface IdentityOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** - * - * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return The analysisState. */ com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState(); /** - * - * *
      * The analysis state of this identity.
      * 
@@ -2626,39 +2349,37 @@ public interface IdentityOrBuilder com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder(); } /** - * - * *
    * An identity under analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Identity} */ - public static final class Identity extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Identity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) IdentityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Identity.newBuilder() to construct. private Identity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Identity() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Identity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Identity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2677,37 +2398,32 @@ private Identity( 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.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); - } - analysisState_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); - } - - break; + analysisState_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = 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) { @@ -2715,33 +2431,29 @@ private Identity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2757,7 +2469,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2766,15 +2477,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 identity name in any form of members appear in
      * [IAM policy
@@ -2790,15 +2500,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 { @@ -2809,14 +2520,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; /** - * - * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -2824,25 +2532,18 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** - * - * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return The analysisState. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } /** - * - * *
      * The analysis state of this identity.
      * 
@@ -2855,7 +2556,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2867,7 +2567,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2887,7 +2588,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2897,18 +2599,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.asset.v1.IamPolicyAnalysisResult.Identity)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity other = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState().equals(other.getAnalysisState())) return false; + if (!getAnalysisState() + .equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2933,94 +2636,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Identity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3030,32 +2726,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An identity under analysis.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Identity} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.newBuilder() @@ -3063,15 +2754,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3087,14 +2779,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance(); } @@ -3109,8 +2800,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result = - new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(this); result.name_ = name_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -3125,41 +2815,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisResult.Identity) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity)other); } else { super.mergeFrom(other); return this; @@ -3167,9 +2854,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity other) { - if (other - == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -3196,8 +2881,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3209,8 +2893,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3226,13 +2908,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; @@ -3241,8 +2923,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3258,14 +2938,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 { @@ -3273,8 +2954,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3290,22 +2969,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 identity name in any form of members appear in
        * [IAM policy
@@ -3321,18 +2998,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 identity name in any form of members appear in
        * [IAM policy
@@ -3348,16 +3022,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; @@ -3365,47 +3039,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> - analysisStateBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> analysisStateBuilder_; /** - * - * *
        * The analysis state of this identity.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** - * - * *
        * The analysis state of this identity.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; - * * @return The analysisState. */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3426,8 +3087,6 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3446,8 +3105,6 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3458,9 +3115,7 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); } else { analysisState_ = value; } @@ -3472,8 +3127,6 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3492,8 +3145,6 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3501,13 +3152,11 @@ public Builder clearAnalysisState() { * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisStateBuilder() { - + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3518,14 +3167,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() - : analysisState_; + return analysisState_ == null ? + com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; } } /** - * - * *
        * The analysis state of this identity.
        * 
@@ -3533,22 +3179,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( - getAnalysisState(), getParentForChildren(), isClean()); + analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + getAnalysisState(), + getParentForChildren(), + isClean()); analysisState_ = null; } return analysisStateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3561,13 +3203,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(); } @@ -3576,16 +3217,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Identity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Identity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Identity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Identity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3600,86 +3241,73 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EdgeOrBuilder - extends + public interface EdgeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; - * * @return The sourceNode. */ java.lang.String getSourceNode(); /** - * - * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; - * * @return The bytes for sourceNode. */ - com.google.protobuf.ByteString getSourceNodeBytes(); + com.google.protobuf.ByteString + getSourceNodeBytes(); /** - * - * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; - * * @return The targetNode. */ java.lang.String getTargetNode(); /** - * - * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; - * * @return The bytes for targetNode. */ - com.google.protobuf.ByteString getTargetNodeBytes(); + com.google.protobuf.ByteString + getTargetNodeBytes(); } /** - * - * *
    * A directional edge.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Edge} */ - public static final class Edge extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Edge extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) EdgeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Edge.newBuilder() to construct. private Edge(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Edge() { sourceNode_ = ""; targetNode_ = ""; @@ -3687,15 +3315,16 @@ private Edge() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Edge(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Edge( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3714,27 +3343,25 @@ private Edge( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - sourceNode_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + sourceNode_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - targetNode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + targetNode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3742,40 +3369,35 @@ private Edge( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); } public static final int SOURCE_NODE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceNode_; /** - * - * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; - * * @return The sourceNode. */ @java.lang.Override @@ -3784,30 +3406,30 @@ public java.lang.String getSourceNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; } } /** - * - * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; - * * @return The bytes for sourceNode. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceNodeBytes() { + public com.google.protobuf.ByteString + getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -3818,15 +3440,12 @@ public com.google.protobuf.ByteString getSourceNodeBytes() { public static final int TARGET_NODE_FIELD_NUMBER = 2; private volatile java.lang.Object targetNode_; /** - * - * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; - * * @return The targetNode. */ @java.lang.Override @@ -3835,30 +3454,30 @@ public java.lang.String getTargetNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; } } /** - * - * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; - * * @return The bytes for targetNode. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetNodeBytes() { + public com.google.protobuf.ByteString + getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetNode_ = b; return b; } else { @@ -3867,7 +3486,6 @@ public com.google.protobuf.ByteString getTargetNodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3879,7 +3497,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceNode_); } @@ -3909,16 +3528,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.asset.v1.IamPolicyAnalysisResult.Edge)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge other = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) obj; - if (!getSourceNode().equals(other.getSourceNode())) return false; - if (!getTargetNode().equals(other.getTargetNode())) return false; + if (!getSourceNode() + .equals(other.getSourceNode())) return false; + if (!getTargetNode() + .equals(other.getTargetNode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3940,94 +3560,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4037,32 +3650,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A directional edge.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Edge} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.newBuilder() @@ -4070,15 +3678,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4090,9 +3699,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override @@ -4111,8 +3720,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge result = - new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(this); result.sourceNode_ = sourceNode_; result.targetNode_ = targetNode_; onBuilt(); @@ -4123,41 +3731,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisResult.Edge) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge)other); } else { super.mergeFrom(other); return this; @@ -4165,8 +3770,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) return this; if (!other.getSourceNode().isEmpty()) { sourceNode_ = other.sourceNode_; onChanged(); @@ -4194,8 +3798,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4207,21 +3810,19 @@ public Builder mergeFrom( private java.lang.Object sourceNode_ = ""; /** - * - * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; - * * @return The sourceNode. */ public java.lang.String getSourceNode() { java.lang.Object ref = sourceNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; @@ -4230,22 +3831,21 @@ public java.lang.String getSourceNode() { } } /** - * - * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; - * * @return The bytes for sourceNode. */ - public com.google.protobuf.ByteString getSourceNodeBytes() { + public com.google.protobuf.ByteString + getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -4253,64 +3853,57 @@ public com.google.protobuf.ByteString getSourceNodeBytes() { } } /** - * - * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; - * * @param value The sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNode(java.lang.String value) { + public Builder setSourceNode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceNode_ = value; onChanged(); return this; } /** - * - * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; - * * @return This builder for chaining. */ public Builder clearSourceNode() { - + sourceNode_ = getDefaultInstance().getSourceNode(); onChanged(); return this; } /** - * - * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; - * * @param value The bytes for sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { + public Builder setSourceNodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceNode_ = value; onChanged(); return this; @@ -4318,21 +3911,19 @@ public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetNode_ = ""; /** - * - * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; - * * @return The targetNode. */ public java.lang.String getTargetNode() { java.lang.Object ref = targetNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; @@ -4341,22 +3932,21 @@ public java.lang.String getTargetNode() { } } /** - * - * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; - * * @return The bytes for targetNode. */ - public com.google.protobuf.ByteString getTargetNodeBytes() { + public com.google.protobuf.ByteString + getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetNode_ = b; return b; } else { @@ -4364,69 +3954,61 @@ public com.google.protobuf.ByteString getTargetNodeBytes() { } } /** - * - * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; - * * @param value The targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNode(java.lang.String value) { + public Builder setTargetNode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetNode_ = value; onChanged(); return this; } /** - * - * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; - * * @return This builder for chaining. */ public Builder clearTargetNode() { - + targetNode_ = getDefaultInstance().getTargetNode(); onChanged(); return this; } /** - * - * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; - * * @param value The bytes for targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNodeBytes(com.google.protobuf.ByteString value) { + public Builder setTargetNodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetNode_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4439,12 +4021,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(); } @@ -4453,16 +4035,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Edge parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Edge(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Edge parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Edge(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4477,16 +4059,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessControlListOrBuilder - extends + public interface AccessControlListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4495,10 +4075,9 @@ public interface AccessControlListOrBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
-    java.util.List getResourcesList();
+    java.util.List 
+        getResourcesList();
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4509,8 +4088,6 @@ public interface AccessControlListOrBuilder
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(int index);
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4521,8 +4098,6 @@ public interface AccessControlListOrBuilder
      */
     int getResourcesCount();
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4531,11 +4106,9 @@ public interface AccessControlListOrBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
-    java.util.List
+    java.util.List 
         getResourcesOrBuilderList();
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4548,8 +4121,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
         int index);
 
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4558,10 +4129,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
-    java.util.List getAccessesList();
+    java.util.List 
+        getAccessesList();
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4572,8 +4142,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getAccesses(int index);
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4584,8 +4152,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      */
     int getAccessesCount();
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4594,11 +4160,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
-    java.util.List
+    java.util.List 
         getAccessesOrBuilderList();
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4611,8 +4175,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
         int index);
 
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4625,10 +4187,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
-    java.util.List getResourceEdgesList();
+    java.util.List 
+        getResourceEdgesList();
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4643,8 +4204,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(int index);
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4659,8 +4218,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      */
     int getResourceEdgesCount();
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4673,11 +4230,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
-    java.util.List
+    java.util.List 
         getResourceEdgesOrBuilderList();
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4694,34 +4249,26 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdges
         int index);
 
     /**
-     *
-     *
      * 
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; - * * @return Whether the conditionEvaluation field is set. */ boolean hasConditionEvaluation(); /** - * - * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; - * * @return The conditionEvaluation. */ com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation(); /** - * - * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
@@ -4732,8 +4279,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdges
     com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * An access control list, derived from the above IAM policy binding, which
    * contains a set of resources and accesses. May include one
@@ -4751,16 +4296,15 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdges
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList}
    */
-  public static final class AccessControlList extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AccessControlList extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
       AccessControlListOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AccessControlList.newBuilder() to construct.
     private AccessControlList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AccessControlList() {
       resources_ = java.util.Collections.emptyList();
       accesses_ = java.util.Collections.emptyList();
@@ -4769,15 +4313,16 @@ private AccessControlList() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AccessControlList();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AccessControlList(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4797,71 +4342,53 @@ private AccessControlList(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  resources_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                resources_.add(
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(),
-                        extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                resources_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              resources_.add(
+                  input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                accesses_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  accesses_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                accesses_.add(
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(),
-                        extensionRegistry));
-                break;
+              accesses_.add(
+                  input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(), extensionRegistry));
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                resourceEdges_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  resourceEdges_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                resourceEdges_.add(
-                    input.readMessage(
-                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(),
-                        extensionRegistry));
-                break;
+              resourceEdges_.add(
+                  input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry));
+              break;
+            }
+            case 34: {
+              com.google.cloud.asset.v1.ConditionEvaluation.Builder subBuilder = null;
+              if (conditionEvaluation_ != null) {
+                subBuilder = conditionEvaluation_.toBuilder();
               }
-            case 34:
-              {
-                com.google.cloud.asset.v1.ConditionEvaluation.Builder subBuilder = null;
-                if (conditionEvaluation_ != null) {
-                  subBuilder = conditionEvaluation_.toBuilder();
-                }
-                conditionEvaluation_ =
-                    input.readMessage(
-                        com.google.cloud.asset.v1.ConditionEvaluation.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(conditionEvaluation_);
-                  conditionEvaluation_ = subBuilder.buildPartial();
-                }
-
-                break;
+              conditionEvaluation_ = input.readMessage(com.google.cloud.asset.v1.ConditionEvaluation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(conditionEvaluation_);
+                conditionEvaluation_ = 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) {
@@ -4869,7 +4396,8 @@ private AccessControlList(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -4884,27 +4412,22 @@ private AccessControlList(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
     }
 
     public static final int RESOURCES_FIELD_NUMBER = 1;
     private java.util.List resources_;
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4914,13 +4437,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
     @java.lang.Override
-    public java.util.List
-        getResourcesList() {
+    public java.util.List getResourcesList() {
       return resources_;
     }
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4930,14 +4450,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>
+    public java.util.List 
         getResourcesOrBuilderList() {
       return resources_;
     }
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4951,8 +4468,6 @@ public int getResourcesCount() {
       return resources_.size();
     }
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4966,8 +4481,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i
       return resources_.get(index);
     }
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4977,16 +4490,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder
-        getResourcesOrBuilder(int index) {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder(
+        int index) {
       return resources_.get(index);
     }
 
     public static final int ACCESSES_FIELD_NUMBER = 2;
     private java.util.List accesses_;
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4996,13 +4507,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getAccessesList() {
+    public java.util.List getAccessesList() {
       return accesses_;
     }
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -5012,14 +4520,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>
+    public java.util.List 
         getAccessesOrBuilderList() {
       return accesses_;
     }
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -5033,8 +4538,6 @@ public int getAccessesCount() {
       return accesses_.size();
     }
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -5048,8 +4551,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getAccesses(int
       return accesses_.get(index);
     }
     /**
-     *
-     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -5067,8 +4568,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
     public static final int RESOURCE_EDGES_FIELD_NUMBER = 3;
     private java.util.List resourceEdges_;
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -5082,13 +4581,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
     @java.lang.Override
-    public java.util.List
-        getResourceEdgesList() {
+    public java.util.List getResourceEdgesList() {
       return resourceEdges_;
     }
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -5102,13 +4598,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getResourceEdgesOrBuilderList() {
       return resourceEdges_;
     }
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -5126,8 +4620,6 @@ public int getResourceEdgesCount() {
       return resourceEdges_.size();
     }
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -5145,8 +4637,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i
       return resourceEdges_.get(index);
     }
     /**
-     *
-     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -5160,23 +4650,20 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder
-        getResourceEdgesOrBuilder(int index) {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder(
+        int index) {
       return resourceEdges_.get(index);
     }
 
     public static final int CONDITION_EVALUATION_FIELD_NUMBER = 4;
     private com.google.cloud.asset.v1.ConditionEvaluation conditionEvaluation_;
     /**
-     *
-     *
      * 
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; - * * @return Whether the conditionEvaluation field is set. */ @java.lang.Override @@ -5184,26 +4671,19 @@ public boolean hasConditionEvaluation() { return conditionEvaluation_ != null; } /** - * - * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; - * * @return The conditionEvaluation. */ @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation() { - return conditionEvaluation_ == null - ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() - : conditionEvaluation_; + return conditionEvaluation_ == null ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_; } /** - * - * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
@@ -5212,13 +4692,11 @@ public com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation() {
      * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder
-        getConditionEvaluationOrBuilder() {
+    public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder() {
       return getConditionEvaluation();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5230,7 +4708,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < resources_.size(); i++) {
         output.writeMessage(1, resources_.get(i));
       }
@@ -5253,17 +4732,20 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < resources_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, resources_.get(i));
       }
       for (int i = 0; i < accesses_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, accesses_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, accesses_.get(i));
       }
       for (int i = 0; i < resourceEdges_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, resourceEdges_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, resourceEdges_.get(i));
       }
       if (conditionEvaluation_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(4, getConditionEvaluation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getConditionEvaluation());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -5273,20 +4755,23 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other =
-          (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) obj;
+      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) obj;
 
-      if (!getResourcesList().equals(other.getResourcesList())) return false;
-      if (!getAccessesList().equals(other.getAccessesList())) return false;
-      if (!getResourceEdgesList().equals(other.getResourceEdgesList())) return false;
+      if (!getResourcesList()
+          .equals(other.getResourcesList())) return false;
+      if (!getAccessesList()
+          .equals(other.getAccessesList())) return false;
+      if (!getResourceEdgesList()
+          .equals(other.getResourceEdgesList())) return false;
       if (hasConditionEvaluation() != other.hasConditionEvaluation()) return false;
       if (hasConditionEvaluation()) {
-        if (!getConditionEvaluation().equals(other.getConditionEvaluation())) return false;
+        if (!getConditionEvaluation()
+            .equals(other.getConditionEvaluation())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -5321,95 +4806,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.nio.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        byte[] data, com.google.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisResult.AccessControlList
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-        parseDelimitedFrom(
-            java.io.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(
+        java.io.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList prototype) {
+    public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -5419,8 +4896,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * An access control list, derived from the above IAM policy binding, which
      * contains a set of resources and accesses. May include one
@@ -5438,45 +4913,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
         com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1.AssetProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class,
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
+      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getResourcesFieldBuilder();
           getAccessesFieldBuilder();
           getResourceEdgesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5508,16 +4979,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetProto
-            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -5531,8 +5000,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList build
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result =
-            new com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList(this);
         int from_bitField0_ = bitField0_;
         if (resourcesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -5574,53 +5042,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList build
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) other);
+          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other) {
-        if (other
-            == com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other) {
+        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()) return this;
         if (resourcesBuilder_ == null) {
           if (!other.resources_.isEmpty()) {
             if (resources_.isEmpty()) {
@@ -5639,10 +5100,9 @@ public Builder mergeFrom(
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              resourcesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getResourcesFieldBuilder()
-                      : null;
+              resourcesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getResourcesFieldBuilder() : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -5666,10 +5126,9 @@ public Builder mergeFrom(
               accessesBuilder_ = null;
               accesses_ = other.accesses_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              accessesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getAccessesFieldBuilder()
-                      : null;
+              accessesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getAccessesFieldBuilder() : null;
             } else {
               accessesBuilder_.addAllMessages(other.accesses_);
             }
@@ -5693,10 +5152,9 @@ public Builder mergeFrom(
               resourceEdgesBuilder_ = null;
               resourceEdges_ = other.resourceEdges_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              resourceEdgesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getResourceEdgesFieldBuilder()
-                      : null;
+              resourceEdgesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getResourceEdgesFieldBuilder() : null;
             } else {
               resourceEdgesBuilder_.addAllMessages(other.resourceEdges_);
             }
@@ -5724,9 +5182,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5735,41 +5191,30 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List
-          resources_ = java.util.Collections.emptyList();
-
+      private java.util.List resources_ =
+        java.util.Collections.emptyList();
       private void ensureResourcesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          resources_ =
-              new java.util.ArrayList(
-                  resources_);
+          resources_ = new java.util.ArrayList(resources_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>
-          resourcesBuilder_;
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> resourcesBuilder_;
 
       /**
-       *
-       *
        * 
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -5777,16 +5222,13 @@ private void ensureResourcesIsMutable() { } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -5796,16 +5238,13 @@ public int getResourcesCount() { } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(int index) { if (resourcesBuilder_ == null) { @@ -5815,16 +5254,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder setResources( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { @@ -5841,20 +5277,16 @@ public Builder setResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder setResources( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); @@ -5865,19 +5297,15 @@ public Builder setResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ - public Builder addResources( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { + public Builder addResources(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5891,16 +5319,13 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addResources( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { @@ -5917,16 +5342,13 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addResources( com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { @@ -5940,20 +5362,16 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addResources( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); @@ -5964,23 +5382,20 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addAllResources( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -5988,16 +5403,13 @@ public Builder addAllResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -6010,16 +5422,13 @@ public Builder clearResources() { return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -6032,56 +5441,45 @@ public Builder removeResources(int index) { return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder getResourcesBuilder( int index) { return getResourcesFieldBuilder().getBuilder(index); } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder - getResourcesOrBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( + int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); - } else { + return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ - public java.util.List< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -6089,97 +5487,73 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder getRes } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder - addResourcesBuilder() { - return getResourcesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder() { + return getResourcesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); + return getResourcesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>( - resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>( + resources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); resources_ = null; } return resourcesBuilder_; } private java.util.List accesses_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAccessesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - accesses_ = - new java.util.ArrayList( - accesses_); + accesses_ = new java.util.ArrayList(accesses_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder> - accessesBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder> accessesBuilder_; /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6188,8 +5562,7 @@ private void ensureAccessesIsMutable() {
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
-      public java.util.List
-          getAccessesList() {
+      public java.util.List getAccessesList() {
         if (accessesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(accesses_);
         } else {
@@ -6197,8 +5570,6 @@ private void ensureAccessesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6215,8 +5586,6 @@ public int getAccessesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6233,8 +5602,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getAccesses(int
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6258,8 +5625,6 @@ public Builder setAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6269,8 +5634,7 @@ public Builder setAccesses(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public Builder setAccesses(
-          int index,
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
+          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
         if (accessesBuilder_ == null) {
           ensureAccessesIsMutable();
           accesses_.set(index, builderForValue.build());
@@ -6281,8 +5645,6 @@ public Builder setAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6305,8 +5667,6 @@ public Builder addAccesses(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Acc
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6330,8 +5690,6 @@ public Builder addAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6352,8 +5710,6 @@ public Builder addAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6363,8 +5719,7 @@ public Builder addAccesses(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public Builder addAccesses(
-          int index,
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
+          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
         if (accessesBuilder_ == null) {
           ensureAccessesIsMutable();
           accesses_.add(index, builderForValue.build());
@@ -6375,8 +5730,6 @@ public Builder addAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6386,11 +5739,11 @@ public Builder addAccesses(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public Builder addAllAccesses(
-          java.lang.Iterable
-              values) {
+          java.lang.Iterable values) {
         if (accessesBuilder_ == null) {
           ensureAccessesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accesses_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, accesses_);
           onChanged();
         } else {
           accessesBuilder_.addAllMessages(values);
@@ -6398,8 +5751,6 @@ public Builder addAllAccesses(
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6419,8 +5770,6 @@ public Builder clearAccesses() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6440,8 +5789,6 @@ public Builder removeAccesses(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6455,8 +5802,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder getAcces
         return getAccessesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6468,14 +5813,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder getAcces
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder(
           int index) {
         if (accessesBuilder_ == null) {
-          return accesses_.get(index);
-        } else {
+          return accesses_.get(index);  } else {
           return accessesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6484,9 +5826,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
-      public java.util.List<
-              ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>
-          getAccessesOrBuilderList() {
+      public java.util.List 
+           getAccessesOrBuilderList() {
         if (accessesBuilder_ != null) {
           return accessesBuilder_.getMessageOrBuilderList();
         } else {
@@ -6494,8 +5835,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
         }
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6505,13 +5844,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder() {
-        return getAccessesFieldBuilder()
-            .addBuilder(
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
+        return getAccessesFieldBuilder().addBuilder(
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6522,14 +5858,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAcces
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder(
           int index) {
-        return getAccessesFieldBuilder()
-            .addBuilder(
-                index,
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
+        return getAccessesFieldBuilder().addBuilder(
+            index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -6538,49 +5870,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAcces
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
-      public java.util.List
-          getAccessesBuilderList() {
+      public java.util.List 
+           getAccessesBuilderList() {
         return getAccessesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder> 
           getAccessesFieldBuilder() {
         if (accessesBuilder_ == null) {
-          accessesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>(
-                  accesses_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          accessesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>(
+                  accesses_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           accesses_ = null;
         }
         return accessesBuilder_;
       }
 
-      private java.util.List
-          resourceEdges_ = java.util.Collections.emptyList();
-
+      private java.util.List resourceEdges_ =
+        java.util.Collections.emptyList();
       private void ensureResourceEdgesIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          resourceEdges_ =
-              new java.util.ArrayList(
-                  resourceEdges_);
+          resourceEdges_ = new java.util.ArrayList(resourceEdges_);
           bitField0_ |= 0x00000004;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>
-          resourceEdgesBuilder_;
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> resourceEdgesBuilder_;
 
       /**
-       *
-       *
        * 
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6591,11 +5912,9 @@ private void ensureResourceEdgesIsMutable() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public java.util.List - getResourceEdgesList() { + public java.util.List getResourceEdgesList() { if (resourceEdgesBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceEdges_); } else { @@ -6603,8 +5922,6 @@ private void ensureResourceEdgesIsMutable() { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6615,8 +5932,7 @@ private void ensureResourceEdgesIsMutable() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public int getResourceEdgesCount() { if (resourceEdgesBuilder_ == null) { @@ -6626,8 +5942,6 @@ public int getResourceEdgesCount() { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6638,8 +5952,7 @@ public int getResourceEdgesCount() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { @@ -6649,8 +5962,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6661,8 +5972,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder setResourceEdges( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { @@ -6679,8 +5989,6 @@ public Builder setResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6691,12 +5999,10 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder setResourceEdges( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.set(index, builderForValue.build()); @@ -6707,8 +6013,6 @@ public Builder setResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6719,11 +6023,9 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public Builder addResourceEdges( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { + public Builder addResourceEdges(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { if (resourceEdgesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6737,8 +6039,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6749,8 +6049,7 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addResourceEdges( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { @@ -6767,8 +6066,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6779,8 +6076,7 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addResourceEdges( com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { @@ -6794,8 +6090,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6806,12 +6100,10 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addResourceEdges( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.add(index, builderForValue.build()); @@ -6822,8 +6114,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6834,15 +6124,14 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addAllResourceEdges( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceEdges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceEdges_); onChanged(); } else { resourceEdgesBuilder_.addAllMessages(values); @@ -6850,8 +6139,6 @@ public Builder addAllResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6862,8 +6149,7 @@ public Builder addAllResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder clearResourceEdges() { if (resourceEdgesBuilder_ == null) { @@ -6876,8 +6162,6 @@ public Builder clearResourceEdges() { return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6888,8 +6172,7 @@ public Builder clearResourceEdges() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder removeResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { @@ -6902,8 +6185,6 @@ public Builder removeResourceEdges(int index) { return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6914,16 +6195,13 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourceEdgesBuilder( int index) { return getResourceEdgesFieldBuilder().getBuilder(index); } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6934,20 +6212,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder - getResourceEdgesOrBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( + int index) { if (resourceEdgesBuilder_ == null) { - return resourceEdges_.get(index); - } else { + return resourceEdges_.get(index); } else { return resourceEdgesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6958,12 +6232,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public java.util.List< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> - getResourceEdgesOrBuilderList() { + public java.util.List + getResourceEdgesOrBuilderList() { if (resourceEdgesBuilder_ != null) { return resourceEdgesBuilder_.getMessageOrBuilderList(); } else { @@ -6971,8 +6243,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourc } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6983,18 +6253,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder - addResourceEdgesBuilder() { - return getResourceEdgesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder() { + return getResourceEdgesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -7005,18 +6270,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder( int index) { - return getResourceEdgesFieldBuilder() - .addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + return getResourceEdgesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -7027,25 +6288,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public java.util.List - getResourceEdgesBuilderList() { + public java.util.List + getResourceEdgesBuilderList() { return getResourceEdgesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> getResourceEdgesFieldBuilder() { if (resourceEdgesBuilder_ == null) { - resourceEdgesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>( + resourceEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>( resourceEdges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -7057,49 +6311,36 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourc private com.google.cloud.asset.v1.ConditionEvaluation conditionEvaluation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.ConditionEvaluation, - com.google.cloud.asset.v1.ConditionEvaluation.Builder, - com.google.cloud.asset.v1.ConditionEvaluationOrBuilder> - conditionEvaluationBuilder_; + com.google.cloud.asset.v1.ConditionEvaluation, com.google.cloud.asset.v1.ConditionEvaluation.Builder, com.google.cloud.asset.v1.ConditionEvaluationOrBuilder> conditionEvaluationBuilder_; /** - * - * *
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
        * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; - * * @return Whether the conditionEvaluation field is set. */ public boolean hasConditionEvaluation() { return conditionEvaluationBuilder_ != null || conditionEvaluation_ != null; } /** - * - * *
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
        * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; - * * @return The conditionEvaluation. */ public com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation() { if (conditionEvaluationBuilder_ == null) { - return conditionEvaluation_ == null - ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() - : conditionEvaluation_; + return conditionEvaluation_ == null ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_; } else { return conditionEvaluationBuilder_.getMessage(); } } /** - * - * *
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7121,8 +6362,6 @@ public Builder setConditionEvaluation(com.google.cloud.asset.v1.ConditionEvaluat
         return this;
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7142,8 +6381,6 @@ public Builder setConditionEvaluation(
         return this;
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7155,9 +6392,7 @@ public Builder mergeConditionEvaluation(com.google.cloud.asset.v1.ConditionEvalu
         if (conditionEvaluationBuilder_ == null) {
           if (conditionEvaluation_ != null) {
             conditionEvaluation_ =
-                com.google.cloud.asset.v1.ConditionEvaluation.newBuilder(conditionEvaluation_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.asset.v1.ConditionEvaluation.newBuilder(conditionEvaluation_).mergeFrom(value).buildPartial();
           } else {
             conditionEvaluation_ = value;
           }
@@ -7169,8 +6404,6 @@ public Builder mergeConditionEvaluation(com.google.cloud.asset.v1.ConditionEvalu
         return this;
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7190,8 +6423,6 @@ public Builder clearConditionEvaluation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7200,13 +6431,11 @@ public Builder clearConditionEvaluation() {
        * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
        */
       public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluationBuilder() {
-
+        
         onChanged();
         return getConditionEvaluationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7214,19 +6443,15 @@ public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluat
        *
        * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
        */
-      public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder
-          getConditionEvaluationOrBuilder() {
+      public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder() {
         if (conditionEvaluationBuilder_ != null) {
           return conditionEvaluationBuilder_.getMessageOrBuilder();
         } else {
-          return conditionEvaluation_ == null
-              ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()
-              : conditionEvaluation_;
+          return conditionEvaluation_ == null ?
+              com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_;
         }
       }
       /**
-       *
-       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -7235,22 +6460,18 @@ public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluat
        * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.ConditionEvaluation,
-              com.google.cloud.asset.v1.ConditionEvaluation.Builder,
-              com.google.cloud.asset.v1.ConditionEvaluationOrBuilder>
+          com.google.cloud.asset.v1.ConditionEvaluation, com.google.cloud.asset.v1.ConditionEvaluation.Builder, com.google.cloud.asset.v1.ConditionEvaluationOrBuilder> 
           getConditionEvaluationFieldBuilder() {
         if (conditionEvaluationBuilder_ == null) {
-          conditionEvaluationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.asset.v1.ConditionEvaluation,
-                  com.google.cloud.asset.v1.ConditionEvaluation.Builder,
-                  com.google.cloud.asset.v1.ConditionEvaluationOrBuilder>(
-                  getConditionEvaluation(), getParentForChildren(), isClean());
+          conditionEvaluationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.asset.v1.ConditionEvaluation, com.google.cloud.asset.v1.ConditionEvaluation.Builder, com.google.cloud.asset.v1.ConditionEvaluationOrBuilder>(
+                  getConditionEvaluation(),
+                  getParentForChildren(),
+                  isClean());
           conditionEvaluation_ = null;
         }
         return conditionEvaluationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -7263,32 +6484,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
-    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList();
     }
 
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-        getDefaultInstance() {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public AccessControlList parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new AccessControlList(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AccessControlList parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new AccessControlList(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7300,20 +6519,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface IdentityListOrBuilder
-      extends
+  public interface IdentityListOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7323,10 +6539,9 @@ public interface IdentityListOrBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
-    java.util.List getIdentitiesList();
+    java.util.List 
+        getIdentitiesList();
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7338,8 +6553,6 @@ public interface IdentityListOrBuilder
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(int index);
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7351,8 +6564,6 @@ public interface IdentityListOrBuilder
      */
     int getIdentitiesCount();
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7362,11 +6573,9 @@ public interface IdentityListOrBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
-    java.util.List
+    java.util.List 
         getIdentitiesOrBuilderList();
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7380,8 +6589,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
         int index);
 
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7397,10 +6604,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
-    java.util.List getGroupEdgesList();
+    java.util.List 
+        getGroupEdgesList();
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7418,8 +6624,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getGroupEdges(int index);
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7437,8 +6641,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      */
     int getGroupEdgesCount();
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7454,11 +6656,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
-    java.util.List
+    java.util.List 
         getGroupEdgesOrBuilderList();
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7478,24 +6678,21 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrB
         int index);
   }
   /**
-   *
-   *
    * 
    * The identities and group edges.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList} */ - public static final class IdentityList extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IdentityList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) IdentityListOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IdentityList.newBuilder() to construct. private IdentityList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IdentityList() { identities_ = java.util.Collections.emptyList(); groupEdges_ = java.util.Collections.emptyList(); @@ -7503,15 +6700,16 @@ private IdentityList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IdentityList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IdentityList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7531,41 +6729,31 @@ private IdentityList( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identities_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity>(); - mutable_bitField0_ |= 0x00000001; - } - identities_.add( - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - groupEdges_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge>(); - mutable_bitField0_ |= 0x00000002; - } - groupEdges_.add( - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), - extensionRegistry)); - break; + identities_.add( + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + groupEdges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + groupEdges_.add( + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7573,7 +6761,8 @@ private IdentityList( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { identities_ = java.util.Collections.unmodifiableList(identities_); @@ -7585,27 +6774,22 @@ private IdentityList( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); } public static final int IDENTITIES_FIELD_NUMBER = 1; private java.util.List identities_; /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7616,13 +6800,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
     @java.lang.Override
-    public java.util.List
-        getIdentitiesList() {
+    public java.util.List getIdentitiesList() {
       return identities_;
     }
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7633,14 +6814,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder>
+    public java.util.List 
         getIdentitiesOrBuilderList() {
       return identities_;
     }
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7655,8 +6833,6 @@ public int getIdentitiesCount() {
       return identities_.size();
     }
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7671,8 +6847,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
       return identities_.get(index);
     }
     /**
-     *
-     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7683,16 +6857,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder
-        getIdentitiesOrBuilder(int index) {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder(
+        int index) {
       return identities_.get(index);
     }
 
     public static final int GROUP_EDGES_FIELD_NUMBER = 2;
     private java.util.List groupEdges_;
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7709,13 +6881,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getGroupEdgesList() {
+    public java.util.List getGroupEdgesList() {
       return groupEdges_;
     }
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7732,13 +6901,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getGroupEdgesOrBuilderList() {
       return groupEdges_;
     }
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7759,8 +6926,6 @@ public int getGroupEdgesCount() {
       return groupEdges_.size();
     }
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7781,8 +6946,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getGroupEdges(int
       return groupEdges_.get(index);
     }
     /**
-     *
-     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -7805,7 +6968,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -7817,7 +6979,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < identities_.size(); i++) {
         output.writeMessage(1, identities_.get(i));
       }
@@ -7834,10 +6997,12 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < identities_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, identities_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, identities_.get(i));
       }
       for (int i = 0; i < groupEdges_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupEdges_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, groupEdges_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -7847,16 +7012,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.asset.v1.IamPolicyAnalysisResult.IdentityList)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other =
-          (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) obj;
+      com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) obj;
 
-      if (!getIdentitiesList().equals(other.getIdentitiesList())) return false;
-      if (!getGroupEdgesList().equals(other.getGroupEdgesList())) return false;
+      if (!getIdentitiesList()
+          .equals(other.getIdentitiesList())) return false;
+      if (!getGroupEdgesList()
+          .equals(other.getGroupEdgesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -7882,94 +7048,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.nio.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        byte[] data, com.google.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList prototype) {
+    public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -7979,32 +7138,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The identities and group edges.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.newBuilder() @@ -8012,18 +7166,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) { getIdentitiesFieldBuilder(); getGroupEdgesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8043,14 +7197,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance(); } @@ -8065,8 +7218,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result = - new com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList(this); int from_bitField0_ = bitField0_; if (identitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -8094,52 +7246,46 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other) { - if (other - == com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other) { + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) return this; if (identitiesBuilder_ == null) { if (!other.identities_.isEmpty()) { if (identities_.isEmpty()) { @@ -8158,10 +7304,9 @@ public Builder mergeFrom( identitiesBuilder_ = null; identities_ = other.identities_; bitField0_ = (bitField0_ & ~0x00000001); - identitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIdentitiesFieldBuilder() - : null; + identitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIdentitiesFieldBuilder() : null; } else { identitiesBuilder_.addAllMessages(other.identities_); } @@ -8185,10 +7330,9 @@ public Builder mergeFrom( groupEdgesBuilder_ = null; groupEdges_ = other.groupEdges_; bitField0_ = (bitField0_ & ~0x00000002); - groupEdgesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroupEdgesFieldBuilder() - : null; + groupEdgesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGroupEdgesFieldBuilder() : null; } else { groupEdgesBuilder_.addAllMessages(other.groupEdges_); } @@ -8213,9 +7357,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8224,30 +7366,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - identities_ = java.util.Collections.emptyList(); - + private java.util.List identities_ = + java.util.Collections.emptyList(); private void ensureIdentitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identities_ = - new java.util.ArrayList( - identities_); + identities_ = new java.util.ArrayList(identities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> - identitiesBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> identitiesBuilder_; /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8255,11 +7388,9 @@ private void ensureIdentitiesIsMutable() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public java.util.List - getIdentitiesList() { + public java.util.List getIdentitiesList() { if (identitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(identities_); } else { @@ -8267,8 +7398,6 @@ private void ensureIdentitiesIsMutable() { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8276,8 +7405,7 @@ private void ensureIdentitiesIsMutable() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public int getIdentitiesCount() { if (identitiesBuilder_ == null) { @@ -8287,8 +7415,6 @@ public int getIdentitiesCount() { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8296,8 +7422,7 @@ public int getIdentitiesCount() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(int index) { if (identitiesBuilder_ == null) { @@ -8307,8 +7432,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities( } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8316,8 +7439,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder setIdentities( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { @@ -8334,8 +7456,6 @@ public Builder setIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8343,12 +7463,10 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder setIdentities( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.set(index, builderForValue.build()); @@ -8359,8 +7477,6 @@ public Builder setIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8368,11 +7484,9 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public Builder addIdentities( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { + public Builder addIdentities(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { if (identitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8386,8 +7500,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8395,8 +7507,7 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addIdentities( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { @@ -8413,8 +7524,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8422,8 +7531,7 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addIdentities( com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { @@ -8437,8 +7545,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8446,12 +7552,10 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addIdentities( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.add(index, builderForValue.build()); @@ -8462,8 +7566,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8471,15 +7573,14 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addAllIdentities( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, identities_); onChanged(); } else { identitiesBuilder_.addAllMessages(values); @@ -8487,8 +7588,6 @@ public Builder addAllIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8496,8 +7595,7 @@ public Builder addAllIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder clearIdentities() { if (identitiesBuilder_ == null) { @@ -8510,8 +7608,6 @@ public Builder clearIdentities() { return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8519,8 +7615,7 @@ public Builder clearIdentities() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder removeIdentities(int index) { if (identitiesBuilder_ == null) { @@ -8533,8 +7628,6 @@ public Builder removeIdentities(int index) { return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8542,16 +7635,13 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder - getIdentitiesBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder getIdentitiesBuilder( + int index) { return getIdentitiesFieldBuilder().getBuilder(index); } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8559,20 +7649,16 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder - getIdentitiesOrBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( + int index) { if (identitiesBuilder_ == null) { - return identities_.get(index); - } else { + return identities_.get(index); } else { return identitiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8580,12 +7666,10 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public java.util.List< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> - getIdentitiesOrBuilderList() { + public java.util.List + getIdentitiesOrBuilderList() { if (identitiesBuilder_ != null) { return identitiesBuilder_.getMessageOrBuilderList(); } else { @@ -8593,8 +7677,6 @@ public Builder removeIdentities(int index) { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8602,18 +7684,13 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder - addIdentitiesBuilder() { - return getIdentitiesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder() { + return getIdentitiesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8621,19 +7698,14 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder - addIdentitiesBuilder(int index) { - return getIdentitiesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder( + int index) { + return getIdentitiesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8641,52 +7713,40 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; */ - public java.util.List - getIdentitiesBuilderList() { + public java.util.List + getIdentitiesBuilderList() { return getIdentitiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> getIdentitiesFieldBuilder() { if (identitiesBuilder_ == null) { - identitiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder>( - identities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + identitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder>( + identities_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); identities_ = null; } return identitiesBuilder_; } private java.util.List groupEdges_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureGroupEdgesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - groupEdges_ = - new java.util.ArrayList( - groupEdges_); + groupEdges_ = new java.util.ArrayList(groupEdges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> - groupEdgesBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> groupEdgesBuilder_; /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8702,8 +7762,7 @@ private void ensureGroupEdgesIsMutable() {
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
-      public java.util.List
-          getGroupEdgesList() {
+      public java.util.List getGroupEdgesList() {
         if (groupEdgesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(groupEdges_);
         } else {
@@ -8711,8 +7770,6 @@ private void ensureGroupEdgesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8736,8 +7793,6 @@ public int getGroupEdgesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8761,8 +7816,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getGroupEdges(int
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8793,8 +7846,6 @@ public Builder setGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8811,8 +7862,7 @@ public Builder setGroupEdges(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public Builder setGroupEdges(
-          int index,
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
+          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
         if (groupEdgesBuilder_ == null) {
           ensureGroupEdgesIsMutable();
           groupEdges_.set(index, builderForValue.build());
@@ -8823,8 +7873,6 @@ public Builder setGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8854,8 +7902,6 @@ public Builder addGroupEdges(com.google.cloud.asset.v1.IamPolicyAnalysisResult.E
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8886,8 +7932,6 @@ public Builder addGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8915,8 +7959,6 @@ public Builder addGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8933,8 +7975,7 @@ public Builder addGroupEdges(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public Builder addGroupEdges(
-          int index,
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
+          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
         if (groupEdgesBuilder_ == null) {
           ensureGroupEdgesIsMutable();
           groupEdges_.add(index, builderForValue.build());
@@ -8945,8 +7986,6 @@ public Builder addGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8963,11 +8002,11 @@ public Builder addGroupEdges(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public Builder addAllGroupEdges(
-          java.lang.Iterable
-              values) {
+          java.lang.Iterable values) {
         if (groupEdgesBuilder_ == null) {
           ensureGroupEdgesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupEdges_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, groupEdges_);
           onChanged();
         } else {
           groupEdgesBuilder_.addAllMessages(values);
@@ -8975,8 +8014,6 @@ public Builder addAllGroupEdges(
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9003,8 +8040,6 @@ public Builder clearGroupEdges() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9031,8 +8066,6 @@ public Builder removeGroupEdges(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9053,8 +8086,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getGroupEd
         return getGroupEdgesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9073,14 +8104,11 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getGroupEd
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder(
           int index) {
         if (groupEdgesBuilder_ == null) {
-          return groupEdges_.get(index);
-        } else {
+          return groupEdges_.get(index);  } else {
           return groupEdgesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9096,9 +8124,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
-      public java.util.List<
-              ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>
-          getGroupEdgesOrBuilderList() {
+      public java.util.List 
+           getGroupEdgesOrBuilderList() {
         if (groupEdgesBuilder_ != null) {
           return groupEdgesBuilder_.getMessageOrBuilderList();
         } else {
@@ -9106,8 +8133,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
         }
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9124,13 +8149,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder() {
-        return getGroupEdgesFieldBuilder()
-            .addBuilder(
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
+        return getGroupEdgesFieldBuilder().addBuilder(
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9148,13 +8170,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEd
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder(
           int index) {
-        return getGroupEdgesFieldBuilder()
-            .addBuilder(
-                index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
+        return getGroupEdgesFieldBuilder().addBuilder(
+            index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -9170,28 +8189,24 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEd
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
-      public java.util.List
-          getGroupEdgesBuilderList() {
+      public java.util.List 
+           getGroupEdgesBuilderList() {
         return getGroupEdgesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> 
           getGroupEdgesFieldBuilder() {
         if (groupEdgesBuilder_ == null) {
-          groupEdgesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>(
-                  groupEdges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          groupEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>(
+                  groupEdges_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           groupEdges_ = null;
         }
         return groupEdgesBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9204,32 +8219,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)
-    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList();
     }
 
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
-        getDefaultInstance() {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public IdentityList parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new IdentityList(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public IdentityList parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new IdentityList(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -9241,17 +8254,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object attachedResourceFullName_;
   /**
-   *
-   *
    * 
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9261,7 +8272,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ @java.lang.Override @@ -9270,15 +8280,14 @@ public java.lang.String getAttachedResourceFullName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; } } /** - * - * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9288,15 +8297,16 @@ public java.lang.String getAttachedResourceFullName() {
    * 
* * string attached_resource_full_name = 1; - * * @return The bytes for attachedResourceFullName. */ @java.lang.Override - public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString + getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -9307,14 +8317,11 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { public static final int IAM_BINDING_FIELD_NUMBER = 2; private com.google.iam.v1.Binding iamBinding_; /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ @java.lang.Override @@ -9322,14 +8329,11 @@ public boolean hasIamBinding() { return iamBinding_ != null; } /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ @java.lang.Override @@ -9337,8 +8341,6 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -9351,11 +8353,8 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { } public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER = 3; - private java.util.List - accessControlLists_; + private java.util.List accessControlLists_; /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9363,18 +8362,13 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() {
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public java.util.List - getAccessControlListsList() { + public java.util.List getAccessControlListsList() { return accessControlLists_; } /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9382,19 +8376,14 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() {
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + public java.util.List getAccessControlListsOrBuilderList() { return accessControlLists_; } /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9402,17 +8391,13 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() {
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override public int getAccessControlListsCount() { return accessControlLists_.size(); } /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9420,18 +8405,13 @@ public int getAccessControlListsCount() {
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { return accessControlLists_.get(index); } /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9439,21 +8419,17 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAc
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder - getAccessControlListsOrBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( + int index) { return accessControlLists_.get(index); } public static final int IDENTITY_LIST_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identityList_; /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9461,7 +8437,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAc
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * * @return Whether the identityList field is set. */ @java.lang.Override @@ -9469,8 +8444,6 @@ public boolean hasIdentityList() { return identityList_ != null; } /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9478,18 +8451,13 @@ public boolean hasIdentityList() {
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * * @return The identityList. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentityList() { - return identityList_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() - : identityList_; + return identityList_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; } /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9499,16 +8467,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentit
    * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
-      getIdentityListOrBuilder() {
+  public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() {
     return getIdentityList();
   }
 
   public static final int FULLY_EXPLORED_FIELD_NUMBER = 5;
   private boolean fullyExplored_;
   /**
-   *
-   *
    * 
    * Represents whether all analyses on the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9516,7 +8481,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentit
    * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ @java.lang.Override @@ -9525,7 +8489,6 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9537,7 +8500,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResourceFullName_); } @@ -9563,21 +8527,23 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); } if (iamBinding_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIamBinding()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getIamBinding()); } for (int i = 0; i < accessControlLists_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, accessControlLists_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, accessControlLists_.get(i)); } if (identityList_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIdentityList()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getIdentityList()); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, fullyExplored_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9587,25 +8553,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult other = - (com.google.cloud.asset.v1.IamPolicyAnalysisResult) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult) obj; - if (!getAttachedResourceFullName().equals(other.getAttachedResourceFullName())) return false; + if (!getAttachedResourceFullName() + .equals(other.getAttachedResourceFullName())) return false; if (hasIamBinding() != other.hasIamBinding()) return false; if (hasIamBinding()) { - if (!getIamBinding().equals(other.getIamBinding())) return false; + if (!getIamBinding() + .equals(other.getIamBinding())) return false; } - if (!getAccessControlListsList().equals(other.getAccessControlListsList())) return false; + if (!getAccessControlListsList() + .equals(other.getAccessControlListsList())) return false; if (hasIdentityList() != other.hasIdentityList()) return false; if (hasIdentityList()) { - if (!getIdentityList().equals(other.getIdentityList())) return false; + if (!getIdentityList() + .equals(other.getIdentityList())) return false; } - if (getFullyExplored() != other.getFullyExplored()) return false; + if (getFullyExplored() + != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9632,110 +8602,104 @@ public int hashCode() { hash = (53 * hash) + getIdentityList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IAM Policy analysis result, consisting of one IAM policy binding and derived
    * access control lists.
@@ -9743,23 +8707,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult)
       com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.class,
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.newBuilder()
@@ -9767,17 +8729,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) {
         getAccessControlListsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -9807,9 +8769,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
@@ -9828,8 +8790,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.IamPolicyAnalysisResult buildPartial() {
-      com.google.cloud.asset.v1.IamPolicyAnalysisResult result =
-          new com.google.cloud.asset.v1.IamPolicyAnalysisResult(this);
+      com.google.cloud.asset.v1.IamPolicyAnalysisResult result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult(this);
       int from_bitField0_ = bitField0_;
       result.attachedResourceFullName_ = attachedResourceFullName_;
       if (iamBindingBuilder_ == null) {
@@ -9860,39 +8821,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult) {
-        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult) other);
+        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -9900,8 +8860,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult other) {
-      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance()) return this;
       if (!other.getAttachedResourceFullName().isEmpty()) {
         attachedResourceFullName_ = other.attachedResourceFullName_;
         onChanged();
@@ -9927,10 +8886,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult other
             accessControlListsBuilder_ = null;
             accessControlLists_ = other.accessControlLists_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            accessControlListsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAccessControlListsFieldBuilder()
-                    : null;
+            accessControlListsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAccessControlListsFieldBuilder() : null;
           } else {
             accessControlListsBuilder_.addAllMessages(other.accessControlLists_);
           }
@@ -9961,8 +8919,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -9971,13 +8928,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object attachedResourceFullName_ = "";
     /**
-     *
-     *
      * 
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9987,13 +8941,13 @@ public Builder mergeFrom(
      * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ public java.lang.String getAttachedResourceFullName() { java.lang.Object ref = attachedResourceFullName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; @@ -10002,8 +8956,6 @@ public java.lang.String getAttachedResourceFullName() { } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -10013,14 +8965,15 @@ public java.lang.String getAttachedResourceFullName() {
      * 
* * string attached_resource_full_name = 1; - * * @return The bytes for attachedResourceFullName. */ - public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString + getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -10028,8 +8981,6 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -10039,22 +8990,20 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() {
      * 
* * string attached_resource_full_name = 1; - * * @param value The attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullName(java.lang.String value) { + public Builder setAttachedResourceFullName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attachedResourceFullName_ = value; onChanged(); return this; } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -10064,18 +9013,15 @@ public Builder setAttachedResourceFullName(java.lang.String value) {
      * 
* * string attached_resource_full_name = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { - + attachedResourceFullName_ = getDefaultInstance().getAttachedResourceFullName(); onChanged(); return this; } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -10085,16 +9031,16 @@ public Builder clearAttachedResourceFullName() {
      * 
* * string attached_resource_full_name = 1; - * * @param value The bytes for attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString value) { + public Builder setAttachedResourceFullNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attachedResourceFullName_ = value; onChanged(); return this; @@ -10102,33 +9048,24 @@ public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString v private com.google.iam.v1.Binding iamBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder> - iamBindingBuilder_; + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> iamBindingBuilder_; /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ public boolean hasIamBinding() { return iamBindingBuilder_ != null || iamBinding_ != null; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ public com.google.iam.v1.Binding getIamBinding() { @@ -10139,8 +9076,6 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10161,15 +9096,14 @@ public Builder setIamBinding(com.google.iam.v1.Binding value) { return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; */ - public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) { + public Builder setIamBinding( + com.google.iam.v1.Binding.Builder builderForValue) { if (iamBindingBuilder_ == null) { iamBinding_ = builderForValue.build(); onChanged(); @@ -10180,8 +9114,6 @@ public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10192,7 +9124,7 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { if (iamBindingBuilder_ == null) { if (iamBinding_ != null) { iamBinding_ = - com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); + com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); } else { iamBinding_ = value; } @@ -10204,8 +9136,6 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10224,8 +9154,6 @@ public Builder clearIamBinding() { return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10233,13 +9161,11 @@ public Builder clearIamBinding() { * .google.iam.v1.Binding iam_binding = 2; */ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { - + onChanged(); return getIamBindingFieldBuilder().getBuilder(); } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10250,12 +9176,11 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { if (iamBindingBuilder_ != null) { return iamBindingBuilder_.getMessageOrBuilder(); } else { - return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; + return iamBinding_ == null ? + com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10263,44 +9188,32 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { * .google.iam.v1.Binding iam_binding = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder> + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> getIamBindingFieldBuilder() { if (iamBindingBuilder_ == null) { - iamBindingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder>( - getIamBinding(), getParentForChildren(), isClean()); + iamBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>( + getIamBinding(), + getParentForChildren(), + isClean()); iamBinding_ = null; } return iamBindingBuilder_; } - private java.util.List - accessControlLists_ = java.util.Collections.emptyList(); - + private java.util.List accessControlLists_ = + java.util.Collections.emptyList(); private void ensureAccessControlListsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessControlLists_ = - new java.util.ArrayList< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList>( - accessControlLists_); + accessControlLists_ = new java.util.ArrayList(accessControlLists_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> - accessControlListsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> accessControlListsBuilder_; /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10308,12 +9221,9 @@ private void ensureAccessControlListsIsMutable() {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public java.util.List - getAccessControlListsList() { + public java.util.List getAccessControlListsList() { if (accessControlListsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessControlLists_); } else { @@ -10321,8 +9231,6 @@ private void ensureAccessControlListsIsMutable() { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10330,9 +9238,7 @@ private void ensureAccessControlListsIsMutable() {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public int getAccessControlListsCount() { if (accessControlListsBuilder_ == null) { @@ -10342,8 +9248,6 @@ public int getAccessControlListsCount() { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10351,12 +9255,9 @@ public int getAccessControlListsCount() {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList - getAccessControlLists(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { return accessControlLists_.get(index); } else { @@ -10364,8 +9265,6 @@ public int getAccessControlListsCount() { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10373,9 +9272,7 @@ public int getAccessControlListsCount() {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder setAccessControlLists( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { @@ -10392,8 +9289,6 @@ public Builder setAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10401,14 +9296,10 @@ public Builder setAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder setAccessControlLists( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.set(index, builderForValue.build()); @@ -10419,8 +9310,6 @@ public Builder setAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10428,12 +9317,9 @@ public Builder setAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public Builder addAccessControlLists( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { + public Builder addAccessControlLists(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10447,8 +9333,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10456,9 +9340,7 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAccessControlLists( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { @@ -10475,8 +9357,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10484,13 +9364,10 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAccessControlLists( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder - builderForValue) { + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(builderForValue.build()); @@ -10501,8 +9378,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10510,14 +9385,10 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAccessControlLists( - int index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder - builderForValue) { + int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(index, builderForValue.build()); @@ -10528,8 +9399,6 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10537,17 +9406,14 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAllAccessControlLists( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList> - values) { + java.lang.Iterable values) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessControlLists_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accessControlLists_); onChanged(); } else { accessControlListsBuilder_.addAllMessages(values); @@ -10555,8 +9421,6 @@ public Builder addAllAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10564,9 +9428,7 @@ public Builder addAllAccessControlLists(
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder clearAccessControlLists() { if (accessControlListsBuilder_ == null) { @@ -10579,8 +9441,6 @@ public Builder clearAccessControlLists() { return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10588,9 +9448,7 @@ public Builder clearAccessControlLists() {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder removeAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { @@ -10603,8 +9461,6 @@ public Builder removeAccessControlLists(int index) { return this; } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10612,17 +9468,13 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder - getAccessControlListsBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder getAccessControlListsBuilder( + int index) { return getAccessControlListsFieldBuilder().getBuilder(index); } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10630,21 +9482,16 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder - getAccessControlListsOrBuilder(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( + int index) { if (accessControlListsBuilder_ == null) { - return accessControlLists_.get(index); - } else { + return accessControlLists_.get(index); } else { return accessControlListsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10652,13 +9499,10 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public java.util.List< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> - getAccessControlListsOrBuilderList() { + public java.util.List + getAccessControlListsOrBuilderList() { if (accessControlListsBuilder_ != null) { return accessControlListsBuilder_.getMessageOrBuilderList(); } else { @@ -10666,8 +9510,6 @@ public Builder removeAccessControlLists(int index) { } } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10675,20 +9517,13 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder - addAccessControlListsBuilder() { - return getAccessControlListsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList - .getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder() { + return getAccessControlListsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10696,21 +9531,14 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder - addAccessControlListsBuilder(int index) { - return getAccessControlListsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList - .getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder( + int index) { + return getAccessControlListsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); } /** - * - * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10718,27 +9546,18 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public java.util.List< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder> - getAccessControlListsBuilderList() { + public java.util.List + getAccessControlListsBuilderList() { return getAccessControlListsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsFieldBuilder() { if (accessControlListsBuilder_ == null) { - accessControlListsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>( + accessControlListsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>( accessControlLists_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -10750,13 +9569,8 @@ public Builder removeAccessControlLists(int index) { private com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identityList_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder> - identityListBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder> identityListBuilder_; /** - * - * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10764,15 +9578,12 @@ public Builder removeAccessControlLists(int index) {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * * @return Whether the identityList field is set. */ public boolean hasIdentityList() { return identityListBuilder_ != null || identityList_ != null; } /** - * - * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10780,21 +9591,16 @@ public boolean hasIdentityList() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * * @return The identityList. */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentityList() { if (identityListBuilder_ == null) { - return identityList_ == null - ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() - : identityList_; + return identityList_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; } else { return identityListBuilder_.getMessage(); } } /** - * - * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10803,8 +9609,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentit
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public Builder setIdentityList(
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
+    public Builder setIdentityList(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
       if (identityListBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -10818,8 +9623,6 @@ public Builder setIdentityList(
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10840,8 +9643,6 @@ public Builder setIdentityList(
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10850,15 +9651,11 @@ public Builder setIdentityList(
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public Builder mergeIdentityList(
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
+    public Builder mergeIdentityList(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
       if (identityListBuilder_ == null) {
         if (identityList_ != null) {
           identityList_ =
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.newBuilder(
-                      identityList_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.newBuilder(identityList_).mergeFrom(value).buildPartial();
         } else {
           identityList_ = value;
         }
@@ -10870,8 +9667,6 @@ public Builder mergeIdentityList(
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10892,8 +9687,6 @@ public Builder clearIdentityList() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10902,15 +9695,12 @@ public Builder clearIdentityList() {
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder
-        getIdentityListBuilder() {
-
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder getIdentityListBuilder() {
+      
       onChanged();
       return getIdentityListFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10919,19 +9709,15 @@ public Builder clearIdentityList() {
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
-        getIdentityListOrBuilder() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() {
       if (identityListBuilder_ != null) {
         return identityListBuilder_.getMessageOrBuilder();
       } else {
-        return identityList_ == null
-            ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()
-            : identityList_;
+        return identityList_ == null ?
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_;
       }
     }
     /**
-     *
-     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10941,26 +9727,21 @@ public Builder clearIdentityList() {
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList,
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder,
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder>
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder> 
         getIdentityListFieldBuilder() {
       if (identityListBuilder_ == null) {
-        identityListBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList,
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder,
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder>(
-                getIdentityList(), getParentForChildren(), isClean());
+        identityListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder>(
+                getIdentityList(),
+                getParentForChildren(),
+                isClean());
         identityList_ = null;
       }
       return identityListBuilder_;
     }
 
-    private boolean fullyExplored_;
+    private boolean fullyExplored_ ;
     /**
-     *
-     *
      * 
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10968,7 +9749,6 @@ public Builder clearIdentityList() {
      * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ @java.lang.Override @@ -10976,8 +9756,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -10985,19 +9763,16 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 5; - * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** - * - * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -11005,18 +9780,17 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 5; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = 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); } @@ -11026,12 +9800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult) private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult(); } @@ -11040,16 +9814,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11064,4 +9838,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java index 30601f1bf..bea6a4a13 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisResultOrBuilder - extends +public interface IamPolicyAnalysisResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -35,13 +17,10 @@ public interface IamPolicyAnalysisResultOrBuilder
    * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ java.lang.String getAttachedResourceFullName(); /** - * - * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -51,38 +30,30 @@ public interface IamPolicyAnalysisResultOrBuilder
    * 
* * string attached_resource_full_name = 1; - * * @return The bytes for attachedResourceFullName. */ - com.google.protobuf.ByteString getAttachedResourceFullNameBytes(); + com.google.protobuf.ByteString + getAttachedResourceFullNameBytes(); /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ boolean hasIamBinding(); /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ com.google.iam.v1.Binding getIamBinding(); /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -92,8 +63,6 @@ public interface IamPolicyAnalysisResultOrBuilder com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder(); /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -101,15 +70,11 @@ public interface IamPolicyAnalysisResultOrBuilder
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - java.util.List + java.util.List getAccessControlListsList(); /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -117,15 +82,10 @@ public interface IamPolicyAnalysisResultOrBuilder
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists( - int index); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index); /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -133,14 +93,10 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ int getAccessControlListsCount(); /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -148,16 +104,11 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - java.util.List< - ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + java.util.List getAccessControlListsOrBuilderList(); /** - * - * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -165,16 +116,12 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    * the request.
    * 
* - * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder - getAccessControlListsOrBuilder(int index); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( + int index); /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -182,13 +129,10 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * * @return Whether the identityList field is set. */ boolean hasIdentityList(); /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -196,13 +140,10 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * * @return The identityList. */ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentityList(); /** - * - * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -211,12 +152,9 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    *
    * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
    */
-  com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
-      getIdentityListOrBuilder();
+  com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder();
 
   /**
-   *
-   *
    * 
    * Represents whether all analyses on the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -224,7 +162,6 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessCon
    * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ boolean getFullyExplored(); diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java index d76ed9749..adf8f9efa 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * Represents the detailed state of an entity under analysis, such as a
  * resource, an identity or an access.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisState}
  */
-public final class IamPolicyAnalysisState extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IamPolicyAnalysisState extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisState)
     IamPolicyAnalysisStateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IamPolicyAnalysisState.newBuilder() to construct.
   private IamPolicyAnalysisState(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IamPolicyAnalysisState() {
     code_ = 0;
     cause_ = "";
@@ -45,15 +27,16 @@ private IamPolicyAnalysisState() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisState();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private IamPolicyAnalysisState(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private IamPolicyAnalysisState(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              code_ = rawValue;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            code_ = rawValue;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              cause_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            cause_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private IamPolicyAnalysisState(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.IamPolicyAnalysisState.class,
-            com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
+            com.google.cloud.asset.v1.IamPolicyAnalysisState.class, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
   }
 
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_;
   /**
-   *
-   *
    * 
    * The Google standard error code that best describes the state.
    * For example:
@@ -137,16 +114,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.rpc.Code code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * The Google standard error code that best describes the state.
    * For example:
@@ -157,11 +130,9 @@ public int getCodeValue() {
    * 
* * .google.rpc.Code code = 1; - * * @return The code. */ - @java.lang.Override - public com.google.rpc.Code getCode() { + @java.lang.Override public com.google.rpc.Code getCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(code_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; @@ -170,14 +141,11 @@ public com.google.rpc.Code getCode() { public static final int CAUSE_FIELD_NUMBER = 2; private volatile java.lang.Object cause_; /** - * - * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; - * * @return The cause. */ @java.lang.Override @@ -186,29 +154,29 @@ public java.lang.String getCause() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; } } /** - * - * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; - * * @return The bytes for cause. */ @java.lang.Override - public com.google.protobuf.ByteString getCauseBytes() { + public com.google.protobuf.ByteString + getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cause_ = b; return b; } else { @@ -217,7 +185,6 @@ public com.google.protobuf.ByteString getCauseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +196,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.rpc.Code.OK.getNumber()) { output.writeEnum(1, code_); } @@ -246,7 +214,8 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cause_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_); @@ -259,16 +228,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.asset.v1.IamPolicyAnalysisState)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisState other = - (com.google.cloud.asset.v1.IamPolicyAnalysisState) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisState other = (com.google.cloud.asset.v1.IamPolicyAnalysisState) obj; if (code_ != other.code_) return false; - if (!getCause().equals(other.getCause())) return false; + if (!getCause() + .equals(other.getCause())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -289,104 +258,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicyAnalysisState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisState parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicyAnalysisState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the detailed state of an entity under analysis, such as a
    * resource, an identity or an access.
@@ -394,23 +356,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisState}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisState)
       com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisState.class,
-              com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisState.class, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder()
@@ -418,15 +378,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -438,9 +399,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
     }
 
     @java.lang.Override
@@ -459,8 +420,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.IamPolicyAnalysisState buildPartial() {
-      com.google.cloud.asset.v1.IamPolicyAnalysisState result =
-          new com.google.cloud.asset.v1.IamPolicyAnalysisState(this);
+      com.google.cloud.asset.v1.IamPolicyAnalysisState result = new com.google.cloud.asset.v1.IamPolicyAnalysisState(this);
       result.code_ = code_;
       result.cause_ = cause_;
       onBuilt();
@@ -471,39 +431,38 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisState) {
-        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisState) other);
+        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisState)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisState other) {
-      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) return this;
       if (other.code_ != 0) {
         setCodeValue(other.getCodeValue());
       }
@@ -551,8 +509,6 @@ public Builder mergeFrom(
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -563,16 +519,12 @@ public Builder mergeFrom(
      * 
* * .google.rpc.Code code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -583,19 +535,16 @@ public int getCodeValue() {
      * 
* * .google.rpc.Code code = 1; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -606,7 +555,6 @@ public Builder setCodeValue(int value) {
      * 
* * .google.rpc.Code code = 1; - * * @return The code. */ @java.lang.Override @@ -616,8 +564,6 @@ public com.google.rpc.Code getCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -628,7 +574,6 @@ public com.google.rpc.Code getCode() {
      * 
* * .google.rpc.Code code = 1; - * * @param value The code to set. * @return This builder for chaining. */ @@ -636,14 +581,12 @@ public Builder setCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -654,11 +597,10 @@ public Builder setCode(com.google.rpc.Code value) {
      * 
* * .google.rpc.Code code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -666,20 +608,18 @@ public Builder clearCode() { private java.lang.Object cause_ = ""; /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return The cause. */ public java.lang.String getCause() { java.lang.Object ref = cause_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; @@ -688,21 +628,20 @@ public java.lang.String getCause() { } } /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return The bytes for cause. */ - public com.google.protobuf.ByteString getCauseBytes() { + public com.google.protobuf.ByteString + getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cause_ = b; return b; } else { @@ -710,68 +649,61 @@ public com.google.protobuf.ByteString getCauseBytes() { } } /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @param value The cause to set. * @return This builder for chaining. */ - public Builder setCause(java.lang.String value) { + public Builder setCause( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cause_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return This builder for chaining. */ public Builder clearCause() { - + cause_ = getDefaultInstance().getCause(); onChanged(); return this; } /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @param value The bytes for cause to set. * @return This builder for chaining. */ - public Builder setCauseBytes(com.google.protobuf.ByteString value) { + public Builder setCauseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cause_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -781,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisState) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisState) private static final com.google.cloud.asset.v1.IamPolicyAnalysisState DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisState(); } @@ -795,16 +727,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisState getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisState(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -819,4 +751,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java index be06b9be5..6208f59f1 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisStateOrBuilder - extends +public interface IamPolicyAnalysisStateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisState) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Google standard error code that best describes the state.
    * For example:
@@ -36,13 +18,10 @@ public interface IamPolicyAnalysisStateOrBuilder
    * 
* * .google.rpc.Code code = 1; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
    * The Google standard error code that best describes the state.
    * For example:
@@ -53,33 +32,27 @@ public interface IamPolicyAnalysisStateOrBuilder
    * 
* * .google.rpc.Code code = 1; - * * @return The code. */ com.google.rpc.Code getCode(); /** - * - * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; - * * @return The cause. */ java.lang.String getCause(); /** - * - * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; - * * @return The bytes for cause. */ - com.google.protobuf.ByteString getCauseBytes(); + com.google.protobuf.ByteString + getCauseBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java index 00683a862..1d71cd11b 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * A result of IAM Policy search, containing information of an IAM policy.
  * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult} */ -public final class IamPolicySearchResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IamPolicySearchResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicySearchResult) IamPolicySearchResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IamPolicySearchResult.newBuilder() to construct. private IamPolicySearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicySearchResult() { resource_ = ""; assetType_ = ""; @@ -47,15 +29,16 @@ private IamPolicySearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicySearchResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicySearchResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,82 +58,72 @@ private IamPolicySearchResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 26: - { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } + resource_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - break; + project_ = s; + break; + } + case 26: { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); } - case 34: - { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder subBuilder = null; - if (explanation_ != null) { - subBuilder = explanation_.toBuilder(); - } - explanation_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explanation_); - explanation_ = subBuilder.buildPartial(); - } - - break; + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - assetType_ = s; - break; + break; + } + case 34: { + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder subBuilder = null; + if (explanation_ != null) { + subBuilder = explanation_.toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - folders_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - folders_.add(s); - break; + explanation_ = input.readMessage(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explanation_); + explanation_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - organization_ = s; - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + assetType_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + folders_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + folders_.add(s); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + organization_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -158,7 +131,8 @@ private IamPolicySearchResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { folders_ = folders_.getUnmodifiableView(); @@ -167,30 +141,24 @@ private IamPolicySearchResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.class, - com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.class, com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); } - public interface ExplanationOrBuilder - extends + public interface ExplanationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicySearchResult.Explanation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -201,14 +169,10 @@ public interface ExplanationOrBuilder
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ int getMatchedPermissionsCount(); /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -219,20 +183,17 @@ public interface ExplanationOrBuilder
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + */ + boolean containsMatchedPermissions( + java.lang.String key); + /** + * Use {@link #getMatchedPermissionsMap()} instead. */ - boolean containsMatchedPermissions(java.lang.String key); - /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMatchedPermissions(); + java.util.Map + getMatchedPermissions(); /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -243,17 +204,11 @@ public interface ExplanationOrBuilder
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMatchedPermissionsMap(); + java.util.Map + getMatchedPermissionsMap(); /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -264,20 +219,15 @@ public interface ExplanationOrBuilder
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ /* nullable */ - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue); +com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue); /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -288,45 +238,43 @@ public interface ExplanationOrBuilder
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrThrow(java.lang.String key); + + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow( + java.lang.String key); } /** - * - * *
    * Explanation about the IAM policy search result.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation} */ - public static final class Explanation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Explanation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation) ExplanationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Explanation.newBuilder() to construct. private Explanation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Explanation() {} + private Explanation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Explanation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Explanation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -346,33 +294,26 @@ private Explanation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - matchedPermissions_ = - com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - matchedPermissions__ = - input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - matchedPermissions_ - .getMutableMap() - .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + matchedPermissions_ = com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + matchedPermissions__ = input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + matchedPermissions_.getMutableMap().put( + matchedPermissions__.getKey(), matchedPermissions__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -380,129 +321,115 @@ private Explanation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_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 internalGetMatchedPermissions(); 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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); } - public interface PermissionsOrBuilder - extends + public interface PermissionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @return A list containing the permissions. */ - java.util.List getPermissionsList(); + java.util.List + getPermissionsList(); /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ int getPermissionsCount(); /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString getPermissionsBytes(int index); + com.google.protobuf.ByteString + getPermissionsBytes(int index); } /** - * - * *
      * IAM permissions
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions} */ - public static final class Permissions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Permissions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) PermissionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Permissions.newBuilder() to construct. private Permissions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Permissions() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Permissions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Permissions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -522,23 +449,22 @@ private Permissions( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - permissions_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + permissions_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,8 +472,8 @@ private Permissions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { permissions_ = permissions_.getUnmodifiableView(); @@ -556,62 +482,50 @@ private Permissions( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder - .class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder.class); } public static final int PERMISSIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList permissions_; /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_; } /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -619,23 +533,20 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -647,7 +558,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } @@ -676,16 +588,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.asset.v1.IamPolicySearchResult.Explanation.Permissions)) { + if (!(obj instanceof com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other = - (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) obj; + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) obj; - if (!getPermissionsList().equals(other.getPermissionsList())) return false; + if (!getPermissionsList() + .equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -706,103 +617,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions 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.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - 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.asset.v1.IamPolicySearchResult.Explanation.Permissions 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.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseDelimitedFrom( - java.io.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.asset.v1.IamPolicySearchResult.Explanation.Permissions parseDelimitedFrom( + java.io.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.asset.v1.IamPolicySearchResult.Explanation.Permissions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - 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.asset.v1.IamPolicySearchResult.Explanation.Permissions 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.asset.v1.IamPolicySearchResult.Explanation.Permissions prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -812,50 +708,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * IAM permissions
        * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.PermissionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder - .class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder.class); } - // Construct using - // com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.newBuilder() + // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -865,22 +755,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - .getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions build() { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = - buildPartial(); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -888,10 +775,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions b } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - buildPartial() { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = - new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(this); + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions buildPartial() { + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); @@ -906,54 +791,46 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) { - return mergeFrom( - (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) other); + if (other instanceof com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) { + return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other) { - if (other - == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other) { + if (other == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.getDefaultInstance()) return this; if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; @@ -979,14 +856,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parsedMessage = - null; + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -995,55 +869,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_.getUnmodifiableView(); } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -1051,90 +914,80 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(int index, java.lang.String value) { + public Builder setPermissions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions(java.lang.String value) { + public Builder addPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions(java.lang.Iterable values) { + public Builder addAllPermissions( + java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); onChanged(); return this; } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -1144,28 +997,25 @@ public Builder clearPermissions() { return this; } /** - * - * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; - * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1178,33 +1028,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) - private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Permissions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Permissions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Permissions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1216,41 +1063,28 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int MATCHED_PERMISSIONS_FIELD_NUMBER = 1; - private static final class MatchedPermissionsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - defaultEntry = + java.lang.String, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.getDefaultInstance()); } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - matchedPermissions_; - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - internalGetMatchedPermissions() { + java.lang.String, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matchedPermissions_; + private com.google.protobuf.MapField + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); @@ -1262,8 +1096,6 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1274,29 +1106,24 @@ public int getMatchedPermissionsCount() {
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ + @java.lang.Override - public boolean containsMatchedPermissions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMatchedPermissions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** Use {@link #getMatchedPermissionsMap()} instead. */ + /** + * Use {@link #getMatchedPermissionsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMatchedPermissions() { + public java.util.Map getMatchedPermissions() { return getMatchedPermissionsMap(); } /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1307,20 +1134,14 @@ public boolean containsMatchedPermissions(java.lang.String key) {
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMatchedPermissionsMap() { + + public java.util.Map getMatchedPermissionsMap() { return internalGetMatchedPermissions().getMap(); } /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1331,27 +1152,19 @@ public boolean containsMatchedPermissions(java.lang.String key) {
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - map = internalGetMatchedPermissions().getMap(); + + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMatchedPermissions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1362,20 +1175,15 @@ public boolean containsMatchedPermissions(java.lang.String key) {
      * map is populated only for requests with permission queries.
      * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - map = internalGetMatchedPermissions().getMap(); + + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1383,7 +1191,6 @@ public boolean containsMatchedPermissions(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1395,8 +1202,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetMatchedPermissions(), MatchedPermissionsDefaultEntryHolder.defaultEntry, @@ -1410,20 +1219,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - entry : internalGetMatchedPermissions().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - matchedPermissions__ = - MatchedPermissionsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchedPermissions__); + for (java.util.Map.Entry entry + : internalGetMatchedPermissions().getMap().entrySet()) { + com.google.protobuf.MapEntry + matchedPermissions__ = MatchedPermissionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchedPermissions__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1433,16 +1237,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.asset.v1.IamPolicySearchResult.Explanation)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation other = - (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) obj; + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation other = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) obj; - if (!internalGetMatchedPermissions().equals(other.internalGetMatchedPermissions())) - return false; + if (!internalGetMatchedPermissions().equals( + other.internalGetMatchedPermissions())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1464,94 +1267,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.nio.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.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( - byte[] data, com.google.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.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicySearchResult.Explanation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicySearchResult.Explanation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1561,52 +1357,49 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Explanation about the IAM policy search result.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation) com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetMatchedPermissions(); 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 internalGetMutableMatchedPermissions(); 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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.newBuilder() @@ -1614,15 +1407,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1631,14 +1425,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation - getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance(); } @@ -1653,8 +1446,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation buildPartial() { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result = - new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(this); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(this); int from_bitField0_ = bitField0_; result.matchedPermissions_ = internalGetMatchedPermissions(); result.matchedPermissions_.makeImmutable(); @@ -1666,41 +1458,38 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.IamPolicySearchResult.Explanation) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult.Explanation)other); } else { super.mergeFrom(other); return this; @@ -1708,10 +1497,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation other) { - if (other - == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()) - return this; - internalGetMutableMatchedPermissions().mergeFrom(other.internalGetMatchedPermissions()); + if (other == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()) return this; + internalGetMutableMatchedPermissions().mergeFrom( + other.internalGetMatchedPermissions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1731,9 +1519,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1742,35 +1528,24 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - matchedPermissions_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - internalGetMatchedPermissions() { + java.lang.String, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matchedPermissions_; + private com.google.protobuf.MapField + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); } return matchedPermissions_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - internalGetMutableMatchedPermissions() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableMatchedPermissions() { + onChanged();; if (matchedPermissions_ == null) { - matchedPermissions_ = - com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); + matchedPermissions_ = com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); } if (!matchedPermissions_.isMutable()) { matchedPermissions_ = matchedPermissions_.copy(); @@ -1782,8 +1557,6 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1794,29 +1567,24 @@ public int getMatchedPermissionsCount() {
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ + @java.lang.Override - public boolean containsMatchedPermissions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMatchedPermissions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** Use {@link #getMatchedPermissionsMap()} instead. */ + /** + * Use {@link #getMatchedPermissionsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMatchedPermissions() { + public java.util.Map getMatchedPermissions() { return getMatchedPermissionsMap(); } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1827,20 +1595,14 @@ public boolean containsMatchedPermissions(java.lang.String key) {
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMatchedPermissionsMap() { + + public java.util.Map getMatchedPermissionsMap() { return internalGetMatchedPermissions().getMap(); } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1851,28 +1613,19 @@ public boolean containsMatchedPermissions(java.lang.String key) {
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrDefault( - java.lang.String key, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - map = internalGetMatchedPermissions().getMap(); + + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault( + java.lang.String key, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMatchedPermissions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1883,20 +1636,15 @@ public boolean containsMatchedPermissions(java.lang.String key) {
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions - getMatchedPermissionsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - map = internalGetMatchedPermissions().getMap(); + + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1904,12 +1652,11 @@ public boolean containsMatchedPermissions(java.lang.String key) { } public Builder clearMatchedPermissions() { - internalGetMutableMatchedPermissions().getMutableMap().clear(); + internalGetMutableMatchedPermissions().getMutableMap() + .clear(); return this; } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1920,28 +1667,25 @@ public Builder clearMatchedPermissions() {
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ - public Builder removeMatchedPermissions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMatchedPermissions().getMutableMap().remove(key); + + public Builder removeMatchedPermissions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMatchedPermissions().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - getMutableMatchedPermissions() { + public java.util.Map + getMutableMatchedPermissions() { return internalGetMutableMatchedPermissions().getMutableMap(); } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1952,26 +1696,21 @@ public Builder removeMatchedPermissions(java.lang.String key) {
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ public Builder putMatchedPermissions( java.lang.String key, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions value) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMatchedPermissions().getMutableMap().put(key, value); + internalGetMutableMatchedPermissions().getMutableMap() + .put(key, value); return this; } /** - * - * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1982,19 +1721,15 @@ public Builder putMatchedPermissions(
        * map is populated only for requests with permission queries.
        * 
* - * - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; */ + public Builder putAllMatchedPermissions( - java.util.Map< - java.lang.String, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> - values) { - internalGetMutableMatchedPermissions().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableMatchedPermissions().getMutableMap() + .putAll(values); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2007,13 +1742,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation) - private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(); } @@ -2022,16 +1756,16 @@ public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Explanation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Explanation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Explanation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2046,13 +1780,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object resource_; /** - * - * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -2065,7 +1798,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultIns
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -2074,15 +1806,14 @@ 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; } } /** - * - * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -2095,15 +1826,16 @@ public java.lang.String getResource() {
    * 
* * string resource = 1; - * * @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 { @@ -2114,8 +1846,6 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -2124,7 +1854,6 @@ public com.google.protobuf.ByteString getResourceBytes() {
    * 
* * string asset_type = 5; - * * @return The assetType. */ @java.lang.Override @@ -2133,15 +1862,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -2150,15 +1878,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 5; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -2169,8 +1898,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -2182,7 +1909,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
    * 
* * string project = 2; - * * @return The project. */ @java.lang.Override @@ -2191,15 +1917,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -2211,15 +1936,16 @@ public java.lang.String getProject() {
    * 
* * string project = 2; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -2230,8 +1956,6 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int FOLDERS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList folders_; /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2243,15 +1967,13 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * repeated string folders = 6; - * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList getFoldersList() { + public com.google.protobuf.ProtocolStringList + getFoldersList() { return folders_; } - /** - * - * + /** *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2263,15 +1985,12 @@ public com.google.protobuf.ProtocolStringList getFoldersList() {
    * 
* * repeated string folders = 6; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2283,7 +2002,6 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2291,8 +2009,6 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2304,19 +2020,17 @@ public java.lang.String getFolders(int index) {
    * 
* * repeated string folders = 6; - * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString getFoldersBytes(int index) { + public com.google.protobuf.ByteString + getFoldersBytes(int index) { return folders_.getByteString(index); } public static final int ORGANIZATION_FIELD_NUMBER = 7; private volatile java.lang.Object organization_; /** - * - * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -2328,7 +2042,6 @@ public com.google.protobuf.ByteString getFoldersBytes(int index) {
    * 
* * string organization = 7; - * * @return The organization. */ @java.lang.Override @@ -2337,15 +2050,14 @@ public java.lang.String getOrganization() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; } } /** - * - * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -2357,15 +2069,16 @@ public java.lang.String getOrganization() {
    * 
* * string organization = 7; - * * @return The bytes for organization. */ @java.lang.Override - public com.google.protobuf.ByteString getOrganizationBytes() { + public com.google.protobuf.ByteString + getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); organization_ = b; return b; } else { @@ -2376,8 +2089,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() { public static final int POLICY_FIELD_NUMBER = 3; private com.google.iam.v1.Policy policy_; /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2394,7 +2105,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() {
    * 
* * .google.iam.v1.Policy policy = 3; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -2402,8 +2112,6 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2420,7 +2128,6 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 3; - * * @return The policy. */ @java.lang.Override @@ -2428,8 +2135,6 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2455,15 +2160,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
   public static final int EXPLANATION_FIELD_NUMBER = 4;
   private com.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation_;
   /**
-   *
-   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; - * * @return Whether the explanation field is set. */ @java.lang.Override @@ -2471,26 +2173,19 @@ public boolean hasExplanation() { return explanation_ != null; } /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; - * * @return The explanation. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanation() { - return explanation_ == null - ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() - : explanation_; + return explanation_ == null ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; } /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
@@ -2499,13 +2194,11 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanatio
    * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder
-      getExplanationOrBuilder() {
+  public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
     return getExplanation();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2517,7 +2210,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
     }
@@ -2555,10 +2249,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_);
     }
     if (policy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolicy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getPolicy());
     }
     if (explanation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExplanation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getExplanation());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, assetType_);
@@ -2582,26 +2278,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.IamPolicySearchResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.IamPolicySearchResult other =
-        (com.google.cloud.asset.v1.IamPolicySearchResult) obj;
-
-    if (!getResource().equals(other.getResource())) return false;
-    if (!getAssetType().equals(other.getAssetType())) return false;
-    if (!getProject().equals(other.getProject())) return false;
-    if (!getFoldersList().equals(other.getFoldersList())) return false;
-    if (!getOrganization().equals(other.getOrganization())) return false;
+    com.google.cloud.asset.v1.IamPolicySearchResult other = (com.google.cloud.asset.v1.IamPolicySearchResult) obj;
+
+    if (!getResource()
+        .equals(other.getResource())) return false;
+    if (!getAssetType()
+        .equals(other.getAssetType())) return false;
+    if (!getProject()
+        .equals(other.getProject())) return false;
+    if (!getFoldersList()
+        .equals(other.getFoldersList())) return false;
+    if (!getOrganization()
+        .equals(other.getOrganization())) return false;
     if (hasPolicy() != other.hasPolicy()) return false;
     if (hasPolicy()) {
-      if (!getPolicy().equals(other.getPolicy())) return false;
+      if (!getPolicy()
+          .equals(other.getPolicy())) return false;
     }
     if (hasExplanation() != other.hasExplanation()) return false;
     if (hasExplanation()) {
-      if (!getExplanation().equals(other.getExplanation())) return false;
+      if (!getExplanation()
+          .equals(other.getExplanation())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2639,127 +2341,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
-      byte[] data, com.google.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.asset.v1.IamPolicySearchResult 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.asset.v1.IamPolicySearchResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.IamPolicySearchResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.IamPolicySearchResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.IamPolicySearchResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.IamPolicySearchResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicySearchResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A result of IAM Policy search, containing information of an IAM policy.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicySearchResult) com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.class, - com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.class, com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.newBuilder() @@ -2767,15 +2460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2805,9 +2499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; } @java.lang.Override @@ -2826,8 +2520,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult buildPartial() { - com.google.cloud.asset.v1.IamPolicySearchResult result = - new com.google.cloud.asset.v1.IamPolicySearchResult(this); + com.google.cloud.asset.v1.IamPolicySearchResult result = new com.google.cloud.asset.v1.IamPolicySearchResult(this); int from_bitField0_ = bitField0_; result.resource_ = resource_; result.assetType_ = assetType_; @@ -2856,39 +2549,38 @@ public com.google.cloud.asset.v1.IamPolicySearchResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicySearchResult) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult) other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult)other); } else { super.mergeFrom(other); return this; @@ -2896,8 +2588,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicySearchResult other) { - if (other == com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -2958,13 +2649,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object resource_ = ""; /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2977,13 +2665,13 @@ public Builder mergeFrom(
      * 
* * string resource = 1; - * * @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; @@ -2992,8 +2680,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -3006,14 +2692,15 @@ public java.lang.String getResource() {
      * 
* * string resource = 1; - * * @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 { @@ -3021,8 +2708,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -3035,22 +2720,20 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * 
* * string resource = 1; - * * @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; } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -3063,18 +2746,15 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -3087,16 +2767,16 @@ public Builder clearResource() {
      * 
* * string resource = 1; - * * @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; @@ -3104,8 +2784,6 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3114,13 +2792,13 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_type = 5; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -3129,8 +2807,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3139,14 +2815,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 5; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -3154,8 +2831,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3164,22 +2839,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 5; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3188,18 +2861,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 5; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -3208,16 +2878,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 5; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -3225,8 +2895,6 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -3238,13 +2906,13 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string project = 2; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -3253,8 +2921,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -3266,14 +2932,15 @@ public java.lang.String getProject() {
      * 
* * string project = 2; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -3281,8 +2948,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -3294,22 +2959,20 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * string project = 2; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -3321,18 +2984,15 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 2; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -3344,33 +3004,29 @@ public Builder clearProject() {
      * 
* * string project = 2; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList folders_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList folders_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFoldersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3382,15 +3038,13 @@ private void ensureFoldersIsMutable() {
      * 
* * repeated string folders = 6; - * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList getFoldersList() { + public com.google.protobuf.ProtocolStringList + getFoldersList() { return folders_.getUnmodifiableView(); } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3402,15 +3056,12 @@ public com.google.protobuf.ProtocolStringList getFoldersList() {
      * 
* * repeated string folders = 6; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3422,7 +3073,6 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3430,8 +3080,6 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3443,16 +3091,14 @@ public java.lang.String getFolders(int index) {
      * 
* * repeated string folders = 6; - * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString getFoldersBytes(int index) { + public com.google.protobuf.ByteString + getFoldersBytes(int index) { return folders_.getByteString(index); } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3464,23 +3110,21 @@ public com.google.protobuf.ByteString getFoldersBytes(int index) {
      * 
* * repeated string folders = 6; - * * @param index The index to set the value at. * @param value The folders to set. * @return This builder for chaining. */ - public Builder setFolders(int index, java.lang.String value) { + public Builder setFolders( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3492,22 +3136,20 @@ public Builder setFolders(int index, java.lang.String value) {
      * 
* * repeated string folders = 6; - * * @param value The folders to add. * @return This builder for chaining. */ - public Builder addFolders(java.lang.String value) { + public Builder addFolders( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3519,19 +3161,18 @@ public Builder addFolders(java.lang.String value) {
      * 
* * repeated string folders = 6; - * * @param values The folders to add. * @return This builder for chaining. */ - public Builder addAllFolders(java.lang.Iterable values) { + public Builder addAllFolders( + java.lang.Iterable values) { ensureFoldersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, folders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, folders_); onChanged(); return this; } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3543,7 +3184,6 @@ public Builder addAllFolders(java.lang.Iterable values) {
      * 
* * repeated string folders = 6; - * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3553,8 +3193,6 @@ public Builder clearFolders() { return this; } /** - * - * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3566,15 +3204,15 @@ public Builder clearFolders() {
      * 
* * repeated string folders = 6; - * * @param value The bytes of the folders to add. * @return This builder for chaining. */ - public Builder addFoldersBytes(com.google.protobuf.ByteString value) { + public Builder addFoldersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); onChanged(); @@ -3583,8 +3221,6 @@ public Builder addFoldersBytes(com.google.protobuf.ByteString value) { private java.lang.Object organization_ = ""; /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3596,13 +3232,13 @@ public Builder addFoldersBytes(com.google.protobuf.ByteString value) {
      * 
* * string organization = 7; - * * @return The organization. */ public java.lang.String getOrganization() { java.lang.Object ref = organization_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; @@ -3611,8 +3247,6 @@ public java.lang.String getOrganization() { } } /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3624,14 +3258,15 @@ public java.lang.String getOrganization() {
      * 
* * string organization = 7; - * * @return The bytes for organization. */ - public com.google.protobuf.ByteString getOrganizationBytes() { + public com.google.protobuf.ByteString + getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); organization_ = b; return b; } else { @@ -3639,8 +3274,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } } /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3652,22 +3285,20 @@ public com.google.protobuf.ByteString getOrganizationBytes() {
      * 
* * string organization = 7; - * * @param value The organization to set. * @return This builder for chaining. */ - public Builder setOrganization(java.lang.String value) { + public Builder setOrganization( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + organization_ = value; onChanged(); return this; } /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3679,18 +3310,15 @@ public Builder setOrganization(java.lang.String value) {
      * 
* * string organization = 7; - * * @return This builder for chaining. */ public Builder clearOrganization() { - + organization_ = getDefaultInstance().getOrganization(); onChanged(); return this; } /** - * - * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3702,16 +3330,16 @@ public Builder clearOrganization() {
      * 
* * string organization = 7; - * * @param value The bytes for organization to set. * @return This builder for chaining. */ - public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { + public Builder setOrganizationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + organization_ = value; onChanged(); return this; @@ -3719,13 +3347,8 @@ public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - policyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3742,15 +3365,12 @@ public Builder setOrganizationBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.iam.v1.Policy policy = 3; - * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3767,7 +3387,6 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 3; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -3778,8 +3397,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3811,8 +3428,6 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3830,7 +3445,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy policy = 3;
      */
-    public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (policyBuilder_ == null) {
         policy_ = builderForValue.build();
         onChanged();
@@ -3841,8 +3457,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3863,7 +3477,8 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
         if (policy_ != null) {
-          policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+          policy_ =
+            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -3875,8 +3490,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3906,8 +3519,6 @@ public Builder clearPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3926,13 +3537,11 @@ public Builder clearPolicy() {
      * .google.iam.v1.Policy policy = 3;
      */
     public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-
+      
       onChanged();
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3954,12 +3563,11 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       if (policyBuilder_ != null) {
         return policyBuilder_.getMessageOrBuilder();
       } else {
-        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+        return policy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
       }
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3978,16 +3586,14 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * .google.iam.v1.Policy policy = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getPolicyFieldBuilder() {
       if (policyBuilder_ == null) {
-        policyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean());
+        policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getPolicy(),
+                getParentForChildren(),
+                isClean());
         policy_ = null;
       }
       return policyBuilder_;
@@ -3995,49 +3601,36 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
 
     private com.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation,
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder,
-            com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>
-        explanationBuilder_;
+        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder> explanationBuilder_;
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; - * * @return Whether the explanation field is set. */ public boolean hasExplanation() { return explanationBuilder_ != null || explanation_ != null; } /** - * - * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; - * * @return The explanation. */ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanation() { if (explanationBuilder_ == null) { - return explanation_ == null - ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() - : explanation_; + return explanation_ == null ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; } else { return explanationBuilder_.getMessage(); } } /** - * - * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4045,8 +3638,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanatio
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public Builder setExplanation(
-        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
+    public Builder setExplanation(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4060,8 +3652,6 @@ public Builder setExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4081,8 +3671,6 @@ public Builder setExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4090,14 +3678,11 @@ public Builder setExplanation(
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public Builder mergeExplanation(
-        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
+    public Builder mergeExplanation(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (explanation_ != null) {
           explanation_ =
-              com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.newBuilder(explanation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.newBuilder(explanation_).mergeFrom(value).buildPartial();
         } else {
           explanation_ = value;
         }
@@ -4109,8 +3694,6 @@ public Builder mergeExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4130,8 +3713,6 @@ public Builder clearExplanation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4139,15 +3720,12 @@ public Builder clearExplanation() {
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder
-        getExplanationBuilder() {
-
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder getExplanationBuilder() {
+      
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4155,19 +3733,15 @@ public Builder clearExplanation() {
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder
-        getExplanationOrBuilder() {
+    public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
       if (explanationBuilder_ != null) {
         return explanationBuilder_.getMessageOrBuilder();
       } else {
-        return explanation_ == null
-            ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()
-            : explanation_;
+        return explanation_ == null ?
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
       }
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -4176,24 +3750,21 @@ public Builder clearExplanation() {
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation,
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder,
-            com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>
+        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder> 
         getExplanationFieldBuilder() {
       if (explanationBuilder_ == null) {
-        explanationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.IamPolicySearchResult.Explanation,
-                com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder,
-                com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>(
-                getExplanation(), getParentForChildren(), isClean());
+        explanationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>(
+                getExplanation(),
+                getParentForChildren(),
+                isClean());
         explanation_ = null;
       }
       return explanationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4203,12 +3774,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicySearchResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicySearchResult)
   private static final com.google.cloud.asset.v1.IamPolicySearchResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicySearchResult();
   }
@@ -4217,16 +3788,16 @@ public static com.google.cloud.asset.v1.IamPolicySearchResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public IamPolicySearchResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new IamPolicySearchResult(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public IamPolicySearchResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new IamPolicySearchResult(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4241,4 +3812,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
similarity index 89%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
index a79c38011..6958f7f88 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.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/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface IamPolicySearchResultOrBuilder
-    extends
+public interface IamPolicySearchResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicySearchResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -38,13 +20,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string resource = 1; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -57,14 +36,12 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string resource = 1; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -73,13 +50,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string asset_type = 5; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -88,14 +62,12 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string asset_type = 5; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -107,13 +79,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string project = 2; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -125,14 +94,12 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string project = 2; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -144,13 +111,11 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * repeated string folders = 6; - * * @return A list containing the folders. */ - java.util.List getFoldersList(); + java.util.List + getFoldersList(); /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -162,13 +127,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * repeated string folders = 6; - * * @return The count of folders. */ int getFoldersCount(); /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -180,14 +142,11 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * repeated string folders = 6; - * * @param index The index of the element to return. * @return The folders at the given index. */ java.lang.String getFolders(int index); /** - * - * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -199,15 +158,13 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * repeated string folders = 6; - * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - com.google.protobuf.ByteString getFoldersBytes(int index); + com.google.protobuf.ByteString + getFoldersBytes(int index); /** - * - * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -219,13 +176,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string organization = 7; - * * @return The organization. */ java.lang.String getOrganization(); /** - * - * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -237,14 +191,12 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string organization = 7; - * * @return The bytes for organization. */ - com.google.protobuf.ByteString getOrganizationBytes(); + com.google.protobuf.ByteString + getOrganizationBytes(); /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -261,13 +213,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * .google.iam.v1.Policy policy = 3; - * * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -284,13 +233,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * .google.iam.v1.Policy policy = 3; - * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -311,34 +257,26 @@ public interface IamPolicySearchResultOrBuilder
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; - * * @return Whether the explanation field is set. */ boolean hasExplanation(); /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; - * * @return The explanation. */ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanation(); /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
similarity index 82%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
index 26658678d..f3b5c589a 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * ListAssets request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsRequest} */ -public final class ListAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListAssetsRequest) ListAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetsRequest.newBuilder() to construct. private ListAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -47,15 +29,16 @@ private ListAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,74 +58,67 @@ private ListAssetsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - com.google.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; + parent_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 32: - { - int rawValue = input.readEnum(); - contentType_ = rawValue; - break; - } - case 40: - { - pageSize_ = input.readInt32(); - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + assetTypes_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - pageToken_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - relationshipTypes_.add(s); - break; + contentType_ = rawValue; + break; + } + case 40: { + + pageSize_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + relationshipTypes_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,7 +126,8 @@ private ListAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -162,27 +139,22 @@ private ListAssetsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsRequest.class, - com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ListAssetsRequest.class, com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -191,10 +163,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * - * string parent = 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 @@ -203,15 +172,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 organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -220,18 +188,17 @@ public java.lang.String getParent() {
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * - * string parent = 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 { @@ -242,8 +209,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -253,7 +218,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -261,8 +225,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -272,7 +234,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -280,8 +241,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -300,8 +259,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -320,15 +277,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -347,15 +302,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -374,7 +326,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -382,8 +333,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -402,64 +351,52 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -470,8 +407,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -479,7 +414,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -488,15 +422,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 `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -504,15 +437,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; - * * @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 { @@ -523,8 +457,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList relationshipTypes_; /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -544,15 +476,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * repeated string relationship_types = 7; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_; } /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -572,15 +502,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
    * 
* * repeated string relationship_types = 7; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -600,7 +527,6 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -608,8 +534,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -629,16 +553,15 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -650,7 +573,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -660,8 +584,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (pageSize_ != 0) { @@ -686,7 +609,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -696,12 +620,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); + if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, contentType_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -722,24 +647,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ListAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListAssetsRequest other = - (com.google.cloud.asset.v1.ListAssetsRequest) obj; + com.google.cloud.asset.v1.ListAssetsRequest other = (com.google.cloud.asset.v1.ListAssetsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) 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 (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getRelationshipTypesList() + .equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -776,127 +706,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( - byte[] data, com.google.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.asset.v1.ListAssetsRequest 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.asset.v1.ListAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ListAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ListAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListAssets request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListAssetsRequest) com.google.cloud.asset.v1.ListAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsRequest.class, - com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ListAssetsRequest.class, com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ListAssetsRequest.newBuilder() @@ -904,15 +825,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -938,9 +860,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; } @java.lang.Override @@ -959,8 +881,7 @@ public com.google.cloud.asset.v1.ListAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ListAssetsRequest buildPartial() { - com.google.cloud.asset.v1.ListAssetsRequest result = - new com.google.cloud.asset.v1.ListAssetsRequest(this); + com.google.cloud.asset.v1.ListAssetsRequest result = new com.google.cloud.asset.v1.ListAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -989,39 +910,38 @@ public com.google.cloud.asset.v1.ListAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1.ListAssetsRequest) other); + return mergeFrom((com.google.cloud.asset.v1.ListAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -1095,13 +1015,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1110,16 +1027,14 @@ public Builder mergeFrom(
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * - * string parent = 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; @@ -1128,8 +1043,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1138,17 +1051,16 @@ public java.lang.String getParent() {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * - * string parent = 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 { @@ -1156,8 +1068,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1166,25 +1076,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * - * 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, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1193,21 +1099,16 @@ public Builder setParent(java.lang.String value) {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * - * string 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, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1216,19 +1117,17 @@ public Builder clearParent() {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * - * 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; @@ -1236,13 +1135,8 @@ public Builder setParentBytes(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_; /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1252,15 +1146,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1270,7 +1161,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1281,8 +1171,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1307,8 +1195,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1319,7 +1205,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1330,8 +1217,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1346,7 +1231,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;
         }
@@ -1358,8 +1243,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1382,8 +1265,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1395,13 +1276,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1416,12 +1295,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1433,34 +1311,27 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1479,15 +1350,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1506,15 +1375,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1533,7 +1399,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1541,8 +1406,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1561,16 +1424,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1589,23 +1450,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1624,22 +1483,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1658,19 +1515,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1689,7 +1545,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1699,8 +1554,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1719,15 +1572,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1736,69 +1589,55 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = - com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1806,41 +1645,35 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1848,38 +1681,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; - * * @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 assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1887,8 +1714,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1896,13 +1721,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; - * * @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; @@ -1911,8 +1736,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1920,14 +1743,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; - * * @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 { @@ -1935,8 +1759,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1944,22 +1766,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 6; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1967,18 +1787,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1986,33 +1803,29 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; - * * @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 com.google.protobuf.LazyStringList relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2032,15 +1845,13 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 7; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2060,15 +1871,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
      * 
* * repeated string relationship_types = 7; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2088,7 +1896,6 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 7; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -2096,8 +1903,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2117,16 +1922,14 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 7; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2146,23 +1949,21 @@ public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) {
      * 
* * repeated string relationship_types = 7; - * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes(int index, java.lang.String value) { + public Builder setRelationshipTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2182,22 +1983,20 @@ public Builder setRelationshipTypes(int index, java.lang.String value) {
      * 
* * repeated string relationship_types = 7; - * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes(java.lang.String value) { + public Builder addRelationshipTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2217,19 +2016,18 @@ public Builder addRelationshipTypes(java.lang.String value) {
      * 
* * repeated string relationship_types = 7; - * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes(java.lang.Iterable values) { + public Builder addAllRelationshipTypes( + java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relationshipTypes_); onChanged(); return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2249,7 +2047,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 7; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2259,8 +2056,6 @@ public Builder clearRelationshipTypes() { return this; } /** - * - * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2280,23 +2075,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 7; - * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2306,12 +2101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListAssetsRequest) private static final com.google.cloud.asset.v1.ListAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListAssetsRequest(); } @@ -2320,16 +2115,16 @@ public static com.google.cloud.asset.v1.ListAssetsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2344,4 +2139,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java similarity index 89% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java index d54ad45a5..570a4d9a5 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListAssetsRequestOrBuilder - extends +public interface ListAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -34,16 +16,11 @@ public interface ListAssetsRequestOrBuilder
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * - * string parent = 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, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -52,17 +29,13 @@ public interface ListAssetsRequestOrBuilder
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * - * string parent = 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(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -72,13 +45,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -88,13 +58,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -108,8 +75,6 @@ public interface ListAssetsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -128,13 +93,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -153,13 +116,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -178,14 +138,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -204,56 +161,45 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; - * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** - * - * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -261,13 +207,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -275,14 +218,12 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -302,13 +243,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @return A list containing the relationshipTypes. */ - java.util.List getRelationshipTypesList(); + java.util.List + getRelationshipTypesList(); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -328,13 +267,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -354,14 +290,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** - * - * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -381,9 +314,9 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 7; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString + getRelationshipTypesBytes(int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java index 9836d4899..b2c378da5 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * ListAssets response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsResponse} */ -public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListAssetsResponse) ListAssetsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetsResponse.newBuilder() to construct. private ListAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetsResponse() { assets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAssetsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,45 +55,41 @@ private ListAssetsResponse( case 0: done = true; break; - case 10: - { - 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: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assets_.add( - input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry)); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + assets_.add( + input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +97,8 @@ private ListAssetsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -127,33 +107,27 @@ private ListAssetsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsResponse.class, - com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1.ListAssetsResponse.class, com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); } public static final int READ_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -161,14 +135,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -176,8 +147,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -192,8 +161,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** - * - * *
    * Assets.
    * 
@@ -205,8 +172,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * Assets.
    * 
@@ -214,13 +179,11 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1.Asset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** - * - * *
    * Assets.
    * 
@@ -232,8 +195,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * Assets.
    * 
@@ -245,8 +206,6 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * Assets.
    * 
@@ -254,15 +213,14 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { * repeated .google.cloud.asset.v1.Asset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( + int index) { return assets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -270,7 +228,6 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) {
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -279,15 +236,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -295,15 +251,16 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -312,7 +269,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,7 +280,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -344,10 +301,12 @@ public int getSerializedSize() { size = 0; if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReadTime()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, assets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -360,20 +319,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.asset.v1.ListAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListAssetsResponse other = - (com.google.cloud.asset.v1.ListAssetsResponse) obj; + com.google.cloud.asset.v1.ListAssetsResponse other = (com.google.cloud.asset.v1.ListAssetsResponse) obj; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (!getAssetsList().equals(other.getAssetsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAssetsList() + .equals(other.getAssetsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -400,127 +361,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( - byte[] data, com.google.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.asset.v1.ListAssetsResponse 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.asset.v1.ListAssetsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListAssetsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ListAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ListAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListAssets response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListAssetsResponse) com.google.cloud.asset.v1.ListAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsResponse.class, - com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1.ListAssetsResponse.class, com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.ListAssetsResponse.newBuilder() @@ -528,17 +480,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) { getAssetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -560,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; } @java.lang.Override @@ -581,8 +533,7 @@ public com.google.cloud.asset.v1.ListAssetsResponse build() { @java.lang.Override public com.google.cloud.asset.v1.ListAssetsResponse buildPartial() { - com.google.cloud.asset.v1.ListAssetsResponse result = - new com.google.cloud.asset.v1.ListAssetsResponse(this); + com.google.cloud.asset.v1.ListAssetsResponse result = new com.google.cloud.asset.v1.ListAssetsResponse(this); int from_bitField0_ = bitField0_; if (readTimeBuilder_ == null) { result.readTime_ = readTime_; @@ -607,39 +558,38 @@ public com.google.cloud.asset.v1.ListAssetsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListAssetsResponse) { - return mergeFrom((com.google.cloud.asset.v1.ListAssetsResponse) other); + return mergeFrom((com.google.cloud.asset.v1.ListAssetsResponse)other); } else { super.mergeFrom(other); return this; @@ -669,10 +619,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListAssetsResponse other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -710,38 +659,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; 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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -752,8 +691,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -774,15 +711,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -793,8 +729,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -805,7 +739,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; } @@ -817,8 +751,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -837,8 +769,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -846,13 +776,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -863,12 +791,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 the snapshot was taken.
      * 
@@ -876,41 +803,32 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } private java.util.List assets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder> - assetsBuilder_; + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> assetsBuilder_; /** - * - * *
      * Assets.
      * 
@@ -925,8 +843,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * Assets.
      * 
@@ -941,8 +857,6 @@ public int getAssetsCount() { } } /** - * - * *
      * Assets.
      * 
@@ -957,15 +871,14 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { } } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder setAssets(int index, com.google.cloud.asset.v1.Asset value) { + public Builder setAssets( + int index, com.google.cloud.asset.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -979,15 +892,14 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.Asset value) { return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder setAssets(int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder setAssets( + int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.set(index, builderForValue.build()); @@ -998,8 +910,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.Asset.Builder buil return this; } /** - * - * *
      * Assets.
      * 
@@ -1020,15 +930,14 @@ public Builder addAssets(com.google.cloud.asset.v1.Asset value) { return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder addAssets(int index, com.google.cloud.asset.v1.Asset value) { + public Builder addAssets( + int index, com.google.cloud.asset.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1042,15 +951,14 @@ public Builder addAssets(int index, com.google.cloud.asset.v1.Asset value) { return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder addAssets(com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder addAssets( + com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -1061,15 +969,14 @@ public Builder addAssets(com.google.cloud.asset.v1.Asset.Builder builderForValue return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder addAssets(int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder addAssets( + int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(index, builderForValue.build()); @@ -1080,8 +987,6 @@ public Builder addAssets(int index, com.google.cloud.asset.v1.Asset.Builder buil return this; } /** - * - * *
      * Assets.
      * 
@@ -1092,7 +997,8 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -1100,8 +1006,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1119,8 +1023,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * Assets.
      * 
@@ -1138,44 +1040,39 @@ public Builder removeAssets(int index) { return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public com.google.cloud.asset.v1.Asset.Builder getAssetsBuilder(int index) { + public com.google.cloud.asset.v1.Asset.Builder getAssetsBuilder( + int index) { return getAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( + int index) { if (assetsBuilder_ == null) { - return assets_.get(index); - } else { + return assets_.get(index); } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1183,8 +1080,6 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { } } /** - * - * *
      * Assets.
      * 
@@ -1192,47 +1087,42 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { * repeated .google.cloud.asset.v1.Asset assets = 2; */ public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.Asset.getDefaultInstance()); + return getAssetsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.Asset.getDefaultInstance()); } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder(int index) { - return getAssetsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.Asset.getDefaultInstance()); + public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder( + int index) { + return getAssetsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.Asset.getDefaultInstance()); } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public java.util.List getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder> + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder>( - assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder>( + assets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; @@ -1240,8 +1130,6 @@ public java.util.List getAssetsBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1249,13 +1137,13 @@ public java.util.List getAssetsBuilderL
      * 
* * 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; @@ -1264,8 +1152,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1273,14 +1159,15 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1288,8 +1175,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1297,22 +1182,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * 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. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1320,18 +1203,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * 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. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1339,23 +1219,23 @@ public Builder clearNextPageToken() {
      * 
* * 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1365,12 +1245,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListAssetsResponse) private static final com.google.cloud.asset.v1.ListAssetsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListAssetsResponse(); } @@ -1379,16 +1259,16 @@ public static com.google.cloud.asset.v1.ListAssetsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1403,4 +1283,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java index f44c37cee..788d4a515 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListAssetsResponseOrBuilder - extends +public interface ListAssetsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListAssetsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -59,18 +35,15 @@ public interface ListAssetsResponseOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - java.util.List getAssetsList(); + java.util.List + getAssetsList(); /** - * - * *
    * Assets.
    * 
@@ -79,8 +52,6 @@ public interface ListAssetsResponseOrBuilder */ com.google.cloud.asset.v1.Asset getAssets(int index); /** - * - * *
    * Assets.
    * 
@@ -89,29 +60,25 @@ public interface ListAssetsResponseOrBuilder */ int getAssetsCount(); /** - * - * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - java.util.List getAssetsOrBuilderList(); + java.util.List + getAssetsOrBuilderList(); /** - * - * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index); + com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -119,13 +86,10 @@ public interface ListAssetsResponseOrBuilder
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -133,8 +97,8 @@ public interface ListAssetsResponseOrBuilder
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java similarity index 71% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java index 737d7605f..85f46daa9 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * List asset feeds request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListFeedsRequest} */ -public final class ListFeedsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFeedsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListFeedsRequest) ListFeedsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFeedsRequest.newBuilder() to construct. private ListFeedsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFeedsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFeedsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFeedsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ListFeedsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ListFeedsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsRequest.class, - com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1.ListFeedsRequest.class, com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -134,15 +111,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. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -150,15 +126,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -203,15 +180,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.asset.v1.ListFeedsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListFeedsRequest other = - (com.google.cloud.asset.v1.ListFeedsRequest) obj; + com.google.cloud.asset.v1.ListFeedsRequest other = (com.google.cloud.asset.v1.ListFeedsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,127 +207,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( - byte[] data, com.google.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.asset.v1.ListFeedsRequest 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.asset.v1.ListFeedsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListFeedsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListFeedsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ListFeedsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ListFeedsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List asset feeds request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListFeedsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListFeedsRequest) com.google.cloud.asset.v1.ListFeedsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsRequest.class, - com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1.ListFeedsRequest.class, com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ListFeedsRequest.newBuilder() @@ -358,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; } @java.lang.Override @@ -397,8 +366,7 @@ public com.google.cloud.asset.v1.ListFeedsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ListFeedsRequest buildPartial() { - com.google.cloud.asset.v1.ListFeedsRequest result = - new com.google.cloud.asset.v1.ListFeedsRequest(this); + com.google.cloud.asset.v1.ListFeedsRequest result = new com.google.cloud.asset.v1.ListFeedsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -408,39 +376,38 @@ public com.google.cloud.asset.v1.ListFeedsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListFeedsRequest) { - return mergeFrom((com.google.cloud.asset.v1.ListFeedsRequest) other); + return mergeFrom((com.google.cloud.asset.v1.ListFeedsRequest)other); } else { super.mergeFrom(other); return this; @@ -484,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -493,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -508,8 +473,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -517,14 +480,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -532,8 +496,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -541,22 +503,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -564,18 +524,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -583,23 +540,23 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListFeedsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListFeedsRequest) private static final com.google.cloud.asset.v1.ListFeedsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListFeedsRequest(); } @@ -623,16 +580,16 @@ public static com.google.cloud.asset.v1.ListFeedsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java index 7c4e5f3cb..be5ab6097 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListFeedsRequestOrBuilder - extends +public interface ListFeedsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListFeedsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -33,13 +15,10 @@ public interface ListFeedsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -47,8 +26,8 @@ public interface ListFeedsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java similarity index 71% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java index b0b58308c..6efb29139 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -/** Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} */ -public final class ListFeedsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} + */ +public final class ListFeedsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListFeedsResponse) ListFeedsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFeedsResponse.newBuilder() to construct. private ListFeedsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFeedsResponse() { feeds_ = 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 ListFeedsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFeedsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -63,23 +50,22 @@ private ListFeedsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - feeds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - feeds_.add( - input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + feeds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + feeds_.add( + input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,7 +73,8 @@ private ListFeedsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { feeds_ = java.util.Collections.unmodifiableList(feeds_); @@ -96,27 +83,22 @@ private ListFeedsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsResponse.class, - com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1.ListFeedsResponse.class, com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); } public static final int FEEDS_FIELD_NUMBER = 1; private java.util.List feeds_; /** - * - * *
    * A list of feeds.
    * 
@@ -128,8 +110,6 @@ public java.util.List getFeedsList() { return feeds_; } /** - * - * *
    * A list of feeds.
    * 
@@ -137,12 +117,11 @@ public java.util.List getFeedsList() { * repeated .google.cloud.asset.v1.Feed feeds = 1; */ @java.lang.Override - public java.util.List getFeedsOrBuilderList() { + public java.util.List + getFeedsOrBuilderList() { return feeds_; } /** - * - * *
    * A list of feeds.
    * 
@@ -154,8 +133,6 @@ public int getFeedsCount() { return feeds_.size(); } /** - * - * *
    * A list of feeds.
    * 
@@ -167,8 +144,6 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { return feeds_.get(index); } /** - * - * *
    * A list of feeds.
    * 
@@ -176,12 +151,12 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { * repeated .google.cloud.asset.v1.Feed feeds = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { + public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( + int index) { return feeds_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < feeds_.size(); i++) { output.writeMessage(1, feeds_.get(i)); } @@ -207,7 +183,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < feeds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, feeds_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, feeds_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +194,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.asset.v1.ListFeedsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListFeedsResponse other = - (com.google.cloud.asset.v1.ListFeedsResponse) obj; + com.google.cloud.asset.v1.ListFeedsResponse other = (com.google.cloud.asset.v1.ListFeedsResponse) obj; - if (!getFeedsList().equals(other.getFeedsList())) return false; + if (!getFeedsList() + .equals(other.getFeedsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -246,119 +223,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( - byte[] data, com.google.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.asset.v1.ListFeedsResponse 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.asset.v1.ListFeedsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListFeedsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListFeedsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ListFeedsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ListFeedsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListFeedsResponse) com.google.cloud.asset.v1.ListFeedsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsResponse.class, - com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1.ListFeedsResponse.class, com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.ListFeedsResponse.newBuilder() @@ -366,17 +338,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) { getFeedsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +362,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; } @java.lang.Override @@ -411,8 +383,7 @@ public com.google.cloud.asset.v1.ListFeedsResponse build() { @java.lang.Override public com.google.cloud.asset.v1.ListFeedsResponse buildPartial() { - com.google.cloud.asset.v1.ListFeedsResponse result = - new com.google.cloud.asset.v1.ListFeedsResponse(this); + com.google.cloud.asset.v1.ListFeedsResponse result = new com.google.cloud.asset.v1.ListFeedsResponse(this); int from_bitField0_ = bitField0_; if (feedsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -431,39 +402,38 @@ public com.google.cloud.asset.v1.ListFeedsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListFeedsResponse) { - return mergeFrom((com.google.cloud.asset.v1.ListFeedsResponse) other); + return mergeFrom((com.google.cloud.asset.v1.ListFeedsResponse)other); } else { super.mergeFrom(other); return this; @@ -490,10 +460,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListFeedsResponse other) { feedsBuilder_ = null; feeds_ = other.feeds_; bitField0_ = (bitField0_ & ~0x00000001); - feedsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFeedsFieldBuilder() - : null; + feedsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFeedsFieldBuilder() : null; } else { feedsBuilder_.addAllMessages(other.feeds_); } @@ -527,28 +496,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List feeds_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFeedsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { feeds_ = new java.util.ArrayList(feeds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Feed, - com.google.cloud.asset.v1.Feed.Builder, - com.google.cloud.asset.v1.FeedOrBuilder> - feedsBuilder_; + com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> feedsBuilder_; /** - * - * *
      * A list of feeds.
      * 
@@ -563,8 +525,6 @@ public java.util.List getFeedsList() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -579,8 +539,6 @@ public int getFeedsCount() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -595,15 +553,14 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { } } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed value) { + public Builder setFeeds( + int index, com.google.cloud.asset.v1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -617,15 +574,14 @@ public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed value) { return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { + public Builder setFeeds( + int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.set(index, builderForValue.build()); @@ -636,8 +592,6 @@ public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builde return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -658,15 +612,14 @@ public Builder addFeeds(com.google.cloud.asset.v1.Feed value) { return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed value) { + public Builder addFeeds( + int index, com.google.cloud.asset.v1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -680,15 +633,14 @@ public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed value) { return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder addFeeds(com.google.cloud.asset.v1.Feed.Builder builderForValue) { + public Builder addFeeds( + com.google.cloud.asset.v1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.add(builderForValue.build()); @@ -699,15 +651,14 @@ public Builder addFeeds(com.google.cloud.asset.v1.Feed.Builder builderForValue) return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { + public Builder addFeeds( + int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.add(index, builderForValue.build()); @@ -718,8 +669,6 @@ public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builde return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -730,7 +679,8 @@ public Builder addAllFeeds( java.lang.Iterable values) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feeds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, feeds_); onChanged(); } else { feedsBuilder_.addAllMessages(values); @@ -738,8 +688,6 @@ public Builder addAllFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -757,8 +705,6 @@ public Builder clearFeeds() { return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -776,44 +722,39 @@ public Builder removeFeeds(int index) { return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public com.google.cloud.asset.v1.Feed.Builder getFeedsBuilder(int index) { + public com.google.cloud.asset.v1.Feed.Builder getFeedsBuilder( + int index) { return getFeedsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { + public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( + int index) { if (feedsBuilder_ == null) { - return feeds_.get(index); - } else { + return feeds_.get(index); } else { return feedsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public java.util.List - getFeedsOrBuilderList() { + public java.util.List + getFeedsOrBuilderList() { if (feedsBuilder_ != null) { return feedsBuilder_.getMessageOrBuilderList(); } else { @@ -821,8 +762,6 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { } } /** - * - * *
      * A list of feeds.
      * 
@@ -830,53 +769,49 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { * repeated .google.cloud.asset.v1.Feed feeds = 1; */ public com.google.cloud.asset.v1.Feed.Builder addFeedsBuilder() { - return getFeedsFieldBuilder().addBuilder(com.google.cloud.asset.v1.Feed.getDefaultInstance()); + return getFeedsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.Feed.getDefaultInstance()); } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public com.google.cloud.asset.v1.Feed.Builder addFeedsBuilder(int index) { - return getFeedsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.Feed.getDefaultInstance()); + public com.google.cloud.asset.v1.Feed.Builder addFeedsBuilder( + int index) { + return getFeedsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.Feed.getDefaultInstance()); } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public java.util.List getFeedsBuilderList() { + public java.util.List + getFeedsBuilderList() { return getFeedsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Feed, - com.google.cloud.asset.v1.Feed.Builder, - com.google.cloud.asset.v1.FeedOrBuilder> + com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> getFeedsFieldBuilder() { if (feedsBuilder_ == null) { - feedsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Feed, - com.google.cloud.asset.v1.Feed.Builder, - com.google.cloud.asset.v1.FeedOrBuilder>( - feeds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + feedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder>( + feeds_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); feeds_ = null; } return feedsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListFeedsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListFeedsResponse) private static final com.google.cloud.asset.v1.ListFeedsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListFeedsResponse(); } @@ -900,16 +835,16 @@ public static com.google.cloud.asset.v1.ListFeedsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,4 +859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java similarity index 55% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java index 6cbe86986..d5bb75ca2 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListFeedsResponseOrBuilder - extends +public interface ListFeedsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListFeedsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - java.util.List getFeedsList(); + java.util.List + getFeedsList(); /** - * - * *
    * A list of feeds.
    * 
@@ -44,8 +25,6 @@ public interface ListFeedsResponseOrBuilder */ com.google.cloud.asset.v1.Feed getFeeds(int index); /** - * - * *
    * A list of feeds.
    * 
@@ -54,23 +33,21 @@ public interface ListFeedsResponseOrBuilder */ int getFeedsCount(); /** - * - * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - java.util.List getFeedsOrBuilderList(); + java.util.List + getFeedsOrBuilderList(); /** - * - * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index); + com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java index 2a293c9cd..3afaad12c 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Request to list saved queries.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesRequest} */ -public final class ListSavedQueriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSavedQueriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListSavedQueriesRequest) ListSavedQueriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSavedQueriesRequest.newBuilder() to construct. private ListSavedQueriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSavedQueriesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListSavedQueriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSavedQueriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListSavedQueriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListSavedQueriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,43 +92,36 @@ private ListSavedQueriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesRequest.class, - com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesRequest.class, com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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 @@ -157,33 +130,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 project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -206,7 +175,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -215,15 +183,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; } } /** - * - * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -234,15 +201,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -253,8 +221,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. The maximum number of saved queries to return per page. The
    * service may return fewer than this value. If unspecified, at most 50 will
@@ -263,7 +229,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -274,8 +239,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -284,7 +247,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -293,15 +255,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; } } /** - * - * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -310,15 +271,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -327,7 +289,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,7 +300,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -365,7 +327,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -381,18 +344,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.asset.v1.ListSavedQueriesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListSavedQueriesRequest other = - (com.google.cloud.asset.v1.ListSavedQueriesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.asset.v1.ListSavedQueriesRequest other = (com.google.cloud.asset.v1.ListSavedQueriesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,126 +384,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( - java.nio.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.asset.v1.ListSavedQueriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListSavedQueriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( - byte[] data, com.google.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.asset.v1.ListSavedQueriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ListSavedQueriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ListSavedQueriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to list saved queries.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListSavedQueriesRequest) com.google.cloud.asset.v1.ListSavedQueriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesRequest.class, - com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesRequest.class, com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ListSavedQueriesRequest.newBuilder() @@ -545,15 +502,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +527,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; } @java.lang.Override @@ -590,8 +548,7 @@ public com.google.cloud.asset.v1.ListSavedQueriesRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ListSavedQueriesRequest buildPartial() { - com.google.cloud.asset.v1.ListSavedQueriesRequest result = - new com.google.cloud.asset.v1.ListSavedQueriesRequest(this); + com.google.cloud.asset.v1.ListSavedQueriesRequest result = new com.google.cloud.asset.v1.ListSavedQueriesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -604,39 +561,38 @@ public com.google.cloud.asset.v1.ListSavedQueriesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListSavedQueriesRequest) { - return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesRequest) other); + return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesRequest)other); } else { super.mergeFrom(other); return this; @@ -644,8 +600,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.ListSavedQueriesRequest other) { - if (other == com.google.cloud.asset.v1.ListSavedQueriesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.ListSavedQueriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -680,8 +635,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.ListSavedQueriesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.ListSavedQueriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -693,24 +647,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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; @@ -719,25 +669,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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 { @@ -745,73 +692,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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 project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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 project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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; @@ -819,8 +753,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -831,13 +763,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -846,8 +778,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -858,14 +788,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -873,8 +804,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -885,22 +814,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -911,18 +838,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -933,25 +857,23 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of saved queries to return per page. The
      * service may return fewer than this value. If unspecified, at most 50 will
@@ -960,7 +882,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -968,8 +889,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of saved queries to return per page. The
      * service may return fewer than this value. If unspecified, at most 50 will
@@ -978,19 +897,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of saved queries to return per page. The
      * service may return fewer than this value. If unspecified, at most 50 will
@@ -999,11 +915,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1011,8 +926,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1021,13 +934,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1036,8 +949,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1046,14 +957,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1061,8 +973,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1071,22 +981,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1095,18 +1003,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1115,23 +1020,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1141,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListSavedQueriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListSavedQueriesRequest) private static final com.google.cloud.asset.v1.ListSavedQueriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListSavedQueriesRequest(); } @@ -1155,16 +1060,16 @@ public static com.google.cloud.asset.v1.ListSavedQueriesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSavedQueriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSavedQueriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSavedQueriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,4 +1084,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java index 39f29e979..bba5bebe3 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListSavedQueriesRequestOrBuilder - extends +public interface ListSavedQueriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListSavedQueriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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 project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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(); /** - * - * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -69,13 +42,10 @@ public interface ListSavedQueriesRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -86,14 +56,12 @@ public interface ListSavedQueriesRequestOrBuilder
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. The maximum number of saved queries to return per page. The
    * service may return fewer than this value. If unspecified, at most 50 will
@@ -102,14 +70,11 @@ public interface ListSavedQueriesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -118,13 +83,10 @@ public interface ListSavedQueriesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -133,8 +95,8 @@ public interface ListSavedQueriesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java index cb51c0b80..8b33a72bc 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Response of listing saved queries.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesResponse} */ -public final class ListSavedQueriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSavedQueriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListSavedQueriesResponse) ListSavedQueriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSavedQueriesResponse.newBuilder() to construct. private ListSavedQueriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSavedQueriesResponse() { savedQueries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListSavedQueriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSavedQueriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListSavedQueriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListSavedQueriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - savedQueries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - savedQueries_.add( - input.readMessage( - com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + savedQueries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + savedQueries_.add( + input.readMessage(com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListSavedQueriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { savedQueries_ = java.util.Collections.unmodifiableList(savedQueries_); @@ -113,27 +94,22 @@ private ListSavedQueriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesResponse.class, - com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesResponse.class, com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); } public static final int SAVED_QUERIES_FIELD_NUMBER = 1; private java.util.List savedQueries_; /** - * - * *
    * A list of savedQueries.
    * 
@@ -145,8 +121,6 @@ public java.util.List getSavedQueriesList( return savedQueries_; } /** - * - * *
    * A list of savedQueries.
    * 
@@ -154,13 +128,11 @@ public java.util.List getSavedQueriesList( * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSavedQueriesOrBuilderList() { return savedQueries_; } /** - * - * *
    * A list of savedQueries.
    * 
@@ -172,8 +144,6 @@ public int getSavedQueriesCount() { return savedQueries_.size(); } /** - * - * *
    * A list of savedQueries.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { return savedQueries_.get(index); } /** - * - * *
    * A list of savedQueries.
    * 
@@ -194,22 +162,20 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(int index) { + public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( + int index) { return savedQueries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < savedQueries_.size(); i++) { output.writeMessage(1, savedQueries_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < savedQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, savedQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, savedQueries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ListSavedQueriesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListSavedQueriesResponse other = - (com.google.cloud.asset.v1.ListSavedQueriesResponse) obj; + com.google.cloud.asset.v1.ListSavedQueriesResponse other = (com.google.cloud.asset.v1.ListSavedQueriesResponse) obj; - if (!getSavedQueriesList().equals(other.getSavedQueriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSavedQueriesList() + .equals(other.getSavedQueriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,126 +293,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( - java.nio.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.asset.v1.ListSavedQueriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListSavedQueriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( - byte[] data, com.google.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.asset.v1.ListSavedQueriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ListSavedQueriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ListSavedQueriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 of listing saved queries.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListSavedQueriesResponse) com.google.cloud.asset.v1.ListSavedQueriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesResponse.class, - com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesResponse.class, com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.ListSavedQueriesResponse.newBuilder() @@ -452,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getSavedQueriesFieldBuilder(); } } - @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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; } @java.lang.Override @@ -499,8 +458,7 @@ public com.google.cloud.asset.v1.ListSavedQueriesResponse build() { @java.lang.Override public com.google.cloud.asset.v1.ListSavedQueriesResponse buildPartial() { - com.google.cloud.asset.v1.ListSavedQueriesResponse result = - new com.google.cloud.asset.v1.ListSavedQueriesResponse(this); + com.google.cloud.asset.v1.ListSavedQueriesResponse result = new com.google.cloud.asset.v1.ListSavedQueriesResponse(this); int from_bitField0_ = bitField0_; if (savedQueriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +478,38 @@ public com.google.cloud.asset.v1.ListSavedQueriesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListSavedQueriesResponse) { - return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesResponse) other); + return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesResponse)other); } else { super.mergeFrom(other); return this; @@ -560,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.ListSavedQueriesResponse other) { - if (other == com.google.cloud.asset.v1.ListSavedQueriesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.ListSavedQueriesResponse.getDefaultInstance()) return this; if (savedQueriesBuilder_ == null) { if (!other.savedQueries_.isEmpty()) { if (savedQueries_.isEmpty()) { @@ -580,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListSavedQueriesResponse othe savedQueriesBuilder_ = null; savedQueries_ = other.savedQueries_; bitField0_ = (bitField0_ & ~0x00000001); - savedQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSavedQueriesFieldBuilder() - : null; + savedQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSavedQueriesFieldBuilder() : null; } else { savedQueriesBuilder_.addAllMessages(other.savedQueries_); } @@ -612,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.ListSavedQueriesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.ListSavedQueriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List savedQueries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSavedQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - savedQueries_ = - new java.util.ArrayList(savedQueries_); + savedQueries_ = new java.util.ArrayList(savedQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder> - savedQueriesBuilder_; + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> savedQueriesBuilder_; /** - * - * *
      * A list of savedQueries.
      * 
@@ -659,8 +605,6 @@ public java.util.List getSavedQueriesList( } } /** - * - * *
      * A list of savedQueries.
      * 
@@ -675,8 +619,6 @@ public int getSavedQueriesCount() { } } /** - * - * *
      * A list of savedQueries.
      * 
@@ -691,15 +633,14 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { } } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public Builder setSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery value) { + public Builder setSavedQueries( + int index, com.google.cloud.asset.v1.SavedQuery value) { if (savedQueriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery v return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -733,8 +672,6 @@ public Builder setSavedQueries( return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -755,15 +692,14 @@ public Builder addSavedQueries(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public Builder addSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery value) { + public Builder addSavedQueries( + int index, com.google.cloud.asset.v1.SavedQuery value) { if (savedQueriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery v return this; } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public Builder addSavedQueries(com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { + public Builder addSavedQueries( + com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { if (savedQueriesBuilder_ == null) { ensureSavedQueriesIsMutable(); savedQueries_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addSavedQueries(com.google.cloud.asset.v1.SavedQuery.Builder buil return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -816,8 +749,6 @@ public Builder addSavedQueries( return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -828,7 +759,8 @@ public Builder addAllSavedQueries( java.lang.Iterable values) { if (savedQueriesBuilder_ == null) { ensureSavedQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, savedQueries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, savedQueries_); onChanged(); } else { savedQueriesBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllSavedQueries( return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -855,8 +785,6 @@ public Builder clearSavedQueries() { return this; } /** - * - * *
      * A list of savedQueries.
      * 
@@ -874,44 +802,39 @@ public Builder removeSavedQueries(int index) { return this; } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueriesBuilder(int index) { + public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueriesBuilder( + int index) { return getSavedQueriesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(int index) { + public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( + int index) { if (savedQueriesBuilder_ == null) { - return savedQueries_.get(index); - } else { + return savedQueries_.get(index); } else { return savedQueriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public java.util.List - getSavedQueriesOrBuilderList() { + public java.util.List + getSavedQueriesOrBuilderList() { if (savedQueriesBuilder_ != null) { return savedQueriesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(in } } /** - * - * *
      * A list of savedQueries.
      * 
@@ -928,48 +849,42 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(in * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder() { - return getSavedQueriesFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); + return getSavedQueriesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder(int index) { - return getSavedQueriesFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); + public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder( + int index) { + return getSavedQueriesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); } /** - * - * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public java.util.List - getSavedQueriesBuilderList() { + public java.util.List + getSavedQueriesBuilderList() { return getSavedQueriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder> + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> getSavedQueriesFieldBuilder() { if (savedQueriesBuilder_ == null) { - savedQueriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder>( - savedQueries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + savedQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder>( + savedQueries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); savedQueries_ = null; } return savedQueriesBuilder_; @@ -977,21 +892,19 @@ public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListSavedQueriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListSavedQueriesResponse) private static final com.google.cloud.asset.v1.ListSavedQueriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListSavedQueriesResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.cloud.asset.v1.ListSavedQueriesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSavedQueriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSavedQueriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSavedQueriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java index 4bd03e463..9c5fbc906 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListSavedQueriesResponseOrBuilder - extends +public interface ListSavedQueriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListSavedQueriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of savedQueries.
    * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - java.util.List getSavedQueriesList(); + java.util.List + getSavedQueriesList(); /** - * - * *
    * A list of savedQueries.
    * 
@@ -44,8 +25,6 @@ public interface ListSavedQueriesResponseOrBuilder */ com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index); /** - * - * *
    * A list of savedQueries.
    * 
@@ -54,51 +33,43 @@ public interface ListSavedQueriesResponseOrBuilder */ int getSavedQueriesCount(); /** - * - * *
    * A list of savedQueries.
    * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - java.util.List + java.util.List getSavedQueriesOrBuilderList(); /** - * - * *
    * A list of savedQueries.
    * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(int index); + com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java index 4fe6f64f8..e561eb749 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A message to group the analysis information.
  * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysis} */ -public final class MoveAnalysis extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveAnalysis extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.MoveAnalysis) MoveAnalysisOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveAnalysis.newBuilder() to construct. private MoveAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveAnalysis() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveAnalysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveAnalysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,50 +53,47 @@ private MoveAnalysis( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 18: { + com.google.cloud.asset.v1.MoveAnalysisResult.Builder subBuilder = null; + if (resultCase_ == 2) { + subBuilder = ((com.google.cloud.asset.v1.MoveAnalysisResult) result_).toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.MoveAnalysisResult.Builder subBuilder = null; - if (resultCase_ == 2) { - subBuilder = ((com.google.cloud.asset.v1.MoveAnalysisResult) result_).toBuilder(); - } - result_ = - input.readMessage( - com.google.cloud.asset.v1.MoveAnalysisResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 2; - break; + result_ = + input.readMessage(com.google.cloud.asset.v1.MoveAnalysisResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult) result_); + result_ = subBuilder.buildPartial(); } - case 26: - { - com.google.rpc.Status.Builder subBuilder = null; - if (resultCase_ == 3) { - subBuilder = ((com.google.rpc.Status) result_).toBuilder(); - } - result_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.rpc.Status) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 3; - break; + resultCase_ = 2; + break; + } + case 26: { + com.google.rpc.Status.Builder subBuilder = null; + if (resultCase_ == 3) { + subBuilder = ((com.google.rpc.Status) result_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + result_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.rpc.Status) result_); + result_ = subBuilder.buildPartial(); } + resultCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,40 +101,35 @@ private MoveAnalysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysis.class, - com.google.cloud.asset.v1.MoveAnalysis.Builder.class); + com.google.cloud.asset.v1.MoveAnalysis.class, com.google.cloud.asset.v1.MoveAnalysis.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ANALYSIS(2), ERROR(3), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -170,38 +145,32 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 2: - return ANALYSIS; - case 3: - return ERROR; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 2: return ANALYSIS; + case 3: return ERROR; + case 0: return RESULT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** - * - * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -210,30 +179,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -243,14 +212,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int ANALYSIS_FIELD_NUMBER = 2; /** - * - * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; - * * @return Whether the analysis field is set. */ @java.lang.Override @@ -258,26 +224,21 @@ public boolean hasAnalysis() { return resultCase_ == 2; } /** - * - * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; - * * @return The analysis. */ @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { if (resultCase_ == 2) { - return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; + return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; } return com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance(); } /** - * - * *
    * Analysis result of moving the target resource.
    * 
@@ -287,21 +248,18 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilder() { if (resultCase_ == 2) { - return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; + return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; } return com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 3; /** - * - * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -309,26 +267,21 @@ public boolean hasError() { return resultCase_ == 3; } /** - * - * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override public com.google.rpc.Status getError() { if (resultCase_ == 3) { - return (com.google.rpc.Status) result_; + return (com.google.rpc.Status) result_; } return com.google.rpc.Status.getDefaultInstance(); } /** - * - * *
    * Description of error encountered when performing the analysis.
    * 
@@ -338,13 +291,12 @@ public com.google.rpc.Status getError() { @java.lang.Override public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (resultCase_ == 3) { - return (com.google.rpc.Status) result_; + return (com.google.rpc.Status) result_; } return com.google.rpc.Status.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -379,14 +332,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (resultCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.asset.v1.MoveAnalysisResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.asset.v1.MoveAnalysisResult) result_); } if (resultCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.rpc.Status) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.rpc.Status) result_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -396,21 +347,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.asset.v1.MoveAnalysis)) { return super.equals(obj); } com.google.cloud.asset.v1.MoveAnalysis other = (com.google.cloud.asset.v1.MoveAnalysis) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 2: - if (!getAnalysis().equals(other.getAnalysis())) return false; + if (!getAnalysis() + .equals(other.getAnalysis())) return false; break; case 3: - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; break; case 0: default: @@ -445,127 +399,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.MoveAnalysis parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.MoveAnalysis parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.MoveAnalysis parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( - byte[] data, com.google.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.asset.v1.MoveAnalysis 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.asset.v1.MoveAnalysis parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveAnalysis 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.asset.v1.MoveAnalysis parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveAnalysis parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.MoveAnalysis parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.MoveAnalysis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A message to group the analysis information.
    * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysis} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.MoveAnalysis) com.google.cloud.asset.v1.MoveAnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysis.class, - com.google.cloud.asset.v1.MoveAnalysis.Builder.class); + com.google.cloud.asset.v1.MoveAnalysis.class, com.google.cloud.asset.v1.MoveAnalysis.Builder.class); } // Construct using com.google.cloud.asset.v1.MoveAnalysis.newBuilder() @@ -573,15 +518,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -593,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; } @java.lang.Override @@ -614,8 +560,7 @@ public com.google.cloud.asset.v1.MoveAnalysis build() { @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysis buildPartial() { - com.google.cloud.asset.v1.MoveAnalysis result = - new com.google.cloud.asset.v1.MoveAnalysis(this); + com.google.cloud.asset.v1.MoveAnalysis result = new com.google.cloud.asset.v1.MoveAnalysis(this); result.displayName_ = displayName_; if (resultCase_ == 2) { if (analysisBuilder_ == null) { @@ -640,39 +585,38 @@ public com.google.cloud.asset.v1.MoveAnalysis buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.MoveAnalysis) { - return mergeFrom((com.google.cloud.asset.v1.MoveAnalysis) other); + return mergeFrom((com.google.cloud.asset.v1.MoveAnalysis)other); } else { super.mergeFrom(other); return this; @@ -686,20 +630,17 @@ public Builder mergeFrom(com.google.cloud.asset.v1.MoveAnalysis other) { onChanged(); } switch (other.getResultCase()) { - case ANALYSIS: - { - mergeAnalysis(other.getAnalysis()); - break; - } - case ERROR: - { - mergeError(other.getError()); - break; - } - case RESULT_NOT_SET: - { - break; - } + case ANALYSIS: { + mergeAnalysis(other.getAnalysis()); + break; + } + case ERROR: { + mergeError(other.getError()); + break; + } + case RESULT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -729,12 +670,12 @@ public Builder mergeFrom( } return this; } - private int resultCase_ = 0; private java.lang.Object result_; - - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public Builder clearResult() { @@ -744,23 +685,22 @@ public Builder clearResult() { return this; } + private java.lang.Object displayName_ = ""; /** - * - * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -769,22 +709,21 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -792,83 +731,70 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysisResult, - com.google.cloud.asset.v1.MoveAnalysisResult.Builder, - com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> - analysisBuilder_; + com.google.cloud.asset.v1.MoveAnalysisResult, com.google.cloud.asset.v1.MoveAnalysisResult.Builder, com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> analysisBuilder_; /** - * - * *
      * Analysis result of moving the target resource.
      * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; - * * @return Whether the analysis field is set. */ @java.lang.Override @@ -876,14 +802,11 @@ public boolean hasAnalysis() { return resultCase_ == 2; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; - * * @return The analysis. */ @java.lang.Override @@ -901,8 +824,6 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { } } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -923,8 +844,6 @@ public Builder setAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -943,8 +862,6 @@ public Builder setAnalysis( return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -953,13 +870,10 @@ public Builder setAnalysis( */ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { if (analysisBuilder_ == null) { - if (resultCase_ == 2 - && result_ != com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance()) { - result_ = - com.google.cloud.asset.v1.MoveAnalysisResult.newBuilder( - (com.google.cloud.asset.v1.MoveAnalysisResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 2 && + result_ != com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance()) { + result_ = com.google.cloud.asset.v1.MoveAnalysisResult.newBuilder((com.google.cloud.asset.v1.MoveAnalysisResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -975,8 +889,6 @@ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -1000,8 +912,6 @@ public Builder clearAnalysis() { return this; } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -1012,8 +922,6 @@ public com.google.cloud.asset.v1.MoveAnalysisResult.Builder getAnalysisBuilder() return getAnalysisFieldBuilder().getBuilder(); } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -1032,8 +940,6 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } } /** - * - * *
      * Analysis result of moving the target resource.
      * 
@@ -1041,42 +947,32 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysisResult, - com.google.cloud.asset.v1.MoveAnalysisResult.Builder, - com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> + com.google.cloud.asset.v1.MoveAnalysisResult, com.google.cloud.asset.v1.MoveAnalysisResult.Builder, com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> getAnalysisFieldBuilder() { if (analysisBuilder_ == null) { if (!(resultCase_ == 2)) { result_ = com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance(); } - analysisBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysisResult, - com.google.cloud.asset.v1.MoveAnalysisResult.Builder, - com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder>( + analysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.MoveAnalysisResult, com.google.cloud.asset.v1.MoveAnalysisResult.Builder, com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder>( (com.google.cloud.asset.v1.MoveAnalysisResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 2; - onChanged(); - ; + onChanged();; return analysisBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1084,14 +980,11 @@ public boolean hasError() { return resultCase_ == 3; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
* * .google.rpc.Status error = 3; - * * @return The error. */ @java.lang.Override @@ -1109,8 +1002,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1131,15 +1022,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -1150,8 +1040,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1160,11 +1048,10 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (resultCase_ == 3 && result_ != com.google.rpc.Status.getDefaultInstance()) { - result_ = - com.google.rpc.Status.newBuilder((com.google.rpc.Status) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 3 && + result_ != com.google.rpc.Status.getDefaultInstance()) { + result_ = com.google.rpc.Status.newBuilder((com.google.rpc.Status) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -1180,8 +1067,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1205,8 +1090,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1217,8 +1100,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1237,8 +1118,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** - * - * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1246,28 +1125,26 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { if (!(resultCase_ == 3)) { result_ = com.google.rpc.Status.getDefaultInstance(); } - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - (com.google.rpc.Status) result_, getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + (com.google.rpc.Status) result_, + getParentForChildren(), + isClean()); result_ = null; } resultCase_ = 3; - onChanged(); - ; + onChanged();; return errorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1277,12 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.MoveAnalysis) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.MoveAnalysis) private static final com.google.cloud.asset.v1.MoveAnalysis DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.MoveAnalysis(); } @@ -1291,16 +1168,16 @@ public static com.google.cloud.asset.v1.MoveAnalysis getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveAnalysis parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveAnalysis(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveAnalysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1315,4 +1192,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveAnalysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java similarity index 73% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java index 82ca7d41b..463a88790 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java @@ -1,82 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface MoveAnalysisOrBuilder - extends +public interface MoveAnalysisOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveAnalysis) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; - * * @return Whether the analysis field is set. */ boolean hasAnalysis(); /** - * - * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; - * * @return The analysis. */ com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis(); /** - * - * *
    * Analysis result of moving the target resource.
    * 
@@ -86,32 +57,24 @@ public interface MoveAnalysisOrBuilder com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilder(); /** - * - * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * Description of error encountered when performing the analysis.
    * 
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java similarity index 78% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java index 06690b41e..1a7deec03 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * An analysis result including blockers and warnings.
  * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysisResult} */ -public final class MoveAnalysisResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveAnalysisResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.MoveAnalysisResult) MoveAnalysisResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveAnalysisResult.newBuilder() to construct. private MoveAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveAnalysisResult() { blockers_ = java.util.Collections.emptyList(); warnings_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private MoveAnalysisResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveAnalysisResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveAnalysisResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,35 +55,31 @@ private MoveAnalysisResult( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - blockers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - blockers_.add( - input.readMessage( - com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + blockers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - warnings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - warnings_.add( - input.readMessage( - com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); - break; + blockers_.add( + input.readMessage(com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + warnings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + warnings_.add( + input.readMessage(com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +87,8 @@ private MoveAnalysisResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { blockers_ = java.util.Collections.unmodifiableList(blockers_); @@ -120,27 +100,22 @@ private MoveAnalysisResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysisResult.class, - com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); + com.google.cloud.asset.v1.MoveAnalysisResult.class, com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); } public static final int BLOCKERS_FIELD_NUMBER = 1; private java.util.List blockers_; /** - * - * *
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -153,8 +128,6 @@ public java.util.List getBlockersList() {
     return blockers_;
   }
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -163,13 +136,11 @@ public java.util.List getBlockersList() {
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getBlockersOrBuilderList() {
     return blockers_;
   }
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -182,8 +153,6 @@ public int getBlockersCount() {
     return blockers_.size();
   }
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -196,8 +165,6 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
     return blockers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -206,15 +173,14 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int index) {
+  public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
+      int index) {
     return blockers_.get(index);
   }
 
   public static final int WARNINGS_FIELD_NUMBER = 2;
   private java.util.List warnings_;
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -228,8 +194,6 @@ public java.util.List getWarningsList() {
     return warnings_;
   }
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -239,13 +203,11 @@ public java.util.List getWarningsList() {
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWarningsOrBuilderList() {
     return warnings_;
   }
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -259,8 +221,6 @@ public int getWarningsCount() {
     return warnings_.size();
   }
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -274,8 +234,6 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
     return warnings_.get(index);
   }
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -285,12 +243,12 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int index) {
+  public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
+      int index) {
     return warnings_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -302,7 +260,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < blockers_.size(); i++) {
       output.writeMessage(1, blockers_.get(i));
     }
@@ -319,10 +278,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < blockers_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, blockers_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, blockers_.get(i));
     }
     for (int i = 0; i < warnings_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, warnings_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, warnings_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -332,16 +293,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.asset.v1.MoveAnalysisResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.MoveAnalysisResult other =
-        (com.google.cloud.asset.v1.MoveAnalysisResult) obj;
+    com.google.cloud.asset.v1.MoveAnalysisResult other = (com.google.cloud.asset.v1.MoveAnalysisResult) obj;
 
-    if (!getBlockersList().equals(other.getBlockersList())) return false;
-    if (!getWarningsList().equals(other.getWarningsList())) return false;
+    if (!getBlockersList()
+        .equals(other.getBlockersList())) return false;
+    if (!getWarningsList()
+        .equals(other.getWarningsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -366,127 +328,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.MoveAnalysisResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
-      byte[] data, com.google.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.asset.v1.MoveAnalysisResult 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.asset.v1.MoveAnalysisResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.MoveAnalysisResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.MoveAnalysisResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.MoveAnalysisResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.MoveAnalysisResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.MoveAnalysisResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * An analysis result including blockers and warnings.
    * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysisResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.MoveAnalysisResult) com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysisResult.class, - com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); + com.google.cloud.asset.v1.MoveAnalysisResult.class, com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); } // Construct using com.google.cloud.asset.v1.MoveAnalysisResult.newBuilder() @@ -494,18 +447,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) { getBlockersFieldBuilder(); getWarningsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; } @java.lang.Override @@ -546,8 +499,7 @@ public com.google.cloud.asset.v1.MoveAnalysisResult build() { @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysisResult buildPartial() { - com.google.cloud.asset.v1.MoveAnalysisResult result = - new com.google.cloud.asset.v1.MoveAnalysisResult(this); + com.google.cloud.asset.v1.MoveAnalysisResult result = new com.google.cloud.asset.v1.MoveAnalysisResult(this); int from_bitField0_ = bitField0_; if (blockersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -575,39 +527,38 @@ public com.google.cloud.asset.v1.MoveAnalysisResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.MoveAnalysisResult) { - return mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult) other); + return mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult)other); } else { super.mergeFrom(other); return this; @@ -634,10 +585,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.MoveAnalysisResult other) { blockersBuilder_ = null; blockers_ = other.blockers_; bitField0_ = (bitField0_ & ~0x00000001); - blockersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBlockersFieldBuilder() - : null; + blockersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBlockersFieldBuilder() : null; } else { blockersBuilder_.addAllMessages(other.blockers_); } @@ -661,10 +611,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.MoveAnalysisResult other) { warningsBuilder_ = null; warnings_ = other.warnings_; bitField0_ = (bitField0_ & ~0x00000002); - warningsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWarningsFieldBuilder() - : null; + warningsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWarningsFieldBuilder() : null; } else { warningsBuilder_.addAllMessages(other.warnings_); } @@ -698,28 +647,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List blockers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureBlockersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { blockers_ = new java.util.ArrayList(blockers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.MoveImpact, - com.google.cloud.asset.v1.MoveImpact.Builder, - com.google.cloud.asset.v1.MoveImpactOrBuilder> - blockersBuilder_; + com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> blockersBuilder_; /** - * - * *
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -735,8 +677,6 @@ public java.util.List getBlockersList() {
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -752,8 +692,6 @@ public int getBlockersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -769,8 +707,6 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -778,7 +714,8 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public Builder setBlockers(int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder setBlockers(
+        int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (blockersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -792,8 +729,6 @@ public Builder setBlockers(int index, com.google.cloud.asset.v1.MoveImpact value
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -813,8 +748,6 @@ public Builder setBlockers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -836,8 +769,6 @@ public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -845,7 +776,8 @@ public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact value) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public Builder addBlockers(int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder addBlockers(
+        int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (blockersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -859,8 +791,6 @@ public Builder addBlockers(int index, com.google.cloud.asset.v1.MoveImpact value
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -868,7 +798,8 @@ public Builder addBlockers(int index, com.google.cloud.asset.v1.MoveImpact value
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
+    public Builder addBlockers(
+        com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
       if (blockersBuilder_ == null) {
         ensureBlockersIsMutable();
         blockers_.add(builderForValue.build());
@@ -879,8 +810,6 @@ public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -900,8 +829,6 @@ public Builder addBlockers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -913,7 +840,8 @@ public Builder addAllBlockers(
         java.lang.Iterable values) {
       if (blockersBuilder_ == null) {
         ensureBlockersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blockers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, blockers_);
         onChanged();
       } else {
         blockersBuilder_.addAllMessages(values);
@@ -921,8 +849,6 @@ public Builder addAllBlockers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -941,8 +867,6 @@ public Builder clearBlockers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -961,8 +885,6 @@ public Builder removeBlockers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -970,12 +892,11 @@ public Builder removeBlockers(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder getBlockersBuilder(int index) {
+    public com.google.cloud.asset.v1.MoveImpact.Builder getBlockersBuilder(
+        int index) {
       return getBlockersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -983,16 +904,14 @@ public com.google.cloud.asset.v1.MoveImpact.Builder getBlockersBuilder(int index
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int index) {
+    public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
+        int index) {
       if (blockersBuilder_ == null) {
-        return blockers_.get(index);
-      } else {
+        return blockers_.get(index);  } else {
         return blockersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -1000,8 +919,8 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int in
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public java.util.List
-        getBlockersOrBuilderList() {
+    public java.util.List 
+         getBlockersOrBuilderList() {
       if (blockersBuilder_ != null) {
         return blockersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1009,8 +928,6 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -1019,12 +936,10 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int in
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
     public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder() {
-      return getBlockersFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+      return getBlockersFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -1032,13 +947,12 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder() {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder(int index) {
-      return getBlockersFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+    public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder(
+        int index) {
+      return getBlockersFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -1046,46 +960,38 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder(int index
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public java.util.List getBlockersBuilderList() {
+    public java.util.List 
+         getBlockersBuilderList() {
       return getBlockersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveImpact,
-            com.google.cloud.asset.v1.MoveImpact.Builder,
-            com.google.cloud.asset.v1.MoveImpactOrBuilder>
+        com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> 
         getBlockersFieldBuilder() {
       if (blockersBuilder_ == null) {
-        blockersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.MoveImpact,
-                com.google.cloud.asset.v1.MoveImpact.Builder,
-                com.google.cloud.asset.v1.MoveImpactOrBuilder>(
-                blockers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        blockersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder>(
+                blockers_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         blockers_ = null;
       }
       return blockersBuilder_;
     }
 
     private java.util.List warnings_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureWarningsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         warnings_ = new java.util.ArrayList(warnings_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveImpact,
-            com.google.cloud.asset.v1.MoveImpact.Builder,
-            com.google.cloud.asset.v1.MoveImpactOrBuilder>
-        warningsBuilder_;
+        com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> warningsBuilder_;
 
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1102,8 +1008,6 @@ public java.util.List getWarningsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1120,8 +1024,6 @@ public int getWarningsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1138,8 +1040,6 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1148,7 +1048,8 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public Builder setWarnings(int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder setWarnings(
+        int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (warningsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1162,8 +1063,6 @@ public Builder setWarnings(int index, com.google.cloud.asset.v1.MoveImpact value
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1184,8 +1083,6 @@ public Builder setWarnings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1208,8 +1105,6 @@ public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1218,7 +1113,8 @@ public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact value) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public Builder addWarnings(int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder addWarnings(
+        int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (warningsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1232,8 +1128,6 @@ public Builder addWarnings(int index, com.google.cloud.asset.v1.MoveImpact value
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1242,7 +1136,8 @@ public Builder addWarnings(int index, com.google.cloud.asset.v1.MoveImpact value
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
+    public Builder addWarnings(
+        com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
       if (warningsBuilder_ == null) {
         ensureWarningsIsMutable();
         warnings_.add(builderForValue.build());
@@ -1253,8 +1148,6 @@ public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1275,8 +1168,6 @@ public Builder addWarnings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1289,7 +1180,8 @@ public Builder addAllWarnings(
         java.lang.Iterable values) {
       if (warningsBuilder_ == null) {
         ensureWarningsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, warnings_);
         onChanged();
       } else {
         warningsBuilder_.addAllMessages(values);
@@ -1297,8 +1189,6 @@ public Builder addAllWarnings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1318,8 +1208,6 @@ public Builder clearWarnings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1339,8 +1227,6 @@ public Builder removeWarnings(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1349,12 +1235,11 @@ public Builder removeWarnings(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder getWarningsBuilder(int index) {
+    public com.google.cloud.asset.v1.MoveImpact.Builder getWarningsBuilder(
+        int index) {
       return getWarningsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1363,16 +1248,14 @@ public com.google.cloud.asset.v1.MoveImpact.Builder getWarningsBuilder(int index
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int index) {
+    public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
+        int index) {
       if (warningsBuilder_ == null) {
-        return warnings_.get(index);
-      } else {
+        return warnings_.get(index);  } else {
         return warningsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1381,8 +1264,8 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int in
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public java.util.List
-        getWarningsOrBuilderList() {
+    public java.util.List 
+         getWarningsOrBuilderList() {
       if (warningsBuilder_ != null) {
         return warningsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1390,8 +1273,6 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1401,12 +1282,10 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int in
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
     public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder() {
-      return getWarningsFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+      return getWarningsFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1415,13 +1294,12 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder() {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder(int index) {
-      return getWarningsFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+    public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder(
+        int index) {
+      return getWarningsFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1430,29 +1308,27 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder(int index
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public java.util.List getWarningsBuilderList() {
+    public java.util.List 
+         getWarningsBuilderList() {
       return getWarningsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveImpact,
-            com.google.cloud.asset.v1.MoveImpact.Builder,
-            com.google.cloud.asset.v1.MoveImpactOrBuilder>
+        com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> 
         getWarningsFieldBuilder() {
       if (warningsBuilder_ == null) {
-        warningsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.MoveImpact,
-                com.google.cloud.asset.v1.MoveImpact.Builder,
-                com.google.cloud.asset.v1.MoveImpactOrBuilder>(
-                warnings_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        warningsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder>(
+                warnings_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         warnings_ = null;
       }
       return warningsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1462,12 +1338,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.MoveAnalysisResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.MoveAnalysisResult)
   private static final com.google.cloud.asset.v1.MoveAnalysisResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.MoveAnalysisResult();
   }
@@ -1476,16 +1352,16 @@ public static com.google.cloud.asset.v1.MoveAnalysisResult getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MoveAnalysisResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new MoveAnalysisResult(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MoveAnalysisResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new MoveAnalysisResult(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1500,4 +1376,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.MoveAnalysisResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
similarity index 79%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
index d8b667ad2..2d63ef150 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface MoveAnalysisResultOrBuilder
-    extends
+public interface MoveAnalysisResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveAnalysisResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -33,10 +15,9 @@ public interface MoveAnalysisResultOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
-  java.util.List getBlockersList();
+  java.util.List 
+      getBlockersList();
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -46,8 +27,6 @@ public interface MoveAnalysisResultOrBuilder
    */
   com.google.cloud.asset.v1.MoveImpact getBlockers(int index);
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -57,8 +36,6 @@ public interface MoveAnalysisResultOrBuilder
    */
   int getBlockersCount();
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -66,11 +43,9 @@ public interface MoveAnalysisResultOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
-  java.util.List
+  java.util.List 
       getBlockersOrBuilderList();
   /**
-   *
-   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -78,11 +53,10 @@ public interface MoveAnalysisResultOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
-  com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int index);
+  com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -91,10 +65,9 @@ public interface MoveAnalysisResultOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
-  java.util.List getWarningsList();
+  java.util.List 
+      getWarningsList();
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -105,8 +78,6 @@ public interface MoveAnalysisResultOrBuilder
    */
   com.google.cloud.asset.v1.MoveImpact getWarnings(int index);
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -117,8 +88,6 @@ public interface MoveAnalysisResultOrBuilder
    */
   int getWarningsCount();
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -127,11 +96,9 @@ public interface MoveAnalysisResultOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
-  java.util.List
+  java.util.List 
       getWarningsOrBuilderList();
   /**
-   *
-   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -140,5 +107,6 @@ public interface MoveAnalysisResultOrBuilder
    *
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
-  com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int index);
+  com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
similarity index 68%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
index 5a2303a10..1c20174c3 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * A message to group impacts of moving the target resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.MoveImpact} */ -public final class MoveImpact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveImpact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.MoveImpact) MoveImpactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveImpact.newBuilder() to construct. private MoveImpact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveImpact() { detail_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveImpact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveImpact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private MoveImpact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - detail_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + detail_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private MoveImpact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveImpact.class, - com.google.cloud.asset.v1.MoveImpact.Builder.class); + com.google.cloud.asset.v1.MoveImpact.class, com.google.cloud.asset.v1.MoveImpact.Builder.class); } public static final int DETAIL_FIELD_NUMBER = 1; private volatile java.lang.Object detail_; /** - * - * *
    * User friendly impact detail in a free form message.
    * 
* * string detail = 1; - * * @return The detail. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; } } /** - * - * *
    * User friendly impact detail in a free form message.
    * 
* * string detail = 1; - * * @return The bytes for detail. */ @java.lang.Override - public com.google.protobuf.ByteString getDetailBytes() { + public com.google.protobuf.ByteString + getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detail_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getDetailBytes() { } 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(detail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, detail_); } @@ -199,14 +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.asset.v1.MoveImpact)) { return super.equals(obj); } com.google.cloud.asset.v1.MoveImpact other = (com.google.cloud.asset.v1.MoveImpact) obj; - if (!getDetail().equals(other.getDetail())) return false; + if (!getDetail() + .equals(other.getDetail())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -225,126 +203,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.MoveImpact parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.MoveImpact parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.MoveImpact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.MoveImpact parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.MoveImpact parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.MoveImpact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.MoveImpact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.MoveImpact parseFrom( - byte[] data, com.google.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.asset.v1.MoveImpact 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.asset.v1.MoveImpact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveImpact 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.asset.v1.MoveImpact parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveImpact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.MoveImpact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.MoveImpact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A message to group impacts of moving the target resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.MoveImpact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.MoveImpact) com.google.cloud.asset.v1.MoveImpactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveImpact.class, - com.google.cloud.asset.v1.MoveImpact.Builder.class); + com.google.cloud.asset.v1.MoveImpact.class, com.google.cloud.asset.v1.MoveImpact.Builder.class); } // Construct using com.google.cloud.asset.v1.MoveImpact.newBuilder() @@ -352,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(); @@ -370,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_descriptor; } @java.lang.Override @@ -401,39 +372,38 @@ public com.google.cloud.asset.v1.MoveImpact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.MoveImpact) { - return mergeFrom((com.google.cloud.asset.v1.MoveImpact) other); + return mergeFrom((com.google.cloud.asset.v1.MoveImpact)other); } else { super.mergeFrom(other); return this; @@ -477,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object detail_ = ""; /** - * - * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; - * * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; @@ -499,21 +467,20 @@ public java.lang.String getDetail() { } } /** - * - * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; - * * @return The bytes for detail. */ - public com.google.protobuf.ByteString getDetailBytes() { + public com.google.protobuf.ByteString + getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detail_ = b; return b; } else { @@ -521,68 +488,61 @@ public com.google.protobuf.ByteString getDetailBytes() { } } /** - * - * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; - * * @param value The detail to set. * @return This builder for chaining. */ - public Builder setDetail(java.lang.String value) { + public Builder setDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detail_ = value; onChanged(); return this; } /** - * - * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; - * * @return This builder for chaining. */ public Builder clearDetail() { - + detail_ = getDefaultInstance().getDetail(); onChanged(); return this; } /** - * - * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; - * * @param value The bytes for detail to set. * @return This builder for chaining. */ - public Builder setDetailBytes(com.google.protobuf.ByteString value) { + public Builder setDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detail_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.MoveImpact) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.MoveImpact) private static final com.google.cloud.asset.v1.MoveImpact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.MoveImpact(); } @@ -606,16 +566,16 @@ public static com.google.cloud.asset.v1.MoveImpact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveImpact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveImpact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveImpact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveImpact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -630,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveImpact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java new file mode 100644 index 000000000..d6416c941 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface MoveImpactOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveImpact) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * User friendly impact detail in a free form message.
+   * 
+ * + * string detail = 1; + * @return The detail. + */ + java.lang.String getDetail(); + /** + *
+   * User friendly impact detail in a free form message.
+   * 
+ * + * string detail = 1; + * @return The bytes for detail. + */ + com.google.protobuf.ByteString + getDetailBytes(); +} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java similarity index 100% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java similarity index 71% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java index 6e02e0f21..2195ba20a 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Output configuration for export assets destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.OutputConfig} */ -public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.OutputConfig) OutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OutputConfig() {} + private OutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,46 +52,41 @@ private OutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.GcsDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.GcsDestination) destination_).toBuilder(); } - case 18: - { - com.google.cloud.asset.v1.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = - ((com.google.cloud.asset.v1.BigQueryDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1.BigQueryDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 2; - break; + destination_ = + input.readMessage(com.google.cloud.asset.v1.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationCase_ = 1; + break; + } + case 18: { + com.google.cloud.asset.v1.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = ((com.google.cloud.asset.v1.BigQueryDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage(com.google.cloud.asset.v1.BigQueryDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); } + destinationCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,40 +94,35 @@ private OutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputConfig.class, - com.google.cloud.asset.v1.OutputConfig.Builder.class); + com.google.cloud.asset.v1.OutputConfig.class, com.google.cloud.asset.v1.OutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), BIGQUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -164,36 +138,30 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return GCS_DESTINATION; - case 2: - return BIGQUERY_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return GCS_DESTINATION; + case 2: return BIGQUERY_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -201,26 +169,21 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ @java.lang.Override public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.GcsDestination) destination_; + return (com.google.cloud.asset.v1.GcsDestination) destination_; } return com.google.cloud.asset.v1.GcsDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Cloud Storage.
    * 
@@ -230,22 +193,19 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { @java.lang.Override public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.GcsDestination) destination_; + return (com.google.cloud.asset.v1.GcsDestination) destination_; } return com.google.cloud.asset.v1.GcsDestination.getDefaultInstance(); } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 2; /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; - * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -253,27 +213,22 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; - * * @return The bigqueryDestination. */ @java.lang.Override public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1.BigQueryDestination) destination_; } return com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance(); } /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
@@ -284,13 +239,12 @@ public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() {
   @java.lang.Override
   public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
     if (destinationCase_ == 2) {
-      return (com.google.cloud.asset.v1.BigQueryDestination) destination_;
+       return (com.google.cloud.asset.v1.BigQueryDestination) destination_;
     }
     return com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -302,7 +256,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (destinationCase_ == 1) {
       output.writeMessage(1, (com.google.cloud.asset.v1.GcsDestination) destination_);
     }
@@ -319,14 +274,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (destinationCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.cloud.asset.v1.GcsDestination) destination_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.cloud.asset.v1.GcsDestination) destination_);
     }
     if (destinationCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.cloud.asset.v1.BigQueryDestination) destination_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.cloud.asset.v1.BigQueryDestination) destination_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -336,7 +289,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.OutputConfig)) {
       return super.equals(obj);
@@ -346,10 +299,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getDestinationCase().equals(other.getDestinationCase())) return false;
     switch (destinationCase_) {
       case 1:
-        if (!getGcsDestination().equals(other.getGcsDestination())) return false;
+        if (!getGcsDestination()
+            .equals(other.getGcsDestination())) return false;
         break;
       case 2:
-        if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false;
+        if (!getBigqueryDestination()
+            .equals(other.getBigqueryDestination())) return false;
         break;
       case 0:
       default:
@@ -382,127 +337,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.OutputConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.OutputConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(
-      byte[] data, com.google.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.asset.v1.OutputConfig 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.asset.v1.OutputConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.OutputConfig 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.asset.v1.OutputConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.OutputConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.OutputConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.OutputConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Output configuration for export assets destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.OutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.OutputConfig) com.google.cloud.asset.v1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputConfig.class, - com.google.cloud.asset.v1.OutputConfig.Builder.class); + com.google.cloud.asset.v1.OutputConfig.class, com.google.cloud.asset.v1.OutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.OutputConfig.newBuilder() @@ -510,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_descriptor; } @java.lang.Override @@ -549,8 +496,7 @@ public com.google.cloud.asset.v1.OutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.OutputConfig buildPartial() { - com.google.cloud.asset.v1.OutputConfig result = - new com.google.cloud.asset.v1.OutputConfig(this); + com.google.cloud.asset.v1.OutputConfig result = new com.google.cloud.asset.v1.OutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -574,39 +520,38 @@ public com.google.cloud.asset.v1.OutputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.OutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.OutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1.OutputConfig)other); } else { super.mergeFrom(other); return this; @@ -616,20 +561,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.OutputConfig other) { if (other == com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: - { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case BIGQUERY_DESTINATION: - { - mergeBigqueryDestination(other.getBigqueryDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case GCS_DESTINATION: { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case BIGQUERY_DESTINATION: { + mergeBigqueryDestination(other.getBigqueryDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -659,12 +601,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -674,20 +616,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsDestination, - com.google.cloud.asset.v1.GcsDestination.Builder, - com.google.cloud.asset.v1.GcsDestinationOrBuilder> - gcsDestinationBuilder_; + com.google.cloud.asset.v1.GcsDestination, com.google.cloud.asset.v1.GcsDestination.Builder, com.google.cloud.asset.v1.GcsDestinationOrBuilder> gcsDestinationBuilder_; /** - * - * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -695,14 +632,11 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ @java.lang.Override @@ -720,8 +654,6 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -742,8 +674,6 @@ public Builder setGcsDestination(com.google.cloud.asset.v1.GcsDestination value) return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -762,8 +692,6 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -772,13 +700,10 @@ public Builder setGcsDestination( */ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ != com.google.cloud.asset.v1.GcsDestination.getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1.GcsDestination.newBuilder( - (com.google.cloud.asset.v1.GcsDestination) destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1.GcsDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1.GcsDestination.newBuilder((com.google.cloud.asset.v1.GcsDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -794,8 +719,6 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination valu return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -819,8 +742,6 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -831,8 +752,6 @@ public com.google.cloud.asset.v1.GcsDestination.Builder getGcsDestinationBuilder return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -851,8 +770,6 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -860,45 +777,33 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsDestination, - com.google.cloud.asset.v1.GcsDestination.Builder, - com.google.cloud.asset.v1.GcsDestinationOrBuilder> + com.google.cloud.asset.v1.GcsDestination, com.google.cloud.asset.v1.GcsDestination.Builder, com.google.cloud.asset.v1.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsDestination, - com.google.cloud.asset.v1.GcsDestination.Builder, - com.google.cloud.asset.v1.GcsDestinationOrBuilder>( + gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.GcsDestination, com.google.cloud.asset.v1.GcsDestination.Builder, com.google.cloud.asset.v1.GcsDestinationOrBuilder>( (com.google.cloud.asset.v1.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return gcsDestinationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.BigQueryDestination, - com.google.cloud.asset.v1.BigQueryDestination.Builder, - com.google.cloud.asset.v1.BigQueryDestinationOrBuilder> - bigqueryDestinationBuilder_; + com.google.cloud.asset.v1.BigQueryDestination, com.google.cloud.asset.v1.BigQueryDestination.Builder, com.google.cloud.asset.v1.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; /** - * - * *
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
      * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; - * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -906,15 +811,12 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** - * - * *
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
      * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; - * * @return The bigqueryDestination. */ @java.lang.Override @@ -932,8 +834,6 @@ public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() { } } /** - * - * *
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -955,8 +855,6 @@ public Builder setBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestinat
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -976,8 +874,6 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -987,13 +883,10 @@ public Builder setBigqueryDestination(
      */
     public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestination value) {
       if (bigqueryDestinationBuilder_ == null) {
-        if (destinationCase_ == 2
-            && destination_ != com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance()) {
-          destination_ =
-              com.google.cloud.asset.v1.BigQueryDestination.newBuilder(
-                      (com.google.cloud.asset.v1.BigQueryDestination) destination_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (destinationCase_ == 2 &&
+            destination_ != com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance()) {
+          destination_ = com.google.cloud.asset.v1.BigQueryDestination.newBuilder((com.google.cloud.asset.v1.BigQueryDestination) destination_)
+              .mergeFrom(value).buildPartial();
         } else {
           destination_ = value;
         }
@@ -1009,8 +902,6 @@ public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestin
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -1035,8 +926,6 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -1048,8 +937,6 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
       return getBigqueryDestinationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -1058,8 +945,7 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
      * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder
-        getBigqueryDestinationOrBuilder() {
+    public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
       if ((destinationCase_ == 2) && (bigqueryDestinationBuilder_ != null)) {
         return bigqueryDestinationBuilder_.getMessageOrBuilder();
       } else {
@@ -1070,8 +956,6 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
       }
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -1080,32 +964,26 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
      * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.BigQueryDestination,
-            com.google.cloud.asset.v1.BigQueryDestination.Builder,
-            com.google.cloud.asset.v1.BigQueryDestinationOrBuilder>
+        com.google.cloud.asset.v1.BigQueryDestination, com.google.cloud.asset.v1.BigQueryDestination.Builder, com.google.cloud.asset.v1.BigQueryDestinationOrBuilder> 
         getBigqueryDestinationFieldBuilder() {
       if (bigqueryDestinationBuilder_ == null) {
         if (!(destinationCase_ == 2)) {
           destination_ = com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance();
         }
-        bigqueryDestinationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.BigQueryDestination,
-                com.google.cloud.asset.v1.BigQueryDestination.Builder,
-                com.google.cloud.asset.v1.BigQueryDestinationOrBuilder>(
+        bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.BigQueryDestination, com.google.cloud.asset.v1.BigQueryDestination.Builder, com.google.cloud.asset.v1.BigQueryDestinationOrBuilder>(
                 (com.google.cloud.asset.v1.BigQueryDestination) destination_,
                 getParentForChildren(),
                 isClean());
         destination_ = null;
       }
       destinationCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return bigqueryDestinationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1115,12 +993,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.OutputConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.OutputConfig)
   private static final com.google.cloud.asset.v1.OutputConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.OutputConfig();
   }
@@ -1129,16 +1007,16 @@ public static com.google.cloud.asset.v1.OutputConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OutputConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new OutputConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OutputConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new OutputConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1153,4 +1031,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
similarity index 74%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
index ce0fc0ded..de717d5a0 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface OutputConfigOrBuilder
-    extends
+public interface OutputConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.OutputConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ com.google.cloud.asset.v1.GcsDestination getGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
@@ -59,34 +35,26 @@ public interface OutputConfigOrBuilder com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; - * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; - * * @return The bigqueryDestination. */ com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination(); /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
similarity index 69%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
index 7922ccf43..ac7dadbb3 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * Output result of export assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1.OutputResult} */ -public final class OutputResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.OutputResult) OutputResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputResult.newBuilder() to construct. private OutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OutputResult() {} + private OutputResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,29 +52,27 @@ private OutputResult( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.GcsOutputResult.Builder subBuilder = null; - if (resultCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.GcsOutputResult) result_).toBuilder(); - } - result_ = - input.readMessage( - com.google.cloud.asset.v1.GcsOutputResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsOutputResult) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1.GcsOutputResult.Builder subBuilder = null; + if (resultCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.GcsOutputResult) result_).toBuilder(); + } + result_ = + input.readMessage(com.google.cloud.asset.v1.GcsOutputResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsOutputResult) result_); + result_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resultCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,39 +80,34 @@ private OutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputResult.class, - com.google.cloud.asset.v1.OutputResult.Builder.class); + com.google.cloud.asset.v1.OutputResult.class, com.google.cloud.asset.v1.OutputResult.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_RESULT(1), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -146,34 +123,29 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 1: - return GCS_RESULT; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 1: return GCS_RESULT; + case 0: return RESULT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public static final int GCS_RESULT_FIELD_NUMBER = 1; /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; - * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -181,26 +153,21 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; - * * @return The gcsResult. */ @java.lang.Override public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1.GcsOutputResult) result_; } return com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance(); } /** - * - * *
    * Export result on Cloud Storage.
    * 
@@ -210,13 +177,12 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { @java.lang.Override public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1.GcsOutputResult) result_; } return com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resultCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1.GcsOutputResult) result_); } @@ -242,9 +209,8 @@ public int getSerializedSize() { size = 0; if (resultCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.asset.v1.GcsOutputResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1.GcsOutputResult) result_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -254,7 +220,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.OutputResult)) { return super.equals(obj); @@ -264,7 +230,8 @@ public boolean equals(final java.lang.Object obj) { if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 1: - if (!getGcsResult().equals(other.getGcsResult())) return false; + if (!getGcsResult() + .equals(other.getGcsResult())) return false; break; case 0: default: @@ -293,127 +260,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.OutputResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.OutputResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.OutputResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.OutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.OutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.OutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.OutputResult parseFrom( - byte[] data, com.google.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.asset.v1.OutputResult 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.asset.v1.OutputResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.OutputResult 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.asset.v1.OutputResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.OutputResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.OutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.OutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output result of export assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1.OutputResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.OutputResult) com.google.cloud.asset.v1.OutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputResult.class, - com.google.cloud.asset.v1.OutputResult.Builder.class); + com.google.cloud.asset.v1.OutputResult.class, com.google.cloud.asset.v1.OutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1.OutputResult.newBuilder() @@ -421,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_OutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_descriptor; } @java.lang.Override @@ -460,8 +419,7 @@ public com.google.cloud.asset.v1.OutputResult build() { @java.lang.Override public com.google.cloud.asset.v1.OutputResult buildPartial() { - com.google.cloud.asset.v1.OutputResult result = - new com.google.cloud.asset.v1.OutputResult(this); + com.google.cloud.asset.v1.OutputResult result = new com.google.cloud.asset.v1.OutputResult(this); if (resultCase_ == 1) { if (gcsResultBuilder_ == null) { result.result_ = result_; @@ -478,39 +436,38 @@ public com.google.cloud.asset.v1.OutputResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.OutputResult) { - return mergeFrom((com.google.cloud.asset.v1.OutputResult) other); + return mergeFrom((com.google.cloud.asset.v1.OutputResult)other); } else { super.mergeFrom(other); return this; @@ -520,15 +477,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.OutputResult other) { if (other == com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) return this; switch (other.getResultCase()) { - case GCS_RESULT: - { - mergeGcsResult(other.getGcsResult()); - break; - } - case RESULT_NOT_SET: - { - break; - } + case GCS_RESULT: { + mergeGcsResult(other.getGcsResult()); + break; + } + case RESULT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -558,12 +513,12 @@ public Builder mergeFrom( } return this; } - private int resultCase_ = 0; private java.lang.Object result_; - - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public Builder clearResult() { @@ -573,20 +528,15 @@ public Builder clearResult() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsOutputResult, - com.google.cloud.asset.v1.GcsOutputResult.Builder, - com.google.cloud.asset.v1.GcsOutputResultOrBuilder> - gcsResultBuilder_; + com.google.cloud.asset.v1.GcsOutputResult, com.google.cloud.asset.v1.GcsOutputResult.Builder, com.google.cloud.asset.v1.GcsOutputResultOrBuilder> gcsResultBuilder_; /** - * - * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; - * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -594,14 +544,11 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** - * - * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; - * * @return The gcsResult. */ @java.lang.Override @@ -619,8 +566,6 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -641,15 +586,14 @@ public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; */ - public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult.Builder builderForValue) { + public Builder setGcsResult( + com.google.cloud.asset.v1.GcsOutputResult.Builder builderForValue) { if (gcsResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -660,8 +604,6 @@ public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult.Builder bu return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -670,13 +612,10 @@ public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult.Builder bu */ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { if (gcsResultBuilder_ == null) { - if (resultCase_ == 1 - && result_ != com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance()) { - result_ = - com.google.cloud.asset.v1.GcsOutputResult.newBuilder( - (com.google.cloud.asset.v1.GcsOutputResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 1 && + result_ != com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance()) { + result_ = com.google.cloud.asset.v1.GcsOutputResult.newBuilder((com.google.cloud.asset.v1.GcsOutputResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -692,8 +631,6 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -717,8 +654,6 @@ public Builder clearGcsResult() { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -729,8 +664,6 @@ public com.google.cloud.asset.v1.GcsOutputResult.Builder getGcsResultBuilder() { return getGcsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -749,8 +682,6 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -758,32 +689,26 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsOutputResult, - com.google.cloud.asset.v1.GcsOutputResult.Builder, - com.google.cloud.asset.v1.GcsOutputResultOrBuilder> + com.google.cloud.asset.v1.GcsOutputResult, com.google.cloud.asset.v1.GcsOutputResult.Builder, com.google.cloud.asset.v1.GcsOutputResultOrBuilder> getGcsResultFieldBuilder() { if (gcsResultBuilder_ == null) { if (!(resultCase_ == 1)) { result_ = com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance(); } - gcsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsOutputResult, - com.google.cloud.asset.v1.GcsOutputResult.Builder, - com.google.cloud.asset.v1.GcsOutputResultOrBuilder>( + gcsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.GcsOutputResult, com.google.cloud.asset.v1.GcsOutputResult.Builder, com.google.cloud.asset.v1.GcsOutputResultOrBuilder>( (com.google.cloud.asset.v1.GcsOutputResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 1; - onChanged(); - ; + onChanged();; return gcsResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -793,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.OutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.OutputResult) private static final com.google.cloud.asset.v1.OutputResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.OutputResult(); } @@ -807,16 +732,16 @@ public static com.google.cloud.asset.v1.OutputResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java similarity index 60% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java index 454ff49af..68dc7c1ed 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface OutputResultOrBuilder - extends +public interface OutputResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.OutputResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; - * * @return Whether the gcsResult field is set. */ boolean hasGcsResult(); /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; - * * @return The gcsResult. */ com.google.cloud.asset.v1.GcsOutputResult getGcsResult(); /** - * - * *
    * Export result on Cloud Storage.
    * 
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java similarity index 71% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java index 29caf7155..652087c7f 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Specifications of BigQuery partitioned table as export destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.PartitionSpec} */ -public final class PartitionSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartitionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.PartitionSpec) PartitionSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartitionSpec.newBuilder() to construct. private PartitionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionSpec() { partitionKey_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PartitionSpec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PartitionSpec( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - partitionKey_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + partitionKey_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,31 +73,27 @@ private PartitionSpec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PartitionSpec.class, - com.google.cloud.asset.v1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1.PartitionSpec.class, com.google.cloud.asset.v1.PartitionSpec.Builder.class); } /** - * - * *
    * This enum is used to determine the partition key column when exporting
    * assets to BigQuery partitioned table(s). Note that, if the partition key is
@@ -126,10 +104,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.asset.v1.PartitionSpec.PartitionKey}
    */
-  public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PartitionKey
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -138,8 +115,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum { */ PARTITION_KEY_UNSPECIFIED(0), /** - * - * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -152,8 +127,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_TIME(1),
     /**
-     *
-     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -168,8 +141,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -178,8 +149,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTITION_KEY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -192,8 +161,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_TIME_VALUE = 1;
     /**
-     *
-     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -205,6 +172,7 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -229,49 +197,49 @@ public static PartitionKey valueOf(int value) {
      */
     public static PartitionKey forNumber(int value) {
       switch (value) {
-        case 0:
-          return PARTITION_KEY_UNSPECIFIED;
-        case 1:
-          return READ_TIME;
-        case 2:
-          return REQUEST_TIME;
-        default:
-          return null;
+        case 0: return PARTITION_KEY_UNSPECIFIED;
+        case 1: return READ_TIME;
+        case 2: return REQUEST_TIME;
+        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<
+        PartitionKey> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PartitionKey findValueByNumber(int number) {
+              return PartitionKey.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PartitionKey findValueByNumber(int number) {
-            return PartitionKey.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.asset.v1.PartitionSpec.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PartitionKey[] VALUES = values();
 
-    public static PartitionKey valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PartitionKey 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;
@@ -291,43 +259,31 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   private int partitionKey_;
   /**
-   *
-   *
    * 
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override - public int getPartitionKeyValue() { + @java.lang.Override public int getPartitionKeyValue() { return partitionKey_; } /** - * - * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The partitionKey. */ - @java.lang.Override - public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { + @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,10 +295,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (partitionKey_ - != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (partitionKey_ != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { output.writeEnum(1, partitionKey_); } unknownFields.writeTo(output); @@ -354,10 +309,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (partitionKey_ - != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, partitionKey_); + if (partitionKey_ != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, partitionKey_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -367,7 +321,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.PartitionSpec)) { return super.equals(obj); @@ -393,127 +347,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.PartitionSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.PartitionSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.PartitionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.PartitionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.PartitionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.PartitionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.PartitionSpec parseFrom( - byte[] data, com.google.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.asset.v1.PartitionSpec 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.asset.v1.PartitionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PartitionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.PartitionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.PartitionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PartitionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.PartitionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.PartitionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifications of BigQuery partitioned table as export destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.PartitionSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.PartitionSpec) com.google.cloud.asset.v1.PartitionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PartitionSpec.class, - com.google.cloud.asset.v1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1.PartitionSpec.class, com.google.cloud.asset.v1.PartitionSpec.Builder.class); } // Construct using com.google.cloud.asset.v1.PartitionSpec.newBuilder() @@ -521,15 +466,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; } @java.lang.Override @@ -560,8 +506,7 @@ public com.google.cloud.asset.v1.PartitionSpec build() { @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec buildPartial() { - com.google.cloud.asset.v1.PartitionSpec result = - new com.google.cloud.asset.v1.PartitionSpec(this); + com.google.cloud.asset.v1.PartitionSpec result = new com.google.cloud.asset.v1.PartitionSpec(this); result.partitionKey_ = partitionKey_; onBuilt(); return result; @@ -571,39 +516,38 @@ public com.google.cloud.asset.v1.PartitionSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.PartitionSpec) { - return mergeFrom((com.google.cloud.asset.v1.PartitionSpec) other); + return mergeFrom((com.google.cloud.asset.v1.PartitionSpec)other); } else { super.mergeFrom(other); return this; @@ -646,67 +590,51 @@ public Builder mergeFrom( private int partitionKey_ = 0; /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override - public int getPartitionKeyValue() { + @java.lang.Override public int getPartitionKeyValue() { return partitionKey_; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @param value The enum numeric value on the wire for partitionKey to set. * @return This builder for chaining. */ public Builder setPartitionKeyValue(int value) { - + partitionKey_ = value; onChanged(); return this; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The partitionKey. */ @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null - ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @param value The partitionKey to set. * @return This builder for chaining. */ @@ -714,31 +642,28 @@ public Builder setPartitionKey(com.google.cloud.asset.v1.PartitionSpec.Partition if (value == null) { throw new NullPointerException(); } - + partitionKey_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return This builder for chaining. */ public Builder clearPartitionKey() { - + partitionKey_ = 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); } @@ -748,12 +673,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.PartitionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.PartitionSpec) private static final com.google.cloud.asset.v1.PartitionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.PartitionSpec(); } @@ -762,16 +687,16 @@ public static com.google.cloud.asset.v1.PartitionSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,4 +711,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java similarity index 55% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java index 78bec335e..0dd5bf878 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface PartitionSpecOrBuilder - extends +public interface PartitionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.PartitionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The enum numeric value on the wire for partitionKey. */ int getPartitionKeyValue(); /** - * - * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The partitionKey. */ com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java new file mode 100644 index 000000000..032e6dc27 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java @@ -0,0 +1,168 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.asset.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class ProjectName implements ResourceName { + private static final PathTemplate PROJECT = + PathTemplate.createWithoutUrlEncoding("projects/{project}"); + private volatile Map fieldValuesMap; + private final String project; + + @Deprecated + protected ProjectName() { + project = null; + } + + private ProjectName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + } + + public String getProject() { + return project; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static ProjectName of(String project) { + return newBuilder().setProject(project).build(); + } + + public static String format(String project) { + return newBuilder().setProject(project).build().toString(); + } + + public static ProjectName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT.validatedMatch( + formattedString, "ProjectName.parse: formattedString not in valid format"); + return of(matchMap.get("project")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (ProjectName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT.instantiate("project", project); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + ProjectName that = ((ProjectName) o); + return Objects.equals(this.project, that.project); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + return h; + } + + /** Builder for projects/{project}. */ + public static class Builder { + private String project; + + protected Builder() {} + + public String getProject() { + return project; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + private Builder(ProjectName projectName) { + this.project = projectName.project; + } + + public ProjectName build() { + return new ProjectName(this); + } + } +} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java similarity index 69% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java index c0989ae4e..840f3f696 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A Pub/Sub destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.PubsubDestination} */ -public final class PubsubDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PubsubDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.PubsubDestination) PubsubDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PubsubDestination.newBuilder() to construct. private PubsubDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PubsubDestination() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PubsubDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PubsubDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PubsubDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + topic_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private PubsubDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PubsubDestination.class, - com.google.cloud.asset.v1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1.PubsubDestination.class, com.google.cloud.asset.v1.PubsubDestination.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** - * - * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -201,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.asset.v1.PubsubDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.PubsubDestination other = - (com.google.cloud.asset.v1.PubsubDestination) obj; + com.google.cloud.asset.v1.PubsubDestination other = (com.google.cloud.asset.v1.PubsubDestination) obj; - if (!getTopic().equals(other.getTopic())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.PubsubDestination parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.PubsubDestination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.PubsubDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.PubsubDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.PubsubDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.PubsubDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.PubsubDestination parseFrom( - byte[] data, com.google.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.asset.v1.PubsubDestination 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.asset.v1.PubsubDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PubsubDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.PubsubDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.PubsubDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PubsubDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.PubsubDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.PubsubDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Pub/Sub destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.PubsubDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.PubsubDestination) com.google.cloud.asset.v1.PubsubDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PubsubDestination.class, - com.google.cloud.asset.v1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1.PubsubDestination.class, com.google.cloud.asset.v1.PubsubDestination.Builder.class); } // Construct using com.google.cloud.asset.v1.PubsubDestination.newBuilder() @@ -356,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(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; } @java.lang.Override @@ -395,8 +364,7 @@ public com.google.cloud.asset.v1.PubsubDestination build() { @java.lang.Override public com.google.cloud.asset.v1.PubsubDestination buildPartial() { - com.google.cloud.asset.v1.PubsubDestination result = - new com.google.cloud.asset.v1.PubsubDestination(this); + com.google.cloud.asset.v1.PubsubDestination result = new com.google.cloud.asset.v1.PubsubDestination(this); result.topic_ = topic_; onBuilt(); return result; @@ -406,39 +374,38 @@ public com.google.cloud.asset.v1.PubsubDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.PubsubDestination) { - return mergeFrom((com.google.cloud.asset.v1.PubsubDestination) other); + return mergeFrom((com.google.cloud.asset.v1.PubsubDestination)other); } else { super.mergeFrom(other); return this; @@ -482,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** - * - * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -505,22 +470,21 @@ public java.lang.String getTopic() { } } /** - * - * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -528,71 +492,64 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.PubsubDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.PubsubDestination) private static final com.google.cloud.asset.v1.PubsubDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.PubsubDestination(); } @@ -616,16 +573,16 @@ public static com.google.cloud.asset.v1.PubsubDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubsubDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubsubDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubsubDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java similarity index 50% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java index ba1e2e54c..05bb241e5 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface PubsubDestinationOrBuilder - extends +public interface PubsubDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.PubsubDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java similarity index 77% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java index 845b44c83..b4dc113c8 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * An asset identifier in Google Cloud which contains its name, type and
  * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.RelatedAsset}
  */
-public final class RelatedAsset extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RelatedAsset extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedAsset)
     RelatedAssetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RelatedAsset.newBuilder() to construct.
   private RelatedAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RelatedAsset() {
     asset_ = "";
     assetType_ = "";
@@ -53,15 +35,16 @@ private RelatedAsset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RelatedAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RelatedAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -81,44 +64,40 @@ private RelatedAsset(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              asset_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            asset_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ancestors_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              ancestors_.add(s);
-              break;
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              ancestors_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            ancestors_.add(s);
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              relationshipType_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            relationshipType_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -126,7 +105,8 @@ private RelatedAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         ancestors_ = ancestors_.getUnmodifiableView();
@@ -135,27 +115,22 @@ private RelatedAsset(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.RelatedAsset.class,
-            com.google.cloud.asset.v1.RelatedAsset.Builder.class);
+            com.google.cloud.asset.v1.RelatedAsset.class, com.google.cloud.asset.v1.RelatedAsset.Builder.class);
   }
 
   public static final int ASSET_FIELD_NUMBER = 1;
   private volatile java.lang.Object asset_;
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -165,7 +140,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ @java.lang.Override @@ -174,15 +148,14 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -192,15 +165,16 @@ public java.lang.String getAsset() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -211,8 +185,6 @@ public com.google.protobuf.ByteString getAssetBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -221,7 +193,6 @@ public com.google.protobuf.ByteString getAssetBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -230,15 +201,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -247,15 +217,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -266,8 +237,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int ANCESTORS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ancestors_; /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -277,15 +246,13 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
    * 
* * repeated string ancestors = 3; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_; } /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -295,15 +262,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
    * 
* * repeated string ancestors = 3; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -313,7 +277,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -321,8 +284,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -332,26 +293,23 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 3; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } public static final int RELATIONSHIP_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object relationshipType_; /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; - * * @return The relationshipType. */ @java.lang.Override @@ -360,30 +318,30 @@ public java.lang.String getRelationshipType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relationshipType_ = s; return s; } } /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; - * * @return The bytes for relationshipType. */ @java.lang.Override - public com.google.protobuf.ByteString getRelationshipTypeBytes() { + public com.google.protobuf.ByteString + getRelationshipTypeBytes() { java.lang.Object ref = relationshipType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relationshipType_ = b; return b; } else { @@ -392,7 +350,6 @@ public com.google.protobuf.ByteString getRelationshipTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,7 +361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -451,17 +409,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.asset.v1.RelatedAsset)) { return super.equals(obj); } com.google.cloud.asset.v1.RelatedAsset other = (com.google.cloud.asset.v1.RelatedAsset) obj; - if (!getAsset().equals(other.getAsset())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; - if (!getAncestorsList().equals(other.getAncestorsList())) return false; - if (!getRelationshipType().equals(other.getRelationshipType())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; + if (!getAncestorsList() + .equals(other.getAncestorsList())) return false; + if (!getRelationshipType() + .equals(other.getRelationshipType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -488,104 +450,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedAsset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedAsset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedAsset parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.RelatedAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedAsset parseFrom( - byte[] data, com.google.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.asset.v1.RelatedAsset 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.asset.v1.RelatedAsset parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAsset 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.asset.v1.RelatedAsset parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAsset parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.RelatedAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.RelatedAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An asset identifier in Google Cloud which contains its name, type and
    * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -599,23 +554,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.RelatedAsset}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedAsset)
       com.google.cloud.asset.v1.RelatedAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.RelatedAsset.class,
-              com.google.cloud.asset.v1.RelatedAsset.Builder.class);
+              com.google.cloud.asset.v1.RelatedAsset.class, com.google.cloud.asset.v1.RelatedAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.RelatedAsset.newBuilder()
@@ -623,15 +576,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -647,9 +601,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
@@ -668,8 +622,7 @@ public com.google.cloud.asset.v1.RelatedAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.RelatedAsset buildPartial() {
-      com.google.cloud.asset.v1.RelatedAsset result =
-          new com.google.cloud.asset.v1.RelatedAsset(this);
+      com.google.cloud.asset.v1.RelatedAsset result = new com.google.cloud.asset.v1.RelatedAsset(this);
       int from_bitField0_ = bitField0_;
       result.asset_ = asset_;
       result.assetType_ = assetType_;
@@ -687,39 +640,38 @@ public com.google.cloud.asset.v1.RelatedAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.RelatedAsset) {
-        return mergeFrom((com.google.cloud.asset.v1.RelatedAsset) other);
+        return mergeFrom((com.google.cloud.asset.v1.RelatedAsset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -778,13 +730,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object asset_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -794,13 +743,13 @@ public Builder mergeFrom(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -809,8 +758,6 @@ public java.lang.String getAsset() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -820,14 +767,15 @@ public java.lang.String getAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for asset. */ - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -835,8 +783,6 @@ public com.google.protobuf.ByteString getAssetBytes() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -846,22 +792,20 @@ public com.google.protobuf.ByteString getAssetBytes() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset(java.lang.String value) { + public Builder setAsset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + asset_ = value; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -871,18 +815,15 @@ public Builder setAsset(java.lang.String value) {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAsset() { - + asset_ = getDefaultInstance().getAsset(); onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -892,16 +833,16 @@ public Builder clearAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes(com.google.protobuf.ByteString value) { + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + asset_ = value; onChanged(); return this; @@ -909,8 +850,6 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -919,13 +858,13 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -934,8 +873,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -944,14 +881,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -959,8 +897,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -969,22 +905,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -993,18 +927,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1013,33 +944,29 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ancestors_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1049,15 +976,13 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 3; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1067,15 +992,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
      * 
* * repeated string ancestors = 3; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1085,7 +1007,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1093,8 +1014,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1104,16 +1023,14 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 3; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1123,23 +1040,21 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
      * 
* * repeated string ancestors = 3; - * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors(int index, java.lang.String value) { + public Builder setAncestors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1149,22 +1064,20 @@ public Builder setAncestors(int index, java.lang.String value) {
      * 
* * repeated string ancestors = 3; - * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors(java.lang.String value) { + public Builder addAncestors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1174,19 +1087,18 @@ public Builder addAncestors(java.lang.String value) {
      * 
* * repeated string ancestors = 3; - * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors(java.lang.Iterable values) { + public Builder addAllAncestors( + java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ancestors_); onChanged(); return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1196,7 +1108,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 3; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1206,8 +1117,6 @@ public Builder clearAncestors() { return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1217,15 +1126,15 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 3; - * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); @@ -1234,21 +1143,19 @@ public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { private java.lang.Object relationshipType_ = ""; /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; - * * @return The relationshipType. */ public java.lang.String getRelationshipType() { java.lang.Object ref = relationshipType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relationshipType_ = s; return s; @@ -1257,22 +1164,21 @@ public java.lang.String getRelationshipType() { } } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; - * * @return The bytes for relationshipType. */ - public com.google.protobuf.ByteString getRelationshipTypeBytes() { + public com.google.protobuf.ByteString + getRelationshipTypeBytes() { java.lang.Object ref = relationshipType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relationshipType_ = b; return b; } else { @@ -1280,71 +1186,64 @@ public com.google.protobuf.ByteString getRelationshipTypeBytes() { } } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; - * * @param value The relationshipType to set. * @return This builder for chaining. */ - public Builder setRelationshipType(java.lang.String value) { + public Builder setRelationshipType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relationshipType_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; - * * @return This builder for chaining. */ public Builder clearRelationshipType() { - + relationshipType_ = getDefaultInstance().getRelationshipType(); onChanged(); return this; } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; - * * @param value The bytes for relationshipType to set. * @return This builder for chaining. */ - public Builder setRelationshipTypeBytes(com.google.protobuf.ByteString value) { + public Builder setRelationshipTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relationshipType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1354,12 +1253,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedAsset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedAsset) private static final com.google.cloud.asset.v1.RelatedAsset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedAsset(); } @@ -1368,16 +1267,16 @@ public static com.google.cloud.asset.v1.RelatedAsset getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAsset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAsset(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAsset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1392,4 +1291,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java similarity index 80% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java index dc568a1f8..da3668596 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface RelatedAssetOrBuilder - extends +public interface RelatedAssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedAsset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -35,13 +17,10 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ java.lang.String getAsset(); /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -51,14 +30,12 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for asset. */ - com.google.protobuf.ByteString getAssetBytes(); + com.google.protobuf.ByteString + getAssetBytes(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -67,13 +44,10 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -82,14 +56,12 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -99,13 +71,11 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @return A list containing the ancestors. */ - java.util.List getAncestorsList(); + java.util.List + getAncestorsList(); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -115,13 +85,10 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @return The count of ancestors. */ int getAncestorsCount(); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -131,14 +98,11 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -148,36 +112,31 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString getAncestorsBytes(int index); + com.google.protobuf.ByteString + getAncestorsBytes(int index); /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; - * * @return The relationshipType. */ java.lang.String getRelationshipType(); /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; - * * @return The bytes for relationshipType. */ - com.google.protobuf.ByteString getRelationshipTypeBytes(); + com.google.protobuf.ByteString + getRelationshipTypeBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java index ed2646fbd..bcba7ae02 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * DEPRECATED. This message only presents for the purpose of
  * backward-compatibility. The server will never populate this message in
@@ -30,32 +13,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.RelatedAssets}
  */
-@java.lang.Deprecated
-public final class RelatedAssets extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class RelatedAssets extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedAssets)
     RelatedAssetsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RelatedAssets.newBuilder() to construct.
   private RelatedAssets(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RelatedAssets() {
     assets_ = 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 RelatedAssets();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RelatedAssets(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,40 +57,35 @@ private RelatedAssets(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1.RelationshipAttributes.Builder subBuilder = null;
-              if (relationshipAttributes_ != null) {
-                subBuilder = relationshipAttributes_.toBuilder();
-              }
-              relationshipAttributes_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.RelationshipAttributes.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relationshipAttributes_);
-                relationshipAttributes_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1.RelationshipAttributes.Builder subBuilder = null;
+            if (relationshipAttributes_ != null) {
+              subBuilder = relationshipAttributes_.toBuilder();
             }
-          case 18:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                assets_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              assets_.add(
-                  input.readMessage(
-                      com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry));
-              break;
+            relationshipAttributes_ = input.readMessage(com.google.cloud.asset.v1.RelationshipAttributes.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(relationshipAttributes_);
+              relationshipAttributes_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 18: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              assets_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
+            }
+            assets_.add(
+                input.readMessage(com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry));
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,7 +93,8 @@ private RelatedAssets(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         assets_ = java.util.Collections.unmodifiableList(assets_);
@@ -125,33 +103,27 @@ private RelatedAssets(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.RelatedAssets.class,
-            com.google.cloud.asset.v1.RelatedAssets.Builder.class);
+            com.google.cloud.asset.v1.RelatedAssets.class, com.google.cloud.asset.v1.RelatedAssets.Builder.class);
   }
 
   public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1.RelationshipAttributes relationshipAttributes_;
   /**
-   *
-   *
    * 
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; - * * @return Whether the relationshipAttributes field is set. */ @java.lang.Override @@ -159,25 +131,18 @@ public boolean hasRelationshipAttributes() { return relationshipAttributes_ != null; } /** - * - * *
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; - * * @return The relationshipAttributes. */ @java.lang.Override public com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttributes() { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + return relationshipAttributes_ == null ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } /** - * - * *
    * The detailed relationship attributes.
    * 
@@ -185,16 +150,13 @@ public com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttribute * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder - getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { return getRelationshipAttributes(); } public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -206,8 +168,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -215,13 +175,11 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -233,8 +191,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -246,8 +202,6 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -255,12 +209,12 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( + int index) { return assets_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (relationshipAttributes_ != null) { output.writeMessage(1, getRelationshipAttributes()); } @@ -289,11 +244,12 @@ public int getSerializedSize() { size = 0; if (relationshipAttributes_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationshipAttributes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRelationshipAttributes()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, assets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,7 +259,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.RelatedAssets)) { return super.equals(obj); @@ -312,9 +268,11 @@ public boolean equals(final java.lang.Object obj) { if (hasRelationshipAttributes() != other.hasRelationshipAttributes()) return false; if (hasRelationshipAttributes()) { - if (!getRelationshipAttributes().equals(other.getRelationshipAttributes())) return false; + if (!getRelationshipAttributes() + .equals(other.getRelationshipAttributes())) return false; } - if (!getAssetsList().equals(other.getAssetsList())) return false; + if (!getAssetsList() + .equals(other.getAssetsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,104 +297,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedAssets parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedAssets parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedAssets parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedAssets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedAssets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.RelatedAssets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedAssets parseFrom( - byte[] data, com.google.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.asset.v1.RelatedAssets 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.asset.v1.RelatedAssets parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAssets parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.RelatedAssets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.RelatedAssets parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAssets parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.RelatedAssets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.RelatedAssets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DEPRECATED. This message only presents for the purpose of
    * backward-compatibility. The server will never populate this message in
@@ -446,23 +397,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.RelatedAssets}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedAssets)
       com.google.cloud.asset.v1.RelatedAssetsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.RelatedAssets.class,
-              com.google.cloud.asset.v1.RelatedAssets.Builder.class);
+              com.google.cloud.asset.v1.RelatedAssets.class, com.google.cloud.asset.v1.RelatedAssets.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.RelatedAssets.newBuilder()
@@ -470,17 +419,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) {
         getAssetsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -500,9 +449,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
     }
 
     @java.lang.Override
@@ -521,8 +470,7 @@ public com.google.cloud.asset.v1.RelatedAssets build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.RelatedAssets buildPartial() {
-      com.google.cloud.asset.v1.RelatedAssets result =
-          new com.google.cloud.asset.v1.RelatedAssets(this);
+      com.google.cloud.asset.v1.RelatedAssets result = new com.google.cloud.asset.v1.RelatedAssets(this);
       int from_bitField0_ = bitField0_;
       if (relationshipAttributesBuilder_ == null) {
         result.relationshipAttributes_ = relationshipAttributes_;
@@ -546,39 +494,38 @@ public com.google.cloud.asset.v1.RelatedAssets buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.RelatedAssets) {
-        return mergeFrom((com.google.cloud.asset.v1.RelatedAssets) other);
+        return mergeFrom((com.google.cloud.asset.v1.RelatedAssets)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -608,10 +555,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.RelatedAssets other) {
             assetsBuilder_ = null;
             assets_ = other.assets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            assetsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAssetsFieldBuilder()
-                    : null;
+            assetsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAssetsFieldBuilder() : null;
           } else {
             assetsBuilder_.addAllMessages(other.assets_);
           }
@@ -645,60 +591,45 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.asset.v1.RelationshipAttributes relationshipAttributes_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.RelationshipAttributes,
-            com.google.cloud.asset.v1.RelationshipAttributes.Builder,
-            com.google.cloud.asset.v1.RelationshipAttributesOrBuilder>
-        relationshipAttributesBuilder_;
+        com.google.cloud.asset.v1.RelationshipAttributes, com.google.cloud.asset.v1.RelationshipAttributes.Builder, com.google.cloud.asset.v1.RelationshipAttributesOrBuilder> relationshipAttributesBuilder_;
     /**
-     *
-     *
      * 
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; - * * @return Whether the relationshipAttributes field is set. */ public boolean hasRelationshipAttributes() { return relationshipAttributesBuilder_ != null || relationshipAttributes_ != null; } /** - * - * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; - * * @return The relationshipAttributes. */ public com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttributes() { if (relationshipAttributesBuilder_ == null) { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + return relationshipAttributes_ == null ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } else { return relationshipAttributesBuilder_.getMessage(); } } /** - * - * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public Builder setRelationshipAttributes( - com.google.cloud.asset.v1.RelationshipAttributes value) { + public Builder setRelationshipAttributes(com.google.cloud.asset.v1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,8 +643,6 @@ public Builder setRelationshipAttributes( return this; } /** - * - * *
      * The detailed relationship attributes.
      * 
@@ -732,22 +661,17 @@ public Builder setRelationshipAttributes( return this; } /** - * - * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public Builder mergeRelationshipAttributes( - com.google.cloud.asset.v1.RelationshipAttributes value) { + public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (relationshipAttributes_ != null) { relationshipAttributes_ = - com.google.cloud.asset.v1.RelationshipAttributes.newBuilder(relationshipAttributes_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.RelationshipAttributes.newBuilder(relationshipAttributes_).mergeFrom(value).buildPartial(); } else { relationshipAttributes_ = value; } @@ -759,8 +683,6 @@ public Builder mergeRelationshipAttributes( return this; } /** - * - * *
      * The detailed relationship attributes.
      * 
@@ -779,42 +701,33 @@ public Builder clearRelationshipAttributes() { return this; } /** - * - * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public com.google.cloud.asset.v1.RelationshipAttributes.Builder - getRelationshipAttributesBuilder() { - + public com.google.cloud.asset.v1.RelationshipAttributes.Builder getRelationshipAttributesBuilder() { + onChanged(); return getRelationshipAttributesFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder - getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { if (relationshipAttributesBuilder_ != null) { return relationshipAttributesBuilder_.getMessageOrBuilder(); } else { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + return relationshipAttributes_ == null ? + com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } } /** - * - * *
      * The detailed relationship attributes.
      * 
@@ -822,41 +735,32 @@ public Builder clearRelationshipAttributes() { * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelationshipAttributes, - com.google.cloud.asset.v1.RelationshipAttributes.Builder, - com.google.cloud.asset.v1.RelationshipAttributesOrBuilder> + com.google.cloud.asset.v1.RelationshipAttributes, com.google.cloud.asset.v1.RelationshipAttributes.Builder, com.google.cloud.asset.v1.RelationshipAttributesOrBuilder> getRelationshipAttributesFieldBuilder() { if (relationshipAttributesBuilder_ == null) { - relationshipAttributesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelationshipAttributes, - com.google.cloud.asset.v1.RelationshipAttributes.Builder, - com.google.cloud.asset.v1.RelationshipAttributesOrBuilder>( - getRelationshipAttributes(), getParentForChildren(), isClean()); + relationshipAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.RelationshipAttributes, com.google.cloud.asset.v1.RelationshipAttributes.Builder, com.google.cloud.asset.v1.RelationshipAttributesOrBuilder>( + getRelationshipAttributes(), + getParentForChildren(), + isClean()); relationshipAttributes_ = null; } return relationshipAttributesBuilder_; } private java.util.List assets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, - com.google.cloud.asset.v1.RelatedAsset.Builder, - com.google.cloud.asset.v1.RelatedAssetOrBuilder> - assetsBuilder_; + com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> assetsBuilder_; /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -871,8 +775,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -887,8 +789,6 @@ public int getAssetsCount() { } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -903,15 +803,14 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { } } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public Builder setAssets(int index, com.google.cloud.asset.v1.RelatedAsset value) { + public Builder setAssets( + int index, com.google.cloud.asset.v1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -925,8 +824,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1.RelatedAsset value return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -945,8 +842,6 @@ public Builder setAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -967,15 +862,14 @@ public Builder addAssets(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public Builder addAssets(int index, com.google.cloud.asset.v1.RelatedAsset value) { + public Builder addAssets( + int index, com.google.cloud.asset.v1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -989,15 +883,14 @@ public Builder addAssets(int index, com.google.cloud.asset.v1.RelatedAsset value return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public Builder addAssets(com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { + public Builder addAssets( + com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -1008,8 +901,6 @@ public Builder addAssets(com.google.cloud.asset.v1.RelatedAsset.Builder builderF return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1028,8 +919,6 @@ public Builder addAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1040,7 +929,8 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -1048,8 +938,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1067,8 +955,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1086,44 +972,39 @@ public Builder removeAssets(int index) { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1.RelatedAsset.Builder getAssetsBuilder(int index) { + public com.google.cloud.asset.v1.RelatedAsset.Builder getAssetsBuilder( + int index) { return getAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( + int index) { if (assetsBuilder_ == null) { - return assets_.get(index); - } else { + return assets_.get(index); } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1131,8 +1012,6 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int in } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1140,54 +1019,49 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int in * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ public com.google.cloud.asset.v1.RelatedAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); + return getAssetsFieldBuilder().addBuilder( + com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1.RelatedAsset.Builder addAssetsBuilder(int index) { - return getAssetsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); + public com.google.cloud.asset.v1.RelatedAsset.Builder addAssetsBuilder( + int index) { + return getAssetsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public java.util.List getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, - com.google.cloud.asset.v1.RelatedAsset.Builder, - com.google.cloud.asset.v1.RelatedAssetOrBuilder> + com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, - com.google.cloud.asset.v1.RelatedAsset.Builder, - com.google.cloud.asset.v1.RelatedAssetOrBuilder>( - assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder>( + assets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1197,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedAssets) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedAssets) private static final com.google.cloud.asset.v1.RelatedAssets DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedAssets(); } @@ -1211,16 +1085,16 @@ public static com.google.cloud.asset.v1.RelatedAssets getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAssets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAssets(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAssets(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1235,4 +1109,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java similarity index 71% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java index 00b60868d..befe6f913 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java @@ -1,56 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -@java.lang.Deprecated -public interface RelatedAssetsOrBuilder - extends +@java.lang.Deprecated public interface RelatedAssetsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedAssets) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; - * * @return Whether the relationshipAttributes field is set. */ boolean hasRelationshipAttributes(); /** - * - * *
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; - * * @return The relationshipAttributes. */ com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttributes(); /** - * - * *
    * The detailed relationship attributes.
    * 
@@ -60,18 +35,15 @@ public interface RelatedAssetsOrBuilder com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder(); /** - * - * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - java.util.List getAssetsList(); + java.util.List + getAssetsList(); /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -80,8 +52,6 @@ public interface RelatedAssetsOrBuilder */ com.google.cloud.asset.v1.RelatedAsset getAssets(int index); /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -90,24 +60,21 @@ public interface RelatedAssetsOrBuilder */ int getAssetsCount(); /** - * - * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** - * - * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int index); + com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java similarity index 71% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java index cbd0b2157..0115c2411 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * The detailed related resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResource} */ -public final class RelatedResource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RelatedResource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedResource) RelatedResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RelatedResource.newBuilder() to construct. private RelatedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RelatedResource() { assetType_ = ""; fullResourceName_ = ""; @@ -44,15 +26,16 @@ private RelatedResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RelatedResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RelatedResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RelatedResource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - assetType_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + assetType_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + fullResourceName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private RelatedResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResource.class, - com.google.cloud.asset.v1.RelatedResource.Builder.class); + com.google.cloud.asset.v1.RelatedResource.class, com.google.cloud.asset.v1.RelatedResource.Builder.class); } public static final int ASSET_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; - * * @return The assetType. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -173,15 +149,12 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object fullResourceName_; /** - * - * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; - * * @return The fullResourceName. */ @java.lang.Override @@ -190,30 +163,30 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** - * - * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; - * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -222,7 +195,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assetType_); } @@ -264,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.RelatedResource)) { return super.equals(obj); } - com.google.cloud.asset.v1.RelatedResource other = - (com.google.cloud.asset.v1.RelatedResource) obj; + com.google.cloud.asset.v1.RelatedResource other = (com.google.cloud.asset.v1.RelatedResource) obj; - if (!getAssetType().equals(other.getAssetType())) return false; - if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,127 +268,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedResource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedResource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedResource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.RelatedResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedResource parseFrom( - byte[] data, com.google.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.asset.v1.RelatedResource 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.asset.v1.RelatedResource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.RelatedResource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.RelatedResource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.RelatedResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.RelatedResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The detailed related resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedResource) com.google.cloud.asset.v1.RelatedResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResource.class, - com.google.cloud.asset.v1.RelatedResource.Builder.class); + com.google.cloud.asset.v1.RelatedResource.class, com.google.cloud.asset.v1.RelatedResource.Builder.class); } // Construct using com.google.cloud.asset.v1.RelatedResource.newBuilder() @@ -422,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(); @@ -442,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_descriptor; } @java.lang.Override @@ -463,8 +429,7 @@ public com.google.cloud.asset.v1.RelatedResource build() { @java.lang.Override public com.google.cloud.asset.v1.RelatedResource buildPartial() { - com.google.cloud.asset.v1.RelatedResource result = - new com.google.cloud.asset.v1.RelatedResource(this); + com.google.cloud.asset.v1.RelatedResource result = new com.google.cloud.asset.v1.RelatedResource(this); result.assetType_ = assetType_; result.fullResourceName_ = fullResourceName_; onBuilt(); @@ -475,39 +440,38 @@ public com.google.cloud.asset.v1.RelatedResource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.RelatedResource) { - return mergeFrom((com.google.cloud.asset.v1.RelatedResource) other); + return mergeFrom((com.google.cloud.asset.v1.RelatedResource)other); } else { super.mergeFrom(other); return this; @@ -555,20 +519,18 @@ public Builder mergeFrom( private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -577,21 +539,20 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -599,61 +560,54 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -661,21 +615,19 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object fullResourceName_ = ""; /** - * - * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; - * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -684,22 +636,21 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; - * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -707,71 +658,64 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; - * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName(java.lang.String value) { + public Builder setFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** - * - * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** - * - * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; - * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -781,12 +725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedResource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedResource) private static final com.google.cloud.asset.v1.RelatedResource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedResource(); } @@ -795,16 +739,16 @@ public static com.google.cloud.asset.v1.RelatedResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -819,4 +763,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java similarity index 60% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java index e23e9a341..4a184b249 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface RelatedResourceOrBuilder - extends +public interface RelatedResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedResource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; - * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** - * - * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java similarity index 74% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java index 350d3a2e0..11125d9c1 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * The related resources of the primary resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResources} */ -public final class RelatedResources extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RelatedResources extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedResources) RelatedResourcesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RelatedResources.newBuilder() to construct. private RelatedResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RelatedResources() { relatedResources_ = 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 RelatedResources(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RelatedResources( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private RelatedResources( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - relatedResources_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - relatedResources_.add( - input.readMessage( - com.google.cloud.asset.v1.RelatedResource.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + relatedResources_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + relatedResources_.add( + input.readMessage(com.google.cloud.asset.v1.RelatedResource.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private RelatedResources( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { relatedResources_ = java.util.Collections.unmodifiableList(relatedResources_); @@ -106,27 +87,22 @@ private RelatedResources( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResources.class, - com.google.cloud.asset.v1.RelatedResources.Builder.class); + com.google.cloud.asset.v1.RelatedResources.class, com.google.cloud.asset.v1.RelatedResources.Builder.class); } public static final int RELATED_RESOURCES_FIELD_NUMBER = 1; private java.util.List relatedResources_; /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -138,8 +114,6 @@ public java.util.List getRelatedResou return relatedResources_; } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -147,13 +121,11 @@ public java.util.List getRelatedResou * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRelatedResourcesOrBuilderList() { return relatedResources_; } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -165,8 +137,6 @@ public int getRelatedResourcesCount() { return relatedResources_.size(); } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -178,8 +148,6 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) return relatedResources_.get(index); } /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -193,7 +161,6 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,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 < relatedResources_.size(); i++) { output.writeMessage(1, relatedResources_.get(i)); } @@ -219,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < relatedResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, relatedResources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, relatedResources_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,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.asset.v1.RelatedResources)) { return super.equals(obj); } - com.google.cloud.asset.v1.RelatedResources other = - (com.google.cloud.asset.v1.RelatedResources) obj; + com.google.cloud.asset.v1.RelatedResources other = (com.google.cloud.asset.v1.RelatedResources) obj; - if (!getRelatedResourcesList().equals(other.getRelatedResourcesList())) return false; + if (!getRelatedResourcesList() + .equals(other.getRelatedResourcesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,127 +227,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedResources parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedResources parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedResources parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.RelatedResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelatedResources parseFrom( - byte[] data, com.google.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.asset.v1.RelatedResources 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.asset.v1.RelatedResources parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResources parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.RelatedResources parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.RelatedResources parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResources parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.RelatedResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.RelatedResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The related resources of the primary resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResources} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedResources) com.google.cloud.asset.v1.RelatedResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResources.class, - com.google.cloud.asset.v1.RelatedResources.Builder.class); + com.google.cloud.asset.v1.RelatedResources.class, com.google.cloud.asset.v1.RelatedResources.Builder.class); } // Construct using com.google.cloud.asset.v1.RelatedResources.newBuilder() @@ -386,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) { getRelatedResourcesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_descriptor; } @java.lang.Override @@ -431,8 +391,7 @@ public com.google.cloud.asset.v1.RelatedResources build() { @java.lang.Override public com.google.cloud.asset.v1.RelatedResources buildPartial() { - com.google.cloud.asset.v1.RelatedResources result = - new com.google.cloud.asset.v1.RelatedResources(this); + com.google.cloud.asset.v1.RelatedResources result = new com.google.cloud.asset.v1.RelatedResources(this); int from_bitField0_ = bitField0_; if (relatedResourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +410,38 @@ public com.google.cloud.asset.v1.RelatedResources buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.RelatedResources) { - return mergeFrom((com.google.cloud.asset.v1.RelatedResources) other); + return mergeFrom((com.google.cloud.asset.v1.RelatedResources)other); } else { super.mergeFrom(other); return this; @@ -510,10 +468,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.RelatedResources other) { relatedResourcesBuilder_ = null; relatedResources_ = other.relatedResources_; bitField0_ = (bitField0_ & ~0x00000001); - relatedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRelatedResourcesFieldBuilder() - : null; + relatedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRelatedResourcesFieldBuilder() : null; } else { relatedResourcesBuilder_.addAllMessages(other.relatedResources_); } @@ -547,29 +504,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List relatedResources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedResources_ = - new java.util.ArrayList(relatedResources_); + relatedResources_ = new java.util.ArrayList(relatedResources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedResource, - com.google.cloud.asset.v1.RelatedResource.Builder, - com.google.cloud.asset.v1.RelatedResourceOrBuilder> - relatedResourcesBuilder_; + com.google.cloud.asset.v1.RelatedResource, com.google.cloud.asset.v1.RelatedResource.Builder, com.google.cloud.asset.v1.RelatedResourceOrBuilder> relatedResourcesBuilder_; /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -584,8 +533,6 @@ public java.util.List getRelatedResou } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -600,8 +547,6 @@ public int getRelatedResourcesCount() { } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -616,15 +561,14 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public Builder setRelatedResources(int index, com.google.cloud.asset.v1.RelatedResource value) { + public Builder setRelatedResources( + int index, com.google.cloud.asset.v1.RelatedResource value) { if (relatedResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -638,8 +582,6 @@ public Builder setRelatedResources(int index, com.google.cloud.asset.v1.RelatedR return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -658,8 +600,6 @@ public Builder setRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -680,15 +620,14 @@ public Builder addRelatedResources(com.google.cloud.asset.v1.RelatedResource val return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public Builder addRelatedResources(int index, com.google.cloud.asset.v1.RelatedResource value) { + public Builder addRelatedResources( + int index, com.google.cloud.asset.v1.RelatedResource value) { if (relatedResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,8 +641,6 @@ public Builder addRelatedResources(int index, com.google.cloud.asset.v1.RelatedR return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -722,8 +659,6 @@ public Builder addRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -742,8 +677,6 @@ public Builder addRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -754,7 +687,8 @@ public Builder addAllRelatedResources( java.lang.Iterable values) { if (relatedResourcesBuilder_ == null) { ensureRelatedResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedResources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relatedResources_); onChanged(); } else { relatedResourcesBuilder_.addAllMessages(values); @@ -762,8 +696,6 @@ public Builder addAllRelatedResources( return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -781,8 +713,6 @@ public Builder clearRelatedResources() { return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -800,20 +730,17 @@ public Builder removeRelatedResources(int index) { return this; } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public com.google.cloud.asset.v1.RelatedResource.Builder getRelatedResourcesBuilder(int index) { + public com.google.cloud.asset.v1.RelatedResource.Builder getRelatedResourcesBuilder( + int index) { return getRelatedResourcesFieldBuilder().getBuilder(index); } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -823,22 +750,19 @@ public com.google.cloud.asset.v1.RelatedResource.Builder getRelatedResourcesBuil public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrBuilder( int index) { if (relatedResourcesBuilder_ == null) { - return relatedResources_.get(index); - } else { + return relatedResources_.get(index); } else { return relatedResourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public java.util.List - getRelatedResourcesOrBuilderList() { + public java.util.List + getRelatedResourcesOrBuilderList() { if (relatedResourcesBuilder_ != null) { return relatedResourcesBuilder_.getMessageOrBuilderList(); } else { @@ -846,8 +770,6 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
@@ -855,47 +777,38 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuilder() { - return getRelatedResourcesFieldBuilder() - .addBuilder(com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); + return getRelatedResourcesFieldBuilder().addBuilder( + com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuilder(int index) { - return getRelatedResourcesFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); + public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuilder( + int index) { + return getRelatedResourcesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); } /** - * - * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public java.util.List - getRelatedResourcesBuilderList() { + public java.util.List + getRelatedResourcesBuilderList() { return getRelatedResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedResource, - com.google.cloud.asset.v1.RelatedResource.Builder, - com.google.cloud.asset.v1.RelatedResourceOrBuilder> + com.google.cloud.asset.v1.RelatedResource, com.google.cloud.asset.v1.RelatedResource.Builder, com.google.cloud.asset.v1.RelatedResourceOrBuilder> getRelatedResourcesFieldBuilder() { if (relatedResourcesBuilder_ == null) { - relatedResourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedResource, - com.google.cloud.asset.v1.RelatedResource.Builder, - com.google.cloud.asset.v1.RelatedResourceOrBuilder>( + relatedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.RelatedResource, com.google.cloud.asset.v1.RelatedResource.Builder, com.google.cloud.asset.v1.RelatedResourceOrBuilder>( relatedResources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -904,9 +817,9 @@ public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuil } return relatedResourcesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -916,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedResources) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedResources) private static final com.google.cloud.asset.v1.RelatedResources DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedResources(); } @@ -930,16 +843,16 @@ public static com.google.cloud.asset.v1.RelatedResources getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedResources(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedResources(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java similarity index 64% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java index 7e13b3b81..10384ab80 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface RelatedResourcesOrBuilder - extends +public interface RelatedResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedResources) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detailed related resources of the primary resource.
    * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - java.util.List getRelatedResourcesList(); + java.util.List + getRelatedResourcesList(); /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -44,8 +25,6 @@ public interface RelatedResourcesOrBuilder */ com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index); /** - * - * *
    * The detailed related resources of the primary resource.
    * 
@@ -54,24 +33,21 @@ public interface RelatedResourcesOrBuilder */ int getRelatedResourcesCount(); /** - * - * *
    * The detailed related resources of the primary resource.
    * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - java.util.List + java.util.List getRelatedResourcesOrBuilderList(); /** - * - * *
    * The detailed related resources of the primary resource.
    * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrBuilder(int index); + com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java index cb95c5f3a..d89053a3d 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * DEPRECATED. This message only presents for the purpose of
  * backward-compatibility. The server will never populate this message in
@@ -31,17 +14,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.RelationshipAttributes}
  */
-@java.lang.Deprecated
-public final class RelationshipAttributes extends com.google.protobuf.GeneratedMessageV3
-    implements
+@java.lang.Deprecated public final class RelationshipAttributes extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelationshipAttributes)
     RelationshipAttributesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RelationshipAttributes.newBuilder() to construct.
   private RelationshipAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RelationshipAttributes() {
     type_ = "";
     sourceResourceType_ = "";
@@ -51,15 +32,16 @@ private RelationshipAttributes() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RelationshipAttributes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RelationshipAttributes(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,41 +60,37 @@ private RelationshipAttributes(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              sourceResourceType_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            sourceResourceType_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              targetResourceType_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            targetResourceType_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              action_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            action_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            type_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -120,40 +98,35 @@ private RelationshipAttributes(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.RelationshipAttributes.class,
-            com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
+            com.google.cloud.asset.v1.RelationshipAttributes.class, com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 4;
   private volatile java.lang.Object type_;
   /**
-   *
-   *
    * 
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The type. */ @java.lang.Override @@ -162,30 +135,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -196,14 +169,11 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceResourceType_; /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The sourceResourceType. */ @java.lang.Override @@ -212,29 +182,29 @@ public java.lang.String getSourceResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; } } /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The bytes for sourceResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString + getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -245,14 +215,11 @@ public com.google.protobuf.ByteString getSourceResourceTypeBytes() { public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object targetResourceType_; /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The targetResourceType. */ @java.lang.Override @@ -261,29 +228,29 @@ public java.lang.String getTargetResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; } } /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The bytes for targetResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString + getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -294,14 +261,11 @@ public com.google.protobuf.ByteString getTargetResourceTypeBytes() { public static final int ACTION_FIELD_NUMBER = 3; private volatile java.lang.Object action_; /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The action. */ @java.lang.Override @@ -310,29 +274,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -341,7 +305,6 @@ public com.google.protobuf.ByteString getActionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -353,7 +316,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceResourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceResourceType_); } @@ -395,18 +359,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.asset.v1.RelationshipAttributes)) { return super.equals(obj); } - com.google.cloud.asset.v1.RelationshipAttributes other = - (com.google.cloud.asset.v1.RelationshipAttributes) obj; - - if (!getType().equals(other.getType())) return false; - if (!getSourceResourceType().equals(other.getSourceResourceType())) return false; - if (!getTargetResourceType().equals(other.getTargetResourceType())) return false; - if (!getAction().equals(other.getAction())) return false; + com.google.cloud.asset.v1.RelationshipAttributes other = (com.google.cloud.asset.v1.RelationshipAttributes) obj; + + if (!getType() + .equals(other.getType())) return false; + if (!getSourceResourceType() + .equals(other.getSourceResourceType())) return false; + if (!getTargetResourceType() + .equals(other.getTargetResourceType())) return false; + if (!getAction() + .equals(other.getAction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -431,104 +398,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - byte[] data, com.google.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.asset.v1.RelationshipAttributes parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelationshipAttributes parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.RelationshipAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.RelationshipAttributes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelationshipAttributes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.RelationshipAttributes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.RelationshipAttributes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DEPRECATED. This message only presents for the purpose of
    * backward-compatibility. The server will never populate this message in
@@ -539,23 +499,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.RelationshipAttributes}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelationshipAttributes)
       com.google.cloud.asset.v1.RelationshipAttributesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.RelationshipAttributes.class,
-              com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
+              com.google.cloud.asset.v1.RelationshipAttributes.class, com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.RelationshipAttributes.newBuilder()
@@ -563,15 +521,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -587,9 +546,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
@@ -608,8 +567,7 @@ public com.google.cloud.asset.v1.RelationshipAttributes build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.RelationshipAttributes buildPartial() {
-      com.google.cloud.asset.v1.RelationshipAttributes result =
-          new com.google.cloud.asset.v1.RelationshipAttributes(this);
+      com.google.cloud.asset.v1.RelationshipAttributes result = new com.google.cloud.asset.v1.RelationshipAttributes(this);
       result.type_ = type_;
       result.sourceResourceType_ = sourceResourceType_;
       result.targetResourceType_ = targetResourceType_;
@@ -622,39 +580,38 @@ public com.google.cloud.asset.v1.RelationshipAttributes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.RelationshipAttributes) {
-        return mergeFrom((com.google.cloud.asset.v1.RelationshipAttributes) other);
+        return mergeFrom((com.google.cloud.asset.v1.RelationshipAttributes)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -662,8 +619,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.RelationshipAttributes other) {
-      if (other == com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance()) return this;
       if (!other.getType().isEmpty()) {
         type_ = other.type_;
         onChanged();
@@ -711,21 +667,19 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
-     *
-     *
      * 
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -734,22 +688,21 @@ public java.lang.String getType() { } } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -757,64 +710,57 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -822,20 +768,18 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceResourceType_ = ""; /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @return The sourceResourceType. */ public java.lang.String getSourceResourceType() { java.lang.Object ref = sourceResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; @@ -844,21 +788,20 @@ public java.lang.String getSourceResourceType() { } } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @return The bytes for sourceResourceType. */ - public com.google.protobuf.ByteString getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString + getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -866,61 +809,54 @@ public com.google.protobuf.ByteString getSourceResourceTypeBytes() { } } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @param value The sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceType(java.lang.String value) { + public Builder setSourceResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceResourceType_ = value; onChanged(); return this; } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceResourceType() { - + sourceResourceType_ = getDefaultInstance().getSourceResourceType(); onChanged(); return this; } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @param value The bytes for sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setSourceResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceResourceType_ = value; onChanged(); return this; @@ -928,20 +864,18 @@ public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) private java.lang.Object targetResourceType_ = ""; /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @return The targetResourceType. */ public java.lang.String getTargetResourceType() { java.lang.Object ref = targetResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; @@ -950,21 +884,20 @@ public java.lang.String getTargetResourceType() { } } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @return The bytes for targetResourceType. */ - public com.google.protobuf.ByteString getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString + getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -972,61 +905,54 @@ public com.google.protobuf.ByteString getTargetResourceTypeBytes() { } } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @param value The targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceType(java.lang.String value) { + public Builder setTargetResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetResourceType_ = value; onChanged(); return this; } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @return This builder for chaining. */ public Builder clearTargetResourceType() { - + targetResourceType_ = getDefaultInstance().getTargetResourceType(); onChanged(); return this; } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @param value The bytes for targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTargetResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetResourceType_ = value; onChanged(); return this; @@ -1034,20 +960,18 @@ public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) private java.lang.Object action_ = ""; /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -1056,21 +980,20 @@ public java.lang.String getAction() { } } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return The bytes for action. */ - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -1078,68 +1001,61 @@ public com.google.protobuf.ByteString getActionBytes() { } } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(java.lang.String value) { + public Builder setAction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + action_ = value; onChanged(); return this; } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = getDefaultInstance().getAction(); onChanged(); return this; } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes(com.google.protobuf.ByteString value) { + public Builder setActionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + action_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1149,12 +1065,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelationshipAttributes) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelationshipAttributes) private static final com.google.cloud.asset.v1.RelationshipAttributes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelationshipAttributes(); } @@ -1163,16 +1079,16 @@ public static com.google.cloud.asset.v1.RelationshipAttributes getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationshipAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationshipAttributes(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationshipAttributes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,4 +1103,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java similarity index 65% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java index 254c4fbbb..5030889b1 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java @@ -1,128 +1,91 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -@java.lang.Deprecated -public interface RelationshipAttributesOrBuilder - extends +@java.lang.Deprecated public interface RelationshipAttributesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelationshipAttributes) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The sourceResourceType. */ java.lang.String getSourceResourceType(); /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The bytes for sourceResourceType. */ - com.google.protobuf.ByteString getSourceResourceTypeBytes(); + com.google.protobuf.ByteString + getSourceResourceTypeBytes(); /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The targetResourceType. */ java.lang.String getTargetResourceType(); /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The bytes for targetResourceType. */ - com.google.protobuf.ByteString getTargetResourceTypeBytes(); + com.google.protobuf.ByteString + getTargetResourceTypeBytes(); /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The action. */ java.lang.String getAction(); /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The bytes for action. */ - com.google.protobuf.ByteString getActionBytes(); + com.google.protobuf.ByteString + getActionBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java similarity index 76% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java index 792696ab6..d35dadf4f 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * A representation of a Google Cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.Resource} */ -public final class Resource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Resource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -48,15 +30,16 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,69 +58,62 @@ private Resource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 50: { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); } - case 50: - { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); - } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); - } - - break; + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,39 +121,34 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.Resource.class, - com.google.cloud.asset.v1.Resource.Builder.class); + com.google.cloud.asset.v1.Resource.class, com.google.cloud.asset.v1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -186,29 +157,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; } } /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @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 { @@ -219,8 +190,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -230,7 +199,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -239,15 +207,14 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -257,15 +224,16 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -276,8 +244,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -286,7 +252,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -295,15 +260,14 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -312,15 +276,16 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -331,8 +296,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -341,7 +304,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -350,15 +312,14 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -367,15 +328,16 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -386,8 +348,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -402,7 +362,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -411,15 +370,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 full name of the immediate parent of this resource. See
    * [Resource
@@ -434,15 +392,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; - * * @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 { @@ -453,15 +412,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ @java.lang.Override @@ -469,15 +425,12 @@ public boolean hasData() { return data_ != null; } /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ @java.lang.Override @@ -485,8 +438,6 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -502,15 +453,12 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   public static final int LOCATION_FIELD_NUMBER = 8;
   private volatile java.lang.Object location_;
   /**
-   *
-   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The location. */ @java.lang.Override @@ -519,30 +467,30 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -551,7 +499,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -563,7 +510,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -610,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); } if (data_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getData()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, location_); @@ -623,23 +572,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.Resource)) { return super.equals(obj); } com.google.cloud.asset.v1.Resource other = (com.google.cloud.asset.v1.Resource) obj; - if (!getVersion().equals(other.getVersion())) return false; - if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false; - if (!getDiscoveryName().equals(other.getDiscoveryName())) return false; - if (!getResourceUrl().equals(other.getResourceUrl())) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getDiscoveryDocumentUri() + .equals(other.getDiscoveryDocumentUri())) return false; + if (!getDiscoveryName() + .equals(other.getDiscoveryName())) return false; + if (!getResourceUrl() + .equals(other.getResourceUrl())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { - if (!getData().equals(other.getData())) return false; + if (!getData() + .equals(other.getData())) return false; } - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -672,126 +628,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Resource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Resource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.Resource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.Resource parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.Resource parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.Resource parseFrom( - byte[] data, com.google.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.asset.v1.Resource 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.asset.v1.Resource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Resource 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.asset.v1.Resource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Resource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A representation of a Google Cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.Resource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.Resource) com.google.cloud.asset.v1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.Resource.class, - com.google.cloud.asset.v1.Resource.Builder.class); + com.google.cloud.asset.v1.Resource.class, com.google.cloud.asset.v1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1.Resource.newBuilder() @@ -799,15 +747,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -833,9 +782,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_descriptor; } @java.lang.Override @@ -874,39 +823,38 @@ public com.google.cloud.asset.v1.Resource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.Resource) { - return mergeFrom((com.google.cloud.asset.v1.Resource) other); + return mergeFrom((com.google.cloud.asset.v1.Resource)other); } else { super.mergeFrom(other); return this; @@ -973,20 +921,18 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @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; @@ -995,21 +941,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @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 { @@ -1017,61 +962,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @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; @@ -1079,8 +1017,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1090,13 +1026,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -1105,8 +1041,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1116,14 +1050,15 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -1131,8 +1066,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1142,22 +1075,20 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
      * 
* * string discovery_document_uri = 2; - * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri(java.lang.String value) { + public Builder setDiscoveryDocumentUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1167,18 +1098,15 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1188,16 +1116,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1205,8 +1133,6 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value private java.lang.Object discoveryName_ = ""; /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1215,13 +1141,13 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value
      * 
* * string discovery_name = 3; - * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1230,8 +1156,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1240,14 +1164,15 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1255,8 +1180,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1265,22 +1188,20 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
      * 
* * string discovery_name = 3; - * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName(java.lang.String value) { + public Builder setDiscoveryName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1289,18 +1210,15 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1309,16 +1227,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1326,8 +1244,6 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceUrl_ = ""; /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1336,13 +1252,13 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource_url = 4; - * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1351,8 +1267,6 @@ public java.lang.String getResourceUrl() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1361,14 +1275,15 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1376,8 +1291,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1386,22 +1299,20 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
      * 
* * string resource_url = 4; - * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl(java.lang.String value) { + public Builder setResourceUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1410,18 +1321,15 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1430,16 +1338,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; - * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1447,8 +1355,6 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1463,13 +1369,13 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 5; - * * @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; @@ -1478,8 +1384,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1494,14 +1398,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; - * * @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 { @@ -1509,8 +1414,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1525,22 +1428,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 5; - * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1555,18 +1456,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1581,16 +1479,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; - * * @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; @@ -1598,35 +1496,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - dataBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1637,8 +1526,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1660,8 +1547,6 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1669,7 +1554,8 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1680,8 +1566,6 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1692,7 +1576,8 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ =
+            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1704,8 +1589,6 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1725,8 +1608,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1735,13 +1616,11 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-
+      
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1753,12 +1632,11 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1767,16 +1645,14 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
+        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getData(),
+                getParentForChildren(),
+                isClean());
         data_ = null;
       }
       return dataBuilder_;
@@ -1784,21 +1660,19 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
 
     private java.lang.Object location_ = "";
     /**
-     *
-     *
      * 
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1807,22 +1681,21 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1830,71 +1703,64 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1904,12 +1770,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Resource) private static final com.google.cloud.asset.v1.Resource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Resource(); } @@ -1918,16 +1784,16 @@ public static com.google.cloud.asset.v1.Resource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1942,4 +1808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java similarity index 82% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java index 72cf57aa5..ba179d56e 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface ResourceOrBuilder - extends +public interface ResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Resource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -60,13 +37,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -76,14 +50,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes(); /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -92,13 +64,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -107,14 +76,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString getDiscoveryNameBytes(); + com.google.protobuf.ByteString + getDiscoveryNameBytes(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -123,13 +90,10 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -138,14 +102,12 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString getResourceUrlBytes(); + com.google.protobuf.ByteString + getResourceUrlBytes(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -160,13 +122,10 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -181,40 +140,32 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ boolean hasData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ com.google.protobuf.Struct getData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -225,29 +176,24 @@ public interface ResourceOrBuilder
   com.google.protobuf.StructOrBuilder getDataOrBuilder();
 
   /**
-   *
-   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java similarity index 83% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java index 8231fb449..c423f3078 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * A result of Resource Search, containing information of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ResourceSearchResult} */ -public final class ResourceSearchResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResourceSearchResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ResourceSearchResult) ResourceSearchResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResourceSearchResult.newBuilder() to construct. private ResourceSearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceSearchResult() { name_ = ""; assetType_ = ""; @@ -60,15 +42,16 @@ private ResourceSearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceSearchResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResourceSearchResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -88,241 +71,207 @@ private ResourceSearchResult( 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(); - assetType_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + assetType_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + project_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; + location_ = s; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 58: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + networkTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - networkTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - networkTags_.add(s); - break; + networkTags_.add(s); + break; + } + case 74: { + com.google.protobuf.Struct.Builder subBuilder = null; + if (additionalAttributes_ != null) { + subBuilder = additionalAttributes_.toBuilder(); } - case 74: - { - com.google.protobuf.Struct.Builder subBuilder = null; - if (additionalAttributes_ != null) { - subBuilder = additionalAttributes_.toBuilder(); - } - additionalAttributes_ = - input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(additionalAttributes_); - additionalAttributes_ = subBuilder.buildPartial(); - } - - break; + additionalAttributes_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(additionalAttributes_); + additionalAttributes_ = subBuilder.buildPartial(); } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKey_ = s; - break; - } - case 90: - { - 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 82: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKey_ = s; + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 98: - { - 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 106: - { - java.lang.String s = input.readStringRequireUtf8(); - state_ = s; - break; - } - case 130: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - versionedResources_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - versionedResources_.add( - input.readMessage( - com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry)); - break; + break; + } + case 98: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - folders_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - folders_.add(s); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 146: - { - java.lang.String s = input.readStringRequireUtf8(); - organization_ = s; - break; - } - case 154: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); - parentFullResourceName_ = s; - break; + state_ = s; + break; + } + case 130: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + versionedResources_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 162: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - attachedResources_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - attachedResources_.add( - input.readMessage( - com.google.cloud.asset.v1.AttachedResource.parser(), extensionRegistry)); - break; + versionedResources_.add( + input.readMessage(com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry)); + break; + } + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + folders_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 170: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - relationships_ = - com.google.protobuf.MapField.newMapField( - RelationshipsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1.RelatedResources> - relationships__ = - input.readMessage( - RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - relationships_ - .getMutableMap() - .put(relationships__.getKey(), relationships__.getValue()); - break; + folders_.add(s); + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); + + organization_ = s; + break; + } + case 154: { + java.lang.String s = input.readStringRequireUtf8(); + + parentFullResourceName_ = s; + break; + } + case 162: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + attachedResources_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 186: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - tagKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; - } - tagKeys_.add(s); - break; + attachedResources_.add( + input.readMessage(com.google.cloud.asset.v1.AttachedResource.parser(), extensionRegistry)); + break; + } + case 170: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + relationships_ = com.google.protobuf.MapField.newMapField( + RelationshipsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000020; } - case 202: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - tagValues_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000080; - } - tagValues_.add(s); - break; + com.google.protobuf.MapEntry + relationships__ = input.readMessage( + RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + relationships_.getMutableMap().put( + relationships__.getKey(), relationships__.getValue()); + break; + } + case 186: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + tagKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; } - case 210: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - tagValueIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000100; - } - tagValueIds_.add(s); - break; + tagKeys_.add(s); + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + tagValues_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000080; } - case 826: - { - java.lang.String s = input.readStringRequireUtf8(); - - parentAssetType_ = s; - break; + tagValues_.add(s); + break; + } + case 210: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + tagValueIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000100; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tagValueIds_.add(s); + break; + } + case 826: { + java.lang.String s = input.readStringRequireUtf8(); + + parentAssetType_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -330,7 +279,8 @@ private ResourceSearchResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_ & 0x00000004) != 0)) { networkTags_ = networkTags_.getUnmodifiableView(); @@ -357,40 +307,36 @@ private ResourceSearchResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); case 21: return internalGetRelationships(); 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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ResourceSearchResult.class, - com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); + com.google.cloud.asset.v1.ResourceSearchResult.class, com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -403,7 +349,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -412,15 +357,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 full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -433,15 +377,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 { @@ -452,8 +397,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -461,7 +404,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -470,15 +412,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -486,15 +427,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -505,8 +447,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int PROJECT_FIELD_NUMBER = 3; private volatile java.lang.Object project_; /** - * - * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -518,7 +458,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
    * 
* * string project = 3; - * * @return The project. */ @java.lang.Override @@ -527,15 +466,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -547,15 +485,16 @@ public java.lang.String getProject() {
    * 
* * string project = 3; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -566,8 +505,6 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int FOLDERS_FIELD_NUMBER = 17; private com.google.protobuf.LazyStringList folders_; /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -579,15 +516,13 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * repeated string folders = 17; - * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList getFoldersList() { + public com.google.protobuf.ProtocolStringList + getFoldersList() { return folders_; } /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -599,15 +534,12 @@ public com.google.protobuf.ProtocolStringList getFoldersList() {
    * 
* * repeated string folders = 17; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -619,7 +551,6 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 17; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -627,8 +558,6 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -640,19 +569,17 @@ public java.lang.String getFolders(int index) {
    * 
* * repeated string folders = 17; - * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString getFoldersBytes(int index) { + public com.google.protobuf.ByteString + getFoldersBytes(int index) { return folders_.getByteString(index); } public static final int ORGANIZATION_FIELD_NUMBER = 18; private volatile java.lang.Object organization_; /** - * - * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -664,7 +591,6 @@ public com.google.protobuf.ByteString getFoldersBytes(int index) {
    * 
* * string organization = 18; - * * @return The organization. */ @java.lang.Override @@ -673,15 +599,14 @@ public java.lang.String getOrganization() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; } } /** - * - * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -693,15 +618,16 @@ public java.lang.String getOrganization() {
    * 
* * string organization = 18; - * * @return The bytes for organization. */ @java.lang.Override - public com.google.protobuf.ByteString getOrganizationBytes() { + public com.google.protobuf.ByteString + getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); organization_ = b; return b; } else { @@ -712,8 +638,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -723,7 +647,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() {
    * 
* * string display_name = 4; - * * @return The displayName. */ @java.lang.Override @@ -732,15 +655,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -750,15 +672,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 4; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -769,8 +692,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -781,7 +702,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -790,15 +710,14 @@ 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; } } /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -809,15 +728,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 5; - * * @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 { @@ -828,8 +748,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int LOCATION_FIELD_NUMBER = 6; private volatile java.lang.Object location_; /** - * - * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -840,7 +758,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string location = 6; - * * @return The location. */ @java.lang.Override @@ -849,15 +766,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -868,15 +784,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -885,23 +802,24 @@ public com.google.protobuf.ByteString getLocationBytes() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -910,8 +828,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -927,22 +843,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 7;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -959,12 +875,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -981,16 +896,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -1007,11 +922,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1021,8 +937,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int NETWORK_TAGS_FIELD_NUMBER = 8;
   private com.google.protobuf.LazyStringList networkTags_;
   /**
-   *
-   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -1035,15 +949,13 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * repeated string network_tags = 8; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -1056,15 +968,12 @@ public com.google.protobuf.ProtocolStringList getNetworkTagsList() {
    * 
* * repeated string network_tags = 8; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -1077,7 +986,6 @@ public int getNetworkTagsCount() {
    * 
* * repeated string network_tags = 8; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -1085,8 +993,6 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -1099,19 +1005,17 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * repeated string network_tags = 8; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int KMS_KEY_FIELD_NUMBER = 10; private volatile java.lang.Object kmsKey_; /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -1125,7 +1029,6 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) {
    * 
* * string kms_key = 10; - * * @return The kmsKey. */ @java.lang.Override @@ -1134,15 +1037,14 @@ public java.lang.String getKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; } } /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -1156,15 +1058,16 @@ public java.lang.String getKmsKey() {
    * 
* * string kms_key = 10; - * * @return The bytes for kmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyBytes() { + public com.google.protobuf.ByteString + getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -1175,8 +1078,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -1190,7 +1091,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() {
    * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1198,8 +1098,6 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -1213,7 +1111,6 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return The createTime. */ @java.lang.Override @@ -1221,8 +1118,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -1245,8 +1140,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 12;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -1261,7 +1154,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1269,8 +1161,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -1285,7 +1175,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return The updateTime. */ @java.lang.Override @@ -1293,8 +1182,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -1318,8 +1205,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 13;
   private volatile java.lang.Object state_;
   /**
-   *
-   *
    * 
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -1341,7 +1226,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string state = 13; - * * @return The state. */ @java.lang.Override @@ -1350,15 +1234,14 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** - * - * *
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -1380,15 +1263,16 @@ public java.lang.String getState() {
    * 
* * string state = 13; - * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -1399,8 +1283,6 @@ public com.google.protobuf.ByteString getStateBytes() { public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 9; private com.google.protobuf.Struct additionalAttributes_; /** - * - * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -1421,7 +1303,6 @@ public com.google.protobuf.ByteString getStateBytes() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return Whether the additionalAttributes field is set. */ @java.lang.Override @@ -1429,8 +1310,6 @@ public boolean hasAdditionalAttributes() { return additionalAttributes_ != null; } /** - * - * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -1451,18 +1330,13 @@ public boolean hasAdditionalAttributes() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return The additionalAttributes. */ @java.lang.Override public com.google.protobuf.Struct getAdditionalAttributes() { - return additionalAttributes_ == null - ? com.google.protobuf.Struct.getDefaultInstance() - : additionalAttributes_; + return additionalAttributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_; } /** - * - * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -1492,8 +1366,6 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
   public static final int PARENT_FULL_RESOURCE_NAME_FIELD_NUMBER = 19;
   private volatile java.lang.Object parentFullResourceName_;
   /**
-   *
-   *
    * 
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -1504,7 +1376,6 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
    * 
* * string parent_full_resource_name = 19; - * * @return The parentFullResourceName. */ @java.lang.Override @@ -1513,15 +1384,14 @@ public java.lang.String getParentFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentFullResourceName_ = s; return s; } } /** - * - * *
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -1532,15 +1402,16 @@ public java.lang.String getParentFullResourceName() {
    * 
* * string parent_full_resource_name = 19; - * * @return The bytes for parentFullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getParentFullResourceNameBytes() { + public com.google.protobuf.ByteString + getParentFullResourceNameBytes() { java.lang.Object ref = parentFullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentFullResourceName_ = b; return b; } else { @@ -1551,8 +1422,6 @@ public com.google.protobuf.ByteString getParentFullResourceNameBytes() { public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 16; private java.util.List versionedResources_; /** - * - * *
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1569,8 +1438,6 @@ public java.util.List getVersionedR
     return versionedResources_;
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1583,13 +1450,11 @@ public java.util.List getVersionedR
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getVersionedResourcesOrBuilderList() {
     return versionedResources_;
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1606,8 +1471,6 @@ public int getVersionedResourcesCount() {
     return versionedResources_.size();
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1624,8 +1487,6 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
     return versionedResources_.get(index);
   }
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1646,8 +1507,6 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   public static final int ATTACHED_RESOURCES_FIELD_NUMBER = 20;
   private java.util.List attachedResources_;
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1664,8 +1523,6 @@ public java.util.List getAttachedRes
     return attachedResources_;
   }
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1678,13 +1535,11 @@ public java.util.List getAttachedRes
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAttachedResourcesOrBuilderList() {
     return attachedResources_;
   }
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1701,8 +1556,6 @@ public int getAttachedResourcesCount() {
     return attachedResources_.size();
   }
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1719,8 +1572,6 @@ public com.google.cloud.asset.v1.AttachedResource getAttachedResources(int index
     return attachedResources_.get(index);
   }
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1739,26 +1590,21 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
   }
 
   public static final int RELATIONSHIPS_FIELD_NUMBER = 21;
-
   private static final class RelationshipsDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
-        defaultEntry =
+        java.lang.String, com.google.cloud.asset.v1.RelatedResources> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.cloud.asset.v1.AssetProto
-                        .internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.cloud.asset.v1.RelatedResources.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.cloud.asset.v1.RelatedResources.getDefaultInstance());
   }
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.cloud.asset.v1.RelatedResources> relationships_;
   private com.google.protobuf.MapField
-      relationships_;
-
-  private com.google.protobuf.MapField
-      internalGetRelationships() {
+  internalGetRelationships() {
     if (relationships_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           RelationshipsDefaultEntryHolder.defaultEntry);
@@ -1770,8 +1616,6 @@ public int getRelationshipsCount() {
     return internalGetRelationships().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1783,23 +1627,22 @@ public int getRelationshipsCount() {
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
+
   @java.lang.Override
-  public boolean containsRelationships(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsRelationships(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetRelationships().getMap().containsKey(key);
   }
-  /** Use {@link #getRelationshipsMap()} instead. */
+  /**
+   * Use {@link #getRelationshipsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getRelationships() {
+  public java.util.Map getRelationships() {
     return getRelationshipsMap();
   }
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1812,13 +1655,11 @@ public boolean containsRelationships(java.lang.String key) {
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-  public java.util.Map
-      getRelationshipsMap() {
+
+  public java.util.Map getRelationshipsMap() {
     return internalGetRelationships().getMap();
   }
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1831,18 +1672,16 @@ public boolean containsRelationships(java.lang.String key) {
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
+
   public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
-      java.lang.String key, com.google.cloud.asset.v1.RelatedResources defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.cloud.asset.v1.RelatedResources defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetRelationships().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1855,10 +1694,10 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+
+  public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetRelationships().getMap();
     if (!map.containsKey(key)) {
@@ -1870,8 +1709,6 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.l
   public static final int TAG_KEYS_FIELD_NUMBER = 23;
   private com.google.protobuf.LazyStringList tagKeys_;
   /**
-   *
-   *
    * 
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1884,15 +1721,13 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.l
    * 
* * repeated string tag_keys = 23; - * * @return A list containing the tagKeys. */ - public com.google.protobuf.ProtocolStringList getTagKeysList() { + public com.google.protobuf.ProtocolStringList + getTagKeysList() { return tagKeys_; } /** - * - * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1905,15 +1740,12 @@ public com.google.protobuf.ProtocolStringList getTagKeysList() {
    * 
* * repeated string tag_keys = 23; - * * @return The count of tagKeys. */ public int getTagKeysCount() { return tagKeys_.size(); } /** - * - * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1926,7 +1758,6 @@ public int getTagKeysCount() {
    * 
* * repeated string tag_keys = 23; - * * @param index The index of the element to return. * @return The tagKeys at the given index. */ @@ -1934,8 +1765,6 @@ public java.lang.String getTagKeys(int index) { return tagKeys_.get(index); } /** - * - * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1948,19 +1777,17 @@ public java.lang.String getTagKeys(int index) {
    * 
* * repeated string tag_keys = 23; - * * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - public com.google.protobuf.ByteString getTagKeysBytes(int index) { + public com.google.protobuf.ByteString + getTagKeysBytes(int index) { return tagKeys_.getByteString(index); } public static final int TAG_VALUES_FIELD_NUMBER = 25; private com.google.protobuf.LazyStringList tagValues_; /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1975,15 +1802,13 @@ public com.google.protobuf.ByteString getTagKeysBytes(int index) {
    * 
* * repeated string tag_values = 25; - * * @return A list containing the tagValues. */ - public com.google.protobuf.ProtocolStringList getTagValuesList() { + public com.google.protobuf.ProtocolStringList + getTagValuesList() { return tagValues_; } /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1998,15 +1823,12 @@ public com.google.protobuf.ProtocolStringList getTagValuesList() {
    * 
* * repeated string tag_values = 25; - * * @return The count of tagValues. */ public int getTagValuesCount() { return tagValues_.size(); } /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -2021,7 +1843,6 @@ public int getTagValuesCount() {
    * 
* * repeated string tag_values = 25; - * * @param index The index of the element to return. * @return The tagValues at the given index. */ @@ -2029,8 +1850,6 @@ public java.lang.String getTagValues(int index) { return tagValues_.get(index); } /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -2045,19 +1864,17 @@ public java.lang.String getTagValues(int index) {
    * 
* * repeated string tag_values = 25; - * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - public com.google.protobuf.ByteString getTagValuesBytes(int index) { + public com.google.protobuf.ByteString + getTagValuesBytes(int index) { return tagValues_.getByteString(index); } public static final int TAG_VALUE_IDS_FIELD_NUMBER = 26; private com.google.protobuf.LazyStringList tagValueIds_; /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -2069,15 +1886,13 @@ public com.google.protobuf.ByteString getTagValuesBytes(int index) {
    * 
* * repeated string tag_value_ids = 26; - * * @return A list containing the tagValueIds. */ - public com.google.protobuf.ProtocolStringList getTagValueIdsList() { + public com.google.protobuf.ProtocolStringList + getTagValueIdsList() { return tagValueIds_; } /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -2089,15 +1904,12 @@ public com.google.protobuf.ProtocolStringList getTagValueIdsList() {
    * 
* * repeated string tag_value_ids = 26; - * * @return The count of tagValueIds. */ public int getTagValueIdsCount() { return tagValueIds_.size(); } /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -2109,7 +1921,6 @@ public int getTagValueIdsCount() {
    * 
* * repeated string tag_value_ids = 26; - * * @param index The index of the element to return. * @return The tagValueIds at the given index. */ @@ -2117,8 +1928,6 @@ public java.lang.String getTagValueIds(int index) { return tagValueIds_.get(index); } /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -2130,19 +1939,17 @@ public java.lang.String getTagValueIds(int index) {
    * 
* * repeated string tag_value_ids = 26; - * * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - public com.google.protobuf.ByteString getTagValueIdsBytes(int index) { + public com.google.protobuf.ByteString + getTagValueIdsBytes(int index) { return tagValueIds_.getByteString(index); } public static final int PARENT_ASSET_TYPE_FIELD_NUMBER = 103; private volatile java.lang.Object parentAssetType_; /** - * - * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -2153,7 +1960,6 @@ public com.google.protobuf.ByteString getTagValueIdsBytes(int index) {
    * 
* * string parent_asset_type = 103; - * * @return The parentAssetType. */ @java.lang.Override @@ -2162,15 +1968,14 @@ public java.lang.String getParentAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentAssetType_ = s; return s; } } /** - * - * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -2181,15 +1986,16 @@ public java.lang.String getParentAssetType() {
    * 
* * string parent_asset_type = 103; - * * @return The bytes for parentAssetType. */ @java.lang.Override - public com.google.protobuf.ByteString getParentAssetTypeBytes() { + public com.google.protobuf.ByteString + getParentAssetTypeBytes() { java.lang.Object ref = parentAssetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentAssetType_ = b; return b; } else { @@ -2198,7 +2004,6 @@ public com.google.protobuf.ByteString getParentAssetTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2210,7 +2015,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2229,8 +2035,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); for (int i = 0; i < networkTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, networkTags_.getRaw(i)); } @@ -2264,8 +2074,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < attachedResources_.size(); i++) { output.writeMessage(20, attachedResources_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetRelationships(), RelationshipsDefaultEntryHolder.defaultEntry, 21); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetRelationships(), + RelationshipsDefaultEntryHolder.defaultEntry, + 21); for (int i = 0; i < tagKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 23, tagKeys_.getRaw(i)); } @@ -2305,15 +2119,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, labels__); } { int dataSize = 0; @@ -2324,24 +2138,26 @@ public int getSerializedSize() { size += 1 * getNetworkTagsList().size(); } if (additionalAttributes_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(9, getAdditionalAttributes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getAdditionalAttributes()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, kmsKey_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, state_); } for (int i = 0; i < versionedResources_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(16, versionedResources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, versionedResources_.get(i)); } { int dataSize = 0; @@ -2358,19 +2174,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, parentFullResourceName_); } for (int i = 0; i < attachedResources_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(20, attachedResources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, attachedResources_.get(i)); } - for (java.util.Map.Entry entry : - internalGetRelationships().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetRelationships().getMap().entrySet()) { com.google.protobuf.MapEntry - relationships__ = - RelationshipsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, relationships__); + relationships__ = RelationshipsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, relationships__); } { int dataSize = 0; @@ -2407,46 +2222,68 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ResourceSearchResult)) { return super.equals(obj); } - com.google.cloud.asset.v1.ResourceSearchResult other = - (com.google.cloud.asset.v1.ResourceSearchResult) obj; - - if (!getName().equals(other.getName())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; - if (!getProject().equals(other.getProject())) return false; - if (!getFoldersList().equals(other.getFoldersList())) return false; - if (!getOrganization().equals(other.getOrganization())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; - if (!getKmsKey().equals(other.getKmsKey())) return false; + com.google.cloud.asset.v1.ResourceSearchResult other = (com.google.cloud.asset.v1.ResourceSearchResult) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getFoldersList() + .equals(other.getFoldersList())) return false; + if (!getOrganization() + .equals(other.getOrganization())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; + if (!getKmsKey() + .equals(other.getKmsKey())) 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 (!getState().equals(other.getState())) return false; + if (!getState() + .equals(other.getState())) return false; if (hasAdditionalAttributes() != other.hasAdditionalAttributes()) return false; if (hasAdditionalAttributes()) { - if (!getAdditionalAttributes().equals(other.getAdditionalAttributes())) return false; - } - if (!getParentFullResourceName().equals(other.getParentFullResourceName())) return false; - if (!getVersionedResourcesList().equals(other.getVersionedResourcesList())) return false; - if (!getAttachedResourcesList().equals(other.getAttachedResourcesList())) return false; - if (!internalGetRelationships().equals(other.internalGetRelationships())) return false; - if (!getTagKeysList().equals(other.getTagKeysList())) return false; - if (!getTagValuesList().equals(other.getTagValuesList())) return false; - if (!getTagValueIdsList().equals(other.getTagValueIdsList())) return false; - if (!getParentAssetType().equals(other.getParentAssetType())) return false; + if (!getAdditionalAttributes() + .equals(other.getAdditionalAttributes())) return false; + } + if (!getParentFullResourceName() + .equals(other.getParentFullResourceName())) return false; + if (!getVersionedResourcesList() + .equals(other.getVersionedResourcesList())) return false; + if (!getAttachedResourcesList() + .equals(other.getAttachedResourcesList())) return false; + if (!internalGetRelationships().equals( + other.internalGetRelationships())) return false; + if (!getTagKeysList() + .equals(other.getTagKeysList())) return false; + if (!getTagValuesList() + .equals(other.getTagValuesList())) return false; + if (!getTagValueIdsList() + .equals(other.getTagValueIdsList())) return false; + if (!getParentAssetType() + .equals(other.getParentAssetType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2533,151 +2370,144 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ResourceSearchResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( - byte[] data, com.google.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.asset.v1.ResourceSearchResult 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.asset.v1.ResourceSearchResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ResourceSearchResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.ResourceSearchResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.ResourceSearchResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ResourceSearchResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.ResourceSearchResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.ResourceSearchResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A result of Resource Search, containing information of a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ResourceSearchResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ResourceSearchResult) com.google.cloud.asset.v1.ResourceSearchResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); case 21: return internalGetRelationships(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 7: return internalGetMutableLabels(); case 21: return internalGetMutableRelationships(); 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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ResourceSearchResult.class, - com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); + com.google.cloud.asset.v1.ResourceSearchResult.class, com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); } // Construct using com.google.cloud.asset.v1.ResourceSearchResult.newBuilder() @@ -2685,18 +2515,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) { getVersionedResourcesFieldBuilder(); getAttachedResourcesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2768,9 +2598,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; } @java.lang.Override @@ -2789,8 +2619,7 @@ public com.google.cloud.asset.v1.ResourceSearchResult build() { @java.lang.Override public com.google.cloud.asset.v1.ResourceSearchResult buildPartial() { - com.google.cloud.asset.v1.ResourceSearchResult result = - new com.google.cloud.asset.v1.ResourceSearchResult(this); + com.google.cloud.asset.v1.ResourceSearchResult result = new com.google.cloud.asset.v1.ResourceSearchResult(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.assetType_ = assetType_; @@ -2873,39 +2702,38 @@ public com.google.cloud.asset.v1.ResourceSearchResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ResourceSearchResult) { - return mergeFrom((com.google.cloud.asset.v1.ResourceSearchResult) other); + return mergeFrom((com.google.cloud.asset.v1.ResourceSearchResult)other); } else { super.mergeFrom(other); return this; @@ -2952,7 +2780,8 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { location_ = other.location_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { networkTags_ = other.networkTags_; @@ -3002,10 +2831,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { versionedResourcesBuilder_ = null; versionedResources_ = other.versionedResources_; bitField0_ = (bitField0_ & ~0x00000008); - versionedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionedResourcesFieldBuilder() - : null; + versionedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionedResourcesFieldBuilder() : null; } else { versionedResourcesBuilder_.addAllMessages(other.versionedResources_); } @@ -3029,16 +2857,16 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { attachedResourcesBuilder_ = null; attachedResources_ = other.attachedResources_; bitField0_ = (bitField0_ & ~0x00000010); - attachedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttachedResourcesFieldBuilder() - : null; + attachedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttachedResourcesFieldBuilder() : null; } else { attachedResourcesBuilder_.addAllMessages(other.attachedResources_); } } } - internalGetMutableRelationships().mergeFrom(other.internalGetRelationships()); + internalGetMutableRelationships().mergeFrom( + other.internalGetRelationships()); if (!other.tagKeys_.isEmpty()) { if (tagKeys_.isEmpty()) { tagKeys_ = other.tagKeys_; @@ -3101,13 +2929,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3120,13 +2945,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; @@ -3135,8 +2960,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3149,14 +2972,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 { @@ -3164,8 +2988,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3178,22 +3000,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 full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3206,18 +3026,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 full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3230,16 +3047,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; @@ -3247,8 +3064,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3256,13 +3071,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -3271,8 +3086,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3280,14 +3093,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -3295,8 +3109,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3304,22 +3116,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3327,18 +3137,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3346,16 +3153,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -3363,8 +3170,6 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3376,13 +3181,13 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string project = 3; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -3391,8 +3196,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3404,14 +3207,15 @@ public java.lang.String getProject() {
      * 
* * string project = 3; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -3419,8 +3223,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3432,22 +3234,20 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * string project = 3; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3459,18 +3259,15 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 3; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3482,33 +3279,29 @@ public Builder clearProject() {
      * 
* * string project = 3; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList folders_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList folders_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFoldersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3520,15 +3313,13 @@ private void ensureFoldersIsMutable() {
      * 
* * repeated string folders = 17; - * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList getFoldersList() { + public com.google.protobuf.ProtocolStringList + getFoldersList() { return folders_.getUnmodifiableView(); } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3540,15 +3331,12 @@ public com.google.protobuf.ProtocolStringList getFoldersList() {
      * 
* * repeated string folders = 17; - * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3560,7 +3348,6 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 17; - * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3568,8 +3355,6 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3581,16 +3366,14 @@ public java.lang.String getFolders(int index) {
      * 
* * repeated string folders = 17; - * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString getFoldersBytes(int index) { + public com.google.protobuf.ByteString + getFoldersBytes(int index) { return folders_.getByteString(index); } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3602,23 +3385,21 @@ public com.google.protobuf.ByteString getFoldersBytes(int index) {
      * 
* * repeated string folders = 17; - * * @param index The index to set the value at. * @param value The folders to set. * @return This builder for chaining. */ - public Builder setFolders(int index, java.lang.String value) { + public Builder setFolders( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3630,22 +3411,20 @@ public Builder setFolders(int index, java.lang.String value) {
      * 
* * repeated string folders = 17; - * * @param value The folders to add. * @return This builder for chaining. */ - public Builder addFolders(java.lang.String value) { + public Builder addFolders( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3657,19 +3436,18 @@ public Builder addFolders(java.lang.String value) {
      * 
* * repeated string folders = 17; - * * @param values The folders to add. * @return This builder for chaining. */ - public Builder addAllFolders(java.lang.Iterable values) { + public Builder addAllFolders( + java.lang.Iterable values) { ensureFoldersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, folders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, folders_); onChanged(); return this; } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3681,7 +3459,6 @@ public Builder addAllFolders(java.lang.Iterable values) {
      * 
* * repeated string folders = 17; - * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3691,8 +3468,6 @@ public Builder clearFolders() { return this; } /** - * - * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3704,15 +3479,15 @@ public Builder clearFolders() {
      * 
* * repeated string folders = 17; - * * @param value The bytes of the folders to add. * @return This builder for chaining. */ - public Builder addFoldersBytes(com.google.protobuf.ByteString value) { + public Builder addFoldersBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); onChanged(); @@ -3721,8 +3496,6 @@ public Builder addFoldersBytes(com.google.protobuf.ByteString value) { private java.lang.Object organization_ = ""; /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3734,13 +3507,13 @@ public Builder addFoldersBytes(com.google.protobuf.ByteString value) {
      * 
* * string organization = 18; - * * @return The organization. */ public java.lang.String getOrganization() { java.lang.Object ref = organization_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; @@ -3749,8 +3522,6 @@ public java.lang.String getOrganization() { } } /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3762,14 +3533,15 @@ public java.lang.String getOrganization() {
      * 
* * string organization = 18; - * * @return The bytes for organization. */ - public com.google.protobuf.ByteString getOrganizationBytes() { + public com.google.protobuf.ByteString + getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); organization_ = b; return b; } else { @@ -3777,8 +3549,6 @@ public com.google.protobuf.ByteString getOrganizationBytes() { } } /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3790,22 +3560,20 @@ public com.google.protobuf.ByteString getOrganizationBytes() {
      * 
* * string organization = 18; - * * @param value The organization to set. * @return This builder for chaining. */ - public Builder setOrganization(java.lang.String value) { + public Builder setOrganization( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + organization_ = value; onChanged(); return this; } /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3817,18 +3585,15 @@ public Builder setOrganization(java.lang.String value) {
      * 
* * string organization = 18; - * * @return This builder for chaining. */ public Builder clearOrganization() { - + organization_ = getDefaultInstance().getOrganization(); onChanged(); return this; } /** - * - * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3840,16 +3605,16 @@ public Builder clearOrganization() {
      * 
* * string organization = 18; - * * @param value The bytes for organization to set. * @return This builder for chaining. */ - public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { + public Builder setOrganizationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + organization_ = value; onChanged(); return this; @@ -3857,8 +3622,6 @@ public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3868,13 +3631,13 @@ public Builder setOrganizationBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 4; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -3883,8 +3646,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3894,14 +3655,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 4; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -3909,8 +3671,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3920,22 +3680,20 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 4; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3945,18 +3703,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 4; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3966,16 +3721,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 4; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -3983,8 +3738,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -3995,13 +3748,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 5; - * * @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; @@ -4010,8 +3763,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -4022,14 +3773,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; - * * @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 { @@ -4037,8 +3789,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -4049,22 +3799,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 5; - * * @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; } - /** - * - * + /** *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -4075,18 +3823,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -4097,16 +3842,16 @@ public Builder clearDescription() {
      * 
* * string description = 5; - * * @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; @@ -4114,8 +3859,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -4126,13 +3869,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string location = 6; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -4141,8 +3884,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -4153,14 +3894,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -4168,8 +3910,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -4180,22 +3920,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 6; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -4206,18 +3944,15 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 6; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -4228,36 +3963,37 @@ public Builder clearLocation() {
      * 
* * string location = 6; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4269,8 +4005,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4286,22 +4020,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 7;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4318,12 +4052,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4340,17 +4073,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4367,11 +4099,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4379,12 +4112,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4400,21 +4132,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4430,20 +4164,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4459,23 +4192,22 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.LazyStringList networkTags_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureNetworkTagsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4488,15 +4220,13 @@ private void ensureNetworkTagsIsMutable() {
      * 
* * repeated string network_tags = 8; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4509,15 +4239,12 @@ public com.google.protobuf.ProtocolStringList getNetworkTagsList() {
      * 
* * repeated string network_tags = 8; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4530,7 +4257,6 @@ public int getNetworkTagsCount() {
      * 
* * repeated string network_tags = 8; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -4538,8 +4264,6 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4552,16 +4276,14 @@ public java.lang.String getNetworkTags(int index) {
      * 
* * repeated string network_tags = 8; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4574,23 +4296,21 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) {
      * 
* * repeated string network_tags = 8; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { + public Builder setNetworkTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4603,22 +4323,20 @@ public Builder setNetworkTags(int index, java.lang.String value) {
      * 
* * repeated string network_tags = 8; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { + public Builder addNetworkTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4631,19 +4349,18 @@ public Builder addNetworkTags(java.lang.String value) {
      * 
* * repeated string network_tags = 8; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); onChanged(); return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4656,7 +4373,6 @@ public Builder addAllNetworkTags(java.lang.Iterable values) {
      * 
* * repeated string network_tags = 8; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -4666,8 +4382,6 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4680,15 +4394,15 @@ public Builder clearNetworkTags() {
      * 
* * repeated string network_tags = 8; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); @@ -4697,8 +4411,6 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { private java.lang.Object kmsKey_ = ""; /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4712,13 +4424,13 @@ public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * string kms_key = 10; - * * @return The kmsKey. */ public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; @@ -4727,8 +4439,6 @@ public java.lang.String getKmsKey() { } } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4742,14 +4452,15 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 10; - * * @return The bytes for kmsKey. */ - public com.google.protobuf.ByteString getKmsKeyBytes() { + public com.google.protobuf.ByteString + getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -4757,8 +4468,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4772,22 +4481,20 @@ public com.google.protobuf.ByteString getKmsKeyBytes() {
      * 
* * string kms_key = 10; - * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey(java.lang.String value) { + public Builder setKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKey_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4801,18 +4508,15 @@ public Builder setKmsKey(java.lang.String value) {
      * 
* * string kms_key = 10; - * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = getDefaultInstance().getKmsKey(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4826,16 +4530,16 @@ public Builder clearKmsKey() {
      * 
* * string kms_key = 10; - * * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; onChanged(); return this; @@ -4843,13 +4547,8 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4863,15 +4562,12 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4885,21 +4581,16 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 11; - * * @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 create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4928,8 +4619,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4944,7 +4633,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 11;
      */
-    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();
@@ -4955,8 +4645,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4975,7 +4663,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;
         }
@@ -4987,8 +4675,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -5015,8 +4701,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -5032,13 +4716,11 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 11;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+      
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -5057,14 +4739,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 create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -5080,17 +4759,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 11;
      */
     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_;
@@ -5098,13 +4774,8 @@ 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 last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5119,15 +4790,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5142,21 +4810,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 12; - * * @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 last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5186,8 +4849,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5203,7 +4864,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 12;
      */
-    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();
@@ -5214,8 +4876,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5235,7 +4895,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;
         }
@@ -5247,8 +4907,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5276,8 +4934,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5294,13 +4950,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 12;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5320,14 +4974,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 last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -5344,17 +4995,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 12;
      */
     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_;
@@ -5362,8 +5010,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object state_ = "";
     /**
-     *
-     *
      * 
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5385,13 +5031,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string state = 13; - * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -5400,8 +5046,6 @@ public java.lang.String getState() { } } /** - * - * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5423,14 +5067,15 @@ public java.lang.String getState() {
      * 
* * string state = 13; - * * @return The bytes for state. */ - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -5438,8 +5083,6 @@ public com.google.protobuf.ByteString getStateBytes() { } } /** - * - * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5461,22 +5104,20 @@ public com.google.protobuf.ByteString getStateBytes() {
      * 
* * string state = 13; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(java.lang.String value) { + public Builder setState( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5498,18 +5139,15 @@ public Builder setState(java.lang.String value) {
      * 
* * string state = 13; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = getDefaultInstance().getState(); onChanged(); return this; } /** - * - * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5531,16 +5169,16 @@ public Builder clearState() {
      * 
* * string state = 13; - * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes(com.google.protobuf.ByteString value) { + public Builder setStateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = value; onChanged(); return this; @@ -5548,13 +5186,8 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct additionalAttributes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - additionalAttributesBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> additionalAttributesBuilder_; /** - * - * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5575,15 +5208,12 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return Whether the additionalAttributes field is set. */ public boolean hasAdditionalAttributes() { return additionalAttributesBuilder_ != null || additionalAttributes_ != null; } /** - * - * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5604,21 +5234,16 @@ public boolean hasAdditionalAttributes() {
      * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return The additionalAttributes. */ public com.google.protobuf.Struct getAdditionalAttributes() { if (additionalAttributesBuilder_ == null) { - return additionalAttributes_ == null - ? com.google.protobuf.Struct.getDefaultInstance() - : additionalAttributes_; + return additionalAttributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_; } else { return additionalAttributesBuilder_.getMessage(); } } /** - * - * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5654,8 +5279,6 @@ public Builder setAdditionalAttributes(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5677,7 +5300,8 @@ public Builder setAdditionalAttributes(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct additional_attributes = 9;
      */
-    public Builder setAdditionalAttributes(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setAdditionalAttributes(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (additionalAttributesBuilder_ == null) {
         additionalAttributes_ = builderForValue.build();
         onChanged();
@@ -5688,8 +5312,6 @@ public Builder setAdditionalAttributes(com.google.protobuf.Struct.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5715,9 +5337,7 @@ public Builder mergeAdditionalAttributes(com.google.protobuf.Struct value) {
       if (additionalAttributesBuilder_ == null) {
         if (additionalAttributes_ != null) {
           additionalAttributes_ =
-              com.google.protobuf.Struct.newBuilder(additionalAttributes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Struct.newBuilder(additionalAttributes_).mergeFrom(value).buildPartial();
         } else {
           additionalAttributes_ = value;
         }
@@ -5729,8 +5349,6 @@ public Builder mergeAdditionalAttributes(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5764,8 +5382,6 @@ public Builder clearAdditionalAttributes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5788,13 +5404,11 @@ public Builder clearAdditionalAttributes() {
      * .google.protobuf.Struct additional_attributes = 9;
      */
     public com.google.protobuf.Struct.Builder getAdditionalAttributesBuilder() {
-
+      
       onChanged();
       return getAdditionalAttributesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5820,14 +5434,11 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
       if (additionalAttributesBuilder_ != null) {
         return additionalAttributesBuilder_.getMessageOrBuilder();
       } else {
-        return additionalAttributes_ == null
-            ? com.google.protobuf.Struct.getDefaultInstance()
-            : additionalAttributes_;
+        return additionalAttributes_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_;
       }
     }
     /**
-     *
-     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5850,17 +5461,14 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
      * .google.protobuf.Struct additional_attributes = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getAdditionalAttributesFieldBuilder() {
       if (additionalAttributesBuilder_ == null) {
-        additionalAttributesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getAdditionalAttributes(), getParentForChildren(), isClean());
+        additionalAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getAdditionalAttributes(),
+                getParentForChildren(),
+                isClean());
         additionalAttributes_ = null;
       }
       return additionalAttributesBuilder_;
@@ -5868,8 +5476,6 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
 
     private java.lang.Object parentFullResourceName_ = "";
     /**
-     *
-     *
      * 
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5880,13 +5486,13 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
      * 
* * string parent_full_resource_name = 19; - * * @return The parentFullResourceName. */ public java.lang.String getParentFullResourceName() { java.lang.Object ref = parentFullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentFullResourceName_ = s; return s; @@ -5895,8 +5501,6 @@ public java.lang.String getParentFullResourceName() { } } /** - * - * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5907,14 +5511,15 @@ public java.lang.String getParentFullResourceName() {
      * 
* * string parent_full_resource_name = 19; - * * @return The bytes for parentFullResourceName. */ - public com.google.protobuf.ByteString getParentFullResourceNameBytes() { + public com.google.protobuf.ByteString + getParentFullResourceNameBytes() { java.lang.Object ref = parentFullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentFullResourceName_ = b; return b; } else { @@ -5922,8 +5527,6 @@ public com.google.protobuf.ByteString getParentFullResourceNameBytes() { } } /** - * - * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5934,22 +5537,20 @@ public com.google.protobuf.ByteString getParentFullResourceNameBytes() {
      * 
* * string parent_full_resource_name = 19; - * * @param value The parentFullResourceName to set. * @return This builder for chaining. */ - public Builder setParentFullResourceName(java.lang.String value) { + public Builder setParentFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentFullResourceName_ = value; onChanged(); return this; } /** - * - * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5960,18 +5561,15 @@ public Builder setParentFullResourceName(java.lang.String value) {
      * 
* * string parent_full_resource_name = 19; - * * @return This builder for chaining. */ public Builder clearParentFullResourceName() { - + parentFullResourceName_ = getDefaultInstance().getParentFullResourceName(); onChanged(); return this; } /** - * - * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5982,42 +5580,34 @@ public Builder clearParentFullResourceName() {
      * 
* * string parent_full_resource_name = 19; - * * @param value The bytes for parentFullResourceName to set. * @return This builder for chaining. */ - public Builder setParentFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setParentFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentFullResourceName_ = value; onChanged(); return this; } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - versionedResources_ = - new java.util.ArrayList( - versionedResources_); + versionedResources_ = new java.util.ArrayList(versionedResources_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.VersionedResource, - com.google.cloud.asset.v1.VersionedResource.Builder, - com.google.cloud.asset.v1.VersionedResourceOrBuilder> - versionedResourcesBuilder_; + com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> versionedResourcesBuilder_; /** - * - * *
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6037,8 +5627,6 @@ public java.util.List getVersionedR
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6058,8 +5646,6 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6079,8 +5665,6 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6106,9 +5690,7 @@ public Builder setVersionedResources(
       }
       return this;
     }
-    /**
-     *
-     *
+    /**
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6132,8 +5714,6 @@ public Builder setVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6159,8 +5739,6 @@ public Builder addVersionedResources(com.google.cloud.asset.v1.VersionedResource
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6187,8 +5765,6 @@ public Builder addVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6212,8 +5788,6 @@ public Builder addVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6237,8 +5811,6 @@ public Builder addVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6254,7 +5826,8 @@ public Builder addAllVersionedResources(
         java.lang.Iterable values) {
       if (versionedResourcesBuilder_ == null) {
         ensureVersionedResourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versionedResources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, versionedResources_);
         onChanged();
       } else {
         versionedResourcesBuilder_.addAllMessages(values);
@@ -6262,8 +5835,6 @@ public Builder addAllVersionedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6286,8 +5857,6 @@ public Builder clearVersionedResources() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6310,8 +5879,6 @@ public Builder removeVersionedResources(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6328,8 +5895,6 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
       return getVersionedResourcesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6344,14 +5909,11 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
     public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
         int index) {
       if (versionedResourcesBuilder_ == null) {
-        return versionedResources_.get(index);
-      } else {
+        return versionedResources_.get(index);  } else {
         return versionedResourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6363,8 +5925,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
      */
-    public java.util.List
-        getVersionedResourcesOrBuilderList() {
+    public java.util.List 
+         getVersionedResourcesOrBuilderList() {
       if (versionedResourcesBuilder_ != null) {
         return versionedResourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6372,8 +5934,6 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
       }
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6386,12 +5946,10 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder() {
-      return getVersionedResourcesFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6405,12 +5963,10 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder(
         int index) {
-      return getVersionedResourcesFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -6422,22 +5978,16 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
      */
-    public java.util.List
-        getVersionedResourcesBuilderList() {
+    public java.util.List 
+         getVersionedResourcesBuilderList() {
       return getVersionedResourcesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.VersionedResource,
-            com.google.cloud.asset.v1.VersionedResource.Builder,
-            com.google.cloud.asset.v1.VersionedResourceOrBuilder>
+        com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> 
         getVersionedResourcesFieldBuilder() {
       if (versionedResourcesBuilder_ == null) {
-        versionedResourcesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.VersionedResource,
-                com.google.cloud.asset.v1.VersionedResource.Builder,
-                com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
+        versionedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
                 versionedResources_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -6448,25 +5998,18 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
     }
 
     private java.util.List attachedResources_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureAttachedResourcesIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        attachedResources_ =
-            new java.util.ArrayList(attachedResources_);
+        attachedResources_ = new java.util.ArrayList(attachedResources_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.AttachedResource,
-            com.google.cloud.asset.v1.AttachedResource.Builder,
-            com.google.cloud.asset.v1.AttachedResourceOrBuilder>
-        attachedResourcesBuilder_;
+        com.google.cloud.asset.v1.AttachedResource, com.google.cloud.asset.v1.AttachedResource.Builder, com.google.cloud.asset.v1.AttachedResourceOrBuilder> attachedResourcesBuilder_;
 
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6486,8 +6029,6 @@ public java.util.List getAttachedRes
       }
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6507,8 +6048,6 @@ public int getAttachedResourcesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6528,8 +6067,6 @@ public com.google.cloud.asset.v1.AttachedResource getAttachedResources(int index
       }
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6556,8 +6093,6 @@ public Builder setAttachedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6581,8 +6116,6 @@ public Builder setAttachedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6608,8 +6141,6 @@ public Builder addAttachedResources(com.google.cloud.asset.v1.AttachedResource v
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6636,8 +6167,6 @@ public Builder addAttachedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6661,8 +6190,6 @@ public Builder addAttachedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6686,8 +6213,6 @@ public Builder addAttachedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6703,7 +6228,8 @@ public Builder addAllAttachedResources(
         java.lang.Iterable values) {
       if (attachedResourcesBuilder_ == null) {
         ensureAttachedResourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attachedResources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, attachedResources_);
         onChanged();
       } else {
         attachedResourcesBuilder_.addAllMessages(values);
@@ -6711,8 +6237,6 @@ public Builder addAllAttachedResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6735,8 +6259,6 @@ public Builder clearAttachedResources() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6759,8 +6281,6 @@ public Builder removeAttachedResources(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6777,8 +6297,6 @@ public com.google.cloud.asset.v1.AttachedResource.Builder getAttachedResourcesBu
       return getAttachedResourcesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6793,14 +6311,11 @@ public com.google.cloud.asset.v1.AttachedResource.Builder getAttachedResourcesBu
     public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilder(
         int index) {
       if (attachedResourcesBuilder_ == null) {
-        return attachedResources_.get(index);
-      } else {
+        return attachedResources_.get(index);  } else {
         return attachedResourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6812,8 +6327,8 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
      *
      * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
      */
-    public java.util.List
-        getAttachedResourcesOrBuilderList() {
+    public java.util.List 
+         getAttachedResourcesOrBuilderList() {
       if (attachedResourcesBuilder_ != null) {
         return attachedResourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6821,8 +6336,6 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
       }
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6835,12 +6348,10 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
      * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
      */
     public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBuilder() {
-      return getAttachedResourcesFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
+      return getAttachedResourcesFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6854,12 +6365,10 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
      */
     public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBuilder(
         int index) {
-      return getAttachedResourcesFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
+      return getAttachedResourcesFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6871,22 +6380,16 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
      *
      * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
      */
-    public java.util.List
-        getAttachedResourcesBuilderList() {
+    public java.util.List 
+         getAttachedResourcesBuilderList() {
       return getAttachedResourcesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.AttachedResource,
-            com.google.cloud.asset.v1.AttachedResource.Builder,
-            com.google.cloud.asset.v1.AttachedResourceOrBuilder>
+        com.google.cloud.asset.v1.AttachedResource, com.google.cloud.asset.v1.AttachedResource.Builder, com.google.cloud.asset.v1.AttachedResourceOrBuilder> 
         getAttachedResourcesFieldBuilder() {
       if (attachedResourcesBuilder_ == null) {
-        attachedResourcesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.AttachedResource,
-                com.google.cloud.asset.v1.AttachedResource.Builder,
-                com.google.cloud.asset.v1.AttachedResourceOrBuilder>(
+        attachedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.AttachedResource, com.google.cloud.asset.v1.AttachedResource.Builder, com.google.cloud.asset.v1.AttachedResourceOrBuilder>(
                 attachedResources_,
                 ((bitField0_ & 0x00000010) != 0),
                 getParentForChildren(),
@@ -6897,27 +6400,21 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
     }
 
     private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
-        relationships_;
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
-        internalGetRelationships() {
+        java.lang.String, com.google.cloud.asset.v1.RelatedResources> relationships_;
+    private com.google.protobuf.MapField
+    internalGetRelationships() {
       if (relationships_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             RelationshipsDefaultEntryHolder.defaultEntry);
       }
       return relationships_;
     }
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
-        internalGetMutableRelationships() {
-      onChanged();
-      ;
+    private com.google.protobuf.MapField
+    internalGetMutableRelationships() {
+      onChanged();;
       if (relationships_ == null) {
-        relationships_ =
-            com.google.protobuf.MapField.newMapField(RelationshipsDefaultEntryHolder.defaultEntry);
+        relationships_ = com.google.protobuf.MapField.newMapField(
+            RelationshipsDefaultEntryHolder.defaultEntry);
       }
       if (!relationships_.isMutable()) {
         relationships_ = relationships_.copy();
@@ -6929,8 +6426,6 @@ public int getRelationshipsCount() {
       return internalGetRelationships().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6942,23 +6437,22 @@ public int getRelationshipsCount() {
      *
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
+
     @java.lang.Override
-    public boolean containsRelationships(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsRelationships(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetRelationships().getMap().containsKey(key);
     }
-    /** Use {@link #getRelationshipsMap()} instead. */
+    /**
+     * Use {@link #getRelationshipsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getRelationships() {
+    public java.util.Map getRelationships() {
       return getRelationshipsMap();
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6971,13 +6465,11 @@ public boolean containsRelationships(java.lang.String key) {
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
-    public java.util.Map
-        getRelationshipsMap() {
+
+    public java.util.Map getRelationshipsMap() {
       return internalGetRelationships().getMap();
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6990,18 +6482,16 @@ public boolean containsRelationships(java.lang.String key) {
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
+
     public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
-        java.lang.String key, com.google.cloud.asset.v1.RelatedResources defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.cloud.asset.v1.RelatedResources defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetRelationships().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -7014,11 +6504,10 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
+
     public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
         java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetRelationships().getMap();
       if (!map.containsKey(key)) {
@@ -7028,12 +6517,11 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
     }
 
     public Builder clearRelationships() {
-      internalGetMutableRelationships().getMutableMap().clear();
+      internalGetMutableRelationships().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -7045,22 +6533,23 @@ public Builder clearRelationships() {
      *
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
-    public Builder removeRelationships(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableRelationships().getMutableMap().remove(key);
+
+    public Builder removeRelationships(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableRelationships().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
-        getMutableRelationships() {
+    getMutableRelationships() {
       return internalGetMutableRelationships().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -7073,20 +6562,18 @@ public Builder removeRelationships(java.lang.String key) {
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     public Builder putRelationships(
-        java.lang.String key, com.google.cloud.asset.v1.RelatedResources value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.cloud.asset.v1.RelatedResources value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableRelationships().getMutableMap().put(key, value);
+      internalGetMutableRelationships().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -7098,24 +6585,22 @@ public Builder putRelationships(
      *
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
+
     public Builder putAllRelationships(
         java.util.Map values) {
-      internalGetMutableRelationships().getMutableMap().putAll(values);
+      internalGetMutableRelationships().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.LazyStringList tagKeys_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList tagKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureTagKeysIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         tagKeys_ = new com.google.protobuf.LazyStringArrayList(tagKeys_);
         bitField0_ |= 0x00000040;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7128,15 +6613,13 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23; - * * @return A list containing the tagKeys. */ - public com.google.protobuf.ProtocolStringList getTagKeysList() { + public com.google.protobuf.ProtocolStringList + getTagKeysList() { return tagKeys_.getUnmodifiableView(); } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7149,15 +6632,12 @@ public com.google.protobuf.ProtocolStringList getTagKeysList() {
      * 
* * repeated string tag_keys = 23; - * * @return The count of tagKeys. */ public int getTagKeysCount() { return tagKeys_.size(); } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7170,7 +6650,6 @@ public int getTagKeysCount() {
      * 
* * repeated string tag_keys = 23; - * * @param index The index of the element to return. * @return The tagKeys at the given index. */ @@ -7178,8 +6657,6 @@ public java.lang.String getTagKeys(int index) { return tagKeys_.get(index); } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7192,16 +6669,14 @@ public java.lang.String getTagKeys(int index) {
      * 
* * repeated string tag_keys = 23; - * * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - public com.google.protobuf.ByteString getTagKeysBytes(int index) { + public com.google.protobuf.ByteString + getTagKeysBytes(int index) { return tagKeys_.getByteString(index); } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7214,23 +6689,21 @@ public com.google.protobuf.ByteString getTagKeysBytes(int index) {
      * 
* * repeated string tag_keys = 23; - * * @param index The index to set the value at. * @param value The tagKeys to set. * @return This builder for chaining. */ - public Builder setTagKeys(int index, java.lang.String value) { + public Builder setTagKeys( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagKeysIsMutable(); + throw new NullPointerException(); + } + ensureTagKeysIsMutable(); tagKeys_.set(index, value); onChanged(); return this; } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7243,22 +6716,20 @@ public Builder setTagKeys(int index, java.lang.String value) {
      * 
* * repeated string tag_keys = 23; - * * @param value The tagKeys to add. * @return This builder for chaining. */ - public Builder addTagKeys(java.lang.String value) { + public Builder addTagKeys( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagKeysIsMutable(); + throw new NullPointerException(); + } + ensureTagKeysIsMutable(); tagKeys_.add(value); onChanged(); return this; } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7271,19 +6742,18 @@ public Builder addTagKeys(java.lang.String value) {
      * 
* * repeated string tag_keys = 23; - * * @param values The tagKeys to add. * @return This builder for chaining. */ - public Builder addAllTagKeys(java.lang.Iterable values) { + public Builder addAllTagKeys( + java.lang.Iterable values) { ensureTagKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tagKeys_); onChanged(); return this; } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7296,7 +6766,6 @@ public Builder addAllTagKeys(java.lang.Iterable values) {
      * 
* * repeated string tag_keys = 23; - * * @return This builder for chaining. */ public Builder clearTagKeys() { @@ -7306,8 +6775,6 @@ public Builder clearTagKeys() { return this; } /** - * - * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -7320,33 +6787,29 @@ public Builder clearTagKeys() {
      * 
* * repeated string tag_keys = 23; - * * @param value The bytes of the tagKeys to add. * @return This builder for chaining. */ - public Builder addTagKeysBytes(com.google.protobuf.ByteString value) { + public Builder addTagKeysBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagKeysIsMutable(); tagKeys_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList tagValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tagValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagValuesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { tagValues_ = new com.google.protobuf.LazyStringArrayList(tagValues_); bitField0_ |= 0x00000080; - } + } } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7361,15 +6824,13 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25; - * * @return A list containing the tagValues. */ - public com.google.protobuf.ProtocolStringList getTagValuesList() { + public com.google.protobuf.ProtocolStringList + getTagValuesList() { return tagValues_.getUnmodifiableView(); } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7384,15 +6845,12 @@ public com.google.protobuf.ProtocolStringList getTagValuesList() {
      * 
* * repeated string tag_values = 25; - * * @return The count of tagValues. */ public int getTagValuesCount() { return tagValues_.size(); } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7407,7 +6865,6 @@ public int getTagValuesCount() {
      * 
* * repeated string tag_values = 25; - * * @param index The index of the element to return. * @return The tagValues at the given index. */ @@ -7415,8 +6872,6 @@ public java.lang.String getTagValues(int index) { return tagValues_.get(index); } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7431,16 +6886,14 @@ public java.lang.String getTagValues(int index) {
      * 
* * repeated string tag_values = 25; - * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - public com.google.protobuf.ByteString getTagValuesBytes(int index) { + public com.google.protobuf.ByteString + getTagValuesBytes(int index) { return tagValues_.getByteString(index); } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7455,23 +6908,21 @@ public com.google.protobuf.ByteString getTagValuesBytes(int index) {
      * 
* * repeated string tag_values = 25; - * * @param index The index to set the value at. * @param value The tagValues to set. * @return This builder for chaining. */ - public Builder setTagValues(int index, java.lang.String value) { + public Builder setTagValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValuesIsMutable(); + throw new NullPointerException(); + } + ensureTagValuesIsMutable(); tagValues_.set(index, value); onChanged(); return this; } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7486,22 +6937,20 @@ public Builder setTagValues(int index, java.lang.String value) {
      * 
* * repeated string tag_values = 25; - * * @param value The tagValues to add. * @return This builder for chaining. */ - public Builder addTagValues(java.lang.String value) { + public Builder addTagValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValuesIsMutable(); + throw new NullPointerException(); + } + ensureTagValuesIsMutable(); tagValues_.add(value); onChanged(); return this; } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7516,19 +6965,18 @@ public Builder addTagValues(java.lang.String value) {
      * 
* * repeated string tag_values = 25; - * * @param values The tagValues to add. * @return This builder for chaining. */ - public Builder addAllTagValues(java.lang.Iterable values) { + public Builder addAllTagValues( + java.lang.Iterable values) { ensureTagValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tagValues_); onChanged(); return this; } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7543,7 +6991,6 @@ public Builder addAllTagValues(java.lang.Iterable values) {
      * 
* * repeated string tag_values = 25; - * * @return This builder for chaining. */ public Builder clearTagValues() { @@ -7553,8 +7000,6 @@ public Builder clearTagValues() { return this; } /** - * - * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7569,33 +7014,29 @@ public Builder clearTagValues() {
      * 
* * repeated string tag_values = 25; - * * @param value The bytes of the tagValues to add. * @return This builder for chaining. */ - public Builder addTagValuesBytes(com.google.protobuf.ByteString value) { + public Builder addTagValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagValuesIsMutable(); tagValues_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList tagValueIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tagValueIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagValueIdsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { tagValueIds_ = new com.google.protobuf.LazyStringArrayList(tagValueIds_); bitField0_ |= 0x00000100; - } + } } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7607,15 +7048,13 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26; - * * @return A list containing the tagValueIds. */ - public com.google.protobuf.ProtocolStringList getTagValueIdsList() { + public com.google.protobuf.ProtocolStringList + getTagValueIdsList() { return tagValueIds_.getUnmodifiableView(); } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7627,15 +7066,12 @@ public com.google.protobuf.ProtocolStringList getTagValueIdsList() {
      * 
* * repeated string tag_value_ids = 26; - * * @return The count of tagValueIds. */ public int getTagValueIdsCount() { return tagValueIds_.size(); } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7647,7 +7083,6 @@ public int getTagValueIdsCount() {
      * 
* * repeated string tag_value_ids = 26; - * * @param index The index of the element to return. * @return The tagValueIds at the given index. */ @@ -7655,8 +7090,6 @@ public java.lang.String getTagValueIds(int index) { return tagValueIds_.get(index); } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7668,16 +7101,14 @@ public java.lang.String getTagValueIds(int index) {
      * 
* * repeated string tag_value_ids = 26; - * * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - public com.google.protobuf.ByteString getTagValueIdsBytes(int index) { + public com.google.protobuf.ByteString + getTagValueIdsBytes(int index) { return tagValueIds_.getByteString(index); } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7689,23 +7120,21 @@ public com.google.protobuf.ByteString getTagValueIdsBytes(int index) {
      * 
* * repeated string tag_value_ids = 26; - * * @param index The index to set the value at. * @param value The tagValueIds to set. * @return This builder for chaining. */ - public Builder setTagValueIds(int index, java.lang.String value) { + public Builder setTagValueIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValueIdsIsMutable(); + throw new NullPointerException(); + } + ensureTagValueIdsIsMutable(); tagValueIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7717,22 +7146,20 @@ public Builder setTagValueIds(int index, java.lang.String value) {
      * 
* * repeated string tag_value_ids = 26; - * * @param value The tagValueIds to add. * @return This builder for chaining. */ - public Builder addTagValueIds(java.lang.String value) { + public Builder addTagValueIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValueIdsIsMutable(); + throw new NullPointerException(); + } + ensureTagValueIdsIsMutable(); tagValueIds_.add(value); onChanged(); return this; } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7744,19 +7171,18 @@ public Builder addTagValueIds(java.lang.String value) {
      * 
* * repeated string tag_value_ids = 26; - * * @param values The tagValueIds to add. * @return This builder for chaining. */ - public Builder addAllTagValueIds(java.lang.Iterable values) { + public Builder addAllTagValueIds( + java.lang.Iterable values) { ensureTagValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagValueIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tagValueIds_); onChanged(); return this; } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7768,7 +7194,6 @@ public Builder addAllTagValueIds(java.lang.Iterable values) {
      * 
* * repeated string tag_value_ids = 26; - * * @return This builder for chaining. */ public Builder clearTagValueIds() { @@ -7778,8 +7203,6 @@ public Builder clearTagValueIds() { return this; } /** - * - * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7791,15 +7214,15 @@ public Builder clearTagValueIds() {
      * 
* * repeated string tag_value_ids = 26; - * * @param value The bytes of the tagValueIds to add. * @return This builder for chaining. */ - public Builder addTagValueIdsBytes(com.google.protobuf.ByteString value) { + public Builder addTagValueIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagValueIdsIsMutable(); tagValueIds_.add(value); onChanged(); @@ -7808,8 +7231,6 @@ public Builder addTagValueIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object parentAssetType_ = ""; /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7820,13 +7241,13 @@ public Builder addTagValueIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent_asset_type = 103; - * * @return The parentAssetType. */ public java.lang.String getParentAssetType() { java.lang.Object ref = parentAssetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentAssetType_ = s; return s; @@ -7835,8 +7256,6 @@ public java.lang.String getParentAssetType() { } } /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7847,14 +7266,15 @@ public java.lang.String getParentAssetType() {
      * 
* * string parent_asset_type = 103; - * * @return The bytes for parentAssetType. */ - public com.google.protobuf.ByteString getParentAssetTypeBytes() { + public com.google.protobuf.ByteString + getParentAssetTypeBytes() { java.lang.Object ref = parentAssetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parentAssetType_ = b; return b; } else { @@ -7862,8 +7282,6 @@ public com.google.protobuf.ByteString getParentAssetTypeBytes() { } } /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7874,22 +7292,20 @@ public com.google.protobuf.ByteString getParentAssetTypeBytes() {
      * 
* * string parent_asset_type = 103; - * * @param value The parentAssetType to set. * @return This builder for chaining. */ - public Builder setParentAssetType(java.lang.String value) { + public Builder setParentAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentAssetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7900,18 +7316,15 @@ public Builder setParentAssetType(java.lang.String value) {
      * 
* * string parent_asset_type = 103; - * * @return This builder for chaining. */ public Builder clearParentAssetType() { - + parentAssetType_ = getDefaultInstance().getParentAssetType(); onChanged(); return this; } /** - * - * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7922,23 +7335,23 @@ public Builder clearParentAssetType() {
      * 
* * string parent_asset_type = 103; - * * @param value The bytes for parentAssetType to set. * @return This builder for chaining. */ - public Builder setParentAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setParentAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentAssetType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7948,12 +7361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ResourceSearchResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ResourceSearchResult) private static final com.google.cloud.asset.v1.ResourceSearchResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ResourceSearchResult(); } @@ -7962,16 +7375,16 @@ public static com.google.cloud.asset.v1.ResourceSearchResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSearchResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceSearchResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSearchResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceSearchResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7986,4 +7399,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ResourceSearchResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java similarity index 92% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java index 5ab43ef5d..b79fffcaf 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface ResourceSearchResultOrBuilder - extends +public interface ResourceSearchResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ResourceSearchResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -38,13 +20,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -57,14 +36,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -72,13 +49,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -86,14 +60,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -105,13 +77,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string project = 3; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -123,14 +92,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string project = 3; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -142,13 +109,11 @@ public interface ResourceSearchResultOrBuilder
    * 
* * repeated string folders = 17; - * * @return A list containing the folders. */ - java.util.List getFoldersList(); + java.util.List + getFoldersList(); /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -160,13 +125,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * repeated string folders = 17; - * * @return The count of folders. */ int getFoldersCount(); /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -178,14 +140,11 @@ public interface ResourceSearchResultOrBuilder
    * 
* * repeated string folders = 17; - * * @param index The index of the element to return. * @return The folders at the given index. */ java.lang.String getFolders(int index); /** - * - * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -197,15 +156,13 @@ public interface ResourceSearchResultOrBuilder
    * 
* * repeated string folders = 17; - * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - com.google.protobuf.ByteString getFoldersBytes(int index); + com.google.protobuf.ByteString + getFoldersBytes(int index); /** - * - * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -217,13 +174,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string organization = 18; - * * @return The organization. */ java.lang.String getOrganization(); /** - * - * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -235,14 +189,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string organization = 18; - * * @return The bytes for organization. */ - com.google.protobuf.ByteString getOrganizationBytes(); + com.google.protobuf.ByteString + getOrganizationBytes(); /** - * - * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -252,13 +204,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string display_name = 4; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -268,14 +217,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string display_name = 4; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -286,13 +233,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -303,14 +247,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -321,13 +263,10 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string location = 6; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -338,14 +277,12 @@ public interface ResourceSearchResultOrBuilder
    * 
* * string location = 6; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -363,8 +300,6 @@ public interface ResourceSearchResultOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -380,13 +315,15 @@ public interface ResourceSearchResultOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -402,10 +339,9 @@ public interface ResourceSearchResultOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -423,13 +359,11 @@ public interface ResourceSearchResultOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -445,11 +379,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -462,13 +396,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 8; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -481,13 +413,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 8; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -500,14 +429,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 8; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -520,15 +446,13 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 8; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -542,13 +466,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key = 10; - * * @return The kmsKey. */ java.lang.String getKmsKey(); /** - * - * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -562,14 +483,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key = 10; - * * @return The bytes for kmsKey. */ - com.google.protobuf.ByteString getKmsKeyBytes(); + com.google.protobuf.ByteString + getKmsKeyBytes(); /** - * - * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -583,13 +502,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -603,13 +519,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Timestamp create_time = 11; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -627,8 +540,6 @@ java.lang.String getLabelsOrDefault(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -643,13 +554,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -664,13 +572,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Timestamp update_time = 12; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -689,8 +594,6 @@ java.lang.String getLabelsOrDefault(
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -712,13 +615,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string state = 13; - * * @return The state. */ java.lang.String getState(); /** - * - * *
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -740,14 +640,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string state = 13; - * * @return The bytes for state. */ - com.google.protobuf.ByteString getStateBytes(); + com.google.protobuf.ByteString + getStateBytes(); /** - * - * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -768,13 +666,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return Whether the additionalAttributes field is set. */ boolean hasAdditionalAttributes(); /** - * - * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -795,13 +690,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.protobuf.Struct additional_attributes = 9; - * * @return The additionalAttributes. */ com.google.protobuf.Struct getAdditionalAttributes(); /** - * - * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -826,8 +718,6 @@ java.lang.String getLabelsOrDefault(
   com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder();
 
   /**
-   *
-   *
    * 
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -838,13 +728,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string parent_full_resource_name = 19; - * * @return The parentFullResourceName. */ java.lang.String getParentFullResourceName(); /** - * - * *
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -855,14 +742,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string parent_full_resource_name = 19; - * * @return The bytes for parentFullResourceName. */ - com.google.protobuf.ByteString getParentFullResourceNameBytes(); + com.google.protobuf.ByteString + getParentFullResourceNameBytes(); /** - * - * *
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -874,10 +759,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
-  java.util.List getVersionedResourcesList();
+  java.util.List 
+      getVersionedResourcesList();
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -891,8 +775,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.cloud.asset.v1.VersionedResource getVersionedResources(int index);
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -906,8 +788,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getVersionedResourcesCount();
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -919,11 +799,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
-  java.util.List
+  java.util.List 
       getVersionedResourcesOrBuilderList();
   /**
-   *
-   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -935,11 +813,10 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
-  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index);
+  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -951,10 +828,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
-  java.util.List getAttachedResourcesList();
+  java.util.List 
+      getAttachedResourcesList();
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -968,8 +844,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.cloud.asset.v1.AttachedResource getAttachedResources(int index);
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -983,8 +857,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAttachedResourcesCount();
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -996,11 +868,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
-  java.util.List
+  java.util.List 
       getAttachedResourcesOrBuilderList();
   /**
-   *
-   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1012,11 +882,10 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
-  com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilder(int index);
+  com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1030,8 +899,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getRelationshipsCount();
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1043,13 +910,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-  boolean containsRelationships(java.lang.String key);
-  /** Use {@link #getRelationshipsMap()} instead. */
+  boolean containsRelationships(
+      java.lang.String key);
+  /**
+   * Use {@link #getRelationshipsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getRelationships();
+  java.util.Map
+  getRelationships();
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1061,10 +930,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-  java.util.Map getRelationshipsMap();
+  java.util.Map
+  getRelationshipsMap();
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1078,13 +946,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
+com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.cloud.asset.v1.RelatedResources defaultValue);
+com.google.cloud.asset.v1.RelatedResources defaultValue);
   /**
-   *
-   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1096,11 +962,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-  com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.lang.String key);
+
+  com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1113,13 +979,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_keys = 23; - * * @return A list containing the tagKeys. */ - java.util.List getTagKeysList(); + java.util.List + getTagKeysList(); /** - * - * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1132,13 +996,10 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_keys = 23; - * * @return The count of tagKeys. */ int getTagKeysCount(); /** - * - * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1151,14 +1012,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_keys = 23; - * * @param index The index of the element to return. * @return The tagKeys at the given index. */ java.lang.String getTagKeys(int index); /** - * - * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1171,15 +1029,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_keys = 23; - * * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - com.google.protobuf.ByteString getTagKeysBytes(int index); + com.google.protobuf.ByteString + getTagKeysBytes(int index); /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1194,13 +1050,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_values = 25; - * * @return A list containing the tagValues. */ - java.util.List getTagValuesList(); + java.util.List + getTagValuesList(); /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1215,13 +1069,10 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_values = 25; - * * @return The count of tagValues. */ int getTagValuesCount(); /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1236,14 +1087,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_values = 25; - * * @param index The index of the element to return. * @return The tagValues at the given index. */ java.lang.String getTagValues(int index); /** - * - * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1258,15 +1106,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_values = 25; - * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - com.google.protobuf.ByteString getTagValuesBytes(int index); + com.google.protobuf.ByteString + getTagValuesBytes(int index); /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1278,13 +1124,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_value_ids = 26; - * * @return A list containing the tagValueIds. */ - java.util.List getTagValueIdsList(); + java.util.List + getTagValueIdsList(); /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1296,13 +1140,10 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_value_ids = 26; - * * @return The count of tagValueIds. */ int getTagValueIdsCount(); /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1314,14 +1155,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_value_ids = 26; - * * @param index The index of the element to return. * @return The tagValueIds at the given index. */ java.lang.String getTagValueIds(int index); /** - * - * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1333,15 +1171,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * repeated string tag_value_ids = 26; - * * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - com.google.protobuf.ByteString getTagValueIdsBytes(int index); + com.google.protobuf.ByteString + getTagValueIdsBytes(int index); /** - * - * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -1352,13 +1188,10 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * string parent_asset_type = 103; - * * @return The parentAssetType. */ java.lang.String getParentAssetType(); /** - * - * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -1369,8 +1202,8 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * 
* * string parent_asset_type = 103; - * * @return The bytes for parentAssetType. */ - com.google.protobuf.ByteString getParentAssetTypeBytes(); + com.google.protobuf.ByteString + getParentAssetTypeBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java similarity index 70% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java index 68a2b9c59..94c7f1260 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * A saved query which can be shared with others or used later.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery} */ -public final class SavedQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SavedQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SavedQuery) SavedQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SavedQuery.newBuilder() to construct. private SavedQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SavedQuery() { name_ = ""; description_ = ""; @@ -46,15 +28,16 @@ private SavedQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SavedQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SavedQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,101 +57,89 @@ private SavedQuery( 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; + description_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - creator_ = s; - break; - } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastUpdateTime_ != null) { - subBuilder = lastUpdateTime_.toBuilder(); - } - lastUpdateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastUpdateTime_); - lastUpdateTime_ = subBuilder.buildPartial(); - } + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - break; + creator_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastUpdateTime_ != null) { + subBuilder = lastUpdateTime_.toBuilder(); + } + lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastUpdateTime_); + lastUpdateTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - lastUpdater_ = s; - break; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + lastUpdater_ = s; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 58: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 66: { + com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder subBuilder = null; + if (content_ != null) { + subBuilder = content_.toBuilder(); } - case 66: - { - com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder subBuilder = null; - if (content_ != null) { - subBuilder = content_.toBuilder(); - } - content_ = - input.readMessage( - com.google.cloud.asset.v1.SavedQuery.QueryContent.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(content_); - content_ = subBuilder.buildPartial(); - } - - break; + content_ = input.readMessage(com.google.cloud.asset.v1.SavedQuery.QueryContent.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(content_); + content_ = 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) { @@ -176,47 +147,43 @@ private SavedQuery( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); 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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.class, - com.google.cloud.asset.v1.SavedQuery.Builder.class); + com.google.cloud.asset.v1.SavedQuery.class, com.google.cloud.asset.v1.SavedQuery.Builder.class); } - public interface QueryContentOrBuilder - extends + public interface QueryContentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SavedQuery.QueryContent) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -227,13 +194,10 @@ public interface QueryContentOrBuilder
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return Whether the iamPolicyAnalysisQuery field is set. */ boolean hasIamPolicyAnalysisQuery(); /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -244,13 +208,10 @@ public interface QueryContentOrBuilder
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return The iamPolicyAnalysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuery(); /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -267,37 +228,36 @@ public interface QueryContentOrBuilder
     public com.google.cloud.asset.v1.SavedQuery.QueryContent.QueryContentCase getQueryContentCase();
   }
   /**
-   *
-   *
    * 
    * The query content.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery.QueryContent} */ - public static final class QueryContent extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryContent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SavedQuery.QueryContent) QueryContentOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryContent.newBuilder() to construct. private QueryContent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueryContent() {} + private QueryContent() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryContent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryContent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -316,33 +276,27 @@ private QueryContent( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (queryContentCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_) - .toBuilder(); - } - queryContent_ = - input.readMessage( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_); - queryContent_ = subBuilder.buildPartial(); - } - queryContentCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (queryContentCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + queryContent_ = + input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_); + queryContent_ = subBuilder.buildPartial(); + } + queryContentCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -350,39 +304,34 @@ private QueryContent( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.QueryContent.class, - com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); + com.google.cloud.asset.v1.SavedQuery.QueryContent.class, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); } private int queryContentCase_ = 0; private java.lang.Object queryContent_; - public enum QueryContentCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { IAM_POLICY_ANALYSIS_QUERY(1), QUERYCONTENT_NOT_SET(0); private final int value; - private QueryContentCase(int value) { this.value = value; } @@ -398,28 +347,24 @@ public static QueryContentCase valueOf(int value) { public static QueryContentCase forNumber(int value) { switch (value) { - case 1: - return IAM_POLICY_ANALYSIS_QUERY; - case 0: - return QUERYCONTENT_NOT_SET; - default: - return null; + case 1: return IAM_POLICY_ANALYSIS_QUERY; + case 0: return QUERYCONTENT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryContentCase getQueryContentCase() { - return QueryContentCase.forNumber(queryContentCase_); + public QueryContentCase + getQueryContentCase() { + return QueryContentCase.forNumber( + queryContentCase_); } public static final int IAM_POLICY_ANALYSIS_QUERY_FIELD_NUMBER = 1; /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -430,7 +375,6 @@ public QueryContentCase getQueryContentCase() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -438,8 +382,6 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -450,19 +392,16 @@ public boolean hasIamPolicyAnalysisQuery() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuery() { if (queryContentCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_; } return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance(); } /** - * - * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -475,16 +414,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer
      * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder
-        getIamPolicyAnalysisQueryOrBuilder() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAnalysisQueryOrBuilder() {
       if (queryContentCase_ == 1) {
-        return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_;
+         return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_;
       }
       return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -496,7 +433,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (queryContentCase_ == 1) {
         output.writeMessage(1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
       }
@@ -510,9 +448,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (queryContentCase_ == 1) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -522,18 +459,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.asset.v1.SavedQuery.QueryContent)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.SavedQuery.QueryContent other =
-          (com.google.cloud.asset.v1.SavedQuery.QueryContent) obj;
+      com.google.cloud.asset.v1.SavedQuery.QueryContent other = (com.google.cloud.asset.v1.SavedQuery.QueryContent) obj;
 
       if (!getQueryContentCase().equals(other.getQueryContentCase())) return false;
       switch (queryContentCase_) {
         case 1:
-          if (!getIamPolicyAnalysisQuery().equals(other.getIamPolicyAnalysisQuery())) return false;
+          if (!getIamPolicyAnalysisQuery()
+              .equals(other.getIamPolicyAnalysisQuery())) return false;
           break;
         case 0:
         default:
@@ -563,93 +500,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.nio.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.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SavedQuery.QueryContent parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
-        byte[] data, com.google.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.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.SavedQuery.QueryContent parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.SavedQuery.QueryContent parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.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.asset.v1.SavedQuery.QueryContent parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.cloud.asset.v1.SavedQuery.QueryContent prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -659,32 +590,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The query content.
      * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery.QueryContent} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SavedQuery.QueryContent) com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.QueryContent.class, - com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); + com.google.cloud.asset.v1.SavedQuery.QueryContent.class, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); } // Construct using com.google.cloud.asset.v1.SavedQuery.QueryContent.newBuilder() @@ -692,15 +618,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -710,9 +637,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; } @java.lang.Override @@ -731,8 +658,7 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent build() { @java.lang.Override public com.google.cloud.asset.v1.SavedQuery.QueryContent buildPartial() { - com.google.cloud.asset.v1.SavedQuery.QueryContent result = - new com.google.cloud.asset.v1.SavedQuery.QueryContent(this); + com.google.cloud.asset.v1.SavedQuery.QueryContent result = new com.google.cloud.asset.v1.SavedQuery.QueryContent(this); if (queryContentCase_ == 1) { if (iamPolicyAnalysisQueryBuilder_ == null) { result.queryContent_ = queryContent_; @@ -749,41 +675,38 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1.SavedQuery.QueryContent) { - return mergeFrom((com.google.cloud.asset.v1.SavedQuery.QueryContent) other); + return mergeFrom((com.google.cloud.asset.v1.SavedQuery.QueryContent)other); } else { super.mergeFrom(other); return this; @@ -791,18 +714,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SavedQuery.QueryContent other) { - if (other == com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) return this; switch (other.getQueryContentCase()) { - case IAM_POLICY_ANALYSIS_QUERY: - { - mergeIamPolicyAnalysisQuery(other.getIamPolicyAnalysisQuery()); - break; - } - case QUERYCONTENT_NOT_SET: - { - break; - } + case IAM_POLICY_ANALYSIS_QUERY: { + mergeIamPolicyAnalysisQuery(other.getIamPolicyAnalysisQuery()); + break; + } + case QUERYCONTENT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -823,8 +743,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.SavedQuery.QueryContent) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.SavedQuery.QueryContent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -833,12 +752,12 @@ public Builder mergeFrom( } return this; } - private int queryContentCase_ = 0; private java.lang.Object queryContent_; - - public QueryContentCase getQueryContentCase() { - return QueryContentCase.forNumber(queryContentCase_); + public QueryContentCase + getQueryContentCase() { + return QueryContentCase.forNumber( + queryContentCase_); } public Builder clearQueryContent() { @@ -848,14 +767,10 @@ public Builder clearQueryContent() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> - iamPolicyAnalysisQueryBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> iamPolicyAnalysisQueryBuilder_; /** - * - * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -866,7 +781,6 @@ public Builder clearQueryContent() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -874,8 +788,6 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** - * - * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -886,7 +798,6 @@ public boolean hasIamPolicyAnalysisQuery() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; - * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override @@ -904,8 +815,6 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer } } /** - * - * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -917,8 +826,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer
        *
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
-      public Builder setIamPolicyAnalysisQuery(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
+      public Builder setIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
         if (iamPolicyAnalysisQueryBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -932,8 +840,6 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -957,8 +863,6 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -970,17 +874,12 @@ public Builder setIamPolicyAnalysisQuery(
        *
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
-      public Builder mergeIamPolicyAnalysisQuery(
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
+      public Builder mergeIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
         if (iamPolicyAnalysisQueryBuilder_ == null) {
-          if (queryContentCase_ == 1
-              && queryContent_
-                  != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) {
-            queryContent_ =
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(
-                        (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (queryContentCase_ == 1 &&
+              queryContent_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) {
+            queryContent_ = com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_)
+                .mergeFrom(value).buildPartial();
           } else {
             queryContent_ = value;
           }
@@ -996,8 +895,6 @@ public Builder mergeIamPolicyAnalysisQuery(
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -1026,8 +923,6 @@ public Builder clearIamPolicyAnalysisQuery() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -1039,13 +934,10 @@ public Builder clearIamPolicyAnalysisQuery() {
        *
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder
-          getIamPolicyAnalysisQueryBuilder() {
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getIamPolicyAnalysisQueryBuilder() {
         return getIamPolicyAnalysisQueryFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -1058,8 +950,7 @@ public Builder clearIamPolicyAnalysisQuery() {
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder
-          getIamPolicyAnalysisQueryOrBuilder() {
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAnalysisQueryOrBuilder() {
         if ((queryContentCase_ == 1) && (iamPolicyAnalysisQueryBuilder_ != null)) {
           return iamPolicyAnalysisQueryBuilder_.getMessageOrBuilder();
         } else {
@@ -1070,8 +961,6 @@ public Builder clearIamPolicyAnalysisQuery() {
         }
       }
       /**
-       *
-       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -1084,30 +973,23 @@ public Builder clearIamPolicyAnalysisQuery() {
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
-              com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> 
           getIamPolicyAnalysisQueryFieldBuilder() {
         if (iamPolicyAnalysisQueryBuilder_ == null) {
           if (!(queryContentCase_ == 1)) {
             queryContent_ = com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance();
           }
-          iamPolicyAnalysisQueryBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
-                  com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>(
+          iamPolicyAnalysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>(
                   (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_,
                   getParentForChildren(),
                   isClean());
           queryContent_ = null;
         }
         queryContentCase_ = 1;
-        onChanged();
-        ;
+        onChanged();;
         return iamPolicyAnalysisQueryBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1120,12 +1002,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SavedQuery.QueryContent)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SavedQuery.QueryContent)
     private static final com.google.cloud.asset.v1.SavedQuery.QueryContent DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SavedQuery.QueryContent();
     }
@@ -1134,16 +1016,16 @@ public static com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public QueryContent parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new QueryContent(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public QueryContent parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new QueryContent(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1158,13 +1040,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -1173,7 +1054,6 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForTy
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1182,15 +1062,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 resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -1199,15 +1078,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 { @@ -1218,15 +1098,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * The description of this saved query. This value should be fewer than 255
    * characters.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -1235,30 +1112,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The description of this saved query. This value should be fewer than 255
    * 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 { @@ -1269,15 +1146,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1285,15 +1158,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1301,14 +1170,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1318,14 +1184,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int CREATOR_FIELD_NUMBER = 4; private volatile java.lang.Object creator_; /** - * - * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ @java.lang.Override @@ -1334,29 +1197,29 @@ public java.lang.String getCreator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creator_ = s; return s; } } /** - * - * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorBytes() { + public com.google.protobuf.ByteString + getCreatorBytes() { java.lang.Object ref = creator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creator_ = b; return b; } else { @@ -1367,16 +1230,11 @@ public com.google.protobuf.ByteString getCreatorBytes() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdateTime_; /** - * - * *
    * Output only. The last update time of this saved query.
    * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -1384,34 +1242,23 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** - * - * *
    * Output only. The last update time of this saved query.
    * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } /** - * - * *
    * Output only. The last update time of this saved query.
    * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { @@ -1421,15 +1268,12 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { public static final int LAST_UPDATER_FIELD_NUMBER = 6; private volatile java.lang.Object lastUpdater_; /** - * - * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastUpdater. */ @java.lang.Override @@ -1438,30 +1282,30 @@ public java.lang.String getLastUpdater() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastUpdater_ = s; return s; } } /** - * - * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastUpdater. */ @java.lang.Override - public com.google.protobuf.ByteString getLastUpdaterBytes() { + public com.google.protobuf.ByteString + getLastUpdaterBytes() { java.lang.Object ref = lastUpdater_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastUpdater_ = b; return b; } else { @@ -1470,23 +1314,24 @@ public com.google.protobuf.ByteString getLastUpdaterBytes() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1495,8 +1340,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1505,22 +1348,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 7;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1530,12 +1373,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1545,16 +1387,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1564,11 +1406,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1578,14 +1421,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CONTENT_FIELD_NUMBER = 8;
   private com.google.cloud.asset.v1.SavedQuery.QueryContent content_;
   /**
-   *
-   *
    * 
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; - * * @return Whether the content field is set. */ @java.lang.Override @@ -1593,25 +1433,18 @@ public boolean hasContent() { return content_ != null; } /** - * - * *
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; - * * @return The content. */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery.QueryContent getContent() { - return content_ == null - ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() - : content_; + return content_ == null ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; } /** - * - * *
    * The query content.
    * 
@@ -1624,7 +1457,6 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1636,7 +1468,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1655,8 +1488,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdater_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, lastUpdater_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (content_ != null) { output.writeMessage(8, getContent()); } @@ -1676,29 +1513,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, creator_); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getLastUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdater_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lastUpdater_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, labels__); } if (content_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getContent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getContent()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1708,29 +1548,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.SavedQuery)) { return super.equals(obj); } com.google.cloud.asset.v1.SavedQuery other = (com.google.cloud.asset.v1.SavedQuery) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getCreator().equals(other.getCreator())) return false; + if (!getCreator() + .equals(other.getCreator())) return false; if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime() + .equals(other.getLastUpdateTime())) return false; } - if (!getLastUpdater().equals(other.getLastUpdater())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getLastUpdater() + .equals(other.getLastUpdater())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasContent() != other.hasContent()) return false; if (hasContent()) { - if (!getContent().equals(other.getContent())) return false; + if (!getContent() + .equals(other.getContent())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1772,146 +1620,140 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.SavedQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.SavedQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SavedQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SavedQuery parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1.SavedQuery parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SavedQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.SavedQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SavedQuery parseFrom( - byte[] data, com.google.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.asset.v1.SavedQuery 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.asset.v1.SavedQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SavedQuery 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.asset.v1.SavedQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SavedQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.SavedQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.SavedQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A saved query which can be shared with others or used later.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SavedQuery) com.google.cloud.asset.v1.SavedQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 7: return internalGetMutableLabels(); 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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.class, - com.google.cloud.asset.v1.SavedQuery.Builder.class); + com.google.cloud.asset.v1.SavedQuery.class, com.google.cloud.asset.v1.SavedQuery.Builder.class); } // Construct using com.google.cloud.asset.v1.SavedQuery.newBuilder() @@ -1919,15 +1761,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1962,9 +1805,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_descriptor; } @java.lang.Override @@ -2014,39 +1857,38 @@ public com.google.cloud.asset.v1.SavedQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SavedQuery) { - return mergeFrom((com.google.cloud.asset.v1.SavedQuery) other); + return mergeFrom((com.google.cloud.asset.v1.SavedQuery)other); } else { super.mergeFrom(other); return this; @@ -2077,7 +1919,8 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SavedQuery other) { lastUpdater_ = other.lastUpdater_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasContent()) { mergeContent(other.getContent()); } @@ -2109,13 +1952,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2124,13 +1964,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; @@ -2139,8 +1979,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2149,14 +1987,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 { @@ -2164,8 +2003,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2174,22 +2011,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 resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2198,18 +2033,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 resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2218,16 +2050,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; @@ -2235,21 +2067,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * The description of this saved query. This value should be fewer than 255
      * 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; @@ -2258,22 +2088,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The description of this saved query. This value should be fewer than 255
      * 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 { @@ -2281,64 +2110,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The description of this saved query. This value should be fewer than 255
      * 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 this saved query. This value should be fewer than 255
      * characters.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The description of this saved query. This value should be fewer than 255
      * 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; @@ -2346,58 +2168,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.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 create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2413,17 +2216,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.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(); @@ -2434,21 +2234,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.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; } @@ -2460,15 +2256,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2482,64 +2274,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.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 create time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2547,20 +2323,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private java.lang.Object creator_ = ""; /** - * - * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ public java.lang.String getCreator() { java.lang.Object ref = creator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creator_ = s; return s; @@ -2569,21 +2343,20 @@ public java.lang.String getCreator() { } } /** - * - * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ - public com.google.protobuf.ByteString getCreatorBytes() { + public com.google.protobuf.ByteString + getCreatorBytes() { java.lang.Object ref = creator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); creator_ = b; return b; } else { @@ -2591,61 +2364,54 @@ public com.google.protobuf.ByteString getCreatorBytes() { } } /** - * - * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The creator to set. * @return This builder for chaining. */ - public Builder setCreator(java.lang.String value) { + public Builder setCreator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creator_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreator() { - + creator_ = getDefaultInstance().getCreator(); onChanged(); return this; } /** - * - * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for creator to set. * @return This builder for chaining. */ - public Builder setCreatorBytes(com.google.protobuf.ByteString value) { + public Builder setCreatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creator_ = value; onChanged(); return this; @@ -2653,58 +2419,39 @@ public Builder setCreatorBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { @@ -2720,17 +2467,14 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2741,23 +2485,17 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); } else { lastUpdateTime_ = value; } @@ -2769,15 +2507,11 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { @@ -2791,64 +2525,48 @@ public Builder clearLastUpdateTime() { return this; } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastUpdateTime_; + return lastUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; } } /** - * - * *
      * Output only. The last update time of this saved query.
      * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), getParentForChildren(), isClean()); + lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), + getParentForChildren(), + isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; @@ -2856,21 +2574,19 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { private java.lang.Object lastUpdater_ = ""; /** - * - * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastUpdater. */ public java.lang.String getLastUpdater() { java.lang.Object ref = lastUpdater_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastUpdater_ = s; return s; @@ -2879,22 +2595,21 @@ public java.lang.String getLastUpdater() { } } /** - * - * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastUpdater. */ - public com.google.protobuf.ByteString getLastUpdaterBytes() { + public com.google.protobuf.ByteString + getLastUpdaterBytes() { java.lang.Object ref = lastUpdater_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); lastUpdater_ = b; return b; } else { @@ -2902,84 +2617,78 @@ public com.google.protobuf.ByteString getLastUpdaterBytes() { } } /** - * - * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The lastUpdater to set. * @return This builder for chaining. */ - public Builder setLastUpdater(java.lang.String value) { + public Builder setLastUpdater( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastUpdater_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLastUpdater() { - + lastUpdater_ = getDefaultInstance().getLastUpdater(); onChanged(); return this; } /** - * - * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for lastUpdater to set. * @return This builder for chaining. */ - public Builder setLastUpdaterBytes(com.google.protobuf.ByteString value) { + public Builder setLastUpdaterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastUpdater_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2991,8 +2700,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3001,22 +2708,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 7;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3026,12 +2733,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3041,17 +2747,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3061,11 +2766,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3073,12 +2779,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3087,21 +2792,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3110,20 +2817,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -3132,54 +2838,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 7;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.cloud.asset.v1.SavedQuery.QueryContent content_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.SavedQuery.QueryContent,
-            com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder,
-            com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder>
-        contentBuilder_;
+        com.google.cloud.asset.v1.SavedQuery.QueryContent, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder> contentBuilder_;
     /**
-     *
-     *
      * 
      * The query content.
      * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; - * * @return Whether the content field is set. */ public boolean hasContent() { return contentBuilder_ != null || content_ != null; } /** - * - * *
      * The query content.
      * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; - * * @return The content. */ public com.google.cloud.asset.v1.SavedQuery.QueryContent getContent() { if (contentBuilder_ == null) { - return content_ == null - ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() - : content_; + return content_ == null ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; } else { return contentBuilder_.getMessage(); } } /** - * - * *
      * The query content.
      * 
@@ -3200,8 +2896,6 @@ public Builder setContent(com.google.cloud.asset.v1.SavedQuery.QueryContent valu return this; } /** - * - * *
      * The query content.
      * 
@@ -3220,8 +2914,6 @@ public Builder setContent( return this; } /** - * - * *
      * The query content.
      * 
@@ -3232,9 +2924,7 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va if (contentBuilder_ == null) { if (content_ != null) { content_ = - com.google.cloud.asset.v1.SavedQuery.QueryContent.newBuilder(content_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.SavedQuery.QueryContent.newBuilder(content_).mergeFrom(value).buildPartial(); } else { content_ = value; } @@ -3246,8 +2936,6 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va return this; } /** - * - * *
      * The query content.
      * 
@@ -3266,8 +2954,6 @@ public Builder clearContent() { return this; } /** - * - * *
      * The query content.
      * 
@@ -3275,13 +2961,11 @@ public Builder clearContent() { * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; */ public com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder getContentBuilder() { - + onChanged(); return getContentFieldBuilder().getBuilder(); } /** - * - * *
      * The query content.
      * 
@@ -3292,14 +2976,11 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBu if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { - return content_ == null - ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() - : content_; + return content_ == null ? + com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; } } /** - * - * *
      * The query content.
      * 
@@ -3307,24 +2988,21 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBu * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery.QueryContent, - com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, - com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder> + com.google.cloud.asset.v1.SavedQuery.QueryContent, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery.QueryContent, - com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, - com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder>( - getContent(), getParentForChildren(), isClean()); + contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery.QueryContent, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder>( + getContent(), + getParentForChildren(), + isClean()); content_ = null; } return contentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3334,12 +3012,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SavedQuery) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SavedQuery) private static final com.google.cloud.asset.v1.SavedQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SavedQuery(); } @@ -3348,16 +3026,16 @@ public static com.google.cloud.asset.v1.SavedQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SavedQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SavedQuery(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SavedQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SavedQuery(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3372,4 +3050,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.SavedQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java similarity index 100% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java similarity index 74% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java index 190e281c4..96eeda6cf 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SavedQueryOrBuilder - extends +public interface SavedQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SavedQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -34,13 +16,10 @@ public interface SavedQueryOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -49,172 +28,130 @@ public interface SavedQueryOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The description of this saved query. This value should be fewer than 255
    * characters.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The description of this saved query. This value should be fewer than 255
    * characters.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ java.lang.String getCreator(); /** - * - * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ - com.google.protobuf.ByteString getCreatorBytes(); + com.google.protobuf.ByteString + getCreatorBytes(); /** - * - * *
    * Output only. The last update time of this saved query.
    * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** - * - * *
    * Output only. The last update time of this saved query.
    * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** - * - * *
    * Output only. The last update time of this saved query.
    * 
* - * - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastUpdater. */ java.lang.String getLastUpdater(); /** - * - * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastUpdater. */ - com.google.protobuf.ByteString getLastUpdaterBytes(); + com.google.protobuf.ByteString + getLastUpdaterBytes(); /** - * - * *
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -225,8 +162,6 @@ public interface SavedQueryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -235,13 +170,15 @@ public interface SavedQueryOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -250,10 +187,9 @@ public interface SavedQueryOrBuilder
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -264,13 +200,11 @@ public interface SavedQueryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -279,35 +213,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; - * * @return Whether the content field is set. */ boolean hasContent(); /** - * - * *
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; - * * @return The content. */ com.google.cloud.asset.v1.SavedQuery.QueryContent getContent(); /** - * - * *
    * The query content.
    * 
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java similarity index 85% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java index ea5d5e134..afe6d7732 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Search all IAM policies request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesRequest} */ -public final class SearchAllIamPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllIamPoliciesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllIamPoliciesRequest) SearchAllIamPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesRequest.newBuilder() to construct. private SearchAllIamPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllIamPoliciesRequest() { scope_ = ""; query_ = ""; @@ -47,15 +29,16 @@ private SearchAllIamPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllIamPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllIamPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,56 +58,51 @@ private SearchAllIamPoliciesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + scope_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; + pageToken_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + assetTypes_.add(s); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,7 +110,8 @@ private SearchAllIamPoliciesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -141,27 +120,22 @@ private SearchAllIamPoliciesRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -176,7 +150,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -185,15 +158,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -208,15 +180,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -227,8 +200,6 @@ public com.google.protobuf.ByteString getScopeBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -273,7 +244,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -282,15 +252,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -335,15 +304,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -354,8 +324,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -365,7 +333,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -376,8 +343,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -386,7 +351,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -395,15 +359,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; } } /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -412,15 +375,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -431,8 +395,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ASSET_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList assetTypes_; /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -451,15 +413,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -478,15 +438,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -505,7 +462,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -513,8 +469,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -533,19 +487,17 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int ORDER_BY_FIELD_NUMBER = 7; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -560,7 +512,6 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -569,15 +520,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -592,15 +542,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -609,7 +560,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -621,7 +571,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -656,7 +607,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -680,20 +632,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.asset.v1.SearchAllIamPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest other = - (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) obj; - - if (!getScope().equals(other.getScope())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest other = (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) obj; + + if (!getScope() + .equals(other.getScope())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -725,127 +682,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.nio.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.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( - byte[] data, com.google.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.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all IAM policies request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllIamPoliciesRequest) com.google.cloud.asset.v1.SearchAllIamPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.newBuilder() @@ -853,15 +800,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -881,9 +829,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override @@ -902,8 +850,7 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest buildPartial() { - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result = - new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(this); + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result = new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(this); int from_bitField0_ = bitField0_; result.scope_ = scope_; result.query_ = query_; @@ -923,39 +870,38 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesRequest)other); } else { super.mergeFrom(other); return this; @@ -963,8 +909,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest other) { - if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -1013,8 +958,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1023,13 +967,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object scope_ = ""; /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1044,13 +985,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1059,8 +1000,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1075,14 +1014,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -1090,8 +1030,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1106,22 +1044,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1136,18 +1072,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1162,16 +1095,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -1179,8 +1112,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1225,13 +1156,13 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1240,8 +1171,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1286,14 +1215,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1301,8 +1231,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1347,22 +1275,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1407,18 +1333,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1463,25 +1386,23 @@ public Builder clearQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1491,7 +1412,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1499,8 +1419,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1510,19 +1428,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1532,11 +1447,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1544,8 +1458,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1554,13 +1466,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1569,8 +1481,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1579,14 +1489,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1594,8 +1505,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1604,22 +1513,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1628,18 +1535,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1648,33 +1552,29 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 com.google.protobuf.LazyStringList assetTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1693,15 +1593,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1720,15 +1618,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1747,7 +1642,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1755,8 +1649,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1775,16 +1667,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1803,23 +1693,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1838,22 +1726,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1872,19 +1758,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1903,7 +1788,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1913,8 +1797,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1933,15 +1815,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1950,8 +1832,6 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1966,13 +1846,13 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1981,8 +1861,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1997,14 +1875,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2012,8 +1891,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2028,22 +1905,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2058,18 +1933,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2084,23 +1956,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2110,12 +1982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllIamPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllIamPoliciesRequest) private static final com.google.cloud.asset.v1.SearchAllIamPoliciesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(); } @@ -2124,16 +1996,16 @@ public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2148,4 +2020,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java index 09719ef39..415445896 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllIamPoliciesRequestOrBuilder - extends +public interface SearchAllIamPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllIamPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -40,13 +22,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -61,14 +40,12 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -113,13 +90,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -164,14 +138,12 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -181,14 +153,11 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -197,13 +166,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -212,14 +178,12 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -238,13 +202,11 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -263,13 +225,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -288,14 +247,11 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -314,15 +270,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -337,13 +291,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -358,8 +309,8 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java similarity index 75% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java index c8ed054de..fa526bc5f 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Search all IAM policies response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesResponse} */ -public final class SearchAllIamPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllIamPoliciesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllIamPoliciesResponse) SearchAllIamPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesResponse.newBuilder() to construct. private SearchAllIamPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllIamPoliciesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private SearchAllIamPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllIamPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllIamPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private SearchAllIamPoliciesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - results_.add( - input.readMessage( - com.google.cloud.asset.v1.IamPolicySearchResult.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + results_.add( + input.readMessage(com.google.cloud.asset.v1.IamPolicySearchResult.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private SearchAllIamPoliciesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -114,27 +94,22 @@ private SearchAllIamPoliciesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** - * - * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -147,8 +122,6 @@ public java.util.List getResult
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -157,13 +130,11 @@ public java.util.List getResult
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResultsOrBuilderList() {
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -176,8 +147,6 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -190,8 +159,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
     return results_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -200,15 +167,14 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index) {
+  public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
+      int index) {
     return results_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -216,7 +182,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -225,15 +190,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -241,15 +205,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +223,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -287,7 +252,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +266,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.asset.v1.SearchAllIamPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse other = - (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) obj; + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse other = (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) obj; - if (!getResultsList().equals(other.getResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,127 +300,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.nio.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.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( - byte[] data, com.google.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.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all IAM policies response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllIamPoliciesResponse) com.google.cloud.asset.v1.SearchAllIamPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.newBuilder() @@ -461,17 +418,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) { getResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override @@ -508,8 +465,7 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse buildPartial() { - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result = - new com.google.cloud.asset.v1.SearchAllIamPoliciesResponse(this); + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result = new com.google.cloud.asset.v1.SearchAllIamPoliciesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -529,39 +485,38 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesResponse)other); } else { super.mergeFrom(other); return this; @@ -569,8 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse other) { - if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.getDefaultInstance()) return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -589,10 +543,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResultsFieldBuilder() - : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResultsFieldBuilder() : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -621,8 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -631,29 +583,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList(results_); + results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicySearchResult, - com.google.cloud.asset.v1.IamPolicySearchResult.Builder, - com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder> - resultsBuilder_; + com.google.cloud.asset.v1.IamPolicySearchResult, com.google.cloud.asset.v1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder> resultsBuilder_; /** - * - * *
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -669,8 +613,6 @@ public java.util.List getResult
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -686,8 +628,6 @@ public int getResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -703,8 +643,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -712,7 +650,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public Builder setResults(int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
+    public Builder setResults(
+        int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -726,8 +665,6 @@ public Builder setResults(int index, com.google.cloud.asset.v1.IamPolicySearchRe
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -747,8 +684,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -770,8 +705,6 @@ public Builder addResults(com.google.cloud.asset.v1.IamPolicySearchResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -779,7 +712,8 @@ public Builder addResults(com.google.cloud.asset.v1.IamPolicySearchResult value)
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public Builder addResults(int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
+    public Builder addResults(
+        int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -793,8 +727,6 @@ public Builder addResults(int index, com.google.cloud.asset.v1.IamPolicySearchRe
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -814,8 +746,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -835,8 +765,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -848,7 +776,8 @@ public Builder addAllResults(
         java.lang.Iterable values) {
       if (resultsBuilder_ == null) {
         ensureResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, results_);
         onChanged();
       } else {
         resultsBuilder_.addAllMessages(values);
@@ -856,8 +785,6 @@ public Builder addAllResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -876,8 +803,6 @@ public Builder clearResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -896,8 +821,6 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -905,12 +828,11 @@ public Builder removeResults(int index) {
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder getResultsBuilder(int index) {
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder getResultsBuilder(
+        int index) {
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -918,16 +840,14 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder getResultsBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index) {
+    public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
+        int index) {
       if (resultsBuilder_ == null) {
-        return results_.get(index);
-      } else {
+        return results_.get(index);  } else {
         return resultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -935,8 +855,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public java.util.List
-        getResultsOrBuilderList() {
+    public java.util.List 
+         getResultsOrBuilderList() {
       if (resultsBuilder_ != null) {
         return resultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -944,8 +864,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -954,12 +872,10 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
     public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder() {
-      return getResultsFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
+      return getResultsFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -967,13 +883,12 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder(int index) {
-      return getResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder(
+        int index) {
+      return getResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -981,23 +896,20 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public java.util.List
-        getResultsBuilderList() {
+    public java.util.List 
+         getResultsBuilderList() {
       return getResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicySearchResult,
-            com.google.cloud.asset.v1.IamPolicySearchResult.Builder,
-            com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>
+        com.google.cloud.asset.v1.IamPolicySearchResult, com.google.cloud.asset.v1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder> 
         getResultsFieldBuilder() {
       if (resultsBuilder_ == null) {
-        resultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.IamPolicySearchResult,
-                com.google.cloud.asset.v1.IamPolicySearchResult.Builder,
-                com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>(
-                results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.IamPolicySearchResult, com.google.cloud.asset.v1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>(
+                results_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         results_ = null;
       }
       return resultsBuilder_;
@@ -1005,8 +917,6 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1014,13 +924,13 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1029,8 +939,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1038,14 +946,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1053,8 +962,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1062,22 +969,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1085,18 +990,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1104,23 +1006,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1130,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllIamPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllIamPoliciesResponse) private static final com.google.cloud.asset.v1.SearchAllIamPoliciesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllIamPoliciesResponse(); } @@ -1144,16 +1046,16 @@ public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1168,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java index 56d9e7a7a..e1866ae58 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllIamPoliciesResponseOrBuilder - extends +public interface SearchAllIamPoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllIamPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -33,10 +15,9 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
-  java.util.List getResultsList();
+  java.util.List 
+      getResultsList();
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -46,8 +27,6 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    */
   com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index);
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -57,8 +36,6 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    */
   int getResultsCount();
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -66,11 +43,9 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
-  java.util.List
+  java.util.List 
       getResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -78,11 +53,10 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
-  com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index);
+  com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -90,13 +64,10 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -104,8 +75,8 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java similarity index 85% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java index 2fca9fd40..273b4288f 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Search all resources request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesRequest} */ -public final class SearchAllResourcesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllResourcesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllResourcesRequest) SearchAllResourcesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllResourcesRequest.newBuilder() to construct. private SearchAllResourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllResourcesRequest() { scope_ = ""; query_ = ""; @@ -47,15 +29,16 @@ private SearchAllResourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllResourcesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllResourcesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,71 +58,64 @@ private SearchAllResourcesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + scope_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; - } - case 32: - { - pageSize_ = input.readInt32(); - break; + query_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + assetTypes_.add(s); + break; + } + case 32: { - pageToken_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; + orderBy_ = s; + break; + } + case 66: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); } - case 66: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); - } - readMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); - } - - break; + readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = 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) { @@ -147,7 +123,8 @@ private SearchAllResourcesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -156,27 +133,22 @@ private SearchAllResourcesRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesRequest.class, - com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -191,7 +163,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -200,15 +171,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -223,15 +193,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -242,8 +213,6 @@ public com.google.protobuf.ByteString getScopeBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -286,7 +255,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -295,15 +263,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -346,15 +313,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -365,8 +333,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -382,15 +348,13 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -406,15 +370,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -430,7 +391,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -438,8 +398,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -455,19 +413,17 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -477,7 +433,6 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -488,8 +443,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -498,7 +451,6 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -507,15 +459,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; } } /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -524,15 +475,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -543,8 +495,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -569,7 +519,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -578,15 +527,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -611,15 +559,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -630,8 +579,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int READ_MASK_FIELD_NUMBER = 8; private com.google.protobuf.FieldMask readMask_; /** - * - * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -663,9 +610,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ @java.lang.Override @@ -673,8 +618,6 @@ public boolean hasReadMask() { return readMask_ != null; } /** - * - * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -706,9 +649,7 @@ public boolean hasReadMask() {
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ @java.lang.Override @@ -716,8 +657,6 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** - * - * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -749,8 +688,7 @@ public com.google.protobuf.FieldMask getReadMask() {
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -758,7 +696,6 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -770,7 +707,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -816,7 +754,8 @@ public int getSerializedSize() { size += 1 * getAssetTypesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -825,7 +764,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -835,23 +775,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.SearchAllResourcesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllResourcesRequest other = - (com.google.cloud.asset.v1.SearchAllResourcesRequest) obj; - - if (!getScope().equals(other.getScope())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.asset.v1.SearchAllResourcesRequest other = (com.google.cloud.asset.v1.SearchAllResourcesRequest) obj; + + if (!getScope() + .equals(other.getScope())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask().equals(other.getReadMask())) return false; + if (!getReadMask() + .equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -888,126 +834,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( - java.nio.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.asset.v1.SearchAllResourcesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( - byte[] data, com.google.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.asset.v1.SearchAllResourcesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.SearchAllResourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllResourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all resources request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllResourcesRequest) com.google.cloud.asset.v1.SearchAllResourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesRequest.class, - com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllResourcesRequest.newBuilder() @@ -1015,15 +952,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1049,9 +987,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; } @java.lang.Override @@ -1070,8 +1008,7 @@ public com.google.cloud.asset.v1.SearchAllResourcesRequest build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllResourcesRequest buildPartial() { - com.google.cloud.asset.v1.SearchAllResourcesRequest result = - new com.google.cloud.asset.v1.SearchAllResourcesRequest(this); + com.google.cloud.asset.v1.SearchAllResourcesRequest result = new com.google.cloud.asset.v1.SearchAllResourcesRequest(this); int from_bitField0_ = bitField0_; result.scope_ = scope_; result.query_ = query_; @@ -1096,39 +1033,38 @@ public com.google.cloud.asset.v1.SearchAllResourcesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllResourcesRequest) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesRequest) other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesRequest)other); } else { super.mergeFrom(other); return this; @@ -1136,8 +1072,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllResourcesRequest other) { - if (other == com.google.cloud.asset.v1.SearchAllResourcesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.SearchAllResourcesRequest.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -1189,8 +1124,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.SearchAllResourcesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.SearchAllResourcesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1199,13 +1133,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object scope_ = ""; /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1220,13 +1151,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1235,8 +1166,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1251,14 +1180,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -1266,8 +1196,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1282,22 +1210,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1312,18 +1238,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1338,16 +1261,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -1355,8 +1278,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1399,13 +1320,13 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1414,8 +1335,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1458,14 +1377,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1473,8 +1393,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1517,22 +1435,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1575,18 +1491,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1629,33 +1542,29 @@ public Builder clearQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1671,15 +1580,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1695,15 +1602,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1719,7 +1623,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1727,8 +1630,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1744,16 +1645,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1769,23 +1668,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1801,22 +1698,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1832,19 +1727,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1860,7 +1754,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1870,8 +1763,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1887,25 +1778,23 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1915,7 +1804,6 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1923,8 +1811,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1934,19 +1820,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1956,11 +1839,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1968,8 +1850,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -1978,13 +1858,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1993,8 +1873,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -2003,14 +1881,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2018,8 +1897,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -2028,22 +1905,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -2052,18 +1927,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -2072,16 +1944,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -2089,8 +1961,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2115,13 +1985,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -2130,8 +2000,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2156,14 +2024,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2171,8 +2040,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2197,22 +2064,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2237,18 +2102,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2273,16 +2135,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -2290,13 +2152,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - readMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2328,17 +2185,13 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2370,9 +2223,7 @@ public boolean hasReadMask() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -2383,8 +2234,6 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2416,8 +2265,7 @@ public com.google.protobuf.FieldMask getReadMask() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -2433,8 +2281,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2466,10 +2312,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -2480,8 +2326,6 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2513,14 +2357,13 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -2532,8 +2375,6 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2565,8 +2406,7 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -2580,8 +2420,6 @@ public Builder clearReadMask() { return this; } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2613,17 +2451,14 @@ public Builder clearReadMask() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2655,19 +2490,17 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** - * - * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2699,28 +2532,24 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), getParentForChildren(), isClean()); + readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), + getParentForChildren(), + isClean()); readMask_ = null; } return readMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2730,12 +2559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllResourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllResourcesRequest) private static final com.google.cloud.asset.v1.SearchAllResourcesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllResourcesRequest(); } @@ -2744,16 +2573,16 @@ public static com.google.cloud.asset.v1.SearchAllResourcesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2768,4 +2597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java similarity index 92% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java index 8bfa2292b..19bcaa188 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllResourcesRequestOrBuilder - extends +public interface SearchAllResourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllResourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -40,13 +22,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -61,14 +40,12 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -111,13 +88,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -160,14 +134,12 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -183,13 +155,11 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -205,13 +175,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -227,14 +194,11 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -250,15 +214,13 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -268,14 +230,11 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -284,13 +243,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -299,14 +255,12 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -331,13 +285,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -362,14 +313,12 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -401,15 +350,11 @@ public interface SearchAllResourcesRequestOrBuilder
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readMask field is set. */ boolean hasReadMask(); /** - * - * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -441,15 +386,11 @@ public interface SearchAllResourcesRequestOrBuilder
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** - * - * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -481,8 +422,7 @@ public interface SearchAllResourcesRequestOrBuilder
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java similarity index 75% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java index a5e70696e..652140b9c 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Search all resources response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesResponse} */ -public final class SearchAllResourcesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllResourcesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllResourcesResponse) SearchAllResourcesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllResourcesResponse.newBuilder() to construct. private SearchAllResourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllResourcesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private SearchAllResourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllResourcesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllResourcesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private SearchAllResourcesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - results_.add( - input.readMessage( - com.google.cloud.asset.v1.ResourceSearchResult.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + results_.add( + input.readMessage(com.google.cloud.asset.v1.ResourceSearchResult.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private SearchAllResourcesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -114,27 +94,22 @@ private SearchAllResourcesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesResponse.class, - com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** - * - * *
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -147,8 +122,6 @@ public java.util.List getResults
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -157,13 +130,11 @@ public java.util.List getResults
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResultsOrBuilderList() {
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -176,8 +147,6 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -190,8 +159,6 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
     return results_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -200,15 +167,14 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(int index) {
+  public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
+      int index) {
     return results_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -216,7 +182,6 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -225,15 +190,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -241,15 +205,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +223,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -287,7 +252,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +266,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.asset.v1.SearchAllResourcesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllResourcesResponse other = - (com.google.cloud.asset.v1.SearchAllResourcesResponse) obj; + com.google.cloud.asset.v1.SearchAllResourcesResponse other = (com.google.cloud.asset.v1.SearchAllResourcesResponse) obj; - if (!getResultsList().equals(other.getResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +300,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( - java.nio.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.asset.v1.SearchAllResourcesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( - byte[] data, com.google.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.asset.v1.SearchAllResourcesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.SearchAllResourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllResourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all resources response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllResourcesResponse) com.google.cloud.asset.v1.SearchAllResourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesResponse.class, - com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllResourcesResponse.newBuilder() @@ -460,17 +418,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) { getResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; } @java.lang.Override @@ -507,8 +465,7 @@ public com.google.cloud.asset.v1.SearchAllResourcesResponse build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllResourcesResponse buildPartial() { - com.google.cloud.asset.v1.SearchAllResourcesResponse result = - new com.google.cloud.asset.v1.SearchAllResourcesResponse(this); + com.google.cloud.asset.v1.SearchAllResourcesResponse result = new com.google.cloud.asset.v1.SearchAllResourcesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +485,38 @@ public com.google.cloud.asset.v1.SearchAllResourcesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllResourcesResponse) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesResponse) other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllResourcesResponse other) { - if (other == com.google.cloud.asset.v1.SearchAllResourcesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.SearchAllResourcesResponse.getDefaultInstance()) return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -588,10 +543,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllResourcesResponse ot resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResultsFieldBuilder() - : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResultsFieldBuilder() : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -620,8 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.SearchAllResourcesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.SearchAllResourcesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,29 +583,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList(results_); + results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.ResourceSearchResult, - com.google.cloud.asset.v1.ResourceSearchResult.Builder, - com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> - resultsBuilder_; + com.google.cloud.asset.v1.ResourceSearchResult, com.google.cloud.asset.v1.ResourceSearchResult.Builder, com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> resultsBuilder_; /** - * - * *
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -668,8 +613,6 @@ public java.util.List getResults
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -685,8 +628,6 @@ public int getResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -702,8 +643,6 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -711,7 +650,8 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public Builder setResults(int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
+    public Builder setResults(
+        int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -725,8 +665,6 @@ public Builder setResults(int index, com.google.cloud.asset.v1.ResourceSearchRes
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -746,8 +684,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -769,8 +705,6 @@ public Builder addResults(com.google.cloud.asset.v1.ResourceSearchResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -778,7 +712,8 @@ public Builder addResults(com.google.cloud.asset.v1.ResourceSearchResult value)
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public Builder addResults(int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
+    public Builder addResults(
+        int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -792,8 +727,6 @@ public Builder addResults(int index, com.google.cloud.asset.v1.ResourceSearchRes
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -813,8 +746,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -834,8 +765,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -847,7 +776,8 @@ public Builder addAllResults(
         java.lang.Iterable values) {
       if (resultsBuilder_ == null) {
         ensureResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, results_);
         onChanged();
       } else {
         resultsBuilder_.addAllMessages(values);
@@ -855,8 +785,6 @@ public Builder addAllResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -875,8 +803,6 @@ public Builder clearResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -895,8 +821,6 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -904,12 +828,11 @@ public Builder removeResults(int index) {
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.ResourceSearchResult.Builder getResultsBuilder(int index) {
+    public com.google.cloud.asset.v1.ResourceSearchResult.Builder getResultsBuilder(
+        int index) {
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -917,16 +840,14 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder getResultsBuilder(
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(int index) {
+    public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
+        int index) {
       if (resultsBuilder_ == null) {
-        return results_.get(index);
-      } else {
+        return results_.get(index);  } else {
         return resultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -934,8 +855,8 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public java.util.List
-        getResultsOrBuilderList() {
+    public java.util.List 
+         getResultsOrBuilderList() {
       if (resultsBuilder_ != null) {
         return resultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -943,8 +864,6 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -953,12 +872,10 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
     public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder() {
-      return getResultsFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
+      return getResultsFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -966,13 +883,12 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(int index) {
-      return getResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
+    public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
+        int index) {
+      return getResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -980,23 +896,20 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public java.util.List
-        getResultsBuilderList() {
+    public java.util.List 
+         getResultsBuilderList() {
       return getResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.ResourceSearchResult,
-            com.google.cloud.asset.v1.ResourceSearchResult.Builder,
-            com.google.cloud.asset.v1.ResourceSearchResultOrBuilder>
+        com.google.cloud.asset.v1.ResourceSearchResult, com.google.cloud.asset.v1.ResourceSearchResult.Builder, com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> 
         getResultsFieldBuilder() {
       if (resultsBuilder_ == null) {
-        resultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1.ResourceSearchResult,
-                com.google.cloud.asset.v1.ResourceSearchResult.Builder,
-                com.google.cloud.asset.v1.ResourceSearchResultOrBuilder>(
-                results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1.ResourceSearchResult, com.google.cloud.asset.v1.ResourceSearchResult.Builder, com.google.cloud.asset.v1.ResourceSearchResultOrBuilder>(
+                results_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         results_ = null;
       }
       return resultsBuilder_;
@@ -1004,8 +917,6 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1013,13 +924,13 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1028,8 +939,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1037,14 +946,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1052,8 +962,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1061,22 +969,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1084,18 +990,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1103,23 +1006,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1129,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllResourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllResourcesResponse) private static final com.google.cloud.asset.v1.SearchAllResourcesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllResourcesResponse(); } @@ -1143,16 +1046,16 @@ public static com.google.cloud.asset.v1.SearchAllResourcesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1167,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java similarity index 74% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java index 2a0215998..d0999fac7 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllResourcesResponseOrBuilder - extends +public interface SearchAllResourcesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllResourcesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -33,10 +15,9 @@ public interface SearchAllResourcesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
-  java.util.List getResultsList();
+  java.util.List 
+      getResultsList();
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -46,8 +27,6 @@ public interface SearchAllResourcesResponseOrBuilder
    */
   com.google.cloud.asset.v1.ResourceSearchResult getResults(int index);
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -57,8 +36,6 @@ public interface SearchAllResourcesResponseOrBuilder
    */
   int getResultsCount();
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -66,11 +43,9 @@ public interface SearchAllResourcesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
-  java.util.List
+  java.util.List 
       getResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -78,11 +53,10 @@ public interface SearchAllResourcesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
-  com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(int index);
+  com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -90,13 +64,10 @@ public interface SearchAllResourcesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -104,8 +75,8 @@ public interface SearchAllResourcesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java similarity index 72% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java index 7b1a93540..0931ef815 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * An asset in Google Cloud and its temporal metadata, including the time window
  * when it was observed and its status during that window.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.TemporalAsset}
  */
-public final class TemporalAsset extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TemporalAsset extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TemporalAsset)
     TemporalAssetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TemporalAsset.newBuilder() to construct.
   private TemporalAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TemporalAsset() {
     priorAssetState_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TemporalAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TemporalAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,71 +54,63 @@ private TemporalAsset(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null;
-              if (window_ != null) {
-                subBuilder = window_.toBuilder();
-              }
-              window_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(window_);
-                window_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null;
+            if (window_ != null) {
+              subBuilder = window_.toBuilder();
             }
-          case 16:
-            {
-              deleted_ = input.readBool();
-              break;
+            window_ = input.readMessage(com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(window_);
+              window_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
-              if (asset_ != null) {
-                subBuilder = asset_.toBuilder();
-              }
-              asset_ =
-                  input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(asset_);
-                asset_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 16: {
+
+            deleted_ = input.readBool();
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
+            if (asset_ != null) {
+              subBuilder = asset_.toBuilder();
+            }
+            asset_ = input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(asset_);
+              asset_ = subBuilder.buildPartial();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
 
-              priorAssetState_ = rawValue;
-              break;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            priorAssetState_ = rawValue;
+            break;
+          }
+          case 42: {
+            com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
+            if (priorAsset_ != null) {
+              subBuilder = priorAsset_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
-              if (priorAsset_ != null) {
-                subBuilder = priorAsset_.toBuilder();
-              }
-              priorAsset_ =
-                  input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(priorAsset_);
-                priorAsset_ = subBuilder.buildPartial();
-              }
-
-              break;
+            priorAsset_ = input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(priorAsset_);
+              priorAsset_ = 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) {
@@ -143,41 +118,36 @@ private TemporalAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.TemporalAsset.class,
-            com.google.cloud.asset.v1.TemporalAsset.Builder.class);
+            com.google.cloud.asset.v1.TemporalAsset.class, com.google.cloud.asset.v1.TemporalAsset.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of prior asset.
    * 
* * Protobuf enum {@code google.cloud.asset.v1.TemporalAsset.PriorAssetState} */ - public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { + public enum PriorAssetState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -186,8 +156,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ PRIOR_ASSET_STATE_UNSPECIFIED(0), /** - * - * *
      * prior_asset is populated correctly.
      * 
@@ -196,8 +164,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ PRESENT(1), /** - * - * *
      * Failed to set prior_asset.
      * 
@@ -206,8 +172,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ INVALID(2), /** - * - * *
      * Current asset is the first known state.
      * 
@@ -216,8 +180,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ DOES_NOT_EXIST(3), /** - * - * *
      * prior_asset is a deletion.
      * 
@@ -229,8 +191,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -239,8 +199,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * prior_asset is populated correctly.
      * 
@@ -249,8 +207,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRESENT_VALUE = 1; /** - * - * *
      * Failed to set prior_asset.
      * 
@@ -259,8 +215,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INVALID_VALUE = 2; /** - * - * *
      * Current asset is the first known state.
      * 
@@ -269,8 +223,6 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOES_NOT_EXIST_VALUE = 3; /** - * - * *
      * prior_asset is a deletion.
      * 
@@ -279,6 +231,7 @@ public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -303,46 +256,41 @@ public static PriorAssetState valueOf(int value) { */ public static PriorAssetState forNumber(int value) { switch (value) { - case 0: - return PRIOR_ASSET_STATE_UNSPECIFIED; - case 1: - return PRESENT; - case 2: - return INVALID; - case 3: - return DOES_NOT_EXIST; - case 4: - return DELETED; - default: - return null; + case 0: return PRIOR_ASSET_STATE_UNSPECIFIED; + case 1: return PRESENT; + case 2: return INVALID; + case 3: return DOES_NOT_EXIST; + case 4: return DELETED; + 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< + PriorAssetState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PriorAssetState findValueByNumber(int number) { + return PriorAssetState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PriorAssetState findValueByNumber(int number) { - return PriorAssetState.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.asset.v1.TemporalAsset.getDescriptor().getEnumTypes().get(0); } @@ -351,7 +299,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PriorAssetState 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; @@ -371,14 +320,11 @@ private PriorAssetState(int value) { public static final int WINDOW_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.TimeWindow window_; /** - * - * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; - * * @return Whether the window field is set. */ @java.lang.Override @@ -386,14 +332,11 @@ public boolean hasWindow() { return window_ != null; } /** - * - * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; - * * @return The window. */ @java.lang.Override @@ -401,8 +344,6 @@ public com.google.cloud.asset.v1.TimeWindow getWindow() { return window_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : window_; } /** - * - * *
    * The time window when the asset data and state was observed.
    * 
@@ -417,14 +358,11 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_; /** - * - * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; - * * @return The deleted. */ @java.lang.Override @@ -435,14 +373,11 @@ public boolean getDeleted() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.Asset asset_; /** - * - * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return Whether the asset field is set. */ @java.lang.Override @@ -450,14 +385,11 @@ public boolean hasAsset() { return asset_ != null; } /** - * - * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return The asset. */ @java.lang.Override @@ -465,8 +397,6 @@ public com.google.cloud.asset.v1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : asset_; } /** - * - * *
    * An asset in Google Cloud.
    * 
@@ -481,53 +411,39 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { public static final int PRIOR_ASSET_STATE_FIELD_NUMBER = 4; private int priorAssetState_; /** - * - * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return The enum numeric value on the wire for priorAssetState. */ - @java.lang.Override - public int getPriorAssetStateValue() { + @java.lang.Override public int getPriorAssetStateValue() { return priorAssetState_; } /** - * - * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return The priorAssetState. */ - @java.lang.Override - public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { + @java.lang.Override public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); - return result == null - ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); + return result == null ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED : result; } public static final int PRIOR_ASSET_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.Asset priorAsset_; /** - * - * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; - * * @return Whether the priorAsset field is set. */ @java.lang.Override @@ -535,15 +451,12 @@ public boolean hasPriorAsset() { return priorAsset_ != null; } /** - * - * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; - * * @return The priorAsset. */ @java.lang.Override @@ -551,8 +464,6 @@ public com.google.cloud.asset.v1.Asset getPriorAsset() { return priorAsset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_; } /** - * - * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
@@ -566,7 +477,6 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -578,7 +488,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (window_ != null) {
       output.writeMessage(1, getWindow());
     }
@@ -588,9 +499,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (asset_ != null) {
       output.writeMessage(3, getAsset());
     }
-    if (priorAssetState_
-        != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED
-            .getNumber()) {
+    if (priorAssetState_ != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(4, priorAssetState_);
     }
     if (priorAsset_ != null) {
@@ -606,21 +515,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (window_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getWindow());
     }
     if (deleted_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleted_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(2, deleted_);
     }
     if (asset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getAsset());
     }
-    if (priorAssetState_
-        != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, priorAssetState_);
+    if (priorAssetState_ != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(4, priorAssetState_);
     }
     if (priorAsset_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPriorAsset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getPriorAsset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -630,7 +542,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.TemporalAsset)) {
       return super.equals(obj);
@@ -639,17 +551,21 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasWindow() != other.hasWindow()) return false;
     if (hasWindow()) {
-      if (!getWindow().equals(other.getWindow())) return false;
+      if (!getWindow()
+          .equals(other.getWindow())) return false;
     }
-    if (getDeleted() != other.getDeleted()) return false;
+    if (getDeleted()
+        != other.getDeleted()) return false;
     if (hasAsset() != other.hasAsset()) return false;
     if (hasAsset()) {
-      if (!getAsset().equals(other.getAsset())) return false;
+      if (!getAsset()
+          .equals(other.getAsset())) return false;
     }
     if (priorAssetState_ != other.priorAssetState_) return false;
     if (hasPriorAsset() != other.hasPriorAsset()) return false;
     if (hasPriorAsset()) {
-      if (!getPriorAsset().equals(other.getPriorAsset())) return false;
+      if (!getPriorAsset()
+          .equals(other.getPriorAsset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -667,7 +583,8 @@ public int hashCode() {
       hash = (53 * hash) + getWindow().hashCode();
     }
     hash = (37 * hash) + DELETED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getDeleted());
     if (hasAsset()) {
       hash = (37 * hash) + ASSET_FIELD_NUMBER;
       hash = (53 * hash) + getAsset().hashCode();
@@ -683,104 +600,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.TemporalAsset parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.TemporalAsset parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
-      byte[] data, com.google.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.asset.v1.TemporalAsset 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.asset.v1.TemporalAsset parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TemporalAsset parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.TemporalAsset parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.TemporalAsset parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TemporalAsset parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.TemporalAsset parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.TemporalAsset prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * An asset in Google Cloud and its temporal metadata, including the time window
    * when it was observed and its status during that window.
@@ -788,23 +698,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.TemporalAsset}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.TemporalAsset)
       com.google.cloud.asset.v1.TemporalAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.TemporalAsset.class,
-              com.google.cloud.asset.v1.TemporalAsset.Builder.class);
+              com.google.cloud.asset.v1.TemporalAsset.class, com.google.cloud.asset.v1.TemporalAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.TemporalAsset.newBuilder()
@@ -812,15 +720,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -850,9 +759,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
@@ -871,8 +780,7 @@ public com.google.cloud.asset.v1.TemporalAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
-      com.google.cloud.asset.v1.TemporalAsset result =
-          new com.google.cloud.asset.v1.TemporalAsset(this);
+      com.google.cloud.asset.v1.TemporalAsset result = new com.google.cloud.asset.v1.TemporalAsset(this);
       if (windowBuilder_ == null) {
         result.window_ = window_;
       } else {
@@ -898,39 +806,38 @@ public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.TemporalAsset) {
-        return mergeFrom((com.google.cloud.asset.v1.TemporalAsset) other);
+        return mergeFrom((com.google.cloud.asset.v1.TemporalAsset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -985,47 +892,34 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1.TimeWindow window_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.TimeWindow,
-            com.google.cloud.asset.v1.TimeWindow.Builder,
-            com.google.cloud.asset.v1.TimeWindowOrBuilder>
-        windowBuilder_;
+        com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> windowBuilder_;
     /**
-     *
-     *
      * 
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1.TimeWindow window = 1; - * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1.TimeWindow window = 1; - * * @return The window. */ public com.google.cloud.asset.v1.TimeWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null - ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : window_; } else { return windowBuilder_.getMessage(); } } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1046,15 +940,14 @@ public Builder setWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1.TimeWindow window = 1; */ - public Builder setWindow(com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { + public Builder setWindow( + com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -1065,8 +958,6 @@ public Builder setWindow(com.google.cloud.asset.v1.TimeWindow.Builder builderFor return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1077,9 +968,7 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.cloud.asset.v1.TimeWindow.newBuilder(window_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); } else { window_ = value; } @@ -1091,8 +980,6 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1111,8 +998,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1120,13 +1005,11 @@ public Builder clearWindow() { * .google.cloud.asset.v1.TimeWindow window = 1; */ public com.google.cloud.asset.v1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1137,14 +1020,11 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null - ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? + com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : window_; } } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -1152,32 +1032,26 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { * .google.cloud.asset.v1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, - com.google.cloud.asset.v1.TimeWindow.Builder, - com.google.cloud.asset.v1.TimeWindowOrBuilder> + com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, - com.google.cloud.asset.v1.TimeWindow.Builder, - com.google.cloud.asset.v1.TimeWindowOrBuilder>( - getWindow(), getParentForChildren(), isClean()); + windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder>( + getWindow(), + getParentForChildren(), + isClean()); window_ = null; } return windowBuilder_; } - private boolean deleted_; + private boolean deleted_ ; /** - * - * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; - * * @return The deleted. */ @java.lang.Override @@ -1185,36 +1059,30 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** - * - * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; - * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; @@ -1222,33 +1090,24 @@ public Builder clearDeleted() { private com.google.cloud.asset.v1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder> - assetBuilder_; + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> assetBuilder_; /** - * - * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return Whether the asset field is set. */ public boolean hasAsset() { return assetBuilder_ != null || asset_ != null; } /** - * - * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return The asset. */ public com.google.cloud.asset.v1.Asset getAsset() { @@ -1259,8 +1118,6 @@ public com.google.cloud.asset.v1.Asset getAsset() { } } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1281,15 +1138,14 @@ public Builder setAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; */ - public Builder setAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder setAsset( + com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); onChanged(); @@ -1300,8 +1156,6 @@ public Builder setAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1312,7 +1166,7 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { if (assetBuilder_ == null) { if (asset_ != null) { asset_ = - com.google.cloud.asset.v1.Asset.newBuilder(asset_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.Asset.newBuilder(asset_).mergeFrom(value).buildPartial(); } else { asset_ = value; } @@ -1324,8 +1178,6 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1344,8 +1196,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1353,13 +1203,11 @@ public Builder clearAsset() { * .google.cloud.asset.v1.Asset asset = 3; */ public com.google.cloud.asset.v1.Asset.Builder getAssetBuilder() { - + onChanged(); return getAssetFieldBuilder().getBuilder(); } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1370,12 +1218,11 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : asset_; + return asset_ == null ? + com.google.cloud.asset.v1.Asset.getDefaultInstance() : asset_; } } /** - * - * *
      * An asset in Google Cloud.
      * 
@@ -1383,17 +1230,14 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { * .google.cloud.asset.v1.Asset asset = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder> + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder>( - getAsset(), getParentForChildren(), isClean()); + assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder>( + getAsset(), + getParentForChildren(), + isClean()); asset_ = null; } return assetBuilder_; @@ -1401,93 +1245,73 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { private int priorAssetState_ = 0; /** - * - * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return The enum numeric value on the wire for priorAssetState. */ - @java.lang.Override - public int getPriorAssetStateValue() { + @java.lang.Override public int getPriorAssetStateValue() { return priorAssetState_; } /** - * - * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @param value The enum numeric value on the wire for priorAssetState to set. * @return This builder for chaining. */ public Builder setPriorAssetStateValue(int value) { - + priorAssetState_ = value; onChanged(); return this; } /** - * - * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return The priorAssetState. */ @java.lang.Override public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); - return result == null - ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED - : result; + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); + return result == null ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED : result; } /** - * - * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @param value The priorAssetState to set. * @return This builder for chaining. */ - public Builder setPriorAssetState( - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState value) { + public Builder setPriorAssetState(com.google.cloud.asset.v1.TemporalAsset.PriorAssetState value) { if (value == null) { throw new NullPointerException(); } - + priorAssetState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return This builder for chaining. */ public Builder clearPriorAssetState() { - + priorAssetState_ = 0; onChanged(); return this; @@ -1495,49 +1319,36 @@ public Builder clearPriorAssetState() { private com.google.cloud.asset.v1.Asset priorAsset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, - com.google.cloud.asset.v1.Asset.Builder, - com.google.cloud.asset.v1.AssetOrBuilder> - priorAssetBuilder_; + com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> priorAssetBuilder_; /** - * - * *
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
      * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; - * * @return Whether the priorAsset field is set. */ public boolean hasPriorAsset() { return priorAssetBuilder_ != null || priorAsset_ != null; } /** - * - * *
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
      * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; - * * @return The priorAsset. */ public com.google.cloud.asset.v1.Asset getPriorAsset() { if (priorAssetBuilder_ == null) { - return priorAsset_ == null - ? com.google.cloud.asset.v1.Asset.getDefaultInstance() - : priorAsset_; + return priorAsset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_; } else { return priorAssetBuilder_.getMessage(); } } /** - * - * *
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1559,8 +1370,6 @@ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1568,7 +1377,8 @@ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset value) {
      *
      * .google.cloud.asset.v1.Asset prior_asset = 5;
      */
-    public Builder setPriorAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) {
+    public Builder setPriorAsset(
+        com.google.cloud.asset.v1.Asset.Builder builderForValue) {
       if (priorAssetBuilder_ == null) {
         priorAsset_ = builderForValue.build();
         onChanged();
@@ -1579,8 +1389,6 @@ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1592,9 +1400,7 @@ public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
       if (priorAssetBuilder_ == null) {
         if (priorAsset_ != null) {
           priorAsset_ =
-              com.google.cloud.asset.v1.Asset.newBuilder(priorAsset_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1.Asset.newBuilder(priorAsset_).mergeFrom(value).buildPartial();
         } else {
           priorAsset_ = value;
         }
@@ -1606,8 +1412,6 @@ public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1627,8 +1431,6 @@ public Builder clearPriorAsset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1637,13 +1439,11 @@ public Builder clearPriorAsset() {
      * .google.cloud.asset.v1.Asset prior_asset = 5;
      */
     public com.google.cloud.asset.v1.Asset.Builder getPriorAssetBuilder() {
-
+      
       onChanged();
       return getPriorAssetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1655,14 +1455,11 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
       if (priorAssetBuilder_ != null) {
         return priorAssetBuilder_.getMessageOrBuilder();
       } else {
-        return priorAsset_ == null
-            ? com.google.cloud.asset.v1.Asset.getDefaultInstance()
-            : priorAsset_;
+        return priorAsset_ == null ?
+            com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_;
       }
     }
     /**
-     *
-     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1671,24 +1468,21 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
      * .google.cloud.asset.v1.Asset prior_asset = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.Asset,
-            com.google.cloud.asset.v1.Asset.Builder,
-            com.google.cloud.asset.v1.AssetOrBuilder>
+        com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> 
         getPriorAssetFieldBuilder() {
       if (priorAssetBuilder_ == null) {
-        priorAssetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.Asset,
-                com.google.cloud.asset.v1.Asset.Builder,
-                com.google.cloud.asset.v1.AssetOrBuilder>(
-                getPriorAsset(), getParentForChildren(), isClean());
+        priorAssetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder>(
+                getPriorAsset(),
+                getParentForChildren(),
+                isClean());
         priorAsset_ = null;
       }
       return priorAssetBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1698,12 +1492,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TemporalAsset)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TemporalAsset)
   private static final com.google.cloud.asset.v1.TemporalAsset DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TemporalAsset();
   }
@@ -1712,16 +1506,16 @@ public static com.google.cloud.asset.v1.TemporalAsset getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TemporalAsset parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TemporalAsset(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TemporalAsset parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TemporalAsset(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1736,4 +1530,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TemporalAsset getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
similarity index 80%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
index 68d9d1d37..40ba4db44 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface TemporalAssetOrBuilder
-    extends
+public interface TemporalAssetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TemporalAsset)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; - * * @return Whether the window field is set. */ boolean hasWindow(); /** - * - * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; - * * @return The window. */ com.google.cloud.asset.v1.TimeWindow getWindow(); /** - * - * *
    * The time window when the asset data and state was observed.
    * 
@@ -59,45 +35,34 @@ public interface TemporalAssetOrBuilder com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder(); /** - * - * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; - * * @return The deleted. */ boolean getDeleted(); /** - * - * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return Whether the asset field is set. */ boolean hasAsset(); /** - * - * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; - * * @return The asset. */ com.google.cloud.asset.v1.Asset getAsset(); /** - * - * *
    * An asset in Google Cloud.
    * 
@@ -107,59 +72,45 @@ public interface TemporalAssetOrBuilder com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder(); /** - * - * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return The enum numeric value on the wire for priorAssetState. */ int getPriorAssetStateValue(); /** - * - * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; - * * @return The priorAssetState. */ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState(); /** - * - * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; - * * @return Whether the priorAsset field is set. */ boolean hasPriorAsset(); /** - * - * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; - * * @return The priorAsset. */ com.google.cloud.asset.v1.Asset getPriorAsset(); /** - * - * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
similarity index 71%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
index c38445e5f..b266998f2 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.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/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * A time window specified by its `start_time` and `end_time`.
  * 
* * Protobuf type {@code google.cloud.asset.v1.TimeWindow} */ -public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TimeWindow) TimeWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeWindow() {} + private TimeWindow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TimeWindow( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private TimeWindow( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = 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) { @@ -112,39 +92,34 @@ private TimeWindow( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TimeWindow.class, - com.google.cloud.asset.v1.TimeWindow.Builder.class); + com.google.cloud.asset.v1.TimeWindow.class, com.google.cloud.asset.v1.TimeWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -152,14 +127,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -167,8 +139,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Start time of the time window (exclusive).
    * 
@@ -183,15 +153,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -199,15 +166,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -215,8 +179,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
@@ -230,7 +192,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -242,7 +203,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -259,10 +221,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -272,7 +236,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.TimeWindow)) {
       return super.equals(obj);
@@ -281,11 +245,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -311,126 +277,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.TimeWindow parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.TimeWindow parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.TimeWindow parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.asset.v1.TimeWindow parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(
-      byte[] data, com.google.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.asset.v1.TimeWindow 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.asset.v1.TimeWindow parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TimeWindow 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.asset.v1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A time window specified by its `start_time` and `end_time`.
    * 
* * Protobuf type {@code google.cloud.asset.v1.TimeWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.TimeWindow) com.google.cloud.asset.v1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TimeWindow.class, - com.google.cloud.asset.v1.TimeWindow.Builder.class); + com.google.cloud.asset.v1.TimeWindow.class, com.google.cloud.asset.v1.TimeWindow.Builder.class); } // Construct using com.google.cloud.asset.v1.TimeWindow.newBuilder() @@ -438,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto - .internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_descriptor; } @java.lang.Override @@ -506,39 +465,38 @@ public com.google.cloud.asset.v1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.TimeWindow) { - return mergeFrom((com.google.cloud.asset.v1.TimeWindow) other); + return mergeFrom((com.google.cloud.asset.v1.TimeWindow)other); } else { super.mergeFrom(other); return this; @@ -584,33 +542,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -621,8 +570,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -643,15 +590,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -662,8 +608,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -674,7 +618,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -686,8 +630,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -706,8 +648,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -715,13 +655,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -732,12 +670,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -745,17 +682,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -763,35 +697,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -802,8 +727,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -825,8 +748,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -834,7 +755,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -845,8 +767,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -858,7 +778,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -870,8 +790,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -891,8 +809,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -901,13 +817,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -919,12 +833,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -933,24 +846,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -960,12 +870,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TimeWindow)
   private static final com.google.cloud.asset.v1.TimeWindow DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TimeWindow();
   }
@@ -974,16 +884,16 @@ public static com.google.cloud.asset.v1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TimeWindow parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TimeWindow(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TimeWindow(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -998,4 +908,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
similarity index 70%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
index a06e2ee59..81646f3d1 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface TimeWindowOrBuilder
-    extends
+public interface TimeWindowOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Start time of the time window (exclusive).
    * 
@@ -59,34 +35,26 @@ public interface TimeWindowOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
similarity index 73%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
index 1131722a8..e6a118b47 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.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/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
- *
- *
  * 
  * Update asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateFeedRequest} */ -public final class UpdateFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.UpdateFeedRequest) UpdateFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateFeedRequest.newBuilder() to construct. private UpdateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateFeedRequest() {} + private UpdateFeedRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,42 +52,39 @@ private UpdateFeedRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); - } - feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); + } + feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,33 +92,29 @@ private UpdateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateFeedRequest.class, - com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1.UpdateFeedRequest.class, com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); } public static final int FEED_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.Feed feed_; /** - * - * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -147,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the feed field is set. */ @java.lang.Override @@ -155,8 +131,6 @@ public boolean hasFeed() { return feed_ != null; } /** - * - * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -166,7 +140,6 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ @java.lang.Override @@ -174,8 +147,6 @@ public com.google.cloud.asset.v1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_; } /** - * - * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -194,17 +165,13 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -212,17 +179,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -230,16 +193,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -247,7 +207,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +218,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -276,10 +236,12 @@ public int getSerializedSize() { size = 0; if (feed_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFeed()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFeed()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,21 +251,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.asset.v1.UpdateFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.UpdateFeedRequest other = - (com.google.cloud.asset.v1.UpdateFeedRequest) obj; + com.google.cloud.asset.v1.UpdateFeedRequest other = (com.google.cloud.asset.v1.UpdateFeedRequest) obj; if (hasFeed() != other.hasFeed()) return false; if (hasFeed()) { - if (!getFeed().equals(other.getFeed())) return false; + if (!getFeed() + .equals(other.getFeed())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -329,127 +292,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1.UpdateFeedRequest 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.asset.v1.UpdateFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.UpdateFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.UpdateFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.UpdateFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.UpdateFeedRequest) com.google.cloud.asset.v1.UpdateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateFeedRequest.class, - com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1.UpdateFeedRequest.class, com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.UpdateFeedRequest.newBuilder() @@ -457,15 +411,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; } @java.lang.Override @@ -506,8 +461,7 @@ public com.google.cloud.asset.v1.UpdateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.UpdateFeedRequest buildPartial() { - com.google.cloud.asset.v1.UpdateFeedRequest result = - new com.google.cloud.asset.v1.UpdateFeedRequest(this); + com.google.cloud.asset.v1.UpdateFeedRequest result = new com.google.cloud.asset.v1.UpdateFeedRequest(this); if (feedBuilder_ == null) { result.feed_ = feed_; } else { @@ -526,39 +480,38 @@ public com.google.cloud.asset.v1.UpdateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.UpdateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.UpdateFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1.UpdateFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -604,13 +557,8 @@ public Builder mergeFrom( private com.google.cloud.asset.v1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Feed, - com.google.cloud.asset.v1.Feed.Builder, - com.google.cloud.asset.v1.FeedOrBuilder> - feedBuilder_; + com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> feedBuilder_; /** - * - * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -620,15 +568,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -638,7 +583,6 @@ public boolean hasFeed() {
      * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ public com.google.cloud.asset.v1.Feed getFeed() { @@ -649,8 +593,6 @@ public com.google.cloud.asset.v1.Feed getFeed() { } } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -675,8 +617,6 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -687,7 +627,8 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
      *
      * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
+    public Builder setFeed(
+        com.google.cloud.asset.v1.Feed.Builder builderForValue) {
       if (feedBuilder_ == null) {
         feed_ = builderForValue.build();
         onChanged();
@@ -698,8 +639,6 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -713,7 +652,8 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
     public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       if (feedBuilder_ == null) {
         if (feed_ != null) {
-          feed_ = com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
+          feed_ =
+            com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
         } else {
           feed_ = value;
         }
@@ -725,8 +665,6 @@ public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -749,8 +687,6 @@ public Builder clearFeed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -762,13 +698,11 @@ public Builder clearFeed() {
      * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
-
+      
       onChanged();
       return getFeedFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -783,12 +717,11 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
       if (feedBuilder_ != null) {
         return feedBuilder_.getMessageOrBuilder();
       } else {
-        return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
+        return feed_ == null ?
+            com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
       }
     }
     /**
-     *
-     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -800,17 +733,14 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
      * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.Feed,
-            com.google.cloud.asset.v1.Feed.Builder,
-            com.google.cloud.asset.v1.FeedOrBuilder>
+        com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> 
         getFeedFieldBuilder() {
       if (feedBuilder_ == null) {
-        feedBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1.Feed,
-                com.google.cloud.asset.v1.Feed.Builder,
-                com.google.cloud.asset.v1.FeedOrBuilder>(
-                getFeed(), getParentForChildren(), isClean());
+        feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder>(
+                getFeed(),
+                getParentForChildren(),
+                isClean());
         feed_ = null;
       }
       return feedBuilder_;
@@ -818,61 +748,45 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
 
     private com.google.protobuf.FieldMask updateMask_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
-        updateMaskBuilder_;
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_;
     /**
-     *
-     *
      * 
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -888,18 +802,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -910,22 +822,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -937,16 +846,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -960,74 +866,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1037,12 +930,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.UpdateFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.UpdateFeedRequest) private static final com.google.cloud.asset.v1.UpdateFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.UpdateFeedRequest(); } @@ -1051,16 +944,16 @@ public static com.google.cloud.asset.v1.UpdateFeedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,4 +968,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java index d6cac469d..37dafabef 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface UpdateFeedRequestOrBuilder - extends +public interface UpdateFeedRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.UpdateFeedRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -35,13 +17,10 @@ public interface UpdateFeedRequestOrBuilder
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the feed field is set. */ boolean hasFeed(); /** - * - * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -51,13 +30,10 @@ public interface UpdateFeedRequestOrBuilder
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feed. */ com.google.cloud.asset.v1.Feed getFeed(); /** - * - * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -71,46 +47,35 @@ public interface UpdateFeedRequestOrBuilder
   com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java similarity index 67% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java index 5723995e0..f42dae545 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** - * - * *
  * Request to update a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateSavedQueryRequest} */ -public final class UpdateSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateSavedQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.UpdateSavedQueryRequest) UpdateSavedQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateSavedQueryRequest.newBuilder() to construct. private UpdateSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateSavedQueryRequest() {} + private UpdateSavedQueryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateSavedQueryRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; - if (savedQuery_ != null) { - subBuilder = savedQuery_.toBuilder(); - } - savedQuery_ = - input.readMessage( - com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(savedQuery_); - savedQuery_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; + if (savedQuery_ != null) { + subBuilder = savedQuery_.toBuilder(); + } + savedQuery_ = input.readMessage(com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(savedQuery_); + savedQuery_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, - com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); } public static final int SAVED_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.SavedQuery savedQuery_; /** - * - * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -149,10 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the savedQuery field is set. */ @java.lang.Override @@ -160,8 +132,6 @@ public boolean hasSavedQuery() { return savedQuery_ != null; } /** - * - * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -171,21 +141,14 @@ public boolean hasSavedQuery() {
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The savedQuery. */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } /** - * - * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -195,9 +158,7 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() {
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { @@ -207,15 +168,11 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -223,15 +180,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -239,14 +192,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -254,7 +204,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +215,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (savedQuery_ != null) { output.writeMessage(1, getSavedQuery()); } @@ -283,10 +233,12 @@ public int getSerializedSize() { size = 0; if (savedQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSavedQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSavedQuery()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -296,21 +248,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.asset.v1.UpdateSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.UpdateSavedQueryRequest other = - (com.google.cloud.asset.v1.UpdateSavedQueryRequest) obj; + com.google.cloud.asset.v1.UpdateSavedQueryRequest other = (com.google.cloud.asset.v1.UpdateSavedQueryRequest) obj; if (hasSavedQuery() != other.hasSavedQuery()) return false; if (hasSavedQuery()) { - if (!getSavedQuery().equals(other.getSavedQuery())) return false; + if (!getSavedQuery() + .equals(other.getSavedQuery())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -337,126 +290,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( - java.nio.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.asset.v1.UpdateSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.UpdateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( - byte[] data, com.google.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.asset.v1.UpdateSavedQueryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1.UpdateSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.UpdateSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to update a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateSavedQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.UpdateSavedQueryRequest) com.google.cloud.asset.v1.UpdateSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, - com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.UpdateSavedQueryRequest.newBuilder() @@ -464,15 +408,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -492,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto - .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; } @java.lang.Override @@ -513,8 +458,7 @@ public com.google.cloud.asset.v1.UpdateSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.UpdateSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.UpdateSavedQueryRequest result = - new com.google.cloud.asset.v1.UpdateSavedQueryRequest(this); + com.google.cloud.asset.v1.UpdateSavedQueryRequest result = new com.google.cloud.asset.v1.UpdateSavedQueryRequest(this); if (savedQueryBuilder_ == null) { result.savedQuery_ = savedQuery_; } else { @@ -533,39 +477,38 @@ public com.google.cloud.asset.v1.UpdateSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.UpdateSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.UpdateSavedQueryRequest) other); + return mergeFrom((com.google.cloud.asset.v1.UpdateSavedQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -573,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.UpdateSavedQueryRequest other) { - if (other == com.google.cloud.asset.v1.UpdateSavedQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1.UpdateSavedQueryRequest.getDefaultInstance()) return this; if (other.hasSavedQuery()) { mergeSavedQuery(other.getSavedQuery()); } @@ -600,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1.UpdateSavedQueryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1.UpdateSavedQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,13 +554,8 @@ public Builder mergeFrom( private com.google.cloud.asset.v1.SavedQuery savedQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder> - savedQueryBuilder_; + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> savedQueryBuilder_; /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -629,18 +565,13 @@ public Builder mergeFrom(
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the savedQuery field is set. */ public boolean hasSavedQuery() { return savedQueryBuilder_ != null || savedQuery_ != null; } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -650,24 +581,17 @@ public boolean hasSavedQuery() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The savedQuery. */ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { if (savedQueryBuilder_ == null) { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } else { return savedQueryBuilder_.getMessage(); } } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -677,9 +601,7 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { @@ -695,8 +617,6 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -706,11 +626,10 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { + public Builder setSavedQuery( + com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { if (savedQueryBuilder_ == null) { savedQuery_ = builderForValue.build(); onChanged(); @@ -721,8 +640,6 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builde return this; } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -732,17 +649,13 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builde
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { if (savedQuery_ != null) { savedQuery_ = - com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_).mergeFrom(value).buildPartial(); } else { savedQuery_ = value; } @@ -754,8 +667,6 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -765,9 +676,7 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSavedQuery() { if (savedQueryBuilder_ == null) { @@ -781,8 +690,6 @@ public Builder clearSavedQuery() { return this; } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -792,18 +699,14 @@ public Builder clearSavedQuery() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { - + onChanged(); return getSavedQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -813,22 +716,17 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { if (savedQueryBuilder_ != null) { return savedQueryBuilder_.getMessageOrBuilder(); } else { - return savedQuery_ == null - ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() - : savedQuery_; + return savedQuery_ == null ? + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; } } /** - * - * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -838,22 +736,17 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder> + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> getSavedQueryFieldBuilder() { if (savedQueryBuilder_ == null) { - savedQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, - com.google.cloud.asset.v1.SavedQuery.Builder, - com.google.cloud.asset.v1.SavedQueryOrBuilder>( - getSavedQuery(), getParentForChildren(), isClean()); + savedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder>( + getSavedQuery(), + getParentForChildren(), + isClean()); savedQuery_ = null; } return savedQueryBuilder_; @@ -861,55 +754,39 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -925,16 +802,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -945,20 +820,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -970,14 +842,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -991,68 +860,55 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1062,12 +918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.UpdateSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.UpdateSavedQueryRequest) private static final com.google.cloud.asset.v1.UpdateSavedQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.UpdateSavedQueryRequest(); } @@ -1076,16 +932,16 @@ public static com.google.cloud.asset.v1.UpdateSavedQueryRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,4 +956,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java index 636720fe0..307da869b 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface UpdateSavedQueryRequestOrBuilder - extends +public interface UpdateSavedQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.UpdateSavedQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -35,16 +17,11 @@ public interface UpdateSavedQueryRequestOrBuilder
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the savedQuery field is set. */ boolean hasSavedQuery(); /** - * - * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -54,16 +31,11 @@ public interface UpdateSavedQueryRequestOrBuilder
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The savedQuery. */ com.google.cloud.asset.v1.SavedQuery getSavedQuery(); /** - * - * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -73,47 +45,34 @@ public interface UpdateSavedQueryRequestOrBuilder
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder(); /** - * - * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java similarity index 77% rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java index 3e263497a..a6dcee4cc 100644 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java +++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.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/asset/v1/assets.proto package com.google.cloud.asset.v1; /** - * - * *
  * Resource representation as defined by the corresponding service providing the
  * resource for a given API version.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.VersionedResource}
  */
-public final class VersionedResource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VersionedResource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.VersionedResource)
     VersionedResourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VersionedResource.newBuilder() to construct.
   private VersionedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VersionedResource() {
     version_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VersionedResource();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private VersionedResource(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,34 +54,32 @@ private VersionedResource(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
+            version_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (resource_ != null) {
+              subBuilder = resource_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (resource_ != null) {
-                subBuilder = resource_.toBuilder();
-              }
-              resource_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-
-              break;
+            resource_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(resource_);
+              resource_ = 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) {
@@ -106,33 +87,29 @@ private VersionedResource(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto
-        .internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.VersionedResource.class,
-            com.google.cloud.asset.v1.VersionedResource.Builder.class);
+            com.google.cloud.asset.v1.VersionedResource.class, com.google.cloud.asset.v1.VersionedResource.Builder.class);
   }
 
   public static final int VERSION_FIELD_NUMBER = 1;
   private volatile java.lang.Object version_;
   /**
-   *
-   *
    * 
    * API version of the resource.
    * Example:
@@ -142,7 +119,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -151,15 +127,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * API version of the resource.
    * Example:
@@ -169,15 +144,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 1; - * * @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 { @@ -188,8 +164,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int RESOURCE_FIELD_NUMBER = 2; private com.google.protobuf.Struct resource_; /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -204,7 +178,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * .google.protobuf.Struct resource = 2; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -212,8 +185,6 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -228,7 +199,6 @@ public boolean hasResource() {
    * 
* * .google.protobuf.Struct resource = 2; - * * @return The resource. */ @java.lang.Override @@ -236,8 +206,6 @@ public com.google.protobuf.Struct getResource() { return resource_ == null ? com.google.protobuf.Struct.getDefaultInstance() : resource_; } /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -259,7 +227,6 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -271,7 +238,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
     }
@@ -291,7 +259,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_);
     }
     if (resource_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getResource());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -301,18 +270,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.asset.v1.VersionedResource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.VersionedResource other =
-        (com.google.cloud.asset.v1.VersionedResource) obj;
+    com.google.cloud.asset.v1.VersionedResource other = (com.google.cloud.asset.v1.VersionedResource) obj;
 
-    if (!getVersion().equals(other.getVersion())) return false;
+    if (!getVersion()
+        .equals(other.getVersion())) return false;
     if (hasResource() != other.hasResource()) return false;
     if (hasResource()) {
-      if (!getResource().equals(other.getResource())) return false;
+      if (!getResource()
+          .equals(other.getResource())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -336,104 +306,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.VersionedResource parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.VersionedResource parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1.VersionedResource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(
-      byte[] data, com.google.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.asset.v1.VersionedResource 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.asset.v1.VersionedResource parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.VersionedResource parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1.VersionedResource parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1.VersionedResource parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.VersionedResource parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1.VersionedResource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1.VersionedResource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 representation as defined by the corresponding service providing the
    * resource for a given API version.
@@ -441,23 +404,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1.VersionedResource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.VersionedResource)
       com.google.cloud.asset.v1.VersionedResourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.VersionedResource.class,
-              com.google.cloud.asset.v1.VersionedResource.Builder.class);
+              com.google.cloud.asset.v1.VersionedResource.class, com.google.cloud.asset.v1.VersionedResource.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.VersionedResource.newBuilder()
@@ -465,15 +426,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -489,9 +451,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto
-          .internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
     }
 
     @java.lang.Override
@@ -510,8 +472,7 @@ public com.google.cloud.asset.v1.VersionedResource build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.VersionedResource buildPartial() {
-      com.google.cloud.asset.v1.VersionedResource result =
-          new com.google.cloud.asset.v1.VersionedResource(this);
+      com.google.cloud.asset.v1.VersionedResource result = new com.google.cloud.asset.v1.VersionedResource(this);
       result.version_ = version_;
       if (resourceBuilder_ == null) {
         result.resource_ = resource_;
@@ -526,39 +487,38 @@ public com.google.cloud.asset.v1.VersionedResource buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.VersionedResource) {
-        return mergeFrom((com.google.cloud.asset.v1.VersionedResource) other);
+        return mergeFrom((com.google.cloud.asset.v1.VersionedResource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -605,8 +565,6 @@ public Builder mergeFrom(
 
     private java.lang.Object version_ = "";
     /**
-     *
-     *
      * 
      * API version of the resource.
      * Example:
@@ -616,13 +574,13 @@ public Builder mergeFrom(
      * 
* * string version = 1; - * * @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; @@ -631,8 +589,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * API version of the resource.
      * Example:
@@ -642,14 +598,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 1; - * * @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 { @@ -657,8 +614,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * API version of the resource.
      * Example:
@@ -668,22 +623,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 1; - * * @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; } /** - * - * *
      * API version of the resource.
      * Example:
@@ -693,18 +646,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * API version of the resource.
      * Example:
@@ -714,16 +664,16 @@ public Builder clearVersion() {
      * 
* * string version = 1; - * * @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; @@ -731,13 +681,8 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - resourceBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> resourceBuilder_; /** - * - * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -752,15 +697,12 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Struct resource = 2; - * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** - * - * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -775,7 +717,6 @@ public boolean hasResource() {
      * 
* * .google.protobuf.Struct resource = 2; - * * @return The resource. */ public com.google.protobuf.Struct getResource() { @@ -786,8 +727,6 @@ public com.google.protobuf.Struct getResource() { } } /** - * - * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -817,8 +756,6 @@ public Builder setResource(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -834,7 +771,8 @@ public Builder setResource(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct resource = 2;
      */
-    public Builder setResource(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setResource(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (resourceBuilder_ == null) {
         resource_ = builderForValue.build();
         onChanged();
@@ -845,8 +783,6 @@ public Builder setResource(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -866,7 +802,7 @@ public Builder mergeResource(com.google.protobuf.Struct value) {
       if (resourceBuilder_ == null) {
         if (resource_ != null) {
           resource_ =
-              com.google.protobuf.Struct.newBuilder(resource_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Struct.newBuilder(resource_).mergeFrom(value).buildPartial();
         } else {
           resource_ = value;
         }
@@ -878,8 +814,6 @@ public Builder mergeResource(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -907,8 +841,6 @@ public Builder clearResource() {
       return this;
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -925,13 +857,11 @@ public Builder clearResource() {
      * .google.protobuf.Struct resource = 2;
      */
     public com.google.protobuf.Struct.Builder getResourceBuilder() {
-
+      
       onChanged();
       return getResourceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -951,12 +881,11 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
       if (resourceBuilder_ != null) {
         return resourceBuilder_.getMessageOrBuilder();
       } else {
-        return resource_ == null ? com.google.protobuf.Struct.getDefaultInstance() : resource_;
+        return resource_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : resource_;
       }
     }
     /**
-     *
-     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -973,24 +902,21 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
      * .google.protobuf.Struct resource = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getResourceFieldBuilder() {
       if (resourceBuilder_ == null) {
-        resourceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getResource(), getParentForChildren(), isClean());
+        resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getResource(),
+                getParentForChildren(),
+                isClean());
         resource_ = null;
       }
       return resourceBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1000,12 +926,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.VersionedResource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.VersionedResource)
   private static final com.google.cloud.asset.v1.VersionedResource DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.VersionedResource();
   }
@@ -1014,16 +940,16 @@ public static com.google.cloud.asset.v1.VersionedResource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public VersionedResource parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new VersionedResource(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public VersionedResource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new VersionedResource(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1038,4 +964,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.VersionedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
similarity index 80%
rename from proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
index d86916246..9f9efa604 100644
--- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.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/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface VersionedResourceOrBuilder
-    extends
+public interface VersionedResourceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.VersionedResource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * API version of the resource.
    * Example:
@@ -35,13 +17,10 @@ public interface VersionedResourceOrBuilder
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * API version of the resource.
    * Example:
@@ -51,14 +30,12 @@ public interface VersionedResourceOrBuilder
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -73,13 +50,10 @@ public interface VersionedResourceOrBuilder
    * 
* * .google.protobuf.Struct resource = 2; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -94,13 +68,10 @@ public interface VersionedResourceOrBuilder
    * 
* * .google.protobuf.Struct resource = 2; - * * @return The resource. */ com.google.protobuf.Struct getResource(); /** - * - * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
diff --git a/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
similarity index 100%
rename from proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
diff --git a/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
similarity index 100%
rename from proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
rename to owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
similarity index 88%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
index 3bd74b81d..ad65a814a 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java
@@ -16,8 +16,7 @@
 
 package com.google.cloud.asset.v1.samples;
 
-// [START
-// asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync]
+// [START asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync]
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.OrganizationName;
 import com.google.cloud.asset.v1.SavedQuery;
@@ -39,5 +38,4 @@ public static void syncCreateSavedQueryOrganizationnameSavedqueryString() throws
     }
   }
 }
-// [END
-// asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync]
+// [END asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync]
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java
index 8440342be..a9ec6bfe4 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java
@@ -20,6 +20,7 @@
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.DeleteFeedRequest;
 import com.google.cloud.asset.v1.FeedName;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteFeed {
 
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java
index a274a4162..11d453448 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java
@@ -19,6 +19,7 @@
 // [START asset_v1_generated_assetserviceclient_deletefeed_feedname_sync]
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.FeedName;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteFeedFeedname {
 
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java
index 19d861743..2477cd554 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java
@@ -19,6 +19,7 @@
 // [START asset_v1_generated_assetserviceclient_deletefeed_string_sync]
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.FeedName;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteFeedString {
 
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java
index f767317fa..3b84c2317 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java
@@ -20,6 +20,7 @@
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.DeleteSavedQueryRequest;
 import com.google.cloud.asset.v1.SavedQueryName;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteSavedQuery {
 
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
index f07529793..417e163ec 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java
@@ -19,6 +19,7 @@
 // [START asset_v1_generated_assetserviceclient_deletesavedquery_savedqueryname_sync]
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.SavedQueryName;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteSavedQuerySavedqueryname {
 
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java
similarity index 97%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java
index 8eaddfb88..c380bf82f 100644
--- a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java
+++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java
@@ -19,6 +19,7 @@
 // [START asset_v1_generated_assetserviceclient_deletesavedquery_string_sync]
 import com.google.cloud.asset.v1.AssetServiceClient;
 import com.google.cloud.asset.v1.SavedQueryName;
+import com.google.protobuf.Empty;
 
 public class SyncDeleteSavedQueryString {
 
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java
diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
similarity index 93%
rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
index 4610f6c88..38d79018f 100644
--- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
+++ b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java
@@ -61,13 +61,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. *
* @@ -195,10 +195,10 @@ public AssetServiceStub getStub() { * @param scope Required. The relative name of an asset. The search is limited to the resources * within the `scope`. The allowed value must be: *
    - *
  • Organization number (such as "organizations/123") - *
  • Folder number(such as "folders/1234") - *
  • Project number (such as "projects/12345") - *
  • Project id (such as "projects/abc") + *
  • Organization number (such as "organizations/123") + *
  • Folder number(such as "folders/1234") + *
  • Project number (such as "projects/12345") + *
  • Project id (such as "projects/abc") *
* * @param query Optional. The query statement. @@ -362,16 +362,16 @@ public final SearchAllResourcesPagedResponse searchAllResources( * @param scope Required. The relative name of an asset. The search is limited to the resources * within the `scope`. The allowed value must be: *
    - *
  • Organization number (such as "organizations/123") - *
  • Folder number(such as "folders/1234") - *
  • Project number (such as "projects/12345") - *
  • Project id (such as "projects/abc") + *
  • Organization number (such as "organizations/123") + *
  • Folder number(such as "folders/1234") + *
  • Project number (such as "projects/12345") + *
  • Project id (such as "projects/abc") *
* * @param query Optional. The query statement. Examples: *
    - *
  • "policy:myuser{@literal @}mydomain.com" - *
  • "policy:(myuser{@literal @}mydomain.com viewer)" + *
  • "policy:myuser{@literal @}mydomain.com" + *
  • "policy:(myuser{@literal @}mydomain.com viewer)" *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -527,11 +527,8 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class SearchAllResourcesPagedResponse extends AbstractPagedListResponse< - SearchAllResourcesRequest, - SearchAllResourcesResponse, - StandardResourceMetadata, - SearchAllResourcesPage, - SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata, + SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -552,9 +549,7 @@ private SearchAllResourcesPagedResponse(SearchAllResourcesPage page) { public static class SearchAllResourcesPage extends AbstractPage< - SearchAllResourcesRequest, - SearchAllResourcesResponse, - StandardResourceMetadata, + SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata, SearchAllResourcesPage> { private SearchAllResourcesPage( @@ -587,11 +582,8 @@ public ApiFuture createPageAsync( public static class SearchAllResourcesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllResourcesRequest, - SearchAllResourcesResponse, - StandardResourceMetadata, - SearchAllResourcesPage, - SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata, + SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { private SearchAllResourcesFixedSizeCollection( List pages, int collectionSize) { @@ -611,11 +603,8 @@ protected SearchAllResourcesFixedSizeCollection createCollection( public static class SearchAllIamPoliciesPagedResponse extends AbstractPagedListResponse< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, - IamPolicySearchResult, - SearchAllIamPoliciesPage, - SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, + SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -637,9 +626,7 @@ private SearchAllIamPoliciesPagedResponse(SearchAllIamPoliciesPage page) { public static class SearchAllIamPoliciesPage extends AbstractPage< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, - IamPolicySearchResult, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, SearchAllIamPoliciesPage> { private SearchAllIamPoliciesPage( @@ -675,11 +662,8 @@ public ApiFuture createPageAsync( public static class SearchAllIamPoliciesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, - IamPolicySearchResult, - SearchAllIamPoliciesPage, - SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, + SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { private SearchAllIamPoliciesFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java similarity index 94% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java index c6b476cdd..fa50a70e8 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java +++ b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p1beta1.stub.AssetServiceStubSettings; @@ -43,9 +44,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -82,8 +83,7 @@ public class AssetServiceSettings extends ClientSettings { /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return ((AssetServiceStubSettings) getStubSettings()).searchAllIamPoliciesSettings(); @@ -213,8 +213,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return getStubSettingsBuilder().searchAllIamPoliciesSettings(); diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java similarity index 95% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java index 808ed4c8f..5984626df 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java @@ -66,9 +66,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -104,8 +104,7 @@ public class AssetServiceStubSettings extends StubSettings searchAllResourcesSettings; private final PagedCallSettings< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; @@ -195,8 +194,7 @@ public Iterable extractResources( SearchAllResourcesRequest, SearchAllResourcesResponse, SearchAllResourcesPagedResponse> SEARCH_ALL_RESOURCES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllResourcesRequest, - SearchAllResourcesResponse, + SearchAllResourcesRequest, SearchAllResourcesResponse, SearchAllResourcesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -205,8 +203,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchAllResourcesRequest, - SearchAllResourcesResponse, + SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata> pageContext = PageContext.create( @@ -216,13 +213,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> SEARCH_ALL_IAM_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -231,8 +226,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult> pageContext = PageContext.create( @@ -250,8 +244,7 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; @@ -374,8 +367,7 @@ public static class Builder extends StubSettings.Builder searchAllResourcesSettings; private final PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; private static final ImmutableMap> @@ -503,8 +495,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, - SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java index 09ac21b20..0f2e0b071 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java @@ -35,6 +35,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-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java b/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java rename to owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java diff --git a/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java similarity index 51% rename from grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java rename to owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java index 1190e5a9c..73fe8769d 100644 --- a/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java +++ b/owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.asset.v1p1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Asset service definition.
  * 
@@ -35,155 +18,120 @@ private AssetServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.asset.v1p1beta1.AssetService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> - getSearchAllResourcesMethod; + private static volatile io.grpc.MethodDescriptor getSearchAllResourcesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchAllResources", requestType = com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, responseType = com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> - getSearchAllResourcesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> - getSearchAllResourcesMethod; + public static io.grpc.MethodDescriptor getSearchAllResourcesMethod() { + io.grpc.MethodDescriptor getSearchAllResourcesMethod; if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { synchronized (AssetServiceGrpc.class) { if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { - AssetServiceGrpc.getSearchAllResourcesMethod = - getSearchAllResourcesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("SearchAllResources")) - .build(); + AssetServiceGrpc.getSearchAllResourcesMethod = getSearchAllResourcesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllResources")) + .build(); } } } return getSearchAllResourcesMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> - getSearchAllIamPoliciesMethod; + private static volatile io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchAllIamPolicies", requestType = com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, responseType = com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> - getSearchAllIamPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> - getSearchAllIamPoliciesMethod; + public static io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod() { + io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { synchronized (AssetServiceGrpc.class) { - if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) - == null) { - AssetServiceGrpc.getSearchAllIamPoliciesMethod = - getSearchAllIamPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) - .build(); + if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { + AssetServiceGrpc.getSearchAllIamPoliciesMethod = getSearchAllIamPoliciesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) + .build(); } } } return getSearchAllIamPoliciesMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static AssetServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; return AssetServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static AssetServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; return AssetServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AssetServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; return AssetServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Asset service definition.
    * 
*/ - public abstract static class AssetServiceImplBase implements io.grpc.BindableService { + public static abstract class AssetServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -193,17 +141,12 @@ public abstract static class AssetServiceImplBase implements io.grpc.BindableSer
      * scope, otherwise it will be rejected.
      * 
*/ - public void searchAllResources( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchAllResourcesMethod(), responseObserver); + public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllResourcesMethod(), responseObserver); } /** - * - * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -213,56 +156,49 @@ public void searchAllResources(
      * requested scope, otherwise it will be rejected.
      * 
*/ - public void searchAllIamPolicies( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchAllIamPoliciesMethod(), responseObserver); + public void searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllIamPoliciesMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getSearchAllResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>( - this, METHODID_SEARCH_ALL_RESOURCES))) + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>( + this, METHODID_SEARCH_ALL_RESOURCES))) .addMethod( - getSearchAllIamPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>( - this, METHODID_SEARCH_ALL_IAM_POLICIES))) + getSearchAllIamPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>( + this, METHODID_SEARCH_ALL_IAM_POLICIES))) .build(); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected AssetServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AssetServiceStub(channel, callOptions); } /** - * - * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -272,19 +208,13 @@ protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * scope, otherwise it will be rejected.
      * 
*/ - public void searchAllResources( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -294,27 +224,21 @@ public void searchAllResources(
      * requested scope, otherwise it will be rejected.
      * 
*/ - public void searchAllIamPolicies( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -325,8 +249,6 @@ protected AssetServiceBlockingStub build( } /** - * - * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -336,15 +258,12 @@ protected AssetServiceBlockingStub build(
      * scope, otherwise it will be rejected.
      * 
*/ - public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllResources( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { + public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchAllResourcesMethod(), getCallOptions(), request); } /** - * - * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -354,23 +273,20 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllReso
      * requested scope, otherwise it will be rejected.
      * 
*/ - public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse searchAllIamPolicies( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) { + public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchAllIamPoliciesMethod(), getCallOptions(), request); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -381,8 +297,6 @@ protected AssetServiceFutureStub build( } /** - * - * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -392,16 +306,13 @@ protected AssetServiceFutureStub build(
      * scope, otherwise it will be rejected.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> - searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { + public com.google.common.util.concurrent.ListenableFuture searchAllResources( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request); } /** - * - * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -411,9 +322,8 @@ protected AssetServiceFutureStub build(
      * requested scope, otherwise it will be rejected.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> - searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) { + public com.google.common.util.concurrent.ListenableFuture searchAllIamPolicies( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request); } @@ -422,11 +332,11 @@ protected AssetServiceFutureStub build( private static final int METHODID_SEARCH_ALL_RESOURCES = 0; private static final int METHODID_SEARCH_ALL_IAM_POLICIES = 1; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AssetServiceImplBase serviceImpl; private final int methodId; @@ -440,18 +350,12 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SEARCH_ALL_RESOURCES: - serviceImpl.searchAllResources( - (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>) - responseObserver); + serviceImpl.searchAllResources((com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SEARCH_ALL_IAM_POLICIES: - serviceImpl.searchAllIamPolicies( - (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>) - responseObserver); + serviceImpl.searchAllIamPolicies((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -469,9 +373,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { AssetServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -513,13 +416,11 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (AssetServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getSearchAllResourcesMethod()) - .addMethod(getSearchAllIamPoliciesMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getSearchAllResourcesMethod()) + .addMethod(getSearchAllIamPoliciesMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java new file mode 100644 index 000000000..2092b7aed --- /dev/null +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java @@ -0,0 +1,132 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p1beta1/assets.proto + +package com.google.cloud.asset.v1p1beta1; + +public final class AssetProto { + private AssetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p1beta1_StandardResourceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_Permissions_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/asset/v1p1beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p1beta1\032\032googl" + + "e/iam/v1/policy.proto\032\034google/api/annota" + + "tions.proto\"\302\002\n\030StandardResourceMetadata" + + "\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007pr" + + "oject\030\003 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013des" + + "cription\030\005 \001(\t\022\035\n\025additional_attributes\030" + + "\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006labels\030\014 \003(\0132" + + "B.google.cloud.asset.v1p1beta1.StandardR" + + "esourceMetadata.LabelsEntry\022\024\n\014network_t" + + "ags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicySearchResu" + + "lt\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\003 \001(\t\022%\n" + + "\006policy\030\004 \001(\0132\025.google.iam.v1.Policy\022T\n\013" + + "explanation\030\005 \001(\0132?.google.cloud.asset.v" + + "1p1beta1.IamPolicySearchResult.Explanati" + + "on\032\351\001\n\013Explanation\022t\n\023matched_permission" + + "s\030\001 \003(\0132W.google.cloud.asset.v1p1beta1.I" + + "amPolicySearchResult.Explanation.Matched" + + "PermissionsEntry\032d\n\027MatchedPermissionsEn" + + "try\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google" + + ".cloud.asset.v1p1beta1.Permissions:\0028\001\"\"" + + "\n\013Permissions\022\023\n\013permissions\030\001 \003(\tB\264\001\n c" + + "om.google.cloud.asset.v1p1beta1B\nAssetPr" + + "otoP\001ZAgoogle.golang.org/genproto/google" + + "apis/cloud/asset/v1p1beta1;asset\370\001\001\252\002\034Go" + + "ogle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Clou" + + "d\\Asset\\V1p1beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor, + new java.lang.String[] { "Name", "AssetType", "Project", "DisplayName", "Description", "AdditionalAttributes", "Location", "Labels", "NetworkTags", }); + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor = + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor, + new java.lang.String[] { "Resource", "Project", "Policy", "Explanation", }); + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor = + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor, + new java.lang.String[] { "MatchedPermissions", }); + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor, + new java.lang.String[] { "Permissions", }); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java new file mode 100644 index 000000000..250866763 --- /dev/null +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java @@ -0,0 +1,132 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p1beta1/asset_service.proto + +package com.google.cloud.asset.v1p1beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_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/asset/v1p1beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p1beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032)google/cloud/asset/v1p1beta1/a" + + "ssets.proto\"\245\001\n\031SearchAllResourcesReques" + + "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A" + + "\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022\026\n\tpage_size" + + "\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\025\n\010" + + "order_by\030\n \001(\tB\003\340A\001\"~\n\032SearchAllResource" + + "sResponse\022G\n\007results\030\001 \003(\01326.google.clou" + + "d.asset.v1p1beta1.StandardResourceMetada" + + "ta\022\027\n\017next_page_token\030\002 \001(\t\"v\n\033SearchAll" + + "IamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022" + + "\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340" + + "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\"}\n\034SearchAll" + + "IamPoliciesResponse\022D\n\007results\030\001 \003(\01323.g" + + "oogle.cloud.asset.v1p1beta1.IamPolicySea" + + "rchResult\022\027\n\017next_page_token\030\002 \001(\t2\211\004\n\014A" + + "ssetService\022\325\001\n\022SearchAllResources\0227.goo" + + "gle.cloud.asset.v1p1beta1.SearchAllResou" + + "rcesRequest\0328.google.cloud.asset.v1p1bet" + + "a1.SearchAllResourcesResponse\"L\202\323\344\223\002,\022*/" + + "v1p1beta1/{scope=*/*}/resources:searchAl" + + "l\332A\027scope,query,asset_types\022\321\001\n\024SearchAl" + + "lIamPolicies\0229.google.cloud.asset.v1p1be" + + "ta1.SearchAllIamPoliciesRequest\032:.google" + + ".cloud.asset.v1p1beta1.SearchAllIamPolic" + + "iesResponse\"B\202\323\344\223\002.\022,/v1p1beta1/{scope=*" + + "/*}/iamPolicies:searchAll\332A\013scope,query\032" + + "M\312A\031cloudasset.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB\270" + + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" + + "etServiceProtoP\001ZAgoogle.golang.org/genp" + + "roto/googleapis/cloud/asset/v1p1beta1;as" + + "set\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goo" + + "gle\\Cloud\\Asset\\V1p1beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor, + new java.lang.String[] { "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor, + new java.lang.String[] { "Results", "NextPageToken", }); + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor, + new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", }); + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor, + new java.lang.String[] { "Results", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java similarity index 71% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java index 674f16a22..f45a17763 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.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/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; /** - * - * *
  * The result for a IAM Policy search.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult} */ -public final class IamPolicySearchResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IamPolicySearchResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult) IamPolicySearchResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IamPolicySearchResult.newBuilder() to construct. private IamPolicySearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicySearchResult() { resource_ = ""; project_ = ""; @@ -44,15 +26,16 @@ private IamPolicySearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicySearchResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicySearchResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,59 +54,51 @@ private IamPolicySearchResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + resource_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; + project_ = s; + break; + } + case 34: { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); } - case 34: - { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder - subBuilder = null; - if (explanation_ != null) { - subBuilder = explanation_.toBuilder(); - } - explanation_ = - input.readMessage( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explanation_); - explanation_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder subBuilder = null; + if (explanation_ != null) { + subBuilder = explanation_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + explanation_ = input.readMessage(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explanation_); + explanation_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,36 +106,31 @@ private IamPolicySearchResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); } - public interface ExplanationOrBuilder - extends + public interface ExplanationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -169,13 +139,10 @@ public interface ExplanationOrBuilder
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ int getMatchedPermissionsCount(); /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -184,17 +151,17 @@ public interface ExplanationOrBuilder
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + */ + boolean containsMatchedPermissions( + java.lang.String key); + /** + * Use {@link #getMatchedPermissionsMap()} instead. */ - boolean containsMatchedPermissions(java.lang.String key); - /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Deprecated java.util.Map - getMatchedPermissions(); + getMatchedPermissions(); /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -203,14 +170,11 @@ public interface ExplanationOrBuilder
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ java.util.Map - getMatchedPermissionsMap(); + getMatchedPermissionsMap(); /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -219,18 +183,15 @@ public interface ExplanationOrBuilder
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ /* nullable */ - com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( +com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.asset.v1p1beta1.Permissions defaultValue); +com.google.cloud.asset.v1p1beta1.Permissions defaultValue); /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -239,43 +200,43 @@ com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault(
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ - com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow(java.lang.String key); + + com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow( + java.lang.String key); } /** - * - * *
    * Explanation about the IAM policy search result.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation} */ - public static final class Explanation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Explanation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) ExplanationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Explanation.newBuilder() to construct. private Explanation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Explanation() {} + private Explanation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Explanation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Explanation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -295,32 +256,26 @@ private Explanation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - matchedPermissions_ = - com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - matchedPermissions__ = - input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - matchedPermissions_ - .getMutableMap() - .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + matchedPermissions_ = com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + matchedPermissions__ = input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + matchedPermissions_.getMutableMap().put( + matchedPermissions__.getKey(), matchedPermissions__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -328,63 +283,54 @@ private Explanation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_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 internalGetMatchedPermissions(); 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.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); } public static final int MATCHED_PERMISSIONS_FIELD_NUMBER = 1; - private static final class MatchedPermissionsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - defaultEntry = + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.asset.v1p1beta1.Permissions.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.asset.v1p1beta1.Permissions.getDefaultInstance()); } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - matchedPermissions_; - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - internalGetMatchedPermissions() { + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> matchedPermissions_; + private com.google.protobuf.MapField + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); @@ -396,8 +342,6 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -406,26 +350,24 @@ public int getMatchedPermissionsCount() {
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ + @java.lang.Override - public boolean containsMatchedPermissions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMatchedPermissions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** Use {@link #getMatchedPermissionsMap()} instead. */ + /** + * Use {@link #getMatchedPermissionsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMatchedPermissions() { + public java.util.Map getMatchedPermissions() { return getMatchedPermissionsMap(); } /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -434,17 +376,14 @@ public boolean containsMatchedPermissions(java.lang.String key) {
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ @java.lang.Override - public java.util.Map - getMatchedPermissionsMap() { + + public java.util.Map getMatchedPermissionsMap() { return internalGetMatchedPermissions().getMap(); } /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -453,22 +392,19 @@ public boolean containsMatchedPermissions(java.lang.String key) {
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ @java.lang.Override + public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( - java.lang.String key, com.google.cloud.asset.v1p1beta1.Permissions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.asset.v1p1beta1.Permissions defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMatchedPermissions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -477,15 +413,13 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefau
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ @java.lang.Override + public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { @@ -495,7 +429,6 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +440,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetMatchedPermissions(), MatchedPermissionsDefaultEntryHolder.defaultEntry, @@ -522,16 +457,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry - entry : internalGetMatchedPermissions().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetMatchedPermissions().getMap().entrySet()) { com.google.protobuf.MapEntry - matchedPermissions__ = - MatchedPermissionsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchedPermissions__); + matchedPermissions__ = MatchedPermissionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchedPermissions__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -541,16 +475,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.asset.v1p1beta1.IamPolicySearchResult.Explanation)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other = - (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) obj; + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) obj; - if (!internalGetMatchedPermissions().equals(other.internalGetMatchedPermissions())) - return false; + if (!internalGetMatchedPermissions().equals( + other.internalGetMatchedPermissions())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -572,95 +505,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.nio.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.IamPolicySearchResult.Explanation - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - parseDelimitedFrom( - java.io.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseDelimitedFrom( + java.io.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -670,69 +595,66 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Explanation about the IAM policy search result.
      * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetMatchedPermissions(); 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 internalGetMutableMatchedPermissions(); 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.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder() + // Construct using com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -741,16 +663,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - .getDefaultInstance(); + public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { + return com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance(); } @java.lang.Override @@ -764,8 +684,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation build( @java.lang.Override public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation buildPartial() { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result = - new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(this); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(this); int from_bitField0_ = bitField0_; result.matchedPermissions_ = internalGetMatchedPermissions(); result.matchedPermissions_.makeImmutable(); @@ -777,54 +696,48 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) { - return mergeFrom( - (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other) { - if (other - == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - .getDefaultInstance()) return this; - internalGetMutableMatchedPermissions().mergeFrom(other.internalGetMatchedPermissions()); + public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other) { + if (other == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance()) return this; + internalGetMutableMatchedPermissions().mergeFrom( + other.internalGetMatchedPermissions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -844,9 +757,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -855,32 +766,24 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - matchedPermissions_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - internalGetMatchedPermissions() { + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> matchedPermissions_; + private com.google.protobuf.MapField + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); } return matchedPermissions_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> - internalGetMutableMatchedPermissions() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableMatchedPermissions() { + onChanged();; if (matchedPermissions_ == null) { - matchedPermissions_ = - com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); + matchedPermissions_ = com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); } if (!matchedPermissions_.isMutable()) { matchedPermissions_ = matchedPermissions_.copy(); @@ -892,8 +795,6 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -902,26 +803,24 @@ public int getMatchedPermissionsCount() {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ + @java.lang.Override - public boolean containsMatchedPermissions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMatchedPermissions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** Use {@link #getMatchedPermissionsMap()} instead. */ + /** + * Use {@link #getMatchedPermissionsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMatchedPermissions() { + public java.util.Map getMatchedPermissions() { return getMatchedPermissionsMap(); } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -930,17 +829,14 @@ public boolean containsMatchedPermissions(java.lang.String key) {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ @java.lang.Override - public java.util.Map - getMatchedPermissionsMap() { + + public java.util.Map getMatchedPermissionsMap() { return internalGetMatchedPermissions().getMap(); } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -949,22 +845,19 @@ public boolean containsMatchedPermissions(java.lang.String key) {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ @java.lang.Override + public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( - java.lang.String key, com.google.cloud.asset.v1p1beta1.Permissions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.asset.v1p1beta1.Permissions defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMatchedPermissions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -973,15 +866,13 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefau
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ @java.lang.Override + public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { @@ -991,12 +882,11 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } public Builder clearMatchedPermissions() { - internalGetMutableMatchedPermissions().getMutableMap().clear(); + internalGetMutableMatchedPermissions().getMutableMap() + .clear(); return this; } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -1005,25 +895,25 @@ public Builder clearMatchedPermissions() {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ - public Builder removeMatchedPermissions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMatchedPermissions().getMutableMap().remove(key); + + public Builder removeMatchedPermissions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMatchedPermissions().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableMatchedPermissions() { + getMutableMatchedPermissions() { return internalGetMutableMatchedPermissions().getMutableMap(); } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -1032,24 +922,21 @@ public Builder removeMatchedPermissions(java.lang.String key) {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ public Builder putMatchedPermissions( - java.lang.String key, com.google.cloud.asset.v1p1beta1.Permissions value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.asset.v1p1beta1.Permissions value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMatchedPermissions().getMutableMap().put(key, value); + internalGetMutableMatchedPermissions().getMutableMap() + .put(key, value); return this; } /** - * - * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -1058,15 +945,15 @@ public Builder putMatchedPermissions(
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - * + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; */ + public Builder putAllMatchedPermissions( java.util.Map values) { - internalGetMutableMatchedPermissions().getMutableMap().putAll(values); + internalGetMutableMatchedPermissions().getMutableMap() + .putAll(values); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1079,32 +966,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) - private static final com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - getDefaultInstance() { + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Explanation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Explanation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Explanation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,17 +1001,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object resource_; /** - * - * *
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1134,7 +1017,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string resource = 1; - * * @return The resource. */ @java.lang.Override @@ -1143,15 +1025,14 @@ 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; } } /** - * - * *
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1159,15 +1040,16 @@ public java.lang.String getResource() {
    * 
* * string resource = 1; - * * @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 { @@ -1178,8 +1060,6 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int PROJECT_FIELD_NUMBER = 3; private volatile java.lang.Object project_; /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1189,7 +1069,6 @@ public com.google.protobuf.ByteString getResourceBytes() {
    * 
* * string project = 3; - * * @return The project. */ @java.lang.Override @@ -1198,15 +1077,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1216,15 +1094,16 @@ public java.lang.String getProject() {
    * 
* * string project = 3; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -1235,8 +1114,6 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy policy_; /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1245,7 +1122,6 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return Whether the policy field is set. */ @java.lang.Override @@ -1253,8 +1129,6 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1263,7 +1137,6 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return The policy. */ @java.lang.Override @@ -1271,8 +1144,6 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1290,15 +1161,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
   public static final int EXPLANATION_FIELD_NUMBER = 5;
   private com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation_;
   /**
-   *
-   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; - * * @return Whether the explanation field is set. */ @java.lang.Override @@ -1306,26 +1174,19 @@ public boolean hasExplanation() { return explanation_ != null; } /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; - * * @return The explanation. */ @java.lang.Override public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExplanation() { - return explanation_ == null - ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() - : explanation_; + return explanation_ == null ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; } /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
@@ -1334,13 +1195,11 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExp
    * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
-      getExplanationOrBuilder() {
+  public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
     return getExplanation();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1352,7 +1211,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
     }
@@ -1381,10 +1241,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, project_);
     }
     if (policy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPolicy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getPolicy());
     }
     if (explanation_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getExplanation());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getExplanation());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1394,23 +1256,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1p1beta1.IamPolicySearchResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p1beta1.IamPolicySearchResult other =
-        (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) obj;
+    com.google.cloud.asset.v1p1beta1.IamPolicySearchResult other = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) obj;
 
-    if (!getResource().equals(other.getResource())) return false;
-    if (!getProject().equals(other.getProject())) return false;
+    if (!getResource()
+        .equals(other.getResource())) return false;
+    if (!getProject()
+        .equals(other.getProject())) return false;
     if (hasPolicy() != other.hasPolicy()) return false;
     if (hasPolicy()) {
-      if (!getPolicy().equals(other.getPolicy())) return false;
+      if (!getPolicy()
+          .equals(other.getPolicy())) return false;
     }
     if (hasExplanation() != other.hasExplanation()) return false;
     if (hasExplanation()) {
-      if (!getExplanation().equals(other.getExplanation())) return false;
+      if (!getExplanation()
+          .equals(other.getExplanation())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1441,127 +1306,117 @@ public int hashCode() {
   }
 
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.nio.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      byte[] data, com.google.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p1beta1.IamPolicySearchResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.asset.v1p1beta1.IamPolicySearchResult prototype) {
+  public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result for a IAM Policy search.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult) com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.newBuilder() @@ -1569,15 +1424,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1601,9 +1457,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; } @java.lang.Override @@ -1622,8 +1478,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult buildPartial() { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult result = - new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult(this); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult result = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult(this); result.resource_ = resource_; result.project_ = project_; if (policyBuilder_ == null) { @@ -1644,39 +1499,38 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.IamPolicySearchResult)other); } else { super.mergeFrom(other); return this; @@ -1684,8 +1538,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult other) { - if (other == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -1719,8 +1572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1732,8 +1584,6 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1741,13 +1591,13 @@ public Builder mergeFrom(
      * 
* * string resource = 1; - * * @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; @@ -1756,8 +1606,6 @@ public java.lang.String getResource() { } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1765,14 +1613,15 @@ public java.lang.String getResource() {
      * 
* * string resource = 1; - * * @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 { @@ -1780,8 +1629,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1789,22 +1636,20 @@ public com.google.protobuf.ByteString getResourceBytes() {
      * 
* * string resource = 1; - * * @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; } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1812,18 +1657,15 @@ public Builder setResource(java.lang.String value) {
      * 
* * string resource = 1; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1831,16 +1673,16 @@ public Builder clearResource() {
      * 
* * string resource = 1; - * * @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; @@ -1848,8 +1690,6 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1859,13 +1699,13 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) {
      * 
* * string project = 3; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -1874,8 +1714,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1885,14 +1723,15 @@ public java.lang.String getProject() {
      * 
* * string project = 3; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -1900,8 +1739,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1911,22 +1748,20 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * string project = 3; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1936,18 +1771,15 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 3; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1957,16 +1789,16 @@ public Builder clearProject() {
      * 
* * string project = 3; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -1974,13 +1806,8 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - policyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1989,15 +1816,12 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.iam.v1.Policy policy = 4; - * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2006,7 +1830,6 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 4; - * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -2017,8 +1840,6 @@ public com.google.iam.v1.Policy getPolicy() { } } /** - * - * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2042,8 +1863,6 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2053,7 +1872,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy policy = 4;
      */
-    public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (policyBuilder_ == null) {
         policy_ = builderForValue.build();
         onChanged();
@@ -2064,8 +1884,6 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2078,7 +1896,8 @@ public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
         if (policy_ != null) {
-          policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+          policy_ =
+            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -2090,8 +1909,6 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2113,8 +1930,6 @@ public Builder clearPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2125,13 +1940,11 @@ public Builder clearPolicy() {
      * .google.iam.v1.Policy policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-
+      
       onChanged();
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2145,12 +1958,11 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       if (policyBuilder_ != null) {
         return policyBuilder_.getMessageOrBuilder();
       } else {
-        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+        return policy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
       }
     }
     /**
-     *
-     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2161,16 +1973,14 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * .google.iam.v1.Policy policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getPolicyFieldBuilder() {
       if (policyBuilder_ == null) {
-        policyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean());
+        policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getPolicy(),
+                getParentForChildren(),
+                isClean());
         policy_ = null;
       }
       return policyBuilder_;
@@ -2178,50 +1988,36 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
 
     private com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation,
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder,
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>
-        explanationBuilder_;
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder> explanationBuilder_;
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; - * * @return Whether the explanation field is set. */ public boolean hasExplanation() { return explanationBuilder_ != null || explanation_ != null; } /** - * - * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; - * * @return The explanation. */ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExplanation() { if (explanationBuilder_ == null) { - return explanation_ == null - ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation - .getDefaultInstance() - : explanation_; + return explanation_ == null ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; } else { return explanationBuilder_.getMessage(); } } /** - * - * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2229,8 +2025,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExp
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public Builder setExplanation(
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
+    public Builder setExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2244,8 +2039,6 @@ public Builder setExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2254,8 +2047,7 @@ public Builder setExplanation(
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
     public Builder setExplanation(
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder
-            builderForValue) {
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder builderForValue) {
       if (explanationBuilder_ == null) {
         explanation_ = builderForValue.build();
         onChanged();
@@ -2266,8 +2058,6 @@ public Builder setExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2275,15 +2065,11 @@ public Builder setExplanation(
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public Builder mergeExplanation(
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
+    public Builder mergeExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (explanation_ != null) {
           explanation_ =
-              com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder(
-                      explanation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder(explanation_).mergeFrom(value).buildPartial();
         } else {
           explanation_ = value;
         }
@@ -2295,8 +2081,6 @@ public Builder mergeExplanation(
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2316,8 +2100,6 @@ public Builder clearExplanation() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2325,15 +2107,12 @@ public Builder clearExplanation() {
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder
-        getExplanationBuilder() {
-
+    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder getExplanationBuilder() {
+      
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2341,20 +2120,15 @@ public Builder clearExplanation() {
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
-        getExplanationOrBuilder() {
+    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
       if (explanationBuilder_ != null) {
         return explanationBuilder_.getMessageOrBuilder();
       } else {
-        return explanation_ == null
-            ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation
-                .getDefaultInstance()
-            : explanation_;
+        return explanation_ == null ?
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
       }
     }
     /**
-     *
-     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2363,24 +2137,21 @@ public Builder clearExplanation() {
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation,
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder,
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder> 
         getExplanationFieldBuilder() {
       if (explanationBuilder_ == null) {
-        explanationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation,
-                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder,
-                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>(
-                getExplanation(), getParentForChildren(), isClean());
+        explanationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>(
+                getExplanation(),
+                getParentForChildren(),
+                isClean());
         explanation_ = null;
       }
       return explanationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2390,12 +2161,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult)
   private static final com.google.cloud.asset.v1p1beta1.IamPolicySearchResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult();
   }
@@ -2404,16 +2175,16 @@ public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public IamPolicySearchResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new IamPolicySearchResult(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public IamPolicySearchResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new IamPolicySearchResult(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2428,4 +2199,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
similarity index 82%
rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
index 908e23727..66b38341f 100644
--- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
+++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.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/asset/v1p1beta1/assets.proto
 
 package com.google.cloud.asset.v1p1beta1;
 
-public interface IamPolicySearchResultOrBuilder
-    extends
+public interface IamPolicySearchResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.IamPolicySearchResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -33,13 +15,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string resource = 1; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -47,14 +26,12 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string resource = 1; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -64,13 +41,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string project = 3; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -80,14 +54,12 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * string project = 3; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -96,13 +68,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -111,13 +80,10 @@ public interface IamPolicySearchResultOrBuilder
    * 
* * .google.iam.v1.Policy policy = 4; - * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** - * - * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -130,34 +96,26 @@ public interface IamPolicySearchResultOrBuilder
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; - * * @return Whether the explanation field is set. */ boolean hasExplanation(); /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; - * * @return The explanation. */ com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExplanation(); /** - * - * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
@@ -165,6 +123,5 @@ public interface IamPolicySearchResultOrBuilder
    *
    * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
    */
-  com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
-      getExplanationOrBuilder();
+  com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder();
 }
diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
similarity index 70%
rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
index 46891f376..41af01602 100644
--- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
+++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.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/asset/v1p1beta1/assets.proto
 
 package com.google.cloud.asset.v1p1beta1;
 
 /**
- *
- *
  * 
  * IAM permissions
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.Permissions} */ -public final class Permissions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Permissions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.Permissions) PermissionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Permissions.newBuilder() to construct. private Permissions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Permissions() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Permissions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Permissions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,23 +54,22 @@ private Permissions( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - permissions_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + permissions_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,7 +77,8 @@ private Permissions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { permissions_ = permissions_.getUnmodifiableView(); @@ -104,61 +87,50 @@ private Permissions( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.Permissions.class, - com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); + com.google.cloud.asset.v1p1beta1.Permissions.class, com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); } public static final int PERMISSIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList permissions_; /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_; } /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -166,23 +138,20 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } @@ -223,15 +193,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.asset.v1p1beta1.Permissions)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.Permissions other = - (com.google.cloud.asset.v1p1beta1.Permissions) obj; + com.google.cloud.asset.v1p1beta1.Permissions other = (com.google.cloud.asset.v1p1beta1.Permissions) obj; - if (!getPermissionsList().equals(other.getPermissionsList())) return false; + if (!getPermissionsList() + .equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -252,127 +222,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.Permissions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.Permissions 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.asset.v1p1beta1.Permissions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.Permissions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.Permissions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.Permissions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.Permissions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.Permissions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.Permissions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IAM permissions
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.Permissions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.Permissions) com.google.cloud.asset.v1p1beta1.PermissionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.Permissions.class, - com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); + com.google.cloud.asset.v1p1beta1.Permissions.class, com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.Permissions.newBuilder() @@ -380,15 +341,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; } @java.lang.Override @@ -419,8 +381,7 @@ public com.google.cloud.asset.v1p1beta1.Permissions build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.Permissions buildPartial() { - com.google.cloud.asset.v1p1beta1.Permissions result = - new com.google.cloud.asset.v1p1beta1.Permissions(this); + com.google.cloud.asset.v1p1beta1.Permissions result = new com.google.cloud.asset.v1p1beta1.Permissions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); @@ -435,39 +396,38 @@ public com.google.cloud.asset.v1p1beta1.Permissions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.Permissions) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.Permissions) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.Permissions)other); } else { super.mergeFrom(other); return this; @@ -514,55 +474,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_.getUnmodifiableView(); } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -570,90 +519,80 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(int index, java.lang.String value) { + public Builder setPermissions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions(java.lang.String value) { + public Builder addPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions(java.lang.Iterable values) { + public Builder addAllPermissions( + java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); onChanged(); return this; } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -663,30 +602,28 @@ public Builder clearPermissions() { return this; } /** - * - * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; - * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.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); } @@ -696,12 +633,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.Permissions) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.Permissions) private static final com.google.cloud.asset.v1p1beta1.Permissions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.Permissions(); } @@ -710,16 +647,16 @@ public static com.google.cloud.asset.v1p1beta1.Permissions getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Permissions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Permissions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Permissions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -734,4 +671,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.Permissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java similarity index 61% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java index 8a7116a8c..ef7bee984 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; -public interface PermissionsOrBuilder - extends +public interface PermissionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.Permissions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @return A list containing the permissions. */ - java.util.List getPermissionsList(); + java.util.List + getPermissionsList(); /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @return The count of permissions. */ int getPermissionsCount(); /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** - * - * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString getPermissionsBytes(int index); + com.google.protobuf.ByteString + getPermissionsBytes(int index); } diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java similarity index 74% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java index 5a6167667..6c2f777c0 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** - * - * *
  * Search all IAM policies request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest} */ -public final class SearchAllIamPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllIamPoliciesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) SearchAllIamPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesRequest.newBuilder() to construct. private SearchAllIamPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllIamPoliciesRequest() { scope_ = ""; query_ = ""; @@ -45,15 +27,16 @@ private SearchAllIamPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllIamPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllIamPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private SearchAllIamPoliciesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + scope_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,33 +92,29 @@ private SearchAllIamPoliciesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -149,7 +125,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -158,15 +133,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -177,15 +151,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -196,8 +171,6 @@ public com.google.protobuf.ByteString getScopeBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Optional. The query statement.
    * Examples:
@@ -206,7 +179,6 @@ public com.google.protobuf.ByteString getScopeBytes() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -215,15 +187,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Optional. The query statement.
    * Examples:
@@ -232,15 +203,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -251,8 +223,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -261,7 +231,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -272,8 +241,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -282,7 +249,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -291,15 +257,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; } } /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -308,15 +273,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -325,7 +291,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +302,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -366,7 +332,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -379,18 +346,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.asset.v1p1beta1.SearchAllIamPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest other = - (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) obj; - - if (!getScope().equals(other.getScope())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest other = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) obj; + + if (!getScope() + .equals(other.getScope())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -416,127 +386,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all IAM policies request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.newBuilder() @@ -544,15 +504,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -568,14 +529,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance(); } @@ -590,8 +550,7 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result = - new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(this); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(this); result.scope_ = scope_; result.query_ = query_; result.pageSize_ = pageSize_; @@ -604,39 +563,38 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest)other); } else { super.mergeFrom(other); return this; @@ -644,9 +602,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest other) { - if (other - == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -681,8 +637,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -694,8 +649,6 @@ public Builder mergeFrom( private java.lang.Object scope_ = ""; /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -706,13 +659,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -721,8 +674,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -733,14 +684,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -748,8 +700,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -760,22 +710,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -786,18 +734,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -808,16 +753,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -825,8 +770,6 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Optional. The query statement.
      * Examples:
@@ -835,13 +778,13 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -850,8 +793,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query statement.
      * Examples:
@@ -860,14 +801,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -875,8 +817,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query statement.
      * Examples:
@@ -885,22 +825,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The query statement.
      * Examples:
@@ -909,18 +847,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The query statement.
      * Examples:
@@ -929,25 +864,23 @@ public Builder clearQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -956,7 +889,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -964,8 +896,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -974,19 +904,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -995,11 +922,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1007,8 +933,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1017,13 +941,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1032,8 +956,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1042,14 +964,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1057,8 +980,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1067,22 +988,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1091,18 +1010,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1111,23 +1027,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1137,13 +1053,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) - private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(); } @@ -1152,16 +1067,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1176,4 +1091,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java index 91f2d39a5..afcbed816 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllIamPoliciesRequestOrBuilder - extends +public interface SearchAllIamPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -36,13 +18,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -53,14 +32,12 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Optional. The query statement.
    * Examples:
@@ -69,13 +46,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Optional. The query statement.
    * Examples:
@@ -84,14 +58,12 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -100,14 +72,11 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -116,13 +85,10 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -131,8 +97,8 @@ public interface SearchAllIamPoliciesRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java similarity index 75% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java index 7893f7cc7..7b8d7fddf 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** - * - * *
  * Search all IAM policies response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse} */ -public final class SearchAllIamPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllIamPoliciesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) SearchAllIamPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesResponse.newBuilder() to construct. private SearchAllIamPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllIamPoliciesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private SearchAllIamPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllIamPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllIamPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private SearchAllIamPoliciesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult>(); - mutable_bitField0_ |= 0x00000001; - } - results_.add( - input.readMessage( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + results_.add( + input.readMessage(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private SearchAllIamPoliciesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -116,27 +94,22 @@ private SearchAllIamPoliciesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** - * - * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -149,8 +122,6 @@ public java.util.List ge
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -159,13 +130,11 @@ public java.util.List ge
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResultsOrBuilderList() {
     return results_;
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -178,8 +147,6 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -192,8 +159,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
     return results_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -210,8 +175,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -219,7 +182,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -228,15 +190,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -244,15 +205,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -261,7 +223,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -290,7 +252,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -303,16 +266,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.asset.v1p1beta1.SearchAllIamPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse other = - (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) obj; + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse other = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) obj; - if (!getResultsList().equals(other.getResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,127 +300,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all IAM policies response.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.newBuilder() @@ -464,17 +418,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) { getResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,14 +444,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance(); } @@ -512,8 +465,7 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result = - new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse(this); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -533,39 +485,38 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse)other); } else { super.mergeFrom(other); return this; @@ -573,9 +524,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse other) { - if (other - == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance()) return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -594,10 +543,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRe resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResultsFieldBuilder() - : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResultsFieldBuilder() : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -626,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,30 +583,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList( - results_); + results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, - com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> - resultsBuilder_; + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> resultsBuilder_; /** - * - * *
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -676,8 +613,6 @@ public java.util.List ge
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -693,8 +628,6 @@ public int getResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -710,8 +643,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -734,8 +665,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -755,8 +684,6 @@ public Builder setResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -778,8 +705,6 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -802,8 +727,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -823,8 +746,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -844,8 +765,6 @@ public Builder addResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -854,11 +773,11 @@ public Builder addResults(
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
     public Builder addAllResults(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (resultsBuilder_ == null) {
         ensureResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, results_);
         onChanged();
       } else {
         resultsBuilder_.addAllMessages(values);
@@ -866,8 +785,6 @@ public Builder addAllResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -886,8 +803,6 @@ public Builder clearResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -906,8 +821,6 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -920,8 +833,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder getResults
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -932,14 +843,11 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder getResults
     public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
         int index) {
       if (resultsBuilder_ == null) {
-        return results_.get(index);
-      } else {
+        return results_.get(index);  } else {
         return resultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -947,8 +855,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
      *
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
-    public java.util.List
-        getResultsOrBuilderList() {
+    public java.util.List 
+         getResultsOrBuilderList() {
       if (resultsBuilder_ != null) {
         return resultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -956,8 +864,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
       }
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -966,12 +872,10 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
     public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResultsBuilder() {
-      return getResultsFieldBuilder()
-          .addBuilder(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
+      return getResultsFieldBuilder().addBuilder(
+          com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -981,13 +885,10 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
      */
     public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResultsBuilder(
         int index) {
-      return getResultsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
+      return getResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -995,23 +896,20 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
      *
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
-    public java.util.List
-        getResultsBuilderList() {
+    public java.util.List 
+         getResultsBuilderList() {
       return getResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult,
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder,
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> 
         getResultsFieldBuilder() {
       if (resultsBuilder_ == null) {
-        resultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult,
-                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder,
-                com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>(
-                results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>(
+                results_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         results_ = null;
       }
       return resultsBuilder_;
@@ -1019,8 +917,6 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1028,13 +924,13 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1043,8 +939,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1052,14 +946,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1067,8 +962,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1076,22 +969,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1099,18 +990,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1118,23 +1006,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1144,13 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) - private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse(); } @@ -1159,16 +1046,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1183,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java index 6407224fc..eb39db5c9 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllIamPoliciesResponseOrBuilder - extends +public interface SearchAllIamPoliciesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -33,10 +15,9 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
-  java.util.List getResultsList();
+  java.util.List 
+      getResultsList();
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -46,8 +27,6 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    */
   com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int index);
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -57,8 +36,6 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    */
   int getResultsCount();
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -66,11 +43,9 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
-  java.util.List
+  java.util.List 
       getResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -78,11 +53,10 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    *
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
-  com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index);
+  com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -90,13 +64,10 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -104,8 +75,8 @@ public interface SearchAllIamPoliciesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java similarity index 76% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java index c872d832f..026f16c77 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** - * - * *
  * Search all resources request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesRequest} */ -public final class SearchAllResourcesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllResourcesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) SearchAllResourcesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllResourcesRequest.newBuilder() to construct. private SearchAllResourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllResourcesRequest() { scope_ = ""; query_ = ""; @@ -47,15 +29,16 @@ private SearchAllResourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllResourcesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllResourcesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,56 +58,51 @@ private SearchAllResourcesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + scope_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; - } - case 32: - { - pageSize_ = input.readInt32(); - break; + query_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + assetTypes_.add(s); + break; + } + case 32: { - pageToken_ = s; - break; - } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,7 +110,8 @@ private SearchAllResourcesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -141,27 +120,22 @@ private SearchAllResourcesRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -172,7 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ @java.lang.Override @@ -181,15 +154,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -200,15 +172,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -219,14 +192,11 @@ public com.google.protobuf.ByteString getScopeBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ @java.lang.Override @@ -235,29 +205,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -268,45 +238,37 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -314,27 +276,23 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -343,7 +301,6 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -354,8 +311,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -364,7 +319,6 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -373,15 +327,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; } } /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -390,15 +343,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -409,8 +363,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 10; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -419,7 +371,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -428,15 +379,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -445,15 +395,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -462,7 +413,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,7 +424,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -517,7 +468,8 @@ public int getSerializedSize() { size += 1 * getAssetTypesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -533,20 +485,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.asset.v1p1beta1.SearchAllResourcesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest other = - (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) obj; - - if (!getScope().equals(other.getScope())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest other = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) obj; + + if (!getScope() + .equals(other.getScope())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -578,127 +535,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all resources request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.newBuilder() @@ -706,15 +653,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -734,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; } @java.lang.Override @@ -755,8 +703,7 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result = - new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(this); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(this); int from_bitField0_ = bitField0_; result.scope_ = scope_; result.query_ = query_; @@ -776,39 +723,38 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest)other); } else { super.mergeFrom(other); return this; @@ -816,8 +762,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest other) { - if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -866,8 +811,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -876,13 +820,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object scope_ = ""; /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -893,13 +834,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -908,8 +849,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -920,14 +859,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -935,8 +875,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -947,22 +885,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -973,18 +909,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -995,16 +928,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -1012,20 +945,18 @@ public Builder setScopeBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1034,21 +965,20 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1056,115 +986,98 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1172,95 +1085,85 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1270,33 +1173,29 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -1305,7 +1204,6 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1313,8 +1211,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -1323,19 +1219,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -1344,11 +1237,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1356,8 +1248,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1366,13 +1256,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1381,8 +1271,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1391,14 +1279,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1406,8 +1295,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1416,22 +1303,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1440,18 +1325,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1460,16 +1342,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1477,8 +1359,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1487,13 +1367,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1502,8 +1382,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1512,14 +1390,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1527,8 +1406,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1537,22 +1414,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1561,18 +1436,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1581,23 +1453,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1607,12 +1479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) private static final com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(); } @@ -1621,16 +1493,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1645,4 +1517,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java similarity index 82% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java index 9b27969f4..ac3074628 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllResourcesRequestOrBuilder - extends +public interface SearchAllResourcesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -36,13 +18,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -53,94 +32,77 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); /** - * - * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -149,14 +111,11 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -165,13 +124,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -180,14 +136,12 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -196,13 +150,10 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -211,8 +162,8 @@ public interface SearchAllResourcesRequestOrBuilder
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java similarity index 73% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java index 4e85d5501..ddd19c83b 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** - * - * *
  * Search all resources response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesResponse} */ -public final class SearchAllResourcesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchAllResourcesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) SearchAllResourcesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchAllResourcesResponse.newBuilder() to construct. private SearchAllResourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchAllResourcesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private SearchAllResourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchAllResourcesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SearchAllResourcesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private SearchAllResourcesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata>(); - mutable_bitField0_ |= 0x00000001; - } - results_.add( - input.readMessage( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + results_.add( + input.readMessage(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private SearchAllResourcesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -116,27 +94,22 @@ private SearchAllResourcesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -144,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ @java.lang.Override - public java.util.List - getResultsList() { + public java.util.List getResultsList() { return results_; } /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -158,14 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> + public java.util.List getResultsOrBuilderList() { return results_; } /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -177,8 +144,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -190,8 +155,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int return results_.get(index); } /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -207,8 +170,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -216,7 +177,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -225,15 +185,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -241,15 +200,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -287,7 +247,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +261,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.asset.v1p1beta1.SearchAllResourcesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse other = - (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) obj; + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse other = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) obj; - if (!getResultsList().equals(other.getResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getResultsList() + .equals(other.getResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,127 +295,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Search all resources response.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.newBuilder() @@ -461,17 +413,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) { getResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; } @java.lang.Override @@ -508,8 +460,7 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result = - new com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse(this); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -529,39 +480,38 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse)other); } else { super.mergeFrom(other); return this; @@ -569,8 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse other) { - if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.getDefaultInstance()) return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -589,10 +538,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResp resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getResultsFieldBuilder() - : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getResultsFieldBuilder() : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -621,8 +569,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -631,38 +578,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = - new java.util.ArrayList( - results_); + results_ = new java.util.ArrayList(results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> - resultsBuilder_; + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> resultsBuilder_; /** - * - * *
      * A list of resource that match the search query.
      * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - public java.util.List - getResultsList() { + public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { @@ -670,8 +607,6 @@ private void ensureResultsIsMutable() { } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -686,8 +621,6 @@ public int getResultsCount() { } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -702,8 +635,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -725,8 +656,6 @@ public Builder setResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -734,8 +663,7 @@ public Builder setResults( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public Builder setResults( - int index, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { + int index, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); @@ -746,8 +674,6 @@ public Builder setResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -768,8 +694,6 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.StandardResourceMetad return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -791,8 +715,6 @@ public Builder addResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -811,8 +733,6 @@ public Builder addResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -820,8 +740,7 @@ public Builder addResults( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public Builder addResults( - int index, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { + int index, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); @@ -832,8 +751,6 @@ public Builder addResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -841,11 +758,11 @@ public Builder addResults( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public Builder addAllResults( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -853,8 +770,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -872,8 +787,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -891,8 +804,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -904,8 +815,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu return getResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -915,23 +824,19 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { - return results_.get(index); - } else { + return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of resource that match the search query.
      * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> - getResultsOrBuilderList() { + public java.util.List + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -939,8 +844,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -948,13 +851,10 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResultsBuilder() { - return getResultsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); } /** - * - * *
      * A list of resource that match the search query.
      * 
@@ -963,37 +863,30 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResu */ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); + return getResultsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); } /** - * - * *
      * A list of resource that match the search query.
      * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder>( - results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder>( + results_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); results_ = null; } return resultsBuilder_; @@ -1001,8 +894,6 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -1010,13 +901,13 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResu
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1025,8 +916,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -1034,14 +923,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1049,8 +939,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -1058,22 +946,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -1081,18 +967,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -1100,23 +983,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) private static final com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse(); } @@ -1140,16 +1023,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1164,4 +1047,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java index 183a1d699..cea3d70ab 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.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/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllResourcesResponseOrBuilder - extends +public interface SearchAllResourcesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of resource that match the search query.
    * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - java.util.List getResultsList(); + java.util.List + getResultsList(); /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -44,8 +25,6 @@ public interface SearchAllResourcesResponseOrBuilder */ com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int index); /** - * - * *
    * A list of resource that match the search query.
    * 
@@ -54,30 +33,25 @@ public interface SearchAllResourcesResponseOrBuilder */ int getResultsCount(); /** - * - * *
    * A list of resource that match the search query.
    * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** - * - * *
    * A list of resource that match the search query.
    * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrBuilder(int index); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrBuilder( + int index); /** - * - * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -85,13 +59,10 @@ public interface SearchAllResourcesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -99,8 +70,8 @@ public interface SearchAllResourcesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java similarity index 73% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java index 670f18077..f69059be5 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.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/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; /** - * - * *
  * The standard metadata of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.StandardResourceMetadata} */ -public final class StandardResourceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StandardResourceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.StandardResourceMetadata) StandardResourceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StandardResourceMetadata.newBuilder() to construct. private StandardResourceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StandardResourceMetadata() { name_ = ""; assetType_ = ""; @@ -50,15 +32,16 @@ private StandardResourceMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StandardResourceMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StandardResourceMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -78,88 +61,80 @@ private StandardResourceMetadata( 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(); - assetType_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + assetType_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + project_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - additionalAttributes_.add(s); - break; + description_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); + additionalAttributes_.add(s); + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 98: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + location_ = s; + break; + } + case 98: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - networkTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - networkTags_.add(s); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + networkTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + networkTags_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -167,7 +142,8 @@ private StandardResourceMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { additionalAttributes_ = additionalAttributes_.getUnmodifiableView(); @@ -179,38 +155,34 @@ private StandardResourceMetadata( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_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 12: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -220,7 +192,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -229,15 +200,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 full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -247,15 +217,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 { @@ -266,15 +237,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -283,30 +251,30 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -317,15 +285,12 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int PROJECT_FIELD_NUMBER = 3; private volatile java.lang.Object project_; /** - * - * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; - * * @return The project. */ @java.lang.Override @@ -334,30 +299,30 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -368,14 +333,11 @@ public com.google.protobuf.ByteString getProjectBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of this resource.
    * 
* * string display_name = 4; - * * @return The displayName. */ @java.lang.Override @@ -384,29 +346,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of this resource.
    * 
* * string display_name = 4; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -417,15 +379,12 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -434,30 +393,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; - * * @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 { @@ -468,8 +427,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList additionalAttributes_; /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -477,15 +434,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string additional_attributes = 10; - * * @return A list containing the additionalAttributes. */ - public com.google.protobuf.ProtocolStringList getAdditionalAttributesList() { + public com.google.protobuf.ProtocolStringList + getAdditionalAttributesList() { return additionalAttributes_; } /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -493,15 +448,12 @@ public com.google.protobuf.ProtocolStringList getAdditionalAttributesList() {
    * 
* * repeated string additional_attributes = 10; - * * @return The count of additionalAttributes. */ public int getAdditionalAttributesCount() { return additionalAttributes_.size(); } /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -509,7 +461,6 @@ public int getAdditionalAttributesCount() {
    * 
* * repeated string additional_attributes = 10; - * * @param index The index of the element to return. * @return The additionalAttributes at the given index. */ @@ -517,8 +468,6 @@ public java.lang.String getAdditionalAttributes(int index) { return additionalAttributes_.get(index); } /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -526,26 +475,23 @@ public java.lang.String getAdditionalAttributes(int index) {
    * 
* * repeated string additional_attributes = 10; - * * @param index The index of the value to return. * @return The bytes of the additionalAttributes at the given index. */ - public com.google.protobuf.ByteString getAdditionalAttributesBytes(int index) { + public com.google.protobuf.ByteString + getAdditionalAttributesBytes(int index) { return additionalAttributes_.getByteString(index); } public static final int LOCATION_FIELD_NUMBER = 11; private volatile java.lang.Object location_; /** - * - * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; - * * @return The location. */ @java.lang.Override @@ -554,30 +500,30 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -586,23 +532,24 @@ public com.google.protobuf.ByteString getLocationBytes() { } public static final int LABELS_FIELD_NUMBER = 12; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -611,8 +558,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -621,22 +566,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 12;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -646,12 +591,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 12;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -661,16 +605,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -680,11 +624,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -694,8 +639,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int NETWORK_TAGS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList networkTags_;
   /**
-   *
-   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -704,15 +647,13 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * repeated string network_tags = 13; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_; } /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -721,15 +662,12 @@ public com.google.protobuf.ProtocolStringList getNetworkTagsList() {
    * 
* * repeated string network_tags = 13; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -738,7 +676,6 @@ public int getNetworkTagsCount() {
    * 
* * repeated string network_tags = 13; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -746,8 +683,6 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -756,16 +691,15 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * repeated string network_tags = 13; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -777,7 +711,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -794,14 +729,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } for (int i = 0; i < additionalAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 10, additionalAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, additionalAttributes_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, location_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 12); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 12); for (int i = 0; i < networkTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, networkTags_.getRaw(i)); } @@ -840,15 +778,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, location_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, labels__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, labels__); } { int dataSize = 0; @@ -866,23 +804,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.asset.v1p1beta1.StandardResourceMetadata)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata other = - (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) obj; - - if (!getName().equals(other.getName())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; - if (!getProject().equals(other.getProject())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getAdditionalAttributesList().equals(other.getAdditionalAttributesList())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata other = (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getAdditionalAttributesList() + .equals(other.getAdditionalAttributesList())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!getNetworkTagsList() + .equals(other.getNetworkTagsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -924,147 +870,139 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.nio.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.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.StandardResourceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( - byte[] data, com.google.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.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.StandardResourceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.StandardResourceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p1beta1.StandardResourceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The standard metadata of a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.StandardResourceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.StandardResourceMetadata) com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 12: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 12: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.newBuilder() @@ -1072,15 +1010,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1105,9 +1044,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto - .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; } @java.lang.Override @@ -1126,8 +1065,7 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata buildPartial() { - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result = - new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(this); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result = new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.assetType_ = assetType_; @@ -1155,39 +1093,38 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.StandardResourceMetadata)other); } else { super.mergeFrom(other); return this; @@ -1195,8 +1132,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata other) { - if (other == com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1231,7 +1167,8 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.StandardResourceMetada location_ = other.location_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { networkTags_ = other.networkTags_; @@ -1261,8 +1198,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1271,13 +1207,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1287,13 +1220,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; @@ -1302,8 +1235,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1313,14 +1244,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 { @@ -1328,8 +1260,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1339,22 +1269,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 full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1364,18 +1292,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 full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1385,16 +1310,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; @@ -1402,21 +1327,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1425,22 +1348,21 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -1448,64 +1370,57 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1513,21 +1428,19 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object project_ = ""; /** - * - * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -1536,22 +1449,21 @@ public java.lang.String getProject() { } } /** - * - * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -1559,64 +1471,57 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { + public Builder setProject( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** - * - * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; - * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** - * - * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -1624,20 +1529,18 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of this resource.
      * 
* * string display_name = 4; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1646,21 +1549,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of this resource.
      * 
* * string display_name = 4; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1668,61 +1570,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of this resource.
      * 
* * string display_name = 4; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of this resource.
      * 
* * string display_name = 4; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of this resource.
      * 
* * string display_name = 4; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1730,21 +1625,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; - * * @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; @@ -1753,22 +1646,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; - * * @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 { @@ -1776,81 +1668,70 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; - * * @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; } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList additionalAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList additionalAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAdditionalAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(additionalAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1858,15 +1739,13 @@ private void ensureAdditionalAttributesIsMutable() {
      * 
* * repeated string additional_attributes = 10; - * * @return A list containing the additionalAttributes. */ - public com.google.protobuf.ProtocolStringList getAdditionalAttributesList() { + public com.google.protobuf.ProtocolStringList + getAdditionalAttributesList() { return additionalAttributes_.getUnmodifiableView(); } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1874,15 +1753,12 @@ public com.google.protobuf.ProtocolStringList getAdditionalAttributesList() {
      * 
* * repeated string additional_attributes = 10; - * * @return The count of additionalAttributes. */ public int getAdditionalAttributesCount() { return additionalAttributes_.size(); } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1890,7 +1766,6 @@ public int getAdditionalAttributesCount() {
      * 
* * repeated string additional_attributes = 10; - * * @param index The index of the element to return. * @return The additionalAttributes at the given index. */ @@ -1898,8 +1773,6 @@ public java.lang.String getAdditionalAttributes(int index) { return additionalAttributes_.get(index); } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1907,16 +1780,14 @@ public java.lang.String getAdditionalAttributes(int index) {
      * 
* * repeated string additional_attributes = 10; - * * @param index The index of the value to return. * @return The bytes of the additionalAttributes at the given index. */ - public com.google.protobuf.ByteString getAdditionalAttributesBytes(int index) { + public com.google.protobuf.ByteString + getAdditionalAttributesBytes(int index) { return additionalAttributes_.getByteString(index); } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1924,23 +1795,21 @@ public com.google.protobuf.ByteString getAdditionalAttributesBytes(int index) {
      * 
* * repeated string additional_attributes = 10; - * * @param index The index to set the value at. * @param value The additionalAttributes to set. * @return This builder for chaining. */ - public Builder setAdditionalAttributes(int index, java.lang.String value) { + public Builder setAdditionalAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalAttributesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalAttributesIsMutable(); additionalAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1948,22 +1817,20 @@ public Builder setAdditionalAttributes(int index, java.lang.String value) {
      * 
* * repeated string additional_attributes = 10; - * * @param value The additionalAttributes to add. * @return This builder for chaining. */ - public Builder addAdditionalAttributes(java.lang.String value) { + public Builder addAdditionalAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalAttributesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalAttributesIsMutable(); additionalAttributes_.add(value); onChanged(); return this; } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1971,19 +1838,18 @@ public Builder addAdditionalAttributes(java.lang.String value) {
      * 
* * repeated string additional_attributes = 10; - * * @param values The additionalAttributes to add. * @return This builder for chaining. */ - public Builder addAllAdditionalAttributes(java.lang.Iterable values) { + public Builder addAllAdditionalAttributes( + java.lang.Iterable values) { ensureAdditionalAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalAttributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, additionalAttributes_); onChanged(); return this; } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1991,7 +1857,6 @@ public Builder addAllAdditionalAttributes(java.lang.Iterable v
      * 
* * repeated string additional_attributes = 10; - * * @return This builder for chaining. */ public Builder clearAdditionalAttributes() { @@ -2001,8 +1866,6 @@ public Builder clearAdditionalAttributes() { return this; } /** - * - * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -2010,15 +1873,15 @@ public Builder clearAdditionalAttributes() {
      * 
* * repeated string additional_attributes = 10; - * * @param value The bytes of the additionalAttributes to add. * @return This builder for chaining. */ - public Builder addAdditionalAttributesBytes(com.google.protobuf.ByteString value) { + public Builder addAdditionalAttributesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAdditionalAttributesIsMutable(); additionalAttributes_.add(value); onChanged(); @@ -2027,21 +1890,19 @@ public Builder addAdditionalAttributesBytes(com.google.protobuf.ByteString value private java.lang.Object location_ = ""; /** - * - * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -2050,22 +1911,21 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -2073,84 +1933,78 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2162,8 +2016,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2172,22 +2024,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 12;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2197,12 +2049,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 12;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2212,17 +2063,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 12;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2232,11 +2082,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 12;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2244,12 +2095,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2258,21 +2108,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 12;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2281,20 +2133,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 12;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2303,23 +2154,22 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 12;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.LazyStringList networkTags_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureNetworkTagsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2328,15 +2178,13 @@ private void ensureNetworkTagsIsMutable() {
      * 
* * repeated string network_tags = 13; - * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList + getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2345,15 +2193,12 @@ public com.google.protobuf.ProtocolStringList getNetworkTagsList() {
      * 
* * repeated string network_tags = 13; - * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2362,7 +2207,6 @@ public int getNetworkTagsCount() {
      * 
* * repeated string network_tags = 13; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2370,8 +2214,6 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2380,16 +2222,14 @@ public java.lang.String getNetworkTags(int index) {
      * 
* * repeated string network_tags = 13; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString + getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2398,23 +2238,21 @@ public com.google.protobuf.ByteString getNetworkTagsBytes(int index) {
      * 
* * repeated string network_tags = 13; - * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags(int index, java.lang.String value) { + public Builder setNetworkTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2423,22 +2261,20 @@ public Builder setNetworkTags(int index, java.lang.String value) {
      * 
* * repeated string network_tags = 13; - * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags(java.lang.String value) { + public Builder addNetworkTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2447,19 +2283,18 @@ public Builder addNetworkTags(java.lang.String value) {
      * 
* * repeated string network_tags = 13; - * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags(java.lang.Iterable values) { + public Builder addAllNetworkTags( + java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkTags_); onChanged(); return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2468,7 +2303,6 @@ public Builder addAllNetworkTags(java.lang.Iterable values) {
      * 
* * repeated string network_tags = 13; - * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2478,8 +2312,6 @@ public Builder clearNetworkTags() { return this; } /** - * - * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2488,23 +2320,23 @@ public Builder clearNetworkTags() {
      * 
* * repeated string network_tags = 13; - * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.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); } @@ -2514,12 +2346,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.StandardResourceMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.StandardResourceMetadata) private static final com.google.cloud.asset.v1p1beta1.StandardResourceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(); } @@ -2528,16 +2360,16 @@ public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardResourceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StandardResourceMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardResourceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StandardResourceMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2552,4 +2384,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java similarity index 81% rename from proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java index bb204bb0e..5a4547c2d 100644 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java +++ b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.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/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; -public interface StandardResourceMetadataOrBuilder - extends +public interface StandardResourceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.StandardResourceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -35,13 +17,10 @@ public interface StandardResourceMetadataOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -51,120 +30,98 @@ public interface StandardResourceMetadataOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * The display name of this resource.
    * 
* * string display_name = 4; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of this resource.
    * 
* * string display_name = 4; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -172,13 +129,11 @@ public interface StandardResourceMetadataOrBuilder
    * 
* * repeated string additional_attributes = 10; - * * @return A list containing the additionalAttributes. */ - java.util.List getAdditionalAttributesList(); + java.util.List + getAdditionalAttributesList(); /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -186,13 +141,10 @@ public interface StandardResourceMetadataOrBuilder
    * 
* * repeated string additional_attributes = 10; - * * @return The count of additionalAttributes. */ int getAdditionalAttributesCount(); /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -200,14 +152,11 @@ public interface StandardResourceMetadataOrBuilder
    * 
* * repeated string additional_attributes = 10; - * * @param index The index of the element to return. * @return The additionalAttributes at the given index. */ java.lang.String getAdditionalAttributes(int index); /** - * - * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -215,42 +164,35 @@ public interface StandardResourceMetadataOrBuilder
    * 
* * repeated string additional_attributes = 10; - * * @param index The index of the value to return. * @return The bytes of the additionalAttributes at the given index. */ - com.google.protobuf.ByteString getAdditionalAttributesBytes(int index); + com.google.protobuf.ByteString + getAdditionalAttributesBytes(int index); /** - * - * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -261,8 +203,6 @@ public interface StandardResourceMetadataOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -271,13 +211,15 @@ public interface StandardResourceMetadataOrBuilder
    *
    * map<string, string> labels = 12;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -286,10 +228,9 @@ public interface StandardResourceMetadataOrBuilder
    *
    * map<string, string> labels = 12;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -300,13 +241,11 @@ public interface StandardResourceMetadataOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -315,11 +254,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 12;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -328,13 +267,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 13; - * * @return A list containing the networkTags. */ - java.util.List getNetworkTagsList(); + java.util.List + getNetworkTagsList(); /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -343,13 +280,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 13; - * * @return The count of networkTags. */ int getNetworkTagsCount(); /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -358,14 +292,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 13; - * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** - * - * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -374,9 +305,9 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string network_tags = 13; - * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString getNetworkTagsBytes(int index); + com.google.protobuf.ByteString + getNetworkTagsBytes(int index); } diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto similarity index 100% rename from proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto similarity index 100% rename from proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto rename to owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java index b57409a4e..4f42dcd7e 100644 --- a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java +++ b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.asset.v1p1beta1.samples; -// [START -// asset_v1p1beta1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] +// [START asset_v1p1beta1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] import com.google.cloud.asset.v1p1beta1.AssetServiceClient; import com.google.cloud.asset.v1p1beta1.StandardResourceMetadata; import java.util.ArrayList; diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java b/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java rename to owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java similarity index 98% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java index 99203e50e..9dffe374f 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java @@ -49,13 +49,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. *
* diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java similarity index 96% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java index 557fdc0d9..739ad5a58 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p2beta1.stub.AssetServiceStubSettings; @@ -40,9 +41,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java similarity index 98% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java index daf1b5fbe..52cc8455a 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java @@ -58,9 +58,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java index 55c2f122f..4c74edb92 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java @@ -36,6 +36,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-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java b/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java rename to owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java new file mode 100644 index 000000000..696a0aaaf --- /dev/null +++ b/owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java @@ -0,0 +1,651 @@ +package com.google.cloud.asset.v1p2beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Asset service definition.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/asset/v1p2beta1/asset_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AssetServiceGrpc { + + private AssetServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.asset.v1p2beta1.AssetService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFeed", + requestType = com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateFeedMethod() { + io.grpc.MethodDescriptor getCreateFeedMethod; + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + AssetServiceGrpc.getCreateFeedMethod = getCreateFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) + .build(); + } + } + } + return getCreateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFeed", + requestType = com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFeedMethod() { + io.grpc.MethodDescriptor getGetFeedMethod; + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + AssetServiceGrpc.getGetFeedMethod = getGetFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) + .build(); + } + } + } + return getGetFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFeedsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeeds", + requestType = com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFeedsMethod() { + io.grpc.MethodDescriptor getListFeedsMethod; + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + AssetServiceGrpc.getListFeedsMethod = getListFeedsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) + .build(); + } + } + } + return getListFeedsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", + requestType = com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateFeedMethod() { + io.grpc.MethodDescriptor getUpdateFeedMethod; + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + AssetServiceGrpc.getUpdateFeedMethod = getUpdateFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) + .build(); + } + } + } + return getUpdateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", + requestType = com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteFeedMethod() { + io.grpc.MethodDescriptor getDeleteFeedMethod; + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + AssetServiceGrpc.getDeleteFeedMethod = getDeleteFeedMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) + .build(); + } + } + } + return getDeleteFeedMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AssetServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; + return AssetServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AssetServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; + return AssetServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AssetServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; + return AssetServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static abstract class AssetServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.CreateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>( + this, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>( + this, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( + this, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>( + this, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_FEED))) + .build(); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.Feed createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.Feed getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.ListFeedsResponse listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.Feed updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateFeedMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.protobuf.Empty deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFeedMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createFeed( + com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFeed( + com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFeeds( + com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateFeed( + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFeed( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_FEED = 0; + private static final int METHODID_GET_FEED = 1; + private static final int METHODID_LIST_FEEDS = 2; + private static final int METHODID_UPDATE_FEED = 3; + private static final int METHODID_DELETE_FEED = 4; + + 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 AssetServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AssetServiceImplBase 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_FEED: + serviceImpl.createFeed((com.google.cloud.asset.v1p2beta1.CreateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FEED: + serviceImpl.getFeed((com.google.cloud.asset.v1p2beta1.GetFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FEEDS: + serviceImpl.listFeeds((com.google.cloud.asset.v1p2beta1.ListFeedsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_FEED: + serviceImpl.updateFeed((com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FEED: + serviceImpl.deleteFeed((com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) 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 AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AssetServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AssetService"); + } + } + + private static final class AssetServiceFileDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier { + AssetServiceFileDescriptorSupplier() {} + } + + private static final class AssetServiceMethodDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getCreateFeedMethod()) + .addMethod(getGetFeedMethod()) + .addMethod(getListFeedsMethod()) + .addMethod(getUpdateFeedMethod()) + .addMethod(getDeleteFeedMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java similarity index 75% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java index 704e28ff5..bcb258585 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/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/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Cloud asset. This includes all Google Cloud Platform resources,
  * Cloud IAM policies, and other non-GCP assets.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.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_ = "";
     assetType_ = "";
@@ -46,15 +28,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)
@@ -74,67 +57,60 @@ 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;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1p2beta1.Resource.Builder subBuilder = null;
+            if (resource_ != null) {
+              subBuilder = resource_.toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1p2beta1.Resource.Builder subBuilder = null;
-              if (resource_ != null) {
-                subBuilder = resource_.toBuilder();
-              }
-              resource_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p2beta1.Resource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-
-              break;
+            resource_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Resource.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(resource_);
+              resource_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.iam.v1.Policy.Builder subBuilder = null;
-              if (iamPolicy_ != null) {
-                subBuilder = iamPolicy_.toBuilder();
-              }
-              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamPolicy_);
-                iamPolicy_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 34: {
+            com.google.iam.v1.Policy.Builder subBuilder = null;
+            if (iamPolicy_ != null) {
+              subBuilder = iamPolicy_.toBuilder();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ancestors_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              ancestors_.add(s);
-              break;
+            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamPolicy_);
+              iamPolicy_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              ancestors_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
+            ancestors_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -142,7 +118,8 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         ancestors_ = ancestors_.getUnmodifiableView();
@@ -151,27 +128,22 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1p2beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.Asset.class,
-            com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
+            com.google.cloud.asset.v1p2beta1.Asset.class, com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -181,7 +153,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -190,15 +161,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 full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -208,15 +178,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -227,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -243,29 +211,29 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -276,14 +244,11 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Resource resource_; /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -291,25 +256,18 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; - * * @return The resource. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.Resource getResource() { - return resource_ == null - ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; } /** - * - * *
    * Representation of the resource.
    * 
@@ -324,15 +282,12 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -340,15 +295,12 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -356,8 +308,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -373,8 +323,6 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ANCESTORS_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList ancestors_;
   /**
-   *
-   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -384,15 +332,13 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
    * 
* * repeated string ancestors = 6; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_; } /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -402,15 +348,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
    * 
* * repeated string ancestors = 6; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -420,7 +363,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 6; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -428,8 +370,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -439,16 +379,15 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 6; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,7 +399,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -492,10 +432,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getIamPolicy()); } { int dataSize = 0; @@ -513,24 +455,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p2beta1.Asset)) { return super.equals(obj); } com.google.cloud.asset.v1p2beta1.Asset other = (com.google.cloud.asset.v1p2beta1.Asset) obj; - if (!getName().equals(other.getName())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) 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 (!getAncestorsList().equals(other.getAncestorsList())) return false; + if (!getAncestorsList() + .equals(other.getAncestorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -563,104 +510,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.Asset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.Asset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.Asset 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.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.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; } /** - * - * *
    * Cloud asset. This includes all Google Cloud Platform resources,
    * Cloud IAM policies, and other non-GCP assets.
@@ -668,23 +608,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset)
       com.google.cloud.asset.v1p2beta1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.Asset.class,
-              com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
+              com.google.cloud.asset.v1p2beta1.Asset.class, com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.Asset.newBuilder()
@@ -692,15 +630,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -726,9 +665,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -747,8 +686,7 @@ public com.google.cloud.asset.v1p2beta1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.Asset buildPartial() {
-      com.google.cloud.asset.v1p2beta1.Asset result =
-          new com.google.cloud.asset.v1p2beta1.Asset(this);
+      com.google.cloud.asset.v1p2beta1.Asset result = new com.google.cloud.asset.v1p2beta1.Asset(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.assetType_ = assetType_;
@@ -775,39 +713,38 @@ public com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.Asset) other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.Asset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -868,13 +805,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -884,13 +818,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; @@ -899,8 +833,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -910,14 +842,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 { @@ -925,8 +858,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -936,22 +867,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 full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -961,18 +890,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 full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -982,16 +908,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; @@ -999,20 +925,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1021,21 +945,20 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -1043,61 +966,54 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1105,47 +1021,34 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p2beta1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Resource, - com.google.cloud.asset.v1p2beta1.Resource.Builder, - com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> - resourceBuilder_; + com.google.cloud.asset.v1p2beta1.Resource, com.google.cloud.asset.v1p2beta1.Resource.Builder, com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> resourceBuilder_; /** - * - * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** - * - * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; - * * @return The resource. */ public com.google.cloud.asset.v1p2beta1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * Representation of the resource.
      * 
@@ -1166,15 +1069,14 @@ public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** - * - * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; */ - public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource.Builder builderForValue) { + public Builder setResource( + com.google.cloud.asset.v1p2beta1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1185,8 +1087,6 @@ public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource.Builder bui return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1197,9 +1097,7 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1p2beta1.Resource.newBuilder(resource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p2beta1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -1211,8 +1109,6 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1231,8 +1127,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1240,13 +1134,11 @@ public Builder clearResource() { * .google.cloud.asset.v1p2beta1.Resource resource = 3; */ public com.google.cloud.asset.v1p2beta1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Representation of the resource.
      * 
@@ -1257,14 +1149,11 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; } } /** - * - * *
      * Representation of the resource.
      * 
@@ -1272,17 +1161,14 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() * .google.cloud.asset.v1p2beta1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Resource, - com.google.cloud.asset.v1p2beta1.Resource.Builder, - com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> + com.google.cloud.asset.v1p2beta1.Resource, com.google.cloud.asset.v1p2beta1.Resource.Builder, com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Resource, - com.google.cloud.asset.v1p2beta1.Resource.Builder, - com.google.cloud.asset.v1p2beta1.ResourceOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Resource, com.google.cloud.asset.v1p2beta1.Resource.Builder, com.google.cloud.asset.v1p2beta1.ResourceOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; @@ -1290,35 +1176,26 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - iamPolicyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; /** - * - * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** - * - * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1329,8 +1206,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1352,8 +1227,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1361,7 +1234,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -1372,8 +1246,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1385,7 +1257,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -1397,8 +1269,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1418,8 +1288,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1428,13 +1296,11 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-
+      
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1446,12 +1312,11 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1460,34 +1325,27 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(), getParentForChildren(), isClean());
+        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(),
+                getParentForChildren(),
+                isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList ancestors_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAncestorsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1497,15 +1355,13 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 6; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1515,15 +1371,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
      * 
* * repeated string ancestors = 6; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1533,7 +1386,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 6; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1541,8 +1393,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1552,16 +1402,14 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 6; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1571,23 +1419,21 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
      * 
* * repeated string ancestors = 6; - * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors(int index, java.lang.String value) { + public Builder setAncestors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1597,22 +1443,20 @@ public Builder setAncestors(int index, java.lang.String value) {
      * 
* * repeated string ancestors = 6; - * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors(java.lang.String value) { + public Builder addAncestors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1622,19 +1466,18 @@ public Builder addAncestors(java.lang.String value) {
      * 
* * repeated string ancestors = 6; - * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors(java.lang.Iterable values) { + public Builder addAllAncestors( + java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ancestors_); onChanged(); return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1644,7 +1487,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 6; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1654,8 +1496,6 @@ public Builder clearAncestors() { return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1665,23 +1505,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 6; - * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -1691,12 +1531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.Asset) private static final com.google.cloud.asset.v1p2beta1.Asset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.Asset(); } @@ -1705,16 +1545,16 @@ public static com.google.cloud.asset.v1p2beta1.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; @@ -1729,4 +1569,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java similarity index 83% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java index 6396365ad..c7aacd763 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/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/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; -public interface AssetOrBuilder - extends +public interface AssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.Asset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -35,13 +17,10 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -51,63 +30,50 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; - * * @return The resource. */ com.google.cloud.asset.v1p2beta1.Resource getResource(); /** - * - * *
    * Representation of the resource.
    * 
@@ -117,34 +83,26 @@ public interface AssetOrBuilder com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder(); /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -155,8 +113,6 @@ public interface AssetOrBuilder
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -166,13 +122,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 6; - * * @return A list containing the ancestors. */ - java.util.List getAncestorsList(); + java.util.List + getAncestorsList(); /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -182,13 +136,10 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 6; - * * @return The count of ancestors. */ int getAncestorsCount(); /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -198,14 +149,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 6; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -215,9 +163,9 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 6; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString getAncestorsBytes(int index); + com.google.protobuf.ByteString + getAncestorsBytes(int index); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java new file mode 100644 index 000000000..90589ce11 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java @@ -0,0 +1,113 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/assets.proto + +package com.google.cloud.asset.v1p2beta1; + +public final class AssetProto { + private AssetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p2beta1_TemporalAsset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/asset/v1p2beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p2beta1\032\034googl" + + "e/api/annotations.proto\032\032google/iam/v1/p" + + "olicy.proto\032\031google/protobuf/any.proto\032\034" + + "google/protobuf/struct.proto\032\037google/pro" + + "tobuf/timestamp.proto\"\216\001\n\rTemporalAsset\022" + + "8\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p" + + "2beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005as" + + "set\030\003 \001(\0132#.google.cloud.asset.v1p2beta1" + + ".Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\013" + + "2\032.google.protobuf.Timestamp\022,\n\010end_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\"\241\001\n\005A" + + "sset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228" + + "\n\010resource\030\003 \001(\0132&.google.cloud.asset.v1" + + "p2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.g" + + "oogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\"\240" + + "\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026discover" + + "y_document_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003" + + " \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001" + + "(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf.Struc" + + "tB\264\001\n com.google.cloud.asset.v1p2beta1B\n" + + "AssetProtoP\001ZAgoogle.golang.org/genproto" + + "/googleapis/cloud/asset/v1p2beta1;asset\370" + + "\001\001\252\002\034Google.Cloud.Asset.v1p2beta1\312\002\034Goog" + + "le\\Cloud\\Asset\\V1p2beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor, + new java.lang.String[] { "Window", "Deleted", "Asset", }); + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor, + new java.lang.String[] { "Name", "AssetType", "Resource", "IamPolicy", "Ancestors", }); + internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor, + new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", }); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java new file mode 100644 index 000000000..6581d8822 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java @@ -0,0 +1,251 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/asset_service.proto + +package com.google.cloud.asset.v1p2beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p2beta1_CreateFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_Feed_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/asset/v1p2beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p2beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032)goo" + + "gle/cloud/asset/v1p2beta1/assets.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"u\n\021CreateFeedRequest\022\023\n\006pare" + + "nt\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A\002\0225\n\004f" + + "eed\030\003 \001(\0132\".google.cloud.asset.v1p2beta1" + + ".FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001" + + "(\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fe" + + "ed\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003" + + "\340A\002\"F\n\021ListFeedsResponse\0221\n\005feeds\030\001 \003(\0132" + + "\".google.cloud.asset.v1p2beta1.Feed\"\200\001\n\021" + + "UpdateFeedRequest\0225\n\004feed\030\001 \001(\0132\".google" + + ".cloud.asset.v1p2beta1.FeedB\003\340A\002\0224\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n\004name\030\001 \001(" + + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" + + "d\"f\n\014OutputConfig\022G\n\017gcs_destination\030\001 \001" + + "(\0132,.google.cloud.asset.v1p2beta1.GcsDes" + + "tinationH\000B\r\n\013destination\"-\n\016GcsDestinat" + + "ion\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri\"\"\n\021Pubs" + + "ubDestination\022\r\n\005topic\030\001 \001(\t\"p\n\020FeedOutp" + + "utConfig\022M\n\022pubsub_destination\030\001 \001(\0132/.g" + + "oogle.cloud.asset.v1p2beta1.PubsubDestin" + + "ationH\000B\r\n\013destination\"\351\002\n\004Feed\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset" + + "_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).goo" + + "gle.cloud.asset.v1p2beta1.ContentType\022O\n" + + "\022feed_output_config\030\005 \001(\0132..google.cloud" + + ".asset.v1p2beta1.FeedOutputConfigB\003\340A\002:\221" + + "\001\352A\215\001\n\036cloudasset.googleapis.com/Feed\022\037p" + + "rojects/{project}/feeds/{feed}\022\035folders/" + + "{folder}/feeds/{feed}\022)organizations/{or" + + "ganization}/feeds/{feed} \001*I\n\013ContentTyp" + + "e\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOU" + + "RCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014AssetService\022\224" + + "\001\n\nCreateFeed\022/.google.cloud.asset.v1p2b" + + "eta1.CreateFeedRequest\032\".google.cloud.as" + + "set.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v1p2beta1/{" + + "parent=*/*}/feeds:\001*\332A\006parent\022\211\001\n\007GetFee" + + "d\022,.google.cloud.asset.v1p2beta1.GetFeed" + + "Request\032\".google.cloud.asset.v1p2beta1.F" + + "eed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=*/*/feeds/" + + "*}\332A\004name\022\234\001\n\tListFeeds\022..google.cloud.a" + + "sset.v1p2beta1.ListFeedsRequest\032/.google" + + ".cloud.asset.v1p2beta1.ListFeedsResponse" + + "\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*/*}/feeds\332" + + "A\006parent\022\227\001\n\nUpdateFeed\022/.google.cloud.a" + + "sset.v1p2beta1.UpdateFeedRequest\032\".googl" + + "e.cloud.asset.v1p2beta1.Feed\"4\202\323\344\223\002\'2\"/v" + + "1p2beta1/{feed.name=*/*/feeds/*}:\001*\332A\004fe" + + "ed\022\203\001\n\nDeleteFeed\022/.google.cloud.asset.v" + + "1p2beta1.DeleteFeedRequest\032\026.google.prot" + + "obuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1/{name=*/*" + + "/feeds/*}\332A\004name\032M\312A\031cloudasset.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\270\001\n com.google.cloud.ass" + + "et.v1p2beta1B\021AssetServiceProtoP\001ZAgoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "sset/v1p2beta1;asset\252\002\034Google.Cloud.Asse" + + "t.V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2bet" + + "a1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor, + new java.lang.String[] { "Parent", "FeedId", "Feed", }); + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor, + new java.lang.String[] { "Parent", }); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor, + new java.lang.String[] { "Feeds", }); + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor, + new java.lang.String[] { "Feed", "UpdateMask", }); + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor, + new java.lang.String[] { "GcsDestination", "Destination", }); + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor, + new java.lang.String[] { "Uri", "ObjectUri", }); + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor, + new java.lang.String[] { "Topic", }); + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor, + new java.lang.String[] { "PubsubDestination", "Destination", }); + internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor, + new java.lang.String[] { "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java similarity index 66% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java index 6d7dda275..dffdb7a8c 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1p2beta1.ContentType} */ -public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified content type.
    * 
@@ -39,8 +21,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ CONTENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource metadata.
    * 
@@ -49,8 +29,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE(1), /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -62,8 +40,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified content type.
    * 
@@ -72,8 +48,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource metadata.
    * 
@@ -82,8 +56,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_VALUE = 1; /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -92,6 +64,7 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IAM_POLICY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: - return CONTENT_TYPE_UNSPECIFIED; - case 1: - return RESOURCE; - case 2: - return IAM_POLICY; - default: - return null; + case 0: return CONTENT_TYPE_UNSPECIFIED; + case 1: return RESOURCE; + case 2: return IAM_POLICY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ContentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.asset.v1p2beta1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType 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; @@ -174,3 +147,4 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1p2beta1.ContentType) } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java similarity index 73% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java index bac9e67c1..d71caa2b7 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Create asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.CreateFeedRequest} */ -public final class CreateFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.CreateFeedRequest) CreateFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateFeedRequest.newBuilder() to construct. private CreateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateFeedRequest() { parent_ = ""; feedId_ = ""; @@ -44,15 +26,16 @@ private CreateFeedRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateFeedRequest( 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(); - feedId_ = s; - break; + feedId_ = s; + break; + } + case 26: { + com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); } - case 26: - { - com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); - } - feed_ = - input.readMessage( - com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); - } - - break; + feed_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = 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,33 +93,29 @@ private CreateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -151,7 +125,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -160,15 +133,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. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -178,15 +150,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -197,15 +170,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FEED_ID_FIELD_NUMBER = 2; private volatile java.lang.Object feedId_; /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feedId. */ @java.lang.Override @@ -214,30 +184,30 @@ public java.lang.String getFeedId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; } } /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for feedId. */ @java.lang.Override - public com.google.protobuf.ByteString getFeedIdBytes() { + public com.google.protobuf.ByteString + getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); feedId_ = b; return b; } else { @@ -248,8 +218,6 @@ public com.google.protobuf.ByteString getFeedIdBytes() { public static final int FEED_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Feed feed_; /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -258,9 +226,7 @@ public com.google.protobuf.ByteString getFeedIdBytes() {
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feed field is set. */ @java.lang.Override @@ -268,8 +234,6 @@ public boolean hasFeed() { return feed_ != null; } /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -278,9 +242,7 @@ public boolean hasFeed() {
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The feed. */ @java.lang.Override @@ -288,8 +250,6 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -298,8 +258,7 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { @@ -307,7 +266,6 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,7 +277,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -345,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, feedId_); } if (feed_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFeed()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFeed()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -355,19 +315,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.asset.v1p2beta1.CreateFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.CreateFeedRequest other = - (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.CreateFeedRequest other = (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFeedId().equals(other.getFeedId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFeedId() + .equals(other.getFeedId())) return false; if (hasFeed() != other.hasFeed()) return false; if (hasFeed()) { - if (!getFeed().equals(other.getFeed())) return false; + if (!getFeed() + .equals(other.getFeed())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -394,126 +356,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.nio.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.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.CreateFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.CreateFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.CreateFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.CreateFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.CreateFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.CreateFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.CreateFeedRequest) com.google.cloud.asset.v1p2beta1.CreateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.CreateFeedRequest.newBuilder() @@ -521,15 +474,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; } @java.lang.Override @@ -568,8 +522,7 @@ public com.google.cloud.asset.v1p2beta1.CreateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.CreateFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.CreateFeedRequest result = - new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(this); + com.google.cloud.asset.v1p2beta1.CreateFeedRequest result = new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(this); result.parent_ = parent_; result.feedId_ = feedId_; if (feedBuilder_ == null) { @@ -585,39 +538,38 @@ public com.google.cloud.asset.v1p2beta1.CreateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.CreateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.CreateFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.CreateFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -625,8 +577,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.CreateFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.CreateFeedRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.CreateFeedRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -657,8 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,8 +620,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -681,13 +629,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -696,8 +644,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -707,14 +653,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -722,8 +669,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -733,22 +678,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -758,18 +701,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -779,16 +719,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -796,21 +736,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object feedId_ = ""; /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feedId. */ public java.lang.String getFeedId() { java.lang.Object ref = feedId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; @@ -819,22 +757,21 @@ public java.lang.String getFeedId() { } } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for feedId. */ - public com.google.protobuf.ByteString getFeedIdBytes() { + public com.google.protobuf.ByteString + getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); feedId_ = b; return b; } else { @@ -842,64 +779,57 @@ public com.google.protobuf.ByteString getFeedIdBytes() { } } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The feedId to set. * @return This builder for chaining. */ - public Builder setFeedId(java.lang.String value) { + public Builder setFeedId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + feedId_ = value; onChanged(); return this; } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFeedId() { - + feedId_ = getDefaultInstance().getFeedId(); onChanged(); return this; } /** - * - * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for feedId to set. * @return This builder for chaining. */ - public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { + public Builder setFeedIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedId_ = value; onChanged(); return this; @@ -907,13 +837,8 @@ public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p2beta1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder> - feedBuilder_; + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> feedBuilder_; /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -922,17 +847,13 @@ public Builder setFeedIdBytes(com.google.protobuf.ByteString value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -941,9 +862,7 @@ public boolean hasFeed() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The feed. */ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { @@ -954,8 +873,6 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { } } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -964,8 +881,7 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { @@ -981,8 +897,6 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -991,10 +905,10 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { + public Builder setFeed( + com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { if (feedBuilder_ == null) { feed_ = builderForValue.build(); onChanged(); @@ -1005,8 +919,6 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForV return this; } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1015,16 +927,13 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForV
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { if (feed_ != null) { feed_ = - com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial(); } else { feed_ = value; } @@ -1036,8 +945,6 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1046,8 +953,7 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFeed() { if (feedBuilder_ == null) { @@ -1061,8 +967,6 @@ public Builder clearFeed() { return this; } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1071,17 +975,14 @@ public Builder clearFeed() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { - + onChanged(); return getFeedFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1090,19 +991,17 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { if (feedBuilder_ != null) { return feedBuilder_.getMessageOrBuilder(); } else { - return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; + return feed_ == null ? + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } } /** - * - * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1111,28 +1010,24 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> getFeedFieldBuilder() { if (feedBuilder_ == null) { - feedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( - getFeed(), getParentForChildren(), isClean()); + feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( + getFeed(), + getParentForChildren(), + isClean()); feed_ = null; } return feedBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1142,12 +1037,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.CreateFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.CreateFeedRequest) private static final com.google.cloud.asset.v1p2beta1.CreateFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(); } @@ -1156,16 +1051,16 @@ public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,4 +1075,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.CreateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java index 559d9f10b..c8fc92543 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface CreateFeedRequestOrBuilder - extends +public interface CreateFeedRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.CreateFeedRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -35,13 +17,10 @@ public interface CreateFeedRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -51,41 +30,34 @@ public interface CreateFeedRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The feedId. */ java.lang.String getFeedId(); /** - * - * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for feedId. */ - com.google.protobuf.ByteString getFeedIdBytes(); + com.google.protobuf.ByteString + getFeedIdBytes(); /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -94,15 +66,11 @@ public interface CreateFeedRequestOrBuilder
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feed field is set. */ boolean hasFeed(); /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -111,15 +79,11 @@ public interface CreateFeedRequestOrBuilder
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The feed. */ com.google.cloud.asset.v1p2beta1.Feed getFeed(); /** - * - * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -128,8 +92,7 @@ public interface CreateFeedRequestOrBuilder
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder(); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java similarity index 65% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java index efbf7b40d..a1f0cd948 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -/** Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} */ -public final class DeleteFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} + */ +public final class DeleteFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.DeleteFeedRequest) DeleteFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteFeedRequest.newBuilder() to construct. private DeleteFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62,20 +49,19 @@ private DeleteFeedRequest( 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) { @@ -83,33 +69,29 @@ private DeleteFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -117,10 +99,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * organizations/organization_number/feeds/feed_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 @@ -129,15 +108,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. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -145,18 +123,17 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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_); } @@ -201,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.asset.v1p2beta1.DeleteFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest other = - (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest other = (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,118 +206,113 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.nio.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.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.DeleteFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.DeleteFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.DeleteFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.DeleteFeedRequest) com.google.cloud.asset.v1p2beta1.DeleteFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.newBuilder() @@ -348,15 +320,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -366,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; } @java.lang.Override @@ -387,8 +360,7 @@ public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest result = - new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(this); + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest result = new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -398,39 +370,38 @@ public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.DeleteFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -438,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -463,8 +433,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -476,8 +445,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -485,16 +452,14 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -503,8 +468,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -512,17 +475,16 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -530,8 +492,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -539,25 +499,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -565,21 +521,16 @@ public Builder setName(java.lang.String value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -587,26 +538,24 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -616,12 +565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.DeleteFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.DeleteFeedRequest) private static final com.google.cloud.asset.v1p2beta1.DeleteFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(); } @@ -630,16 +579,16 @@ public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +603,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000..7e01ca30e --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/asset_service.proto + +package com.google.cloud.asset.v1p2beta1; + +public interface DeleteFeedRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.DeleteFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java similarity index 76% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java index 44085428c..3b05f4e0d 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * An asset feed used to export asset updates to a destinations.
  * An asset feed filter controls what updates are exported.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.Feed}
  */
-public final class Feed extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Feed extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.Feed)
     FeedOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Feed.newBuilder() to construct.
   private Feed(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Feed() {
     name_ = "";
     assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -50,15 +32,16 @@ private Feed() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Feed();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Feed(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,64 +61,56 @@ private Feed(
           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)) {
-                assetNames_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              assetNames_.add(s);
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              assetNames_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                assetTypes_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              assetTypes_.add(s);
-              break;
+            assetNames_.add(s);
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              assetTypes_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            assetTypes_.add(s);
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              contentType_ = rawValue;
-              break;
+            contentType_ = rawValue;
+            break;
+          }
+          case 42: {
+            com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder subBuilder = null;
+            if (feedOutputConfig_ != null) {
+              subBuilder = feedOutputConfig_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder subBuilder = null;
-              if (feedOutputConfig_ != null) {
-                subBuilder = feedOutputConfig_.toBuilder();
-              }
-              feedOutputConfig_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p2beta1.FeedOutputConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(feedOutputConfig_);
-                feedOutputConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+            feedOutputConfig_ = input.readMessage(com.google.cloud.asset.v1p2beta1.FeedOutputConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(feedOutputConfig_);
+              feedOutputConfig_ = 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) {
@@ -143,7 +118,8 @@ private Feed(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         assetNames_ = assetNames_.getUnmodifiableView();
@@ -155,27 +131,22 @@ private Feed(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1p2beta1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.Feed.class,
-            com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
+            com.google.cloud.asset.v1p2beta1.Feed.class, com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -186,7 +157,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -195,15 +165,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. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -214,15 +183,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -233,8 +203,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assetNames_; /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -247,15 +215,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList getAssetNamesList() { + public com.google.protobuf.ProtocolStringList + getAssetNamesList() { return assetNames_; } /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -268,15 +234,12 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
    * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -289,7 +252,6 @@ public int getAssetNamesCount() {
    * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -297,8 +259,6 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -311,19 +271,17 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString + getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -335,15 +293,13 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -355,15 +311,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -375,7 +328,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -383,8 +335,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -396,66 +346,52 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p2beta1.ContentType result = - com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p2beta1.ContentType.UNRECOGNIZED : result; } public static final int FEED_OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1p2beta1.FeedOutputConfig feedOutputConfig_; /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feedOutputConfig field is set. */ @java.lang.Override @@ -463,36 +399,25 @@ public boolean hasFeedOutputConfig() { return feedOutputConfig_ != null; } /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The feedOutputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getFeedOutputConfig() { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { @@ -500,7 +425,6 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputC } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,7 +436,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -522,8 +447,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (feedOutputConfig_ != null) { @@ -557,12 +481,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); + if (contentType_ != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, contentType_); } if (feedOutputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFeedOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFeedOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -572,20 +497,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.asset.v1p2beta1.Feed)) { return super.equals(obj); } com.google.cloud.asset.v1p2beta1.Feed other = (com.google.cloud.asset.v1p2beta1.Feed) obj; - if (!getName().equals(other.getName())) return false; - if (!getAssetNamesList().equals(other.getAssetNamesList())) return false; - if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAssetNamesList() + .equals(other.getAssetNamesList())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasFeedOutputConfig() != other.hasFeedOutputConfig()) return false; if (hasFeedOutputConfig()) { - if (!getFeedOutputConfig().equals(other.getFeedOutputConfig())) return false; + if (!getFeedOutputConfig() + .equals(other.getFeedOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -619,103 +548,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.Feed parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.Feed parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.Feed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.Feed 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.asset.v1p2beta1.Feed parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.Feed 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.asset.v1p2beta1.Feed parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.Feed parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.Feed parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.Feed prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An asset feed used to export asset updates to a destinations.
    * An asset feed filter controls what updates are exported.
@@ -726,23 +649,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.Feed}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.Feed)
       com.google.cloud.asset.v1p2beta1.FeedOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.Feed.class,
-              com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
+              com.google.cloud.asset.v1p2beta1.Feed.class, com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.Feed.newBuilder()
@@ -750,15 +671,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -780,9 +702,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
     }
 
     @java.lang.Override
@@ -801,8 +723,7 @@ public com.google.cloud.asset.v1p2beta1.Feed build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.Feed buildPartial() {
-      com.google.cloud.asset.v1p2beta1.Feed result =
-          new com.google.cloud.asset.v1p2beta1.Feed(this);
+      com.google.cloud.asset.v1p2beta1.Feed result = new com.google.cloud.asset.v1p2beta1.Feed(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -829,39 +750,38 @@ public com.google.cloud.asset.v1p2beta1.Feed buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p2beta1.Feed) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.Feed) other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.Feed)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -928,13 +848,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -945,13 +862,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -960,8 +877,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -972,14 +887,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -987,8 +903,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -999,22 +913,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1025,18 +937,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1047,33 +956,29 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetNames_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1086,15 +991,13 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList getAssetNamesList() { + public com.google.protobuf.ProtocolStringList + getAssetNamesList() { return assetNames_.getUnmodifiableView(); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1107,15 +1010,12 @@ public com.google.protobuf.ProtocolStringList getAssetNamesList() {
      * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1128,7 +1028,6 @@ public int getAssetNamesCount() {
      * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -1136,8 +1035,6 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1150,16 +1047,14 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString + getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1172,23 +1067,21 @@ public com.google.protobuf.ByteString getAssetNamesBytes(int index) {
      * 
* * repeated string asset_names = 2; - * * @param index The index to set the value at. * @param value The assetNames to set. * @return This builder for chaining. */ - public Builder setAssetNames(int index, java.lang.String value) { + public Builder setAssetNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1201,22 +1094,20 @@ public Builder setAssetNames(int index, java.lang.String value) {
      * 
* * repeated string asset_names = 2; - * * @param value The assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNames(java.lang.String value) { + public Builder addAssetNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1229,19 +1120,18 @@ public Builder addAssetNames(java.lang.String value) {
      * 
* * repeated string asset_names = 2; - * * @param values The assetNames to add. * @return This builder for chaining. */ - public Builder addAllAssetNames(java.lang.Iterable values) { + public Builder addAllAssetNames( + java.lang.Iterable values) { ensureAssetNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetNames_); onChanged(); return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1254,7 +1144,6 @@ public Builder addAllAssetNames(java.lang.Iterable values) {
      * 
* * repeated string asset_names = 2; - * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1264,8 +1153,6 @@ public Builder clearAssetNames() { return this; } /** - * - * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1278,33 +1165,29 @@ public Builder clearAssetNames() {
      * 
* * repeated string asset_names = 2; - * * @param value The bytes of the assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1316,15 +1199,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1336,15 +1217,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1356,7 +1234,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1364,8 +1241,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1377,16 +1252,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1398,23 +1271,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1426,22 +1297,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1453,19 +1322,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1477,7 +1345,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1487,8 +1354,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1500,15 +1365,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1517,69 +1382,55 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p2beta1.ContentType result = - com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p2beta1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1587,25 +1438,22 @@ public Builder setContentType(com.google.cloud.asset.v1p2beta1.ContentType value if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1613,61 +1461,42 @@ public Builder clearContentType() { private com.google.cloud.asset.v1p2beta1.FeedOutputConfig feedOutputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.FeedOutputConfig, - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, - com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> - feedOutputConfigBuilder_; + com.google.cloud.asset.v1p2beta1.FeedOutputConfig, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> feedOutputConfigBuilder_; /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feedOutputConfig field is set. */ public boolean hasFeedOutputConfig() { return feedOutputConfigBuilder_ != null || feedOutputConfig_ != null; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The feedOutputConfig. */ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } else { return feedOutputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { @@ -1683,16 +1512,12 @@ public Builder setFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutputCo return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFeedOutputConfig( com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder builderForValue) { @@ -1706,24 +1531,18 @@ public Builder setFeedOutputConfig( return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { if (feedOutputConfig_ != null) { feedOutputConfig_ = - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.newBuilder(feedOutputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.newBuilder(feedOutputConfig_).mergeFrom(value).buildPartial(); } else { feedOutputConfig_ = value; } @@ -1735,16 +1554,12 @@ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutput return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { @@ -1758,75 +1573,58 @@ public Builder clearFeedOutputConfig() { return this; } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder getFeedOutputConfigBuilder() { - + onChanged(); return getFeedOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder - getFeedOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { if (feedOutputConfigBuilder_ != null) { return feedOutputConfigBuilder_.getMessageOrBuilder(); } else { - return feedOutputConfig_ == null - ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() - : feedOutputConfig_; + return feedOutputConfig_ == null ? + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; } } /** - * - * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.FeedOutputConfig, - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, - com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> + com.google.cloud.asset.v1p2beta1.FeedOutputConfig, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> getFeedOutputConfigFieldBuilder() { if (feedOutputConfigBuilder_ == null) { - feedOutputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.FeedOutputConfig, - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, - com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder>( - getFeedOutputConfig(), getParentForChildren(), isClean()); + feedOutputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.FeedOutputConfig, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder>( + getFeedOutputConfig(), + getParentForChildren(), + isClean()); feedOutputConfig_ = null; } return feedOutputConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1836,12 +1634,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.Feed) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.Feed) private static final com.google.cloud.asset.v1p2beta1.Feed DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.Feed(); } @@ -1850,16 +1648,16 @@ public static com.google.cloud.asset.v1p2beta1.Feed getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Feed parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Feed(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Feed(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1874,4 +1672,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java similarity index 100% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java similarity index 83% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java index 846765f2e..66d4f4391 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface FeedOrBuilder - extends +public interface FeedOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.Feed) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -36,13 +18,10 @@ public interface FeedOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -53,14 +32,12 @@ public interface FeedOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -73,13 +50,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @return A list containing the assetNames. */ - java.util.List getAssetNamesList(); + java.util.List + getAssetNamesList(); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -92,13 +67,10 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @return The count of assetNames. */ int getAssetNamesCount(); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -111,14 +83,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @param index The index of the element to return. * @return The assetNames at the given index. */ java.lang.String getAssetNames(int index); /** - * - * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -131,15 +100,13 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_names = 2; - * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - com.google.protobuf.ByteString getAssetNamesBytes(int index); + com.google.protobuf.ByteString + getAssetNamesBytes(int index); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -151,13 +118,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -169,13 +134,10 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -187,14 +149,11 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -206,80 +165,60 @@ public interface FeedOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; - * * @return The contentType. */ com.google.cloud.asset.v1p2beta1.ContentType getContentType(); /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feedOutputConfig field is set. */ boolean hasFeedOutputConfig(); /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The feedOutputConfig. */ com.google.cloud.asset.v1p2beta1.FeedOutputConfig getFeedOutputConfig(); /** - * - * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java similarity index 68% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java index ee1dfa076..4eb85f514 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Output configuration for asset feed destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.FeedOutputConfig} */ -public final class FeedOutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FeedOutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.FeedOutputConfig) FeedOutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FeedOutputConfig.newBuilder() to construct. private FeedOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FeedOutputConfig() {} + private FeedOutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FeedOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FeedOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,32 +52,27 @@ private FeedOutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1p2beta1.PubsubDestination.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destination_ = + input.readMessage(com.google.cloud.asset.v1p2beta1.PubsubDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); + destination_ = subBuilder.buildPartial(); } + destinationCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,39 +80,34 @@ private FeedOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PUBSUB_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -149,34 +123,29 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return PUBSUB_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return PUBSUB_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int PUBSUB_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; - * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -184,26 +153,21 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; - * * @return The pubsubDestination. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; } return com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Cloud Pubsub.
    * 
@@ -211,16 +175,14 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder - getPubsubDestinationOrBuilder() { + public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; } return com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); } @@ -246,9 +209,8 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -258,18 +220,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.asset.v1p2beta1.FeedOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.FeedOutputConfig other = - (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) obj; + com.google.cloud.asset.v1p2beta1.FeedOutputConfig other = (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getPubsubDestination().equals(other.getPubsubDestination())) return false; + if (!getPubsubDestination() + .equals(other.getPubsubDestination())) return false; break; case 0: default: @@ -299,126 +261,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.nio.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.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.FeedOutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.FeedOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.FeedOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.FeedOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output configuration for asset feed destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.FeedOutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.FeedOutputConfig) com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.FeedOutputConfig.newBuilder() @@ -426,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; } @java.lang.Override @@ -465,8 +419,7 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOutputConfig buildPartial() { - com.google.cloud.asset.v1p2beta1.FeedOutputConfig result = - new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(this); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig result = new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(this); if (destinationCase_ == 1) { if (pubsubDestinationBuilder_ == null) { result.destination_ = destination_; @@ -483,39 +436,38 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.FeedOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.FeedOutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.FeedOutputConfig)other); } else { super.mergeFrom(other); return this; @@ -523,18 +475,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.FeedOutputConfig other) { - if (other == com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case PUBSUB_DESTINATION: - { - mergePubsubDestination(other.getPubsubDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case PUBSUB_DESTINATION: { + mergePubsubDestination(other.getPubsubDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -555,8 +504,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,12 +513,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -580,20 +528,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.PubsubDestination, - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, - com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> - pubsubDestinationBuilder_; + com.google.cloud.asset.v1p2beta1.PubsubDestination, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> pubsubDestinationBuilder_; /** - * - * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; - * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -601,14 +544,11 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; - * * @return The pubsubDestination. */ @java.lang.Override @@ -626,8 +566,6 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() } } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -648,8 +586,6 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDesti return this; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -668,25 +604,18 @@ public Builder setPubsubDestination( return this; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ - public Builder mergePubsubDestination( - com.google.cloud.asset.v1p2beta1.PubsubDestination value) { + public Builder mergePubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDestination value) { if (pubsubDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ - != com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1p2beta1.PubsubDestination.newBuilder( - (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1p2beta1.PubsubDestination.newBuilder((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -702,8 +631,6 @@ public Builder mergePubsubDestination( return this; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -727,21 +654,16 @@ public Builder clearPubsubDestination() { return this; } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ - public com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder - getPubsubDestinationBuilder() { + public com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder getPubsubDestinationBuilder() { return getPubsubDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -749,8 +671,7 @@ public Builder clearPubsubDestination() { * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder - getPubsubDestinationOrBuilder() { + public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { if ((destinationCase_ == 1) && (pubsubDestinationBuilder_ != null)) { return pubsubDestinationBuilder_.getMessageOrBuilder(); } else { @@ -761,8 +682,6 @@ public Builder clearPubsubDestination() { } } /** - * - * *
      * Destination on Cloud Pubsub.
      * 
@@ -770,32 +689,26 @@ public Builder clearPubsubDestination() { * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.PubsubDestination, - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, - com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> + com.google.cloud.asset.v1p2beta1.PubsubDestination, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> getPubsubDestinationFieldBuilder() { if (pubsubDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance(); } - pubsubDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.PubsubDestination, - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, - com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder>( + pubsubDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.PubsubDestination, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder>( (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return pubsubDestinationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.FeedOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.FeedOutputConfig) private static final com.google.cloud.asset.v1p2beta1.FeedOutputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(); } @@ -819,16 +732,16 @@ public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeedOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FeedOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FeedOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -843,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java similarity index 63% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java index 91029b15a..be3215779 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface FeedOutputConfigOrBuilder - extends +public interface FeedOutputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.FeedOutputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; - * * @return Whether the pubsubDestination field is set. */ boolean hasPubsubDestination(); /** - * - * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; - * * @return The pubsubDestination. */ com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination(); /** - * - * *
    * Destination on Cloud Pubsub.
    * 
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java similarity index 72% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java index 614e99188..976185abc 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GcsDestination} */ -public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcsDestination() {} + private GcsDestination() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,20 +52,19 @@ private GcsDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,39 +72,34 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GcsDestination.class, - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.GcsDestination.class, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); } private int objectUriCase_ = 0; private java.lang.Object objectUri_; - public enum ObjectUriCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { URI(1), OBJECTURI_NOT_SET(0); private final int value; - private ObjectUriCase(int value) { this.value = value; } @@ -137,28 +115,24 @@ public static ObjectUriCase valueOf(int value) { public static ObjectUriCase forNumber(int value) { switch (value) { - case 1: - return URI; - case 0: - return OBJECTURI_NOT_SET; - default: - return null; + case 1: return URI; + case 0: return OBJECTURI_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ObjectUriCase getObjectUriCase() { - return ObjectUriCase.forNumber(objectUriCase_); + public ObjectUriCase + getObjectUriCase() { + return ObjectUriCase.forNumber( + objectUriCase_); } public static final int URI_FIELD_NUMBER = 1; /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -168,15 +142,12 @@ public ObjectUriCase getObjectUriCase() {
    * 
* * string uri = 1; - * * @return Whether the uri field is set. */ public boolean hasUri() { return objectUriCase_ == 1; } /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -186,7 +157,6 @@ public boolean hasUri() {
    * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { @@ -197,7 +167,8 @@ 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(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -206,8 +177,6 @@ public java.lang.String getUri() { } } /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -217,17 +186,18 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -238,7 +208,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -274,18 +244,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.asset.v1p2beta1.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.GcsDestination other = - (com.google.cloud.asset.v1p2beta1.GcsDestination) obj; + com.google.cloud.asset.v1p2beta1.GcsDestination other = (com.google.cloud.asset.v1p2beta1.GcsDestination) obj; if (!getObjectUriCase().equals(other.getObjectUriCase())) return false; switch (objectUriCase_) { case 1: - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; break; case 0: default: @@ -314,127 +284,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.GcsDestination 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.asset.v1p2beta1.GcsDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GcsDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GcsDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.GcsDestination) com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GcsDestination.class, - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.GcsDestination.class, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.GcsDestination.newBuilder() @@ -442,15 +403,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -460,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; } @java.lang.Override @@ -481,8 +443,7 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.GcsDestination buildPartial() { - com.google.cloud.asset.v1p2beta1.GcsDestination result = - new com.google.cloud.asset.v1p2beta1.GcsDestination(this); + com.google.cloud.asset.v1p2beta1.GcsDestination result = new com.google.cloud.asset.v1p2beta1.GcsDestination(this); if (objectUriCase_ == 1) { result.objectUri_ = objectUri_; } @@ -495,39 +456,38 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.GcsDestination) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.GcsDestination)other); } else { super.mergeFrom(other); return this; @@ -535,20 +495,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.GcsDestination other) { - if (other == com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) return this; switch (other.getObjectUriCase()) { - case URI: - { - objectUriCase_ = 1; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case OBJECTURI_NOT_SET: - { - break; - } + case URI: { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -578,12 +535,12 @@ public Builder mergeFrom( } return this; } - private int objectUriCase_ = 0; private java.lang.Object objectUri_; - - public ObjectUriCase getObjectUriCase() { - return ObjectUriCase.forNumber(objectUriCase_); + public ObjectUriCase + getObjectUriCase() { + return ObjectUriCase.forNumber( + objectUriCase_); } public Builder clearObjectUri() { @@ -593,9 +550,8 @@ public Builder clearObjectUri() { return this; } + /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -605,7 +561,6 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; - * * @return Whether the uri field is set. */ @java.lang.Override @@ -613,8 +568,6 @@ public boolean hasUri() { return objectUriCase_ == 1; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -624,7 +577,6 @@ public boolean hasUri() {
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -634,7 +586,8 @@ public java.lang.String getUri() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -645,8 +598,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -656,18 +607,19 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -677,8 +629,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -688,22 +638,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 1; - * * @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(); - } - objectUriCase_ = 1; + throw new NullPointerException(); + } + objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -713,7 +661,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -725,8 +672,6 @@ public Builder clearUri() { return this; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -736,23 +681,23 @@ public Builder clearUri() {
      * 
* * string uri = 1; - * * @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); objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.GcsDestination) private static final com.google.cloud.asset.v1p2beta1.GcsDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.GcsDestination(); } @@ -776,16 +721,16 @@ public static com.google.cloud.asset.v1p2beta1.GcsDestination getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -800,4 +745,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java similarity index 68% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java index 3cefb0ca9..083a2c545 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface GcsDestinationOrBuilder - extends +public interface GcsDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.GcsDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -35,13 +17,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return Whether the uri field is set. */ boolean hasUri(); /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -51,13 +30,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -67,10 +43,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); public com.google.cloud.asset.v1p2beta1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java similarity index 67% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java index 3540a81af..e5959c1a5 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Get asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GetFeedRequest} */ -public final class GetFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.GetFeedRequest) GetFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFeedRequest.newBuilder() to construct. private GetFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFeedRequest( 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 GetFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, - com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -125,10 +103,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * organizations/organization_number/feeds/feed_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. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -153,18 +127,17 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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.asset.v1p2beta1.GetFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.GetFeedRequest other = - (com.google.cloud.asset.v1p2beta1.GetFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.GetFeedRequest other = (com.google.cloud.asset.v1p2beta1.GetFeedRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -236,127 +209,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.GetFeedRequest 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.asset.v1p2beta1.GetFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GetFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GetFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.GetFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.GetFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GetFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.GetFeedRequest) com.google.cloud.asset.v1p2beta1.GetFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, - com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.GetFeedRequest.newBuilder() @@ -364,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(); @@ -382,9 +347,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; } @java.lang.Override @@ -403,8 +368,7 @@ public com.google.cloud.asset.v1p2beta1.GetFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.GetFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.GetFeedRequest result = - new com.google.cloud.asset.v1p2beta1.GetFeedRequest(this); + com.google.cloud.asset.v1p2beta1.GetFeedRequest result = new com.google.cloud.asset.v1p2beta1.GetFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,39 +378,38 @@ public com.google.cloud.asset.v1p2beta1.GetFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.GetFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.GetFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.GetFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -454,8 +417,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.GetFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -491,8 +453,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -500,16 +460,14 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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,8 +476,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -527,17 +483,16 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -545,8 +500,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -554,25 +507,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -580,21 +529,16 @@ public Builder setName(java.lang.String value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -602,26 +546,24 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -631,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.GetFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.GetFeedRequest) private static final com.google.cloud.asset.v1p2beta1.GetFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.GetFeedRequest(); } @@ -645,16 +587,16 @@ public static com.google.cloud.asset.v1p2beta1.GetFeedRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,4 +611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000..1e57a7098 --- /dev/null +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/asset_service.proto + +package com.google.cloud.asset.v1p2beta1; + +public interface GetFeedRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.GetFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java similarity index 70% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java index 3c4df6dd0..ce368c5c9 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * List asset feeds request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsRequest} */ -public final class ListFeedsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFeedsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.ListFeedsRequest) ListFeedsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFeedsRequest.newBuilder() to construct. private ListFeedsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFeedsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFeedsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFeedsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ListFeedsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,33 +73,29 @@ private ListFeedsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -125,7 +103,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -134,15 +111,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. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -150,15 +126,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -167,7 +144,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -203,15 +180,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.asset.v1p2beta1.ListFeedsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.ListFeedsRequest other = - (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) obj; + com.google.cloud.asset.v1p2beta1.ListFeedsRequest other = (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,126 +208,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.nio.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.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.ListFeedsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.ListFeedsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List asset feeds request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.ListFeedsRequest) com.google.cloud.asset.v1p2beta1.ListFeedsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.ListFeedsRequest.newBuilder() @@ -358,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; } @java.lang.Override @@ -397,8 +366,7 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.ListFeedsRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.ListFeedsRequest result = - new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(this); + com.google.cloud.asset.v1p2beta1.ListFeedsRequest result = new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -408,39 +376,38 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.ListFeedsRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsRequest) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsRequest)other); } else { super.mergeFrom(other); return this; @@ -448,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ListFeedsRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.ListFeedsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.ListFeedsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -473,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,8 +451,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -495,13 +458,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -510,8 +473,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -519,14 +480,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -534,8 +496,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -543,22 +503,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -566,18 +524,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -585,23 +540,23 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.ListFeedsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.ListFeedsRequest) private static final com.google.cloud.asset.v1p2beta1.ListFeedsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(); } @@ -625,16 +580,16 @@ public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java index 07ffeb181..65b8118c4 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface ListFeedsRequestOrBuilder - extends +public interface ListFeedsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.ListFeedsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -33,13 +15,10 @@ public interface ListFeedsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -47,8 +26,8 @@ public interface ListFeedsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java similarity index 71% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java index 84c147ebf..cd36a4886 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -/** Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} */ -public final class ListFeedsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} + */ +public final class ListFeedsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.ListFeedsResponse) ListFeedsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFeedsResponse.newBuilder() to construct. private ListFeedsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFeedsResponse() { feeds_ = 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 ListFeedsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFeedsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -63,24 +50,22 @@ private ListFeedsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - feeds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - feeds_.add( - input.readMessage( - com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + feeds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + feeds_.add( + input.readMessage(com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -88,7 +73,8 @@ private ListFeedsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { feeds_ = java.util.Collections.unmodifiableList(feeds_); @@ -97,27 +83,22 @@ private ListFeedsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); } public static final int FEEDS_FIELD_NUMBER = 1; private java.util.List feeds_; /** - * - * *
    * A list of feeds.
    * 
@@ -129,8 +110,6 @@ public java.util.List getFeedsList() { return feeds_; } /** - * - * *
    * A list of feeds.
    * 
@@ -138,13 +117,11 @@ public java.util.List getFeedsList() { * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFeedsOrBuilderList() { return feeds_; } /** - * - * *
    * A list of feeds.
    * 
@@ -156,8 +133,6 @@ public int getFeedsCount() { return feeds_.size(); } /** - * - * *
    * A list of feeds.
    * 
@@ -169,8 +144,6 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { return feeds_.get(index); } /** - * - * *
    * A list of feeds.
    * 
@@ -178,12 +151,12 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int index) { + public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( + int index) { return feeds_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < feeds_.size(); i++) { output.writeMessage(1, feeds_.get(i)); } @@ -209,7 +183,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < feeds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, feeds_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, feeds_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -219,15 +194,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.asset.v1p2beta1.ListFeedsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.ListFeedsResponse other = - (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) obj; + com.google.cloud.asset.v1p2beta1.ListFeedsResponse other = (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) obj; - if (!getFeedsList().equals(other.getFeedsList())) return false; + if (!getFeedsList() + .equals(other.getFeedsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -249,118 +224,113 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.nio.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.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.ListFeedsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.ListFeedsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.ListFeedsResponse) com.google.cloud.asset.v1p2beta1.ListFeedsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.ListFeedsResponse.newBuilder() @@ -368,17 +338,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) { getFeedsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -392,9 +362,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; } @java.lang.Override @@ -413,8 +383,7 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsResponse build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.ListFeedsResponse buildPartial() { - com.google.cloud.asset.v1p2beta1.ListFeedsResponse result = - new com.google.cloud.asset.v1p2beta1.ListFeedsResponse(this); + com.google.cloud.asset.v1p2beta1.ListFeedsResponse result = new com.google.cloud.asset.v1p2beta1.ListFeedsResponse(this); int from_bitField0_ = bitField0_; if (feedsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -433,39 +402,38 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.ListFeedsResponse) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsResponse) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsResponse)other); } else { super.mergeFrom(other); return this; @@ -473,8 +441,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ListFeedsResponse other) { - if (other == com.google.cloud.asset.v1p2beta1.ListFeedsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.ListFeedsResponse.getDefaultInstance()) return this; if (feedsBuilder_ == null) { if (!other.feeds_.isEmpty()) { if (feeds_.isEmpty()) { @@ -493,10 +460,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ListFeedsResponse othe feedsBuilder_ = null; feeds_ = other.feeds_; bitField0_ = (bitField0_ & ~0x00000001); - feedsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFeedsFieldBuilder() - : null; + feedsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFeedsFieldBuilder() : null; } else { feedsBuilder_.addAllMessages(other.feeds_); } @@ -521,8 +487,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -531,28 +496,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List feeds_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFeedsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { feeds_ = new java.util.ArrayList(feeds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder> - feedsBuilder_; + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> feedsBuilder_; /** - * - * *
      * A list of feeds.
      * 
@@ -567,8 +525,6 @@ public java.util.List getFeedsList() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -583,8 +539,6 @@ public int getFeedsCount() { } } /** - * - * *
      * A list of feeds.
      * 
@@ -599,15 +553,14 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { } } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public Builder setFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) { + public Builder setFeeds( + int index, com.google.cloud.asset.v1p2beta1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -621,8 +574,6 @@ public Builder setFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -641,8 +592,6 @@ public Builder setFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -663,15 +612,14 @@ public Builder addFeeds(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public Builder addFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) { + public Builder addFeeds( + int index, com.google.cloud.asset.v1p2beta1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -685,15 +633,14 @@ public Builder addFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public Builder addFeeds(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { + public Builder addFeeds( + com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.add(builderForValue.build()); @@ -704,8 +651,6 @@ public Builder addFeeds(com.google.cloud.asset.v1p2beta1.Feed.Builder builderFor return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -724,8 +669,6 @@ public Builder addFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -736,7 +679,8 @@ public Builder addAllFeeds( java.lang.Iterable values) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feeds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, feeds_); onChanged(); } else { feedsBuilder_.addAllMessages(values); @@ -744,8 +688,6 @@ public Builder addAllFeeds( return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -763,8 +705,6 @@ public Builder clearFeeds() { return this; } /** - * - * *
      * A list of feeds.
      * 
@@ -782,44 +722,39 @@ public Builder removeFeeds(int index) { return this; } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedsBuilder(int index) { + public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedsBuilder( + int index) { return getFeedsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int index) { + public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( + int index) { if (feedsBuilder_ == null) { - return feeds_.get(index); - } else { + return feeds_.get(index); } else { return feedsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public java.util.List - getFeedsOrBuilderList() { + public java.util.List + getFeedsOrBuilderList() { if (feedsBuilder_ != null) { return feedsBuilder_.getMessageOrBuilderList(); } else { @@ -827,8 +762,6 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int inde } } /** - * - * *
      * A list of feeds.
      * 
@@ -836,54 +769,49 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int inde * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ public com.google.cloud.asset.v1p2beta1.Feed.Builder addFeedsBuilder() { - return getFeedsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); + return getFeedsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public com.google.cloud.asset.v1p2beta1.Feed.Builder addFeedsBuilder(int index) { - return getFeedsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); + public com.google.cloud.asset.v1p2beta1.Feed.Builder addFeedsBuilder( + int index) { + return getFeedsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); } /** - * - * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public java.util.List getFeedsBuilderList() { + public java.util.List + getFeedsBuilderList() { return getFeedsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> getFeedsFieldBuilder() { if (feedsBuilder_ == null) { - feedsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( - feeds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + feedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( + feeds_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); feeds_ = null; } return feedsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.ListFeedsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.ListFeedsResponse) private static final com.google.cloud.asset.v1p2beta1.ListFeedsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.ListFeedsResponse(); } @@ -907,16 +835,16 @@ public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -931,4 +859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java index 3f00050eb..b80afe70f 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface ListFeedsResponseOrBuilder - extends +public interface ListFeedsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.ListFeedsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - java.util.List getFeedsList(); + java.util.List + getFeedsList(); /** - * - * *
    * A list of feeds.
    * 
@@ -44,8 +25,6 @@ public interface ListFeedsResponseOrBuilder */ com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index); /** - * - * *
    * A list of feeds.
    * 
@@ -54,23 +33,21 @@ public interface ListFeedsResponseOrBuilder */ int getFeedsCount(); /** - * - * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - java.util.List getFeedsOrBuilderList(); + java.util.List + getFeedsOrBuilderList(); /** - * - * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int index); + com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java similarity index 69% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java index f2ed4e0bb..59309fe70 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Output configuration for export assets destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.OutputConfig} */ -public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.OutputConfig) OutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OutputConfig() {} + private OutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,31 +52,27 @@ private OutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1p2beta1.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage(com.google.cloud.asset.v1p2beta1.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,39 +80,34 @@ private OutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.OutputConfig.class, - com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.OutputConfig.class, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -148,34 +123,29 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return GCS_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return GCS_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -183,26 +153,21 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Cloud Storage.
    * 
@@ -212,13 +177,12 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); } @@ -244,9 +209,8 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -256,18 +220,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.asset.v1p2beta1.OutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.OutputConfig other = - (com.google.cloud.asset.v1p2beta1.OutputConfig) obj; + com.google.cloud.asset.v1p2beta1.OutputConfig other = (com.google.cloud.asset.v1p2beta1.OutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getGcsDestination().equals(other.getGcsDestination())) return false; + if (!getGcsDestination() + .equals(other.getGcsDestination())) return false; break; case 0: default: @@ -296,127 +260,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.OutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.OutputConfig 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.asset.v1p2beta1.OutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.OutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.OutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.OutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.OutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output configuration for export assets destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.OutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.OutputConfig) com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.OutputConfig.class, - com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.OutputConfig.class, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.OutputConfig.newBuilder() @@ -424,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -442,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; } @java.lang.Override @@ -463,8 +419,7 @@ public com.google.cloud.asset.v1p2beta1.OutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.OutputConfig buildPartial() { - com.google.cloud.asset.v1p2beta1.OutputConfig result = - new com.google.cloud.asset.v1p2beta1.OutputConfig(this); + com.google.cloud.asset.v1p2beta1.OutputConfig result = new com.google.cloud.asset.v1p2beta1.OutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -481,39 +436,38 @@ public com.google.cloud.asset.v1p2beta1.OutputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.OutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.OutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.OutputConfig)other); } else { super.mergeFrom(other); return this; @@ -523,15 +477,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.OutputConfig other) { if (other == com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: - { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case GCS_DESTINATION: { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -561,12 +513,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -576,20 +528,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.GcsDestination, - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, - com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> - gcsDestinationBuilder_; + com.google.cloud.asset.v1p2beta1.GcsDestination, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> gcsDestinationBuilder_; /** - * - * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -597,14 +544,11 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ @java.lang.Override @@ -622,8 +566,6 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -644,8 +586,6 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -664,8 +604,6 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -674,14 +612,10 @@ public Builder setGcsDestination( */ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ - != com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1p2beta1.GcsDestination.newBuilder( - (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1p2beta1.GcsDestination.newBuilder((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -697,8 +631,6 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestinati return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -722,8 +654,6 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -734,8 +664,6 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -754,8 +682,6 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -763,32 +689,26 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.GcsDestination, - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, - com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> + com.google.cloud.asset.v1p2beta1.GcsDestination, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.GcsDestination, - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, - com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder>( + gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.GcsDestination, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder>( (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return gcsDestinationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.OutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.OutputConfig) private static final com.google.cloud.asset.v1p2beta1.OutputConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.OutputConfig(); } @@ -812,16 +732,16 @@ public static com.google.cloud.asset.v1p2beta1.OutputConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.OutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java similarity index 62% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java index 2eadb8a87..ce0072cbc 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface OutputConfigOrBuilder - extends +public interface OutputConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.OutputConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java similarity index 68% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java index 5f5caea81..10650ce96 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * A Cloud Pubsub destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.PubsubDestination} */ -public final class PubsubDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PubsubDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.PubsubDestination) PubsubDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PubsubDestination.newBuilder() to construct. private PubsubDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PubsubDestination() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PubsubDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PubsubDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PubsubDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + topic_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private PubsubDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.PubsubDestination.class, - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.PubsubDestination.class, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** - * - * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getTopicBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -201,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.asset.v1p2beta1.PubsubDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.PubsubDestination other = - (com.google.cloud.asset.v1p2beta1.PubsubDestination) obj; + com.google.cloud.asset.v1p2beta1.PubsubDestination other = (com.google.cloud.asset.v1p2beta1.PubsubDestination) obj; - if (!getTopic().equals(other.getTopic())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( - java.nio.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.asset.v1p2beta1.PubsubDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.PubsubDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.PubsubDestination parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.PubsubDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.PubsubDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.PubsubDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.PubsubDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Pubsub destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.PubsubDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.PubsubDestination) com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.PubsubDestination.class, - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.PubsubDestination.class, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.PubsubDestination.newBuilder() @@ -356,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(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; } @java.lang.Override @@ -395,8 +364,7 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.PubsubDestination buildPartial() { - com.google.cloud.asset.v1p2beta1.PubsubDestination result = - new com.google.cloud.asset.v1p2beta1.PubsubDestination(this); + com.google.cloud.asset.v1p2beta1.PubsubDestination result = new com.google.cloud.asset.v1p2beta1.PubsubDestination(this); result.topic_ = topic_; onBuilt(); return result; @@ -406,39 +374,38 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.PubsubDestination) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.PubsubDestination) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.PubsubDestination)other); } else { super.mergeFrom(other); return this; @@ -446,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.PubsubDestination other) { - if (other == com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -471,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.PubsubDestination) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.PubsubDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -484,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** - * - * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -507,22 +470,21 @@ public java.lang.String getTopic() { } } /** - * - * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -530,71 +492,64 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -604,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.PubsubDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.PubsubDestination) private static final com.google.cloud.asset.v1p2beta1.PubsubDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.PubsubDestination(); } @@ -618,16 +573,16 @@ public static com.google.cloud.asset.v1p2beta1.PubsubDestination getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubsubDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubsubDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubsubDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java similarity index 51% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java index b52b0f9aa..e6d950141 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface PubsubDestinationOrBuilder - extends +public interface PubsubDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.PubsubDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java similarity index 76% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java index 8de2f53df..49979cd20 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.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/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * Representation of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.Resource} */ -public final class Resource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Resource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -47,15 +29,16 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,62 +57,56 @@ private Resource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 50: { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); } - case 50: - { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); - } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); - } - - break; + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = 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) { @@ -137,39 +114,34 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.Resource.class, - com.google.cloud.asset.v1p2beta1.Resource.Builder.class); + com.google.cloud.asset.v1p2beta1.Resource.class, com.google.cloud.asset.v1p2beta1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -178,29 +150,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; } } /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @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 { @@ -211,8 +183,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -222,7 +192,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -231,15 +200,14 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -249,15 +217,16 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -268,8 +237,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -277,7 +244,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -286,15 +252,14 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -302,15 +267,16 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -321,8 +287,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -332,7 +296,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -341,15 +304,14 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -359,15 +321,16 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -378,8 +341,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -393,7 +354,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -402,15 +362,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 full name of the immediate parent of this resource. See
    * [Resource
@@ -424,15 +383,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; - * * @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 { @@ -443,15 +403,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ @java.lang.Override @@ -459,15 +416,12 @@ public boolean hasData() { return data_ != null; } /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ @java.lang.Override @@ -475,8 +429,6 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
@@ -490,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -502,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
     }
@@ -546,7 +498,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_);
     }
     if (data_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getData());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -556,22 +509,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.asset.v1p2beta1.Resource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p2beta1.Resource other =
-        (com.google.cloud.asset.v1p2beta1.Resource) obj;
-
-    if (!getVersion().equals(other.getVersion())) return false;
-    if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false;
-    if (!getDiscoveryName().equals(other.getDiscoveryName())) return false;
-    if (!getResourceUrl().equals(other.getResourceUrl())) return false;
-    if (!getParent().equals(other.getParent())) return false;
+    com.google.cloud.asset.v1p2beta1.Resource other = (com.google.cloud.asset.v1p2beta1.Resource) obj;
+
+    if (!getVersion()
+        .equals(other.getVersion())) return false;
+    if (!getDiscoveryDocumentUri()
+        .equals(other.getDiscoveryDocumentUri())) return false;
+    if (!getDiscoveryName()
+        .equals(other.getDiscoveryName())) return false;
+    if (!getResourceUrl()
+        .equals(other.getResourceUrl())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasData() != other.hasData()) return false;
     if (hasData()) {
-      if (!getData().equals(other.getData())) return false;
+      if (!getData()
+          .equals(other.getData())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -603,127 +561,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.Resource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
-      byte[] data, com.google.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.asset.v1p2beta1.Resource 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.asset.v1p2beta1.Resource parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.Resource parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p2beta1.Resource parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p2beta1.Resource parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.Resource parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.Resource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.Resource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.Resource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.Resource) com.google.cloud.asset.v1p2beta1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.Resource.class, - com.google.cloud.asset.v1p2beta1.Resource.Builder.class); + com.google.cloud.asset.v1p2beta1.Resource.class, com.google.cloud.asset.v1p2beta1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.Resource.newBuilder() @@ -731,15 +680,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +713,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; } @java.lang.Override @@ -784,8 +734,7 @@ public com.google.cloud.asset.v1p2beta1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.Resource buildPartial() { - com.google.cloud.asset.v1p2beta1.Resource result = - new com.google.cloud.asset.v1p2beta1.Resource(this); + com.google.cloud.asset.v1p2beta1.Resource result = new com.google.cloud.asset.v1p2beta1.Resource(this); result.version_ = version_; result.discoveryDocumentUri_ = discoveryDocumentUri_; result.discoveryName_ = discoveryName_; @@ -804,39 +753,38 @@ public com.google.cloud.asset.v1p2beta1.Resource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.Resource) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.Resource) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.Resource)other); } else { super.mergeFrom(other); return this; @@ -899,20 +847,18 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @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; @@ -921,21 +867,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @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 { @@ -943,61 +888,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @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; @@ -1005,8 +943,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1016,13 +952,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -1031,8 +967,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1042,14 +976,15 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -1057,8 +992,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1068,22 +1001,20 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
      * 
* * string discovery_document_uri = 2; - * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri(java.lang.String value) { + public Builder setDiscoveryDocumentUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1093,18 +1024,15 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1114,16 +1042,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1131,8 +1059,6 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value private java.lang.Object discoveryName_ = ""; /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1140,13 +1066,13 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value
      * 
* * string discovery_name = 3; - * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1155,8 +1081,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1164,14 +1088,15 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1179,8 +1104,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1188,22 +1111,20 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
      * 
* * string discovery_name = 3; - * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName(java.lang.String value) { + public Builder setDiscoveryName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1211,18 +1132,15 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1230,16 +1148,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1247,8 +1165,6 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceUrl_ = ""; /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1258,13 +1174,13 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource_url = 4; - * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1273,8 +1189,6 @@ public java.lang.String getResourceUrl() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1284,14 +1198,15 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1299,8 +1214,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1310,22 +1223,20 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
      * 
* * string resource_url = 4; - * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl(java.lang.String value) { + public Builder setResourceUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1335,18 +1246,15 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1356,16 +1264,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; - * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1373,8 +1281,6 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1388,13 +1294,13 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 5; - * * @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; @@ -1403,8 +1309,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1418,14 +1322,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; - * * @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 { @@ -1433,8 +1338,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1448,22 +1351,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 5; - * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1477,18 +1378,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1502,16 +1400,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; - * * @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; @@ -1519,35 +1417,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - dataBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; /** - * - * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** - * - * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1558,8 +1447,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1581,8 +1468,6 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1590,7 +1475,8 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1601,8 +1487,6 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1613,7 +1497,8 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ =
+            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1625,8 +1510,6 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1646,8 +1529,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1656,13 +1537,11 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-
+      
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1674,12 +1553,11 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1688,23 +1566,21 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
+        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getData(),
+                getParentForChildren(),
+                isClean());
         data_ = null;
       }
       return dataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1714,12 +1590,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.Resource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.Resource)
   private static final com.google.cloud.asset.v1p2beta1.Resource DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.Resource();
   }
@@ -1728,16 +1604,16 @@ public static com.google.cloud.asset.v1p2beta1.Resource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Resource parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Resource(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Resource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Resource(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1752,4 +1628,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
similarity index 81%
rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
index 106c7dfff..8e45f66a2 100644
--- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.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/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
-public interface ResourceOrBuilder
-    extends
+public interface ResourceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.Resource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -60,13 +37,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -76,14 +50,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes(); /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -91,13 +63,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -105,14 +74,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString getDiscoveryNameBytes(); + com.google.protobuf.ByteString + getDiscoveryNameBytes(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -122,13 +89,10 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -138,14 +102,12 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString getResourceUrlBytes(); + com.google.protobuf.ByteString + getResourceUrlBytes(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -159,13 +121,10 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -179,40 +138,32 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ boolean hasData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ com.google.protobuf.Struct getData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
similarity index 69%
rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
index 10b8a416d..0aedc3535 100644
--- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.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/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
 /**
- *
- *
  * 
  * Temporal asset. In addition to the asset, the temporal asset includes the
  * status of the asset and valid from and to time of it.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.TemporalAsset}
  */
-public final class TemporalAsset extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TemporalAsset extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.TemporalAsset)
     TemporalAssetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TemporalAsset.newBuilder() to construct.
   private TemporalAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TemporalAsset() {}
+  private TemporalAsset() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TemporalAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private TemporalAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,50 +53,44 @@ private TemporalAsset(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1p2beta1.TimeWindow.Builder subBuilder = null;
-              if (window_ != null) {
-                subBuilder = window_.toBuilder();
-              }
-              window_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p2beta1.TimeWindow.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(window_);
-                window_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1p2beta1.TimeWindow.Builder subBuilder = null;
+            if (window_ != null) {
+              subBuilder = window_.toBuilder();
             }
-          case 16:
-            {
-              deleted_ = input.readBool();
-              break;
+            window_ = input.readMessage(com.google.cloud.asset.v1p2beta1.TimeWindow.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(window_);
+              window_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1p2beta1.Asset.Builder subBuilder = null;
-              if (asset_ != null) {
-                subBuilder = asset_.toBuilder();
-              }
-              asset_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p2beta1.Asset.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(asset_);
-                asset_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 16: {
+
+            deleted_ = input.readBool();
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1p2beta1.Asset.Builder subBuilder = null;
+            if (asset_ != null) {
+              subBuilder = asset_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            asset_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Asset.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(asset_);
+              asset_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -120,39 +98,34 @@ private TemporalAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p2beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.TemporalAsset.class,
-            com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
+            com.google.cloud.asset.v1p2beta1.TemporalAsset.class, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
   }
 
   public static final int WINDOW_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1p2beta1.TimeWindow window_;
   /**
-   *
-   *
    * 
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; - * * @return Whether the window field is set. */ @java.lang.Override @@ -160,25 +133,18 @@ public boolean hasWindow() { return window_ != null; } /** - * - * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; - * * @return The window. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.TimeWindow getWindow() { - return window_ == null - ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; } /** - * - * *
    * The time window when the asset data and state was observed.
    * 
@@ -193,14 +159,11 @@ public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_; /** - * - * *
    * If the asset is deleted or not.
    * 
* * bool deleted = 2; - * * @return The deleted. */ @java.lang.Override @@ -211,14 +174,11 @@ public boolean getDeleted() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Asset asset_; /** - * - * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return Whether the asset field is set. */ @java.lang.Override @@ -226,14 +186,11 @@ public boolean hasAsset() { return asset_ != null; } /** - * - * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return The asset. */ @java.lang.Override @@ -241,8 +198,6 @@ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } /** - * - * *
    * Asset.
    * 
@@ -255,7 +210,6 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +221,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -287,13 +242,16 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWindow()); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, deleted_); } if (asset_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAsset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,22 +261,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.asset.v1p2beta1.TemporalAsset)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.TemporalAsset other = - (com.google.cloud.asset.v1p2beta1.TemporalAsset) obj; + com.google.cloud.asset.v1p2beta1.TemporalAsset other = (com.google.cloud.asset.v1p2beta1.TemporalAsset) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow().equals(other.getWindow())) return false; + if (!getWindow() + .equals(other.getWindow())) return false; } - if (getDeleted() != other.getDeleted()) return false; + if (getDeleted() + != other.getDeleted()) return false; if (hasAsset() != other.hasAsset()) return false; if (hasAsset()) { - if (!getAsset().equals(other.getAsset())) return false; + if (!getAsset() + .equals(other.getAsset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,7 +296,8 @@ public int hashCode() { hash = (53 * hash) + getWindow().hashCode(); } hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleted()); if (hasAsset()) { hash = (37 * hash) + ASSET_FIELD_NUMBER; hash = (53 * hash) + getAsset().hashCode(); @@ -346,104 +307,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.TemporalAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.TemporalAsset 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.asset.v1p2beta1.TemporalAsset parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.TemporalAsset parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.TemporalAsset parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.TemporalAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.TemporalAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Temporal asset. In addition to the asset, the temporal asset includes the
    * status of the asset and valid from and to time of it.
@@ -451,23 +405,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.TemporalAsset}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.TemporalAsset)
       com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.TemporalAsset.class,
-              com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
+              com.google.cloud.asset.v1p2beta1.TemporalAsset.class, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.TemporalAsset.newBuilder()
@@ -475,15 +427,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -505,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
@@ -526,8 +479,7 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.TemporalAsset buildPartial() {
-      com.google.cloud.asset.v1p2beta1.TemporalAsset result =
-          new com.google.cloud.asset.v1p2beta1.TemporalAsset(this);
+      com.google.cloud.asset.v1p2beta1.TemporalAsset result = new com.google.cloud.asset.v1p2beta1.TemporalAsset(this);
       if (windowBuilder_ == null) {
         result.window_ = window_;
       } else {
@@ -547,39 +499,38 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p2beta1.TemporalAsset) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.TemporalAsset) other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.TemporalAsset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -628,47 +579,34 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1p2beta1.TimeWindow window_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p2beta1.TimeWindow,
-            com.google.cloud.asset.v1p2beta1.TimeWindow.Builder,
-            com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder>
-        windowBuilder_;
+        com.google.cloud.asset.v1p2beta1.TimeWindow, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder> windowBuilder_;
     /**
-     *
-     *
      * 
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; - * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; - * * @return The window. */ public com.google.cloud.asset.v1p2beta1.TimeWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null - ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; } else { return windowBuilder_.getMessage(); } } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -689,15 +627,14 @@ public Builder setWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; */ - public Builder setWindow(com.google.cloud.asset.v1p2beta1.TimeWindow.Builder builderForValue) { + public Builder setWindow( + com.google.cloud.asset.v1p2beta1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -708,8 +645,6 @@ public Builder setWindow(com.google.cloud.asset.v1p2beta1.TimeWindow.Builder bui return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -720,9 +655,7 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.cloud.asset.v1p2beta1.TimeWindow.newBuilder(window_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p2beta1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); } else { window_ = value; } @@ -734,8 +667,6 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -754,8 +685,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -763,13 +692,11 @@ public Builder clearWindow() { * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; */ public com.google.cloud.asset.v1p2beta1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -780,14 +707,11 @@ public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null - ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? + com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; } } /** - * - * *
      * The time window when the asset data and state was observed.
      * 
@@ -795,32 +719,26 @@ public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.TimeWindow, - com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, - com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder> + com.google.cloud.asset.v1p2beta1.TimeWindow, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.TimeWindow, - com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, - com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder>( - getWindow(), getParentForChildren(), isClean()); + windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.TimeWindow, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder>( + getWindow(), + getParentForChildren(), + isClean()); window_ = null; } return windowBuilder_; } - private boolean deleted_; + private boolean deleted_ ; /** - * - * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; - * * @return The deleted. */ @java.lang.Override @@ -828,36 +746,30 @@ public boolean getDeleted() { return deleted_; } /** - * - * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; - * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** - * - * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; - * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; @@ -865,47 +777,34 @@ public Builder clearDeleted() { private com.google.cloud.asset.v1p2beta1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Asset, - com.google.cloud.asset.v1p2beta1.Asset.Builder, - com.google.cloud.asset.v1p2beta1.AssetOrBuilder> - assetBuilder_; + com.google.cloud.asset.v1p2beta1.Asset, com.google.cloud.asset.v1p2beta1.Asset.Builder, com.google.cloud.asset.v1p2beta1.AssetOrBuilder> assetBuilder_; /** - * - * *
      * Asset.
      * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return Whether the asset field is set. */ public boolean hasAsset() { return assetBuilder_ != null || asset_ != null; } /** - * - * *
      * Asset.
      * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return The asset. */ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { if (assetBuilder_ == null) { - return asset_ == null - ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() - : asset_; + return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } else { return assetBuilder_.getMessage(); } } /** - * - * *
      * Asset.
      * 
@@ -926,15 +825,14 @@ public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** - * - * *
      * Asset.
      * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; */ - public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset.Builder builderForValue) { + public Builder setAsset( + com.google.cloud.asset.v1p2beta1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); onChanged(); @@ -945,8 +843,6 @@ public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset.Builder builderFo return this; } /** - * - * *
      * Asset.
      * 
@@ -957,9 +853,7 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { if (assetBuilder_ == null) { if (asset_ != null) { asset_ = - com.google.cloud.asset.v1p2beta1.Asset.newBuilder(asset_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p2beta1.Asset.newBuilder(asset_).mergeFrom(value).buildPartial(); } else { asset_ = value; } @@ -971,8 +865,6 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** - * - * *
      * Asset.
      * 
@@ -991,8 +883,6 @@ public Builder clearAsset() { return this; } /** - * - * *
      * Asset.
      * 
@@ -1000,13 +890,11 @@ public Builder clearAsset() { * .google.cloud.asset.v1p2beta1.Asset asset = 3; */ public com.google.cloud.asset.v1p2beta1.Asset.Builder getAssetBuilder() { - + onChanged(); return getAssetFieldBuilder().getBuilder(); } /** - * - * *
      * Asset.
      * 
@@ -1017,14 +905,11 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null - ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() - : asset_; + return asset_ == null ? + com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } } /** - * - * *
      * Asset.
      * 
@@ -1032,24 +917,21 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { * .google.cloud.asset.v1p2beta1.Asset asset = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Asset, - com.google.cloud.asset.v1p2beta1.Asset.Builder, - com.google.cloud.asset.v1p2beta1.AssetOrBuilder> + com.google.cloud.asset.v1p2beta1.Asset, com.google.cloud.asset.v1p2beta1.Asset.Builder, com.google.cloud.asset.v1p2beta1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Asset, - com.google.cloud.asset.v1p2beta1.Asset.Builder, - com.google.cloud.asset.v1p2beta1.AssetOrBuilder>( - getAsset(), getParentForChildren(), isClean()); + assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Asset, com.google.cloud.asset.v1p2beta1.Asset.Builder, com.google.cloud.asset.v1p2beta1.AssetOrBuilder>( + getAsset(), + getParentForChildren(), + isClean()); asset_ = null; } return assetBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.TemporalAsset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.TemporalAsset) private static final com.google.cloud.asset.v1p2beta1.TemporalAsset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.TemporalAsset(); } @@ -1073,16 +955,16 @@ public static com.google.cloud.asset.v1p2beta1.TemporalAsset getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TemporalAsset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TemporalAsset(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TemporalAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TemporalAsset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +979,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.TemporalAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java similarity index 70% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java index f2666eaba..d927836ba 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; -public interface TemporalAssetOrBuilder - extends +public interface TemporalAssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.TemporalAsset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; - * * @return Whether the window field is set. */ boolean hasWindow(); /** - * - * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; - * * @return The window. */ com.google.cloud.asset.v1p2beta1.TimeWindow getWindow(); /** - * - * *
    * The time window when the asset data and state was observed.
    * 
@@ -59,45 +35,34 @@ public interface TemporalAssetOrBuilder com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder(); /** - * - * *
    * If the asset is deleted or not.
    * 
* * bool deleted = 2; - * * @return The deleted. */ boolean getDeleted(); /** - * - * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return Whether the asset field is set. */ boolean hasAsset(); /** - * - * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; - * * @return The asset. */ com.google.cloud.asset.v1p2beta1.Asset getAsset(); /** - * - * *
    * Asset.
    * 
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java similarity index 71% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java index af7ed1677..37ab68d91 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.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/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** - * - * *
  * A time window of (start_time, end_time].
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.TimeWindow} */ -public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.TimeWindow) TimeWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeWindow() {} + private TimeWindow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TimeWindow( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private TimeWindow( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = 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) { @@ -112,39 +92,34 @@ private TimeWindow( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.TimeWindow.class, - com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); + com.google.cloud.asset.v1p2beta1.TimeWindow.class, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -152,14 +127,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -167,8 +139,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Start time of the time window (exclusive).
    * 
@@ -183,15 +153,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -199,15 +166,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -215,8 +179,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
@@ -230,7 +192,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -242,7 +203,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -259,10 +221,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -272,21 +236,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.asset.v1p2beta1.TimeWindow)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p2beta1.TimeWindow other =
-        (com.google.cloud.asset.v1p2beta1.TimeWindow) obj;
+    com.google.cloud.asset.v1p2beta1.TimeWindow other = (com.google.cloud.asset.v1p2beta1.TimeWindow) obj;
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -312,127 +277,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.TimeWindow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
-      byte[] data, com.google.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.asset.v1p2beta1.TimeWindow 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.asset.v1p2beta1.TimeWindow parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p2beta1.TimeWindow parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A time window of (start_time, end_time].
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.TimeWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.TimeWindow) com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.TimeWindow.class, - com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); + com.google.cloud.asset.v1p2beta1.TimeWindow.class, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.TimeWindow.newBuilder() @@ -440,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetProto - .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; } @java.lang.Override @@ -489,8 +446,7 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.TimeWindow buildPartial() { - com.google.cloud.asset.v1p2beta1.TimeWindow result = - new com.google.cloud.asset.v1p2beta1.TimeWindow(this); + com.google.cloud.asset.v1p2beta1.TimeWindow result = new com.google.cloud.asset.v1p2beta1.TimeWindow(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -509,39 +465,38 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.TimeWindow) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.TimeWindow) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.TimeWindow)other); } else { super.mergeFrom(other); return this; @@ -587,33 +542,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -624,8 +570,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -646,15 +590,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -665,8 +608,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -677,7 +618,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -689,8 +630,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -709,8 +648,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -718,13 +655,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -735,12 +670,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Start time of the time window (exclusive).
      * 
@@ -748,17 +682,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -766,35 +697,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -805,8 +727,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -828,8 +748,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -837,7 +755,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -848,8 +767,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -861,7 +778,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -873,8 +790,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -894,8 +809,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -904,13 +817,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -922,12 +833,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -936,24 +846,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -963,12 +870,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.TimeWindow)
   private static final com.google.cloud.asset.v1p2beta1.TimeWindow DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.TimeWindow();
   }
@@ -977,16 +884,16 @@ public static com.google.cloud.asset.v1p2beta1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TimeWindow parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new TimeWindow(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new TimeWindow(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1001,4 +908,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
similarity index 70%
rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
index 2b5701c7d..c80313df9 100644
--- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
-public interface TimeWindowOrBuilder
-    extends
+public interface TimeWindowOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Start time of the time window (exclusive).
    * 
@@ -59,34 +35,26 @@ public interface TimeWindowOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
similarity index 71%
rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
index 040fd53d6..a6a771069 100644
--- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
+++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.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/asset/v1p2beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
 /**
- *
- *
  * 
  * Update asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.UpdateFeedRequest} */ -public final class UpdateFeedRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateFeedRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.UpdateFeedRequest) UpdateFeedRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateFeedRequest.newBuilder() to construct. private UpdateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateFeedRequest() {} + private UpdateFeedRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateFeedRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); - } - feed_ = - input.readMessage( - com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); + } + feed_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,33 +92,29 @@ private UpdateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); } public static final int FEED_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p2beta1.Feed feed_; /** - * - * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -148,9 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feed field is set. */ @java.lang.Override @@ -158,8 +131,6 @@ public boolean hasFeed() { return feed_ != null; } /** - * - * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -168,9 +139,7 @@ public boolean hasFeed() {
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The feed. */ @java.lang.Override @@ -178,8 +147,6 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } /** - * - * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -188,8 +155,7 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { @@ -199,17 +165,13 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -217,17 +179,13 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -235,16 +193,13 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -252,7 +207,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +218,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -281,10 +236,12 @@ public int getSerializedSize() { size = 0; if (feed_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFeed()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFeed()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -294,21 +251,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.asset.v1p2beta1.UpdateFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest other = - (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest other = (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) obj; if (hasFeed() != other.hasFeed()) return false; if (hasFeed()) { - if (!getFeed().equals(other.getFeed())) return false; + if (!getFeed() + .equals(other.getFeed())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -335,126 +293,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.nio.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.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( - byte[] data, com.google.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.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.UpdateFeedRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.UpdateFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p2beta1.UpdateFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Update asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.UpdateFeedRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.UpdateFeedRequest) com.google.cloud.asset.v1p2beta1.UpdateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.newBuilder() @@ -462,15 +411,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; } @java.lang.Override @@ -511,8 +461,7 @@ public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result = - new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(this); + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result = new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(this); if (feedBuilder_ == null) { result.feed_ = feed_; } else { @@ -531,39 +480,38 @@ public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.UpdateFeedRequest)other); } else { super.mergeFrom(other); return this; @@ -571,8 +519,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.getDefaultInstance()) return this; if (other.hasFeed()) { mergeFeed(other.getFeed()); } @@ -598,8 +545,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -611,13 +557,8 @@ public Builder mergeFrom( private com.google.cloud.asset.v1p2beta1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder> - feedBuilder_; + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> feedBuilder_; /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -626,17 +567,13 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -645,9 +582,7 @@ public boolean hasFeed() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The feed. */ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { @@ -658,8 +593,6 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { } } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -668,8 +601,7 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { @@ -685,8 +617,6 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -695,10 +625,10 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { + public Builder setFeed( + com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { if (feedBuilder_ == null) { feed_ = builderForValue.build(); onChanged(); @@ -709,8 +639,6 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForV return this; } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -719,16 +647,13 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForV
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { if (feed_ != null) { feed_ = - com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial(); } else { feed_ = value; } @@ -740,8 +665,6 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -750,8 +673,7 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFeed() { if (feedBuilder_ == null) { @@ -765,8 +687,6 @@ public Builder clearFeed() { return this; } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -775,17 +695,14 @@ public Builder clearFeed() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { - + onChanged(); return getFeedFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -794,19 +711,17 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { if (feedBuilder_ != null) { return feedBuilder_.getMessageOrBuilder(); } else { - return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; + return feed_ == null ? + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } } /** - * - * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -815,21 +730,17 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> getFeedFieldBuilder() { if (feedBuilder_ == null) { - feedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, - com.google.cloud.asset.v1p2beta1.Feed.Builder, - com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( - getFeed(), getParentForChildren(), isClean()); + feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( + getFeed(), + getParentForChildren(), + isClean()); feed_ = null; } return feedBuilder_; @@ -837,61 +748,45 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -907,18 +802,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -929,22 +822,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -956,16 +846,13 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -979,74 +866,61 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1056,12 +930,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.UpdateFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.UpdateFeedRequest) private static final com.google.cloud.asset.v1p2beta1.UpdateFeedRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(); } @@ -1070,16 +944,16 @@ public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1094,4 +968,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java index f47a2da67..dc99969d8 100644 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java +++ b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface UpdateFeedRequestOrBuilder - extends +public interface UpdateFeedRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.UpdateFeedRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -34,15 +16,11 @@ public interface UpdateFeedRequestOrBuilder
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the feed field is set. */ boolean hasFeed(); /** - * - * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -51,15 +29,11 @@ public interface UpdateFeedRequestOrBuilder
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The feed. */ com.google.cloud.asset.v1p2beta1.Feed getFeed(); /** - * - * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -68,52 +42,40 @@ public interface UpdateFeedRequestOrBuilder
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder(); /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto similarity index 100% rename from proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto similarity index 100% rename from proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto rename to owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java index adfe58284..600ffafdb 100644 --- a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java +++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java @@ -20,6 +20,7 @@ import com.google.cloud.asset.v1p2beta1.AssetServiceClient; import com.google.cloud.asset.v1p2beta1.DeleteFeedRequest; import com.google.cloud.asset.v1p2beta1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeed { diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java index 187733cda..0cfd47b3f 100644 --- a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java +++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java @@ -19,6 +19,7 @@ // [START asset_v1p2beta1_generated_assetserviceclient_deletefeed_feedname_sync] import com.google.cloud.asset.v1p2beta1.AssetServiceClient; import com.google.cloud.asset.v1p2beta1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeedFeedname { diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java index e58feaba9..447fe0654 100644 --- a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java +++ b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java @@ -19,6 +19,7 @@ // [START asset_v1p2beta1_generated_assetserviceclient_deletefeed_string_sync] import com.google.cloud.asset.v1p2beta1.AssetServiceClient; import com.google.cloud.asset.v1p2beta1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeedString { diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java b/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java rename to owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java similarity index 97% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java index 4a78f7783..80517ba85 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java +++ b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java @@ -56,13 +56,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. *
* @@ -183,6 +183,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -301,8 +302,7 @@ public final AnalyzeIamPolicyResponse analyzeIamPolicy(AnalyzeIamPolicyRequest r * }
*/ public final OperationCallable< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { return stub.exportIamPolicyAnalysisOperationCallable(); diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java similarity index 94% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java index 5311b8619..5757ea09f 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java +++ b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java @@ -26,6 +26,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p4beta1.stub.AssetServiceStubSettings; @@ -41,9 +42,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -85,8 +86,7 @@ public class AssetServiceSettings extends ClientSettings { /** Returns the object with the settings used for calls to exportIamPolicyAnalysis. */ public OperationCallSettings< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings() { return ((AssetServiceStubSettings) getStubSettings()) @@ -222,8 +222,7 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to exportIamPolicyAnalysis. */ public OperationCallSettings.Builder< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings() { return getStubSettingsBuilder().exportIamPolicyAnalysisOperationSettings(); diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java similarity index 96% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java index 25e175a79..8400a9c6d 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java +++ b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java @@ -52,8 +52,7 @@ public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOp } public OperationCallable< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { throw new UnsupportedOperationException( diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java similarity index 96% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java index d61b88111..30e753f68 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java @@ -59,9 +59,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -98,8 +98,7 @@ public class AssetServiceStubSettings extends StubSettings exportIamPolicyAnalysisSettings; private final OperationCallSettings< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings; @@ -117,8 +116,7 @@ public class AssetServiceStubSettings extends StubSettings exportIamPolicyAnalysisOperationSettings() { return exportIamPolicyAnalysisOperationSettings; @@ -244,8 +242,7 @@ public static class Builder extends StubSettings.Builder exportIamPolicyAnalysisSettings; private final OperationCallSettings.Builder< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings; private static final ImmutableMap> @@ -416,8 +413,7 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings() { return exportIamPolicyAnalysisOperationSettings; diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java similarity index 98% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java index cd120f7e2..f50d01c80 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java @@ -34,6 +34,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; @@ -73,8 +74,7 @@ public class GrpcAssetServiceStub extends AssetServiceStub { private final UnaryCallable exportIamPolicyAnalysisCallable; private final OperationCallable< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable; @@ -184,8 +184,7 @@ public GrpcOperationsStub getOperationsStub() { @Override public OperationCallable< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { return exportIamPolicyAnalysisOperationCallable; diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java similarity index 98% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java index df17ff20d..6f7ed2823 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java +++ b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java @@ -28,6 +28,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; @@ -146,8 +147,7 @@ public class HttpJsonAssetServiceStub extends AssetServiceStub { private final UnaryCallable exportIamPolicyAnalysisCallable; private final OperationCallable< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable; @@ -254,8 +254,7 @@ public HttpJsonOperationsStub getHttpJsonOperationsStub() { @Override public OperationCallable< - ExportIamPolicyAnalysisRequest, - ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { return exportIamPolicyAnalysisOperationCallable; diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java b/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java rename to owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java new file mode 100644 index 000000000..39ea8fd80 --- /dev/null +++ b/owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java @@ -0,0 +1,405 @@ +package com.google.cloud.asset.v1p4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Asset service definition.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/asset/v1p4beta1/asset_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AssetServiceGrpc { + + private AssetServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.asset.v1p4beta1.AssetService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", + requestType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, + responseType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod() { + io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + AssetServiceGrpc.getAnalyzeIamPolicyMethod = getAnalyzeIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) + .build(); + } + } + } + return getAnalyzeIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getExportIamPolicyAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportIamPolicyAnalysis", + requestType = com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExportIamPolicyAnalysisMethod() { + io.grpc.MethodDescriptor getExportIamPolicyAnalysisMethod; + if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) == null) { + AssetServiceGrpc.getExportIamPolicyAnalysisMethod = getExportIamPolicyAnalysisMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportIamPolicyAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportIamPolicyAnalysis")) + .build(); + } + } + } + return getExportIamPolicyAnalysisMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AssetServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; + return AssetServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AssetServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; + return AssetServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AssetServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; + return AssetServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static abstract class AssetServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public void analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public void exportIamPolicyAnalysis(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportIamPolicyAnalysisMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getAnalyzeIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>( + this, METHODID_ANALYZE_IAM_POLICY))) + .addMethod( + getExportIamPolicyAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_IAM_POLICY_ANALYSIS))) + .build(); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + + /** + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public void analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public void exportIamPolicyAnalysis(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public com.google.longrunning.Operation exportIamPolicyAnalysis(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportIamPolicyAnalysisMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture analyzeIamPolicy( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture exportIamPolicyAnalysis( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_ANALYZE_IAM_POLICY = 0; + private static final int METHODID_EXPORT_IAM_POLICY_ANALYSIS = 1; + + 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 AssetServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AssetServiceImplBase 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_ANALYZE_IAM_POLICY: + serviceImpl.analyzeIamPolicy((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_EXPORT_IAM_POLICY_ANALYSIS: + serviceImpl.exportIamPolicyAnalysis((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) 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 AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AssetServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AssetService"); + } + } + + private static final class AssetServiceFileDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier { + AssetServiceFileDescriptorSupplier() {} + } + + private static final class AssetServiceMethodDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getAnalyzeIamPolicyMethod()) + .addMethod(getExportIamPolicyAnalysisMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java similarity index 72% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java index 85941f94b..b3627c24a 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** - * - * *
  * A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} */ -public final class AnalyzeIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalyzeIamPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) AnalyzeIamPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalyzeIamPolicyRequest.newBuilder() to construct. private AnalyzeIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AnalyzeIamPolicyRequest() {} + private AnalyzeIamPolicyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalyzeIamPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnalyzeIamPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,39 @@ private AnalyzeIamPolicyRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); - } - analysisQuery_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); + } + analysisQuery_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder subBuilder = - null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + options_ = input.readMessage(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,36 +92,31 @@ private AnalyzeIamPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); } - public interface OptionsOrBuilder - extends + public interface OptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -156,14 +126,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ boolean getExpandGroups(); /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -173,14 +140,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ boolean getExpandRoles(); /** - * - * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -195,14 +159,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ boolean getExpandResources(); /** - * - * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -210,14 +171,11 @@ public interface OptionsOrBuilder
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ boolean getOutputResourceEdges(); /** - * - * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -225,14 +183,11 @@ public interface OptionsOrBuilder
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ boolean getOutputGroupEdges(); /** - * - * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -255,17 +210,12 @@ public interface OptionsOrBuilder
      * Default is false.
      * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ boolean getAnalyzeServiceAccountImpersonation(); /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -277,16 +227,11 @@ public interface OptionsOrBuilder
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -298,16 +243,11 @@ public interface OptionsOrBuilder
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -319,44 +259,41 @@ public interface OptionsOrBuilder
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); } /** - * - * *
    * Contains request options.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} */ - public static final class Options extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Options extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Options() {} + private Options() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Options( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -375,58 +312,56 @@ private Options( case 0: done = true; break; - case 8: - { - expandGroups_ = input.readBool(); - break; - } - case 16: - { - expandRoles_ = input.readBool(); - break; - } - case 24: - { - expandResources_ = input.readBool(); - break; - } - case 32: - { - outputResourceEdges_ = input.readBool(); - break; - } - case 40: - { - outputGroupEdges_ = input.readBool(); - break; - } - case 48: - { - analyzeServiceAccountImpersonation_ = input.readBool(); - break; + case 8: { + + expandGroups_ = input.readBool(); + break; + } + case 16: { + + expandRoles_ = input.readBool(); + break; + } + case 24: { + + expandResources_ = input.readBool(); + break; + } + case 32: { + + outputResourceEdges_ = input.readBool(); + break; + } + case 40: { + + outputGroupEdges_ = input.readBool(); + break; + } + case 48: { + + analyzeServiceAccountImpersonation_ = input.readBool(); + break; + } + case 58: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (executionTimeout_ != null) { + subBuilder = executionTimeout_.toBuilder(); } - case 58: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (executionTimeout_ != null) { - subBuilder = executionTimeout_.toBuilder(); - } - executionTimeout_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionTimeout_); - executionTimeout_ = subBuilder.buildPartial(); - } - - break; + executionTimeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(executionTimeout_); + executionTimeout_ = 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) { @@ -434,33 +369,29 @@ private Options( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); } public static final int EXPAND_GROUPS_FIELD_NUMBER = 1; private boolean expandGroups_; /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -470,7 +401,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -481,8 +411,6 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_; /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -492,7 +420,6 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -503,8 +430,6 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_; /** - * - * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -519,7 +444,6 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -530,8 +454,6 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_; /** - * - * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -539,7 +461,6 @@ public boolean getExpandResources() {
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ @java.lang.Override @@ -550,8 +471,6 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_; /** - * - * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -559,7 +478,6 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -570,8 +488,6 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_; /** - * - * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -594,10 +510,7 @@ public boolean getOutputGroupEdges() {
      * Default is false.
      * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -608,8 +521,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { public static final int EXECUTION_TIMEOUT_FIELD_NUMBER = 7; private com.google.protobuf.Duration executionTimeout_; /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -621,10 +532,7 @@ public boolean getAnalyzeServiceAccountImpersonation() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionTimeout field is set. */ @java.lang.Override @@ -632,8 +540,6 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -645,21 +551,14 @@ public boolean hasExecutionTimeout() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionTimeout. */ @java.lang.Override public com.google.protobuf.Duration getExecutionTimeout() { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } /** - * - * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -671,9 +570,7 @@ public com.google.protobuf.Duration getExecutionTimeout() {
      * Default is empty.
      * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { @@ -681,7 +578,6 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -693,7 +589,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (expandGroups_ != false) { output.writeBool(1, expandGroups_); } @@ -725,27 +622,32 @@ public int getSerializedSize() { size = 0; if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandGroups_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, expandGroups_); } if (expandRoles_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, expandRoles_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, expandRoles_); } if (expandResources_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, expandResources_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, expandResources_); } if (outputResourceEdges_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outputResourceEdges_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, outputResourceEdges_); } if (outputGroupEdges_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outputGroupEdges_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, outputGroupEdges_); } if (analyzeServiceAccountImpersonation_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 6, analyzeServiceAccountImpersonation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, analyzeServiceAccountImpersonation_); } if (executionTimeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExecutionTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getExecutionTimeout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -755,24 +657,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) obj; - - if (getExpandGroups() != other.getExpandGroups()) return false; - if (getExpandRoles() != other.getExpandRoles()) return false; - if (getExpandResources() != other.getExpandResources()) return false; - if (getOutputResourceEdges() != other.getOutputResourceEdges()) return false; - if (getOutputGroupEdges() != other.getOutputGroupEdges()) return false; - if (getAnalyzeServiceAccountImpersonation() != other.getAnalyzeServiceAccountImpersonation()) - return false; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) obj; + + if (getExpandGroups() + != other.getExpandGroups()) return false; + if (getExpandRoles() + != other.getExpandRoles()) return false; + if (getExpandResources() + != other.getExpandResources()) return false; + if (getOutputResourceEdges() + != other.getOutputResourceEdges()) return false; + if (getOutputGroupEdges() + != other.getOutputGroupEdges()) return false; + if (getAnalyzeServiceAccountImpersonation() + != other.getAnalyzeServiceAccountImpersonation()) return false; if (hasExecutionTimeout() != other.hasExecutionTimeout()) return false; if (hasExecutionTimeout()) { - if (!getExecutionTimeout().equals(other.getExecutionTimeout())) return false; + if (!getExecutionTimeout() + .equals(other.getExecutionTimeout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -786,19 +693,23 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandGroups()); hash = (37 * hash) + EXPAND_ROLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandRoles()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandRoles()); hash = (37 * hash) + EXPAND_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandResources()); hash = (37 * hash) + OUTPUT_RESOURCE_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputResourceEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOutputResourceEdges()); hash = (37 * hash) + OUTPUT_GROUP_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputGroupEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOutputGroupEdges()); hash = (37 * hash) + ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getAnalyzeServiceAccountImpersonation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAnalyzeServiceAccountImpersonation()); if (hasExecutionTimeout()) { hash = (37 * hash) + EXECUTION_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getExecutionTimeout().hashCode(); @@ -809,95 +720,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.nio.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseDelimitedFrom( + java.io.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -907,49 +810,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Contains request options.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -975,16 +873,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance(); } @java.lang.Override @@ -998,8 +894,7 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options build() @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options result = - new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(this); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(this); result.expandGroups_ = expandGroups_; result.expandRoles_ = expandRoles_; result.expandResources_ = expandResources_; @@ -1019,53 +914,46 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other) { - if (other - == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other) { + if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance()) return this; if (other.getExpandGroups() != false) { setExpandGroups(other.getExpandGroups()); } @@ -1106,9 +994,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1118,10 +1004,8 @@ public Builder mergeFrom( return this; } - private boolean expandGroups_; + private boolean expandGroups_ ; /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1131,7 +1015,6 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -1139,8 +1022,6 @@ public boolean getExpandGroups() { return expandGroups_; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1150,19 +1031,16 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandGroups to set. * @return This builder for chaining. */ public Builder setExpandGroups(boolean value) { - + expandGroups_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1172,20 +1050,17 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandGroups() { - + expandGroups_ = false; onChanged(); return this; } - private boolean expandRoles_; + private boolean expandRoles_ ; /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1195,7 +1070,6 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -1203,8 +1077,6 @@ public boolean getExpandRoles() { return expandRoles_; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1214,19 +1086,16 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandRoles to set. * @return This builder for chaining. */ public Builder setExpandRoles(boolean value) { - + expandRoles_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1236,20 +1105,17 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandRoles() { - + expandRoles_ = false; onChanged(); return this; } - private boolean expandResources_; + private boolean expandResources_ ; /** - * - * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1264,7 +1130,6 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -1272,8 +1137,6 @@ public boolean getExpandResources() { return expandResources_; } /** - * - * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1288,19 +1151,16 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandResources to set. * @return This builder for chaining. */ public Builder setExpandResources(boolean value) { - + expandResources_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1315,20 +1175,17 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandResources() { - + expandResources_ = false; onChanged(); return this; } - private boolean outputResourceEdges_; + private boolean outputResourceEdges_ ; /** - * - * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1336,7 +1193,6 @@ public Builder clearExpandResources() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ @java.lang.Override @@ -1344,8 +1200,6 @@ public boolean getOutputResourceEdges() { return outputResourceEdges_; } /** - * - * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1353,19 +1207,16 @@ public boolean getOutputResourceEdges() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The outputResourceEdges to set. * @return This builder for chaining. */ public Builder setOutputResourceEdges(boolean value) { - + outputResourceEdges_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1373,20 +1224,17 @@ public Builder setOutputResourceEdges(boolean value) {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputResourceEdges() { - + outputResourceEdges_ = false; onChanged(); return this; } - private boolean outputGroupEdges_; + private boolean outputGroupEdges_ ; /** - * - * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1394,7 +1242,6 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -1402,8 +1249,6 @@ public boolean getOutputGroupEdges() { return outputGroupEdges_; } /** - * - * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1411,19 +1256,16 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ public Builder setOutputGroupEdges(boolean value) { - + outputGroupEdges_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1431,20 +1273,17 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { - + outputGroupEdges_ = false; onChanged(); return this; } - private boolean analyzeServiceAccountImpersonation_; + private boolean analyzeServiceAccountImpersonation_ ; /** - * - * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1467,10 +1306,7 @@ public Builder clearOutputGroupEdges() {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -1478,8 +1314,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { return analyzeServiceAccountImpersonation_; } /** - * - * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1502,22 +1336,17 @@ public boolean getAnalyzeServiceAccountImpersonation() {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The analyzeServiceAccountImpersonation to set. * @return This builder for chaining. */ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { - + analyzeServiceAccountImpersonation_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1540,14 +1369,11 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearAnalyzeServiceAccountImpersonation() { - + analyzeServiceAccountImpersonation_ = false; onChanged(); return this; @@ -1555,13 +1381,8 @@ public Builder clearAnalyzeServiceAccountImpersonation() { private com.google.protobuf.Duration executionTimeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - executionTimeoutBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionTimeoutBuilder_; /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1573,18 +1394,13 @@ public Builder clearAnalyzeServiceAccountImpersonation() {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeoutBuilder_ != null || executionTimeout_ != null; } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1596,24 +1412,17 @@ public boolean hasExecutionTimeout() {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } else { return executionTimeoutBuilder_.getMessage(); } } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1625,9 +1434,7 @@ public com.google.protobuf.Duration getExecutionTimeout() {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { @@ -1643,8 +1450,6 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1656,11 +1461,10 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionTimeout( + com.google.protobuf.Duration.Builder builderForValue) { if (executionTimeoutBuilder_ == null) { executionTimeout_ = builderForValue.build(); onChanged(); @@ -1671,8 +1475,6 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF return this; } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1684,17 +1486,13 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderF
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { if (executionTimeout_ != null) { executionTimeout_ = - com.google.protobuf.Duration.newBuilder(executionTimeout_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(executionTimeout_).mergeFrom(value).buildPartial(); } else { executionTimeout_ = value; } @@ -1706,8 +1504,6 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1719,9 +1515,7 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExecutionTimeout() { if (executionTimeoutBuilder_ == null) { @@ -1735,8 +1529,6 @@ public Builder clearExecutionTimeout() { return this; } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1748,18 +1540,14 @@ public Builder clearExecutionTimeout() {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { - + onChanged(); return getExecutionTimeoutFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1771,22 +1559,17 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { if (executionTimeoutBuilder_ != null) { return executionTimeoutBuilder_.getMessageOrBuilder(); } else { - return executionTimeout_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionTimeout_; + return executionTimeout_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; } } /** - * - * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1798,27 +1581,21 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() {
        * Default is empty.
        * 
* - * - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; */ 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> getExecutionTimeoutFieldBuilder() { if (executionTimeoutBuilder_ == null) { - executionTimeoutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getExecutionTimeout(), getParentForChildren(), isClean()); + executionTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getExecutionTimeout(), + getParentForChildren(), + isClean()); executionTimeout_ = null; } return executionTimeoutBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1831,32 +1608,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) - private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Options(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Options(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1868,25 +1643,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -1894,54 +1664,37 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder - getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { return getAnalysisQuery(); } public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options_; /** - * - * *
    * Optional. The request options.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ @java.lang.Override @@ -1949,43 +1702,30 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * Optional. The request options.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions() { - return options_ == null - ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() : options_; } /** - * - * *
    * Optional. The request options.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder - getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1997,7 +1737,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -2014,10 +1755,12 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAnalysisQuery()); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2027,21 +1770,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.asset.v1p4beta1.AnalyzeIamPolicyRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest other = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) obj; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery() + .equals(other.getAnalysisQuery())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2068,127 +1812,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.nio.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.newBuilder() @@ -2196,15 +1930,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2224,9 +1959,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; } @java.lang.Override @@ -2245,8 +1980,7 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest result = - new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(this); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(this); if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; } else { @@ -2265,39 +1999,38 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -2305,8 +2038,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest other) { - if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.getDefaultInstance()) return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -2332,8 +2064,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2345,58 +2076,39 @@ public Builder mergeFrom( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> - analysisQueryBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -2412,15 +2124,11 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -2434,24 +2142,17 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAnalysisQuery( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); } else { analysisQuery_ = value; } @@ -2463,15 +2164,11 @@ public Builder mergeAnalysisQuery( return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -2485,66 +2182,48 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder - getAnalysisQueryBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder - getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), getParentForChildren(), isClean()); + analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), + getParentForChildren(), + isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -2552,61 +2231,41 @@ public Builder clearAnalysisQuery() { private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> - optionsBuilder_; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> optionsBuilder_; /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setOptions( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { + public Builder setOptions(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2620,15 +2279,11 @@ public Builder setOptions( return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOptions( com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder builderForValue) { @@ -2642,24 +2297,17 @@ public Builder setOptions( return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeOptions( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { + public Builder mergeOptions(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder(options_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -2671,15 +2319,11 @@ public Builder mergeOptions( return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearOptions() { if (optionsBuilder_ == null) { @@ -2693,73 +2337,55 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder - getOptionsBuilder() { - + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder getOptionsBuilder() { + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder - getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() - : options_; + return options_ == null ? + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() : options_; } } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2769,12 +2395,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(); } @@ -2783,16 +2409,16 @@ public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2807,4 +2433,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java new file mode 100644 index 000000000..6c3251a4e --- /dev/null +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java @@ -0,0 +1,63 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public interface AnalyzeIamPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The request query.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the analysisQuery field is set. + */ + boolean hasAnalysisQuery(); + /** + *
+   * Required. The request query.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The analysisQuery. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); + /** + *
+   * Required. The request query.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); + + /** + *
+   * Optional. The request options.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the options field is set. + */ + boolean hasOptions(); + /** + *
+   * Optional. The request options.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions(); + /** + *
+   * Optional. The request options.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder(); +} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java similarity index 66% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java index c3acf59c9..25d9f321e 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** - * - * *
  * A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} */ -public final class AnalyzeIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AnalyzeIamPolicyResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) AnalyzeIamPolicyResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AnalyzeIamPolicyResponse.newBuilder() to construct. private AnalyzeIamPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalyzeIamPolicyResponse() { serviceAccountImpersonationAnalysis_ = java.util.Collections.emptyList(); nonCriticalErrors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private AnalyzeIamPolicyResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AnalyzeIamPolicyResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AnalyzeIamPolicyResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,68 +55,49 @@ private AnalyzeIamPolicyResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - subBuilder = null; - if (mainAnalysis_ != null) { - subBuilder = mainAnalysis_.toBuilder(); - } - mainAnalysis_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mainAnalysis_); - mainAnalysis_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder subBuilder = null; + if (mainAnalysis_ != null) { + subBuilder = mainAnalysis_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - .IamPolicyAnalysis>(); - mutable_bitField0_ |= 0x00000001; - } - serviceAccountImpersonationAnalysis_.add( - input.readMessage( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .parser(), - extensionRegistry)); - break; + mainAnalysis_ = input.readMessage(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mainAnalysis_); + mainAnalysis_ = subBuilder.buildPartial(); } - case 24: - { - fullyExplored_ = input.readBool(); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState>(); - mutable_bitField0_ |= 0x00000002; - } - nonCriticalErrors_.add( - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .parser(), - extensionRegistry)); - break; + serviceAccountImpersonationAnalysis_.add( + input.readMessage(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry)); + break; + } + case 24: { + + fullyExplored_ = input.readBool(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + nonCriticalErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nonCriticalErrors_.add( + input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -141,11 +105,11 @@ private AnalyzeIamPolicyResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { - serviceAccountImpersonationAnalysis_ = - java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { nonCriticalErrors_ = java.util.Collections.unmodifiableList(nonCriticalErrors_); @@ -154,54 +118,42 @@ private AnalyzeIamPolicyResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); } - public interface IamPolicyAnalysisOrBuilder - extends + public interface IamPolicyAnalysisOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return The analysisQuery. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); /** - * - * *
      * The analysis query.
      * 
@@ -211,117 +163,97 @@ public interface IamPolicyAnalysisOrBuilder com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - java.util.List + java.util.List getAnalysisResultsList(); /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults(int index); /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ int getAnalysisResultsCount(); /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - java.util.List + java.util.List getAnalysisResultsOrBuilderList(); /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder( int index); /** - * - * *
      * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
      * fully explored to answer the query.
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ boolean getFullyExplored(); } /** - * - * *
    * An analysis message to group the query and results.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class IamPolicyAnalysis extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IamPolicyAnalysis extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) IamPolicyAnalysisOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysis.newBuilder() to construct. private IamPolicyAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicyAnalysis() { analysisResults_ = 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 IamPolicyAnalysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicyAnalysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -341,49 +273,40 @@ private IamPolicyAnalysis( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); - } - analysisQuery_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analysisResults_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult>(); - mutable_bitField0_ |= 0x00000001; - } - analysisResults_.add( - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.parser(), - extensionRegistry)); - break; + analysisQuery_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); } - case 24: - { - fullyExplored_ = input.readBool(); - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analysisResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + analysisResults_.add( + input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.parser(), extensionRegistry)); + break; + } + case 24: { + + fullyExplored_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -391,7 +314,8 @@ private IamPolicyAnalysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { analysisResults_ = java.util.Collections.unmodifiableList(analysisResults_); @@ -400,34 +324,27 @@ private IamPolicyAnalysis( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - .class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -435,25 +352,18 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** - * - * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } /** - * - * *
      * The analysis query.
      * 
@@ -461,106 +371,84 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery( * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder - getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { return getAnalysisQuery(); } public static final int ANALYSIS_RESULTS_FIELD_NUMBER = 2; - private java.util.List - analysisResults_; + private java.util.List analysisResults_; /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ @java.lang.Override - public java.util.List - getAnalysisResultsList() { + public java.util.List getAnalysisResultsList() { return analysisResults_; } /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> + public java.util.List getAnalysisResultsOrBuilderList() { return analysisResults_; } /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ @java.lang.Override public int getAnalysisResultsCount() { return analysisResults_.size(); } /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults(int index) { return analysisResults_.get(index); } /** - * - * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder - getAnalysisResultsOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder( + int index) { return analysisResults_.get(index); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 3; private boolean fullyExplored_; /** - * - * *
      * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
      * fully explored to answer the query.
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -569,7 +457,6 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,7 +468,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -601,14 +489,16 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAnalysisQuery()); } for (int i = 0; i < analysisResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, analysisResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, analysisResults_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -618,21 +508,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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery() + .equals(other.getAnalysisQuery())) return false; } - if (!getAnalysisResultsList().equals(other.getAnalysisResultsList())) return false; - if (getFullyExplored() != other.getFullyExplored()) return false; + if (!getAnalysisResultsList() + .equals(other.getAnalysisResultsList())) return false; + if (getFullyExplored() + != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -653,107 +544,95 @@ public int hashCode() { hash = (53 * hash) + getAnalysisResultsList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom( + java.io.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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -763,52 +642,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An analysis message to group the query and results.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - .class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnalysisResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -830,22 +702,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis build() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = - buildPartial(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -853,10 +722,8 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = - new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial() { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); int from_bitField0_ = bitField0_; if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; @@ -881,55 +748,46 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) other); + if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) { + return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { - if (other - == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { + if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()) return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -951,10 +809,9 @@ public Builder mergeFrom( analysisResultsBuilder_ = null; analysisResults_ = other.analysisResults_; bitField0_ = (bitField0_ & ~0x00000001); - analysisResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAnalysisResultsFieldBuilder() - : null; + analysisResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAnalysisResultsFieldBuilder() : null; } else { analysisResultsBuilder_.addAllMessages(other.analysisResults_); } @@ -978,14 +835,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parsedMessage = - null; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -994,60 +848,45 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> - analysisQueryBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; - * * @return The analysisQuery. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public Builder setAnalysisQuery( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1061,8 +900,6 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1081,22 +918,17 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public Builder mergeAnalysisQuery( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); } else { analysisQuery_ = value; } @@ -1108,8 +940,6 @@ public Builder mergeAnalysisQuery( return this; } /** - * - * *
        * The analysis query.
        * 
@@ -1128,42 +958,33 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder - getAnalysisQueryBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder - getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } } /** - * - * *
        * The analysis query.
        * 
@@ -1171,53 +992,40 @@ public Builder clearAnalysisQuery() { * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), getParentForChildren(), isClean()); + analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), + getParentForChildren(), + isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; } - private java.util.List - analysisResults_ = java.util.Collections.emptyList(); - + private java.util.List analysisResults_ = + java.util.Collections.emptyList(); private void ensureAnalysisResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - analysisResults_ = - new java.util.ArrayList( - analysisResults_); + analysisResults_ = new java.util.ArrayList(analysisResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> - analysisResultsBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> analysisResultsBuilder_; /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public java.util.List - getAnalysisResultsList() { + public java.util.List getAnalysisResultsList() { if (analysisResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(analysisResults_); } else { @@ -1225,15 +1033,12 @@ private void ensureAnalysisResultsIsMutable() { } } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public int getAnalysisResultsCount() { if (analysisResultsBuilder_ == null) { @@ -1243,18 +1048,14 @@ public int getAnalysisResultsCount() { } } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults(int index) { if (analysisResultsBuilder_ == null) { return analysisResults_.get(index); } else { @@ -1262,15 +1063,12 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResul } } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder setAnalysisResults( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { @@ -1287,19 +1085,15 @@ public Builder setAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder setAnalysisResults( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { if (analysisResultsBuilder_ == null) { ensureAnalysisResultsIsMutable(); analysisResults_.set(index, builderForValue.build()); @@ -1310,18 +1104,14 @@ public Builder setAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public Builder addAnalysisResults( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { + public Builder addAnalysisResults(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { if (analysisResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1335,15 +1125,12 @@ public Builder addAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder addAnalysisResults( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { @@ -1360,15 +1147,12 @@ public Builder addAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder addAnalysisResults( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { @@ -1382,19 +1166,15 @@ public Builder addAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder addAnalysisResults( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { if (analysisResultsBuilder_ == null) { ensureAnalysisResultsIsMutable(); analysisResults_.add(index, builderForValue.build()); @@ -1405,22 +1185,19 @@ public Builder addAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder addAllAnalysisResults( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (analysisResultsBuilder_ == null) { ensureAnalysisResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, analysisResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, analysisResults_); onChanged(); } else { analysisResultsBuilder_.addAllMessages(values); @@ -1428,15 +1205,12 @@ public Builder addAllAnalysisResults( return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder clearAnalysisResults() { if (analysisResultsBuilder_ == null) { @@ -1449,15 +1223,12 @@ public Builder clearAnalysisResults() { return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ public Builder removeAnalysisResults(int index) { if (analysisResultsBuilder_ == null) { @@ -1470,53 +1241,42 @@ public Builder removeAnalysisResults(int index) { return this; } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder - getAnalysisResultsBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder getAnalysisResultsBuilder( + int index) { return getAnalysisResultsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder - getAnalysisResultsOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder( + int index) { if (analysisResultsBuilder_ == null) { - return analysisResults_.get(index); - } else { + return analysisResults_.get(index); } else { return analysisResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> - getAnalysisResultsOrBuilderList() { + public java.util.List + getAnalysisResultsOrBuilderList() { if (analysisResultsBuilder_ != null) { return analysisResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1524,67 +1284,48 @@ public Builder removeAnalysisResults(int index) { } } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder - addAnalysisResultsBuilder() { - return getAnalysisResultsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder() { + return getAnalysisResultsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder - addAnalysisResultsBuilder(int index) { - return getAnalysisResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder( + int index) { + return getAnalysisResultsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); } /** - * - * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; */ - public java.util.List - getAnalysisResultsBuilderList() { + public java.util.List + getAnalysisResultsBuilderList() { return getAnalysisResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> getAnalysisResultsFieldBuilder() { if (analysisResultsBuilder_ == null) { - analysisResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder>( + analysisResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder>( analysisResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1594,17 +1335,14 @@ public Builder removeAnalysisResults(int index) { return analysisResultsBuilder_; } - private boolean fullyExplored_; + private boolean fullyExplored_ ; /** - * - * *
        * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
        * fully explored to answer the query.
        * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -1612,43 +1350,36 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
        * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
        * fully explored to answer the query.
        * 
* * bool fully_explored = 3; - * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** - * - * *
        * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
        * fully explored to answer the query.
        * 
* * bool fully_explored = 3; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1661,33 +1392,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysis parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysis(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1699,25 +1427,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int MAIN_ANALYSIS_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_; /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return Whether the mainAnalysis field is set. */ @java.lang.Override @@ -1725,144 +1448,102 @@ public boolean hasMainAnalysis() { return mainAnalysis_ != null; } /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return The mainAnalysis. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getMainAnalysis() { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance() - : mainAnalysis_; + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { + return mainAnalysis_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { return getMainAnalysis(); } public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> - serviceAccountImpersonationAnalysis_; + private java.util.List serviceAccountImpersonationAnalysis_; /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public java.util.List - getServiceAccountImpersonationAnalysisList() { + public java.util.List getServiceAccountImpersonationAnalysisList() { return serviceAccountImpersonationAnalysis_; } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + public java.util.List getServiceAccountImpersonationAnalysisOrBuilderList() { return serviceAccountImpersonationAnalysis_; } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override public int getServiceAccountImpersonationAnalysisCount() { return serviceAccountImpersonationAnalysis_.size(); } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { return serviceAccountImpersonationAnalysis_.get(index); } /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getServiceAccountImpersonationAnalysisOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( + int index) { return serviceAccountImpersonationAnalysis_.get(index); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 3; private boolean fullyExplored_; /** - * - * *
    * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
    * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -1870,7 +1551,6 @@ public int getServiceAccountImpersonationAnalysisCount() {
    * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -1879,96 +1559,71 @@ public boolean getFullyExplored() { } public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER = 4; - private java.util.List - nonCriticalErrors_; + private java.util.List nonCriticalErrors_; /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ @java.lang.Override - public java.util.List - getNonCriticalErrorsList() { + public java.util.List getNonCriticalErrorsList() { return nonCriticalErrors_; } /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + public java.util.List getNonCriticalErrorsOrBuilderList() { return nonCriticalErrors_; } /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ @java.lang.Override public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getNonCriticalErrors(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index) { return nonCriticalErrors_.get(index); } /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getNonCriticalErrorsOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( + int index) { return nonCriticalErrors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1980,7 +1635,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mainAnalysis_ != null) { output.writeMessage(1, getMainAnalysis()); } @@ -2003,19 +1659,20 @@ public int getSerializedSize() { size = 0; if (mainAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMainAnalysis()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMainAnalysis()); } for (int i = 0; i < serviceAccountImpersonationAnalysis_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, serviceAccountImpersonationAnalysis_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, serviceAccountImpersonationAnalysis_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, fullyExplored_); } for (int i = 0; i < nonCriticalErrors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, nonCriticalErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, nonCriticalErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2025,22 +1682,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.asset.v1p4beta1.AnalyzeIamPolicyResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse other = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) obj; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) obj; if (hasMainAnalysis() != other.hasMainAnalysis()) return false; if (hasMainAnalysis()) { - if (!getMainAnalysis().equals(other.getMainAnalysis())) return false; + if (!getMainAnalysis() + .equals(other.getMainAnalysis())) return false; } if (!getServiceAccountImpersonationAnalysisList() .equals(other.getServiceAccountImpersonationAnalysisList())) return false; - if (getFullyExplored() != other.getFullyExplored()) return false; - if (!getNonCriticalErrorsList().equals(other.getNonCriticalErrorsList())) return false; + if (getFullyExplored() + != other.getFullyExplored()) return false; + if (!getNonCriticalErrorsList() + .equals(other.getNonCriticalErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2061,7 +1720,8 @@ public int hashCode() { hash = (53 * hash) + getServiceAccountImpersonationAnalysisList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyExplored()); if (getNonCriticalErrorsCount() > 0) { hash = (37 * hash) + NON_CRITICAL_ERRORS_FIELD_NUMBER; hash = (53 * hash) + getNonCriticalErrorsList().hashCode(); @@ -2072,127 +1732,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.nio.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.newBuilder() @@ -2200,18 +1850,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) { getServiceAccountImpersonationAnalysisFieldBuilder(); getNonCriticalErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2239,9 +1889,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; } @java.lang.Override @@ -2260,8 +1910,7 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse result = - new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(this); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(this); int from_bitField0_ = bitField0_; if (mainAnalysisBuilder_ == null) { result.mainAnalysis_ = mainAnalysis_; @@ -2270,14 +1919,12 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse buildPartial() } if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = - java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); bitField0_ = (bitField0_ & ~0x00000001); } result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysis_; } else { - result.serviceAccountImpersonationAnalysis_ = - serviceAccountImpersonationAnalysisBuilder_.build(); + result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysisBuilder_.build(); } result.fullyExplored_ = fullyExplored_; if (nonCriticalErrorsBuilder_ == null) { @@ -2297,39 +1944,38 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse)other); } else { super.mergeFrom(other); return this; @@ -2337,8 +1983,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse other) { - if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.getDefaultInstance()) return this; if (other.hasMainAnalysis()) { mergeMainAnalysis(other.getMainAnalysis()); } @@ -2360,13 +2005,11 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRespon serviceAccountImpersonationAnalysisBuilder_ = null; serviceAccountImpersonationAnalysis_ = other.serviceAccountImpersonationAnalysis_; bitField0_ = (bitField0_ & ~0x00000001); - serviceAccountImpersonationAnalysisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getServiceAccountImpersonationAnalysisFieldBuilder() - : null; + serviceAccountImpersonationAnalysisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getServiceAccountImpersonationAnalysisFieldBuilder() : null; } else { - serviceAccountImpersonationAnalysisBuilder_.addAllMessages( - other.serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysisBuilder_.addAllMessages(other.serviceAccountImpersonationAnalysis_); } } } @@ -2391,10 +2034,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRespon nonCriticalErrorsBuilder_ = null; nonCriticalErrors_ = other.nonCriticalErrors_; bitField0_ = (bitField0_ & ~0x00000002); - nonCriticalErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNonCriticalErrorsFieldBuilder() - : null; + nonCriticalErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNonCriticalErrorsFieldBuilder() : null; } else { nonCriticalErrorsBuilder_.addAllMessages(other.nonCriticalErrors_); } @@ -2419,8 +2061,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2429,69 +2070,45 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - mainAnalysis_; + private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> - mainAnalysisBuilder_; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> mainAnalysisBuilder_; /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return Whether the mainAnalysis field is set. */ public boolean hasMainAnalysis() { return mainAnalysisBuilder_ != null || mainAnalysis_ != null; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return The mainAnalysis. */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getMainAnalysis() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { if (mainAnalysisBuilder_ == null) { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance() - : mainAnalysis_; + return mainAnalysis_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } else { return mainAnalysisBuilder_.getMessage(); } } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public Builder setMainAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder setMainAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2505,19 +2122,14 @@ public Builder setMainAnalysis( return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ public Builder setMainAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (mainAnalysisBuilder_ == null) { mainAnalysis_ = builderForValue.build(); onChanged(); @@ -2528,25 +2140,17 @@ public Builder setMainAnalysis( return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public Builder mergeMainAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder mergeMainAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (mainAnalysis_ != null) { mainAnalysis_ = - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .newBuilder(mainAnalysis_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder(mainAnalysis_).mergeFrom(value).buildPartial(); } else { mainAnalysis_ = value; } @@ -2558,15 +2162,11 @@ public Builder mergeMainAnalysis( return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ public Builder clearMainAnalysis() { if (mainAnalysisBuilder_ == null) { @@ -2580,109 +2180,75 @@ public Builder clearMainAnalysis() { return this; } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - getMainAnalysisBuilder() { - + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder() { + onChanged(); return getMainAnalysisFieldBuilder().getBuilder(); } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { if (mainAnalysisBuilder_ != null) { return mainAnalysisBuilder_.getMessageOrBuilder(); } else { - return mainAnalysis_ == null - ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance() - : mainAnalysis_; + return mainAnalysis_ == null ? + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; } } /** - * - * *
      * The main analysis that matches the original request.
      * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getMainAnalysisFieldBuilder() { if (mainAnalysisBuilder_ == null) { - mainAnalysisBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - .IamPolicyAnalysisOrBuilder>( - getMainAnalysis(), getParentForChildren(), isClean()); + mainAnalysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( + getMainAnalysis(), + getParentForChildren(), + isClean()); mainAnalysis_ = null; } return mainAnalysisBuilder_; } - private java.util.List< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> - serviceAccountImpersonationAnalysis_ = java.util.Collections.emptyList(); - + private java.util.List serviceAccountImpersonationAnalysis_ = + java.util.Collections.emptyList(); private void ensureServiceAccountImpersonationAnalysisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>( - serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(serviceAccountImpersonationAnalysis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> - serviceAccountImpersonationAnalysisBuilder_; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> serviceAccountImpersonationAnalysisBuilder_; /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> - getServiceAccountImpersonationAnalysisList() { + public java.util.List getServiceAccountImpersonationAnalysisList() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); } else { @@ -2690,17 +2256,13 @@ private void ensureServiceAccountImpersonationAnalysisIsMutable() { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public int getServiceAccountImpersonationAnalysisCount() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2710,20 +2272,15 @@ public int getServiceAccountImpersonationAnalysisCount() { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return serviceAccountImpersonationAnalysis_.get(index); } else { @@ -2731,21 +2288,16 @@ public int getServiceAccountImpersonationAnalysisCount() { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder setServiceAccountImpersonationAnalysis( - int index, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2759,22 +2311,16 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder setServiceAccountImpersonationAnalysis( - int index, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.set(index, builderForValue.build()); @@ -2785,20 +2331,15 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public Builder addServiceAccountImpersonationAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder addServiceAccountImpersonationAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2812,21 +2353,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addServiceAccountImpersonationAnalysis( - int index, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2840,21 +2376,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addServiceAccountImpersonationAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(builderForValue.build()); @@ -2865,22 +2396,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addServiceAccountImpersonationAnalysis( - int index, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(index, builderForValue.build()); @@ -2891,23 +2416,16 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder addAllServiceAccountImpersonationAnalysis( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> - values) { + java.lang.Iterable values) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -2919,17 +2437,13 @@ public Builder addAllServiceAccountImpersonationAnalysis( return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder clearServiceAccountImpersonationAnalysis() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2942,17 +2456,13 @@ public Builder clearServiceAccountImpersonationAnalysis() { return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ public Builder removeServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2965,61 +2475,45 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { return this; } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - getServiceAccountImpersonationAnalysisBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder( + int index) { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilder(index); } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getServiceAccountImpersonationAnalysisOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( + int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - return serviceAccountImpersonationAnalysis_.get(index); - } else { + return serviceAccountImpersonationAnalysis_.get(index); } else { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - .IamPolicyAnalysisOrBuilder> - getServiceAccountImpersonationAnalysisOrBuilderList() { + public java.util.List + getServiceAccountImpersonationAnalysisOrBuilderList() { if (serviceAccountImpersonationAnalysisBuilder_ != null) { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilderList(); } else { @@ -3027,77 +2521,51 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { } } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - addServiceAccountImpersonationAnalysisBuilder() { - return getServiceAccountImpersonationAnalysisFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder() { + return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder - addServiceAccountImpersonationAnalysisBuilder(int index) { - return getServiceAccountImpersonationAnalysisFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder( + int index) { + return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); } /** - * - * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> - getServiceAccountImpersonationAnalysisBuilderList() { + public java.util.List + getServiceAccountImpersonationAnalysisBuilderList() { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisFieldBuilder() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - serviceAccountImpersonationAnalysisBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse - .IamPolicyAnalysisOrBuilder>( + serviceAccountImpersonationAnalysisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( serviceAccountImpersonationAnalysis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3107,10 +2575,8 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { return serviceAccountImpersonationAnalysisBuilder_; } - private boolean fullyExplored_; + private boolean fullyExplored_ ; /** - * - * *
      * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
      * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -3118,7 +2584,6 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) {
      * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ @java.lang.Override @@ -3126,8 +2591,6 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
      * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
      * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -3135,19 +2598,16 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 3; - * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** - * - * *
      * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
      * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -3155,49 +2615,36 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = false; onChanged(); return this; } - private java.util.List - nonCriticalErrors_ = java.util.Collections.emptyList(); - + private java.util.List nonCriticalErrors_ = + java.util.Collections.emptyList(); private void ensureNonCriticalErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState>( - nonCriticalErrors_); + nonCriticalErrors_ = new java.util.ArrayList(nonCriticalErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> - nonCriticalErrorsBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> nonCriticalErrorsBuilder_; /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public java.util.List - getNonCriticalErrorsList() { + public java.util.List getNonCriticalErrorsList() { if (nonCriticalErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(nonCriticalErrors_); } else { @@ -3205,16 +2652,12 @@ private void ensureNonCriticalErrorsIsMutable() { } } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public int getNonCriticalErrorsCount() { if (nonCriticalErrorsBuilder_ == null) { @@ -3224,19 +2667,14 @@ public int getNonCriticalErrorsCount() { } } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getNonCriticalErrors(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { return nonCriticalErrors_.get(index); } else { @@ -3244,16 +2682,12 @@ public int getNonCriticalErrorsCount() { } } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder setNonCriticalErrors( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { @@ -3270,21 +2704,15 @@ public Builder setNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder setNonCriticalErrors( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); nonCriticalErrors_.set(index, builderForValue.build()); @@ -3295,19 +2723,14 @@ public Builder setNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public Builder addNonCriticalErrors( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder addNonCriticalErrors(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (nonCriticalErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3321,16 +2744,12 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder addNonCriticalErrors( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { @@ -3347,20 +2766,15 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder addNonCriticalErrors( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); nonCriticalErrors_.add(builderForValue.build()); @@ -3371,21 +2785,15 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder addNonCriticalErrors( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); nonCriticalErrors_.add(index, builderForValue.build()); @@ -3396,24 +2804,19 @@ public Builder addNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder addAllNonCriticalErrors( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState> - values) { + java.lang.Iterable values) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nonCriticalErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nonCriticalErrors_); onChanged(); } else { nonCriticalErrorsBuilder_.addAllMessages(values); @@ -3421,16 +2824,12 @@ public Builder addAllNonCriticalErrors( return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder clearNonCriticalErrors() { if (nonCriticalErrorsBuilder_ == null) { @@ -3443,16 +2842,12 @@ public Builder clearNonCriticalErrors() { return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ public Builder removeNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { @@ -3465,57 +2860,42 @@ public Builder removeNonCriticalErrors(int index) { return this; } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - getNonCriticalErrorsBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getNonCriticalErrorsBuilder( + int index) { return getNonCriticalErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getNonCriticalErrorsOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( + int index) { if (nonCriticalErrorsBuilder_ == null) { - return nonCriticalErrors_.get(index); - } else { + return nonCriticalErrors_.get(index); } else { return nonCriticalErrorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> - getNonCriticalErrorsOrBuilderList() { + public java.util.List + getNonCriticalErrorsOrBuilderList() { if (nonCriticalErrorsBuilder_ != null) { return nonCriticalErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -3523,73 +2903,48 @@ public Builder removeNonCriticalErrors(int index) { } } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - addNonCriticalErrorsBuilder() { - return getNonCriticalErrorsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder addNonCriticalErrorsBuilder() { + return getNonCriticalErrorsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance()); } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - addNonCriticalErrorsBuilder(int index) { - return getNonCriticalErrorsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder addNonCriticalErrorsBuilder( + int index) { + return getNonCriticalErrorsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance()); } /** - * - * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder> - getNonCriticalErrorsBuilderList() { + public java.util.List + getNonCriticalErrorsBuilderList() { return getNonCriticalErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getNonCriticalErrorsFieldBuilder() { if (nonCriticalErrorsBuilder_ == null) { - nonCriticalErrorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + nonCriticalErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( nonCriticalErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3598,9 +2953,9 @@ public Builder removeNonCriticalErrors(int index) { } return nonCriticalErrorsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3610,12 +2965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(); } @@ -3624,16 +2979,16 @@ public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3648,4 +3003,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java similarity index 54% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java index 86daf478d..55a09ef83 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java @@ -1,150 +1,94 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; -public interface AnalyzeIamPolicyResponseOrBuilder - extends +public interface AnalyzeIamPolicyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return Whether the mainAnalysis field is set. */ boolean hasMainAnalysis(); /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; * @return The mainAnalysis. */ com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis(); /** - * - * *
    * The main analysis that matches the original request.
    * 
* - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; - * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getMainAnalysisOrBuilder(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - java.util.List + java.util.List getServiceAccountImpersonationAnalysisList(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis - getServiceAccountImpersonationAnalysis(int index); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ int getServiceAccountImpersonationAnalysisCount(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + java.util.List getServiceAccountImpersonationAnalysisOrBuilderList(); /** - * - * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; - * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder - getServiceAccountImpersonationAnalysisOrBuilder(int index); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( + int index); /** - * - * *
    * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
    * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -152,79 +96,56 @@ public interface AnalyzeIamPolicyResponseOrBuilder
    * 
* * bool fully_explored = 3; - * * @return The fullyExplored. */ boolean getFullyExplored(); /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - java.util.List + java.util.List getNonCriticalErrorsList(); /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index); /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ int getNonCriticalErrorsCount(); /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + java.util.List getNonCriticalErrorsOrBuilderList(); /** - * - * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getNonCriticalErrorsOrBuilder(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( + int index); } diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java new file mode 100644 index 000000000..6f4e0a2ce --- /dev/null +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java @@ -0,0 +1,170 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/assets.proto + +package com.google.cloud.asset.v1p4beta1; + +public final class AssetProto { + private AssetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_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/asset/v1p4beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p4beta1\032\032googl" + + "e/iam/v1/policy.proto\032\025google/rpc/code.p" + + "roto\032\034google/api/annotations.proto\"\225\n\n\027I" + + "amPolicyAnalysisResult\022#\n\033attached_resou" + + "rce_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 \001(\013" + + "2\026.google.iam.v1.Binding\022e\n\024access_contr" + + "ol_lists\030\003 \003(\0132G.google.cloud.asset.v1p4" + + "beta1.IamPolicyAnalysisResult.AccessCont" + + "rolList\022Y\n\ridentity_list\030\004 \001(\0132B.google." + + "cloud.asset.v1p4beta1.IamPolicyAnalysisR" + + "esult.IdentityList\022\026\n\016fully_explored\030\005 \001" + + "(\010\032>\n\rAnalysisState\022\036\n\004code\030\001 \001(\0162\020.goog" + + "le.rpc.Code\022\r\n\005cause\030\002 \001(\t\032\203\001\n\010Resource\022" + + "\032\n\022full_resource_name\030\001 \001(\t\022[\n\016analysis_" + + "state\030\002 \001(\0132C.google.cloud.asset.v1p4bet" + + "a1.IamPolicyAnalysisResult.AnalysisState" + + "\032\233\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermissio" + + "n\030\002 \001(\tH\000\022[\n\016analysis_state\030\003 \001(\0132C.goog" + + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + + "isResult.AnalysisStateB\016\n\014oneof_access\0320" + + "\n\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_no" + + "de\030\002 \001(\t\032u\n\010Identity\022\014\n\004name\030\001 \001(\t\022[\n\016an" + + "alysis_state\030\002 \001(\0132C.google.cloud.asset." + + "v1p4beta1.IamPolicyAnalysisResult.Analys" + + "isState\032\212\002\n\021AccessControlList\022Q\n\tresourc" + + "es\030\001 \003(\0132>.google.cloud.asset.v1p4beta1." + + "IamPolicyAnalysisResult.Resource\022N\n\010acce" + + "sses\030\002 \003(\0132<.google.cloud.asset.v1p4beta" + + "1.IamPolicyAnalysisResult.Access\022R\n\016reso" + + "urce_edges\030\003 \003(\0132:.google.cloud.asset.v1" + + "p4beta1.IamPolicyAnalysisResult.Edge\032\263\001\n" + + "\014IdentityList\022R\n\nidentities\030\001 \003(\0132>.goog" + + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + + "isResult.Identity\022O\n\013group_edges\030\002 \003(\0132:" + + ".google.cloud.asset.v1p4beta1.IamPolicyA" + + "nalysisResult.EdgeB\264\001\n com.google.cloud." + + "asset.v1p4beta1B\nAssetProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/asset" + + "/v1p4beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" + + ".V1P4Beta1\312\002\034Google\\Cloud\\Asset\\V1p4beta" + + "1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.rpc.CodeProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor, + new java.lang.String[] { "AttachedResourceFullName", "IamBinding", "AccessControlLists", "IdentityList", "FullyExplored", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor, + new java.lang.String[] { "Code", "Cause", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor, + new java.lang.String[] { "FullResourceName", "AnalysisState", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor, + new java.lang.String[] { "Role", "Permission", "AnalysisState", "OneofAccess", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor, + new java.lang.String[] { "SourceNode", "TargetNode", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor, + new java.lang.String[] { "Name", "AnalysisState", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor, + new java.lang.String[] { "Resources", "Accesses", "ResourceEdges", }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor, + new java.lang.String[] { "Identities", "GroupEdges", }); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.rpc.CodeProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java new file mode 100644 index 000000000..fcdc60790 --- /dev/null +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java @@ -0,0 +1,288 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_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/asset/v1p4beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p4beta1" + + "\032\034google/api/annotations.proto\032\037google/a" + + "pi/field_behavior.proto\032)google/cloud/as" + + "set/v1p4beta1/assets.proto\032\032google/iam/v" + + "1/policy.proto\032#google/longrunning/opera" + + "tions.proto\032\036google/protobuf/duration.pr" + + "oto\032\027google/api/client.proto\"\376\003\n\026IamPoli" + + "cyAnalysisQuery\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022e\n\021" + + "resource_selector\030\002 \001(\0132E.google.cloud.a" + + "sset.v1p4beta1.IamPolicyAnalysisQuery.Re" + + "sourceSelectorB\003\340A\001\022e\n\021identity_selector" + + "\030\003 \001(\0132E.google.cloud.asset.v1p4beta1.Ia" + + "mPolicyAnalysisQuery.IdentitySelectorB\003\340" + + "A\001\022a\n\017access_selector\030\004 \001(\0132C.google.clo" + + "ud.asset.v1p4beta1.IamPolicyAnalysisQuer" + + "y.AccessSelectorB\003\340A\001\0323\n\020ResourceSelecto" + + "r\022\037\n\022full_resource_name\030\001 \001(\tB\003\340A\002\032)\n\020Id" + + "entitySelector\022\025\n\010identity\030\001 \001(\tB\003\340A\002\032>\n" + + "\016AccessSelector\022\022\n\005roles\030\001 \003(\tB\003\340A\001\022\030\n\013p" + + "ermissions\030\002 \003(\tB\003\340A\001\"\327\003\n\027AnalyzeIamPoli" + + "cyRequest\022Q\n\016analysis_query\030\001 \001(\01324.goog" + + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + + "isQueryB\003\340A\002\022S\n\007options\030\002 \001(\0132=.google.c" + + "loud.asset.v1p4beta1.AnalyzeIamPolicyReq" + + "uest.OptionsB\003\340A\001\032\223\002\n\007Options\022\032\n\rexpand_" + + "groups\030\001 \001(\010B\003\340A\001\022\031\n\014expand_roles\030\002 \001(\010B" + + "\003\340A\001\022\035\n\020expand_resources\030\003 \001(\010B\003\340A\001\022\"\n\025o" + + "utput_resource_edges\030\004 \001(\010B\003\340A\001\022\037\n\022outpu" + + "t_group_edges\030\005 \001(\010B\003\340A\001\0222\n%analyze_serv" + + "ice_account_impersonation\030\006 \001(\010B\003\340A\001\0229\n\021" + + "execution_timeout\030\007 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\001\"\274\004\n\030AnalyzeIamPolicyResp" + + "onse\022_\n\rmain_analysis\030\001 \001(\0132H.google.clo" + + "ud.asset.v1p4beta1.AnalyzeIamPolicyRespo" + + "nse.IamPolicyAnalysis\022x\n&service_account" + + "_impersonation_analysis\030\002 \003(\0132H.google.c" + + "loud.asset.v1p4beta1.AnalyzeIamPolicyRes" + + "ponse.IamPolicyAnalysis\022\026\n\016fully_explore" + + "d\030\003 \001(\010\022`\n\023non_critical_errors\030\004 \003(\0132C.g" + + "oogle.cloud.asset.v1p4beta1.IamPolicyAna" + + "lysisResult.AnalysisState\032\312\001\n\021IamPolicyA" + + "nalysis\022L\n\016analysis_query\030\001 \001(\01324.google" + + ".cloud.asset.v1p4beta1.IamPolicyAnalysis" + + "Query\022O\n\020analysis_results\030\002 \003(\01325.google" + + ".cloud.asset.v1p4beta1.IamPolicyAnalysis" + + "Result\022\026\n\016fully_explored\030\003 \001(\010\"\271\001\n\035IamPo" + + "licyAnalysisOutputConfig\022e\n\017gcs_destinat" + + "ion\030\001 \001(\0132J.google.cloud.asset.v1p4beta1" + + ".IamPolicyAnalysisOutputConfig.GcsDestin" + + "ationH\000\032\"\n\016GcsDestination\022\020\n\003uri\030\001 \001(\tB\003" + + "\340A\002B\r\n\013destination\"\203\004\n\036ExportIamPolicyAn" + + "alysisRequest\022Q\n\016analysis_query\030\001 \001(\01324." + + "google.cloud.asset.v1p4beta1.IamPolicyAn" + + "alysisQueryB\003\340A\002\022Z\n\007options\030\002 \001(\0132D.goog" + + "le.cloud.asset.v1p4beta1.ExportIamPolicy" + + "AnalysisRequest.OptionsB\003\340A\001\022W\n\routput_c" + + "onfig\030\003 \001(\0132;.google.cloud.asset.v1p4bet" + + "a1.IamPolicyAnalysisOutputConfigB\003\340A\002\032\330\001" + + "\n\007Options\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n" + + "\014expand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resou" + + "rces\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges" + + "\030\004 \001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B" + + "\003\340A\001\0222\n%analyze_service_account_imperson" + + "ation\030\006 \001(\010B\003\340A\001\"u\n\037ExportIamPolicyAnaly" + + "sisResponse\022R\n\routput_config\030\001 \001(\0132;.goo" + + "gle.cloud.asset.v1p4beta1.IamPolicyAnaly" + + "sisOutputConfig2\345\004\n\014AssetService\022\302\001\n\020Ana" + + "lyzeIamPolicy\0225.google.cloud.asset.v1p4b" + + "eta1.AnalyzeIamPolicyRequest\0326.google.cl" + + "oud.asset.v1p4beta1.AnalyzeIamPolicyResp" + + "onse\"?\202\323\344\223\0029\0227/v1p4beta1/{analysis_query" + + ".parent=*/*}:analyzeIamPolicy\022\300\002\n\027Export" + + "IamPolicyAnalysis\022<.google.cloud.asset.v" + + "1p4beta1.ExportIamPolicyAnalysisRequest\032" + + "\035.google.longrunning.Operation\"\307\001\202\323\344\223\002C\"" + + ">/v1p4beta1/{analysis_query.parent=*/*}:" + + "exportIamPolicyAnalysis:\001*\312A{\n * A request message for [AssetService.ExportIamPolicyAnalysis][google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis]. *
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} */ -public final class ExportIamPolicyAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportIamPolicyAnalysisRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) ExportIamPolicyAnalysisRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportIamPolicyAnalysisRequest.newBuilder() to construct. - private ExportIamPolicyAnalysisRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExportIamPolicyAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExportIamPolicyAnalysisRequest() {} + private ExportIamPolicyAnalysisRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportIamPolicyAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExportIamPolicyAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,67 +52,52 @@ private ExportIamPolicyAnalysisRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); - } - analysisQuery_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); + } + analysisQuery_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder - subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = input.readMessage(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder = - null; - if (outputConfig_ != null) { - subBuilder = outputConfig_.toBuilder(); - } - outputConfig_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputConfig_); - outputConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null; + if (outputConfig_ != null) { + subBuilder = outputConfig_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputConfig_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputConfig_); + outputConfig_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,36 +105,31 @@ private ExportIamPolicyAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); } - public interface OptionsOrBuilder - extends + public interface OptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -176,14 +139,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ boolean getExpandGroups(); /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -193,14 +153,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ boolean getExpandRoles(); /** - * - * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -215,14 +172,11 @@ public interface OptionsOrBuilder
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ boolean getExpandResources(); /** - * - * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -230,14 +184,11 @@ public interface OptionsOrBuilder
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ boolean getOutputResourceEdges(); /** - * - * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -245,14 +196,11 @@ public interface OptionsOrBuilder
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ boolean getOutputGroupEdges(); /** - * - * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -274,46 +222,42 @@ public interface OptionsOrBuilder
      * Default is false.
      * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ boolean getAnalyzeServiceAccountImpersonation(); } /** - * - * *
    * Contains request options.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} */ - public static final class Options extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Options extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Options() {} + private Options() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Options( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -332,43 +276,43 @@ private Options( case 0: done = true; break; - case 8: - { - expandGroups_ = input.readBool(); - break; - } - case 16: - { - expandRoles_ = input.readBool(); - break; - } - case 24: - { - expandResources_ = input.readBool(); - break; - } - case 32: - { - outputResourceEdges_ = input.readBool(); - break; - } - case 40: - { - outputGroupEdges_ = input.readBool(); - break; - } - case 48: - { - analyzeServiceAccountImpersonation_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + expandGroups_ = input.readBool(); + break; + } + case 16: { + + expandRoles_ = input.readBool(); + break; + } + case 24: { + + expandResources_ = input.readBool(); + break; + } + case 32: { + + outputResourceEdges_ = input.readBool(); + break; + } + case 40: { + + outputGroupEdges_ = input.readBool(); + break; + } + case 48: { + + analyzeServiceAccountImpersonation_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -376,34 +320,29 @@ private Options( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder - .class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder.class); } public static final int EXPAND_GROUPS_FIELD_NUMBER = 1; private boolean expandGroups_; /** - * - * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -413,7 +352,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -424,8 +362,6 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_; /** - * - * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -435,7 +371,6 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -446,8 +381,6 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_; /** - * - * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -462,7 +395,6 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -473,8 +405,6 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_; /** - * - * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -482,7 +412,6 @@ public boolean getExpandResources() {
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ @java.lang.Override @@ -493,8 +422,6 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_; /** - * - * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -502,7 +429,6 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -513,8 +439,6 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_; /** - * - * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -536,10 +460,7 @@ public boolean getOutputGroupEdges() {
      * Default is false.
      * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -548,7 +469,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -560,7 +480,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (expandGroups_ != false) { output.writeBool(1, expandGroups_); } @@ -589,24 +510,28 @@ public int getSerializedSize() { size = 0; if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandGroups_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, expandGroups_); } if (expandRoles_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, expandRoles_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, expandRoles_); } if (expandResources_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, expandResources_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, expandResources_); } if (outputResourceEdges_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outputResourceEdges_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, outputResourceEdges_); } if (outputGroupEdges_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outputGroupEdges_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, outputGroupEdges_); } if (analyzeServiceAccountImpersonation_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 6, analyzeServiceAccountImpersonation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, analyzeServiceAccountImpersonation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -616,22 +541,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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other = - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) obj; - - if (getExpandGroups() != other.getExpandGroups()) return false; - if (getExpandRoles() != other.getExpandRoles()) return false; - if (getExpandResources() != other.getExpandResources()) return false; - if (getOutputResourceEdges() != other.getOutputResourceEdges()) return false; - if (getOutputGroupEdges() != other.getOutputGroupEdges()) return false; - if (getAnalyzeServiceAccountImpersonation() != other.getAnalyzeServiceAccountImpersonation()) - return false; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) obj; + + if (getExpandGroups() + != other.getExpandGroups()) return false; + if (getExpandRoles() + != other.getExpandRoles()) return false; + if (getExpandResources() + != other.getExpandResources()) return false; + if (getOutputResourceEdges() + != other.getOutputResourceEdges()) return false; + if (getOutputGroupEdges() + != other.getOutputGroupEdges()) return false; + if (getAnalyzeServiceAccountImpersonation() + != other.getAnalyzeServiceAccountImpersonation()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -644,114 +572,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandGroups()); hash = (37 * hash) + EXPAND_ROLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandRoles()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandRoles()); hash = (37 * hash) + EXPAND_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExpandResources()); hash = (37 * hash) + OUTPUT_RESOURCE_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputResourceEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOutputResourceEdges()); hash = (37 * hash) + OUTPUT_GROUP_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputGroupEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOutputGroupEdges()); hash = (37 * hash) + ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getAnalyzeServiceAccountImpersonation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAnalyzeServiceAccountImpersonation()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.nio.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseDelimitedFrom( + java.io.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -761,50 +685,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Contains request options.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder - .class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -824,22 +742,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options build() { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = - buildPartial(); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -847,10 +762,8 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options b } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - buildPartial() { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = - new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(this); + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options buildPartial() { + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(this); result.expandGroups_ = expandGroups_; result.expandRoles_ = expandRoles_; result.expandResources_ = expandResources_; @@ -865,54 +778,46 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) other); + if (other instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) { + return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other) { - if (other - == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other) { + if (other == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance()) return this; if (other.getExpandGroups() != false) { setExpandGroups(other.getExpandGroups()); } @@ -946,14 +851,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parsedMessage = - null; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -963,10 +865,8 @@ public Builder mergeFrom( return this; } - private boolean expandGroups_; + private boolean expandGroups_ ; /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -976,7 +876,6 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandGroups. */ @java.lang.Override @@ -984,8 +883,6 @@ public boolean getExpandGroups() { return expandGroups_; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -995,19 +892,16 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandGroups to set. * @return This builder for chaining. */ public Builder setExpandGroups(boolean value) { - + expandGroups_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1017,20 +911,17 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandGroups() { - + expandGroups_ = false; onChanged(); return this; } - private boolean expandRoles_; + private boolean expandRoles_ ; /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1040,7 +931,6 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandRoles. */ @java.lang.Override @@ -1048,8 +938,6 @@ public boolean getExpandRoles() { return expandRoles_; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1059,19 +947,16 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandRoles to set. * @return This builder for chaining. */ public Builder setExpandRoles(boolean value) { - + expandRoles_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1081,20 +966,17 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandRoles() { - + expandRoles_ = false; onChanged(); return this; } - private boolean expandResources_; + private boolean expandResources_ ; /** - * - * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1109,7 +991,6 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The expandResources. */ @java.lang.Override @@ -1117,8 +998,6 @@ public boolean getExpandResources() { return expandResources_; } /** - * - * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1133,19 +1012,16 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The expandResources to set. * @return This builder for chaining. */ public Builder setExpandResources(boolean value) { - + expandResources_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1160,20 +1036,17 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearExpandResources() { - + expandResources_ = false; onChanged(); return this; } - private boolean outputResourceEdges_; + private boolean outputResourceEdges_ ; /** - * - * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1181,7 +1054,6 @@ public Builder clearExpandResources() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputResourceEdges. */ @java.lang.Override @@ -1189,8 +1061,6 @@ public boolean getOutputResourceEdges() { return outputResourceEdges_; } /** - * - * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1198,19 +1068,16 @@ public boolean getOutputResourceEdges() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The outputResourceEdges to set. * @return This builder for chaining. */ public Builder setOutputResourceEdges(boolean value) { - + outputResourceEdges_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1218,20 +1085,17 @@ public Builder setOutputResourceEdges(boolean value) {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputResourceEdges() { - + outputResourceEdges_ = false; onChanged(); return this; } - private boolean outputGroupEdges_; + private boolean outputGroupEdges_ ; /** - * - * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1239,7 +1103,6 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The outputGroupEdges. */ @java.lang.Override @@ -1247,8 +1110,6 @@ public boolean getOutputGroupEdges() { return outputGroupEdges_; } /** - * - * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1256,19 +1117,16 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ public Builder setOutputGroupEdges(boolean value) { - + outputGroupEdges_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1276,20 +1134,17 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { - + outputGroupEdges_ = false; onChanged(); return this; } - private boolean analyzeServiceAccountImpersonation_; + private boolean analyzeServiceAccountImpersonation_ ; /** - * - * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1311,10 +1166,7 @@ public Builder clearOutputGroupEdges() {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -1322,8 +1174,6 @@ public boolean getAnalyzeServiceAccountImpersonation() { return analyzeServiceAccountImpersonation_; } /** - * - * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1345,22 +1195,17 @@ public boolean getAnalyzeServiceAccountImpersonation() {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The analyzeServiceAccountImpersonation to set. * @return This builder for chaining. */ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { - + analyzeServiceAccountImpersonation_ = value; onChanged(); return this; } /** - * - * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1382,19 +1227,15 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) {
        * Default is false.
        * 
* - * - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearAnalyzeServiceAccountImpersonation() { - + analyzeServiceAccountImpersonation_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1407,33 +1248,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) - private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Options(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Options(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,25 +1283,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -1471,54 +1304,37 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } /** - * - * *
    * Required. The request query.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder - getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { return getAnalysisQuery(); } public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options_; /** - * - * *
    * Optional. The request options.
    * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ @java.lang.Override @@ -1526,55 +1342,37 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * Optional. The request options.
    * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions() { - return options_ == null - ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - .getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance() : options_; } /** - * - * *
    * Optional. The request options.
    * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder - getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_; /** - * - * *
    * Required. Output configuration indicating where the results will be output to.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -1582,43 +1380,30 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Required. Output configuration indicating where the results will be output to.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Required. Output configuration indicating where the results will be output to.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1630,7 +1415,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -1650,13 +1436,16 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAnalysisQuery()); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOptions()); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1666,25 +1455,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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other = - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) obj; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery() + .equals(other.getAnalysisQuery())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; } if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1715,127 +1506,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.nio.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request message for [AssetService.ExportIamPolicyAnalysis][google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis].
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.newBuilder() @@ -1843,15 +1624,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1877,14 +1659,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance(); } @@ -1899,8 +1680,7 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest buildPartial() { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest result = - new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(this); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest result = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(this); if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; } else { @@ -1924,50 +1704,46 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest 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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other) { - if (other - == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other) { + if (other == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance()) return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -1996,9 +1772,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2010,58 +1784,39 @@ public Builder mergeFrom( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> - analysisQueryBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The analysisQuery. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -2077,15 +1832,11 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAnalysisQuery( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -2099,24 +1850,17 @@ public Builder setAnalysisQuery( return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAnalysisQuery( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); } else { analysisQuery_ = value; } @@ -2128,15 +1872,11 @@ public Builder mergeAnalysisQuery( return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -2150,66 +1890,48 @@ public Builder clearAnalysisQuery() { return this; } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder - getAnalysisQueryBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder - getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() - : analysisQuery_; + return analysisQuery_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; } } /** - * - * *
      * Required. The request query.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), getParentForChildren(), isClean()); + analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), + getParentForChildren(), + isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -2217,62 +1939,41 @@ public Builder clearAnalysisQuery() { private com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> - optionsBuilder_; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> optionsBuilder_; /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The options. */ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - .getDefaultInstance() - : options_; + return options_ == null ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setOptions( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { + public Builder setOptions(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2286,19 +1987,14 @@ public Builder setOptions( return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setOptions( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); @@ -2309,25 +2005,17 @@ public Builder setOptions( return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeOptions( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { + public Builder mergeOptions(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder( - options_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -2339,15 +2027,11 @@ public Builder mergeOptions( return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearOptions() { if (optionsBuilder_ == null) { @@ -2361,67 +2045,48 @@ public Builder clearOptions() { return this; } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder - getOptionsBuilder() { - + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder getOptionsBuilder() { + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder - getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null - ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options - .getDefaultInstance() - : options_; + return options_ == null ? + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance() : options_; } } /** - * - * *
      * Optional. The request options.
      * 
* - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); options_ = null; } return optionsBuilder_; @@ -2429,61 +2094,41 @@ public Builder clearOptions() { private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOutputConfig( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder setOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2497,15 +2142,11 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder builderForValue) { @@ -2519,25 +2160,17 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeOutputConfig( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder mergeOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder( - outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -2549,15 +2182,11 @@ public Builder mergeOutputConfig( return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -2571,73 +2200,55 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder - getOutputConfigBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2647,32 +2258,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) - private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportIamPolicyAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportIamPolicyAnalysisRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportIamPolicyAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportIamPolicyAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2684,8 +2293,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java new file mode 100644 index 000000000..77e8ebe42 --- /dev/null +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public interface ExportIamPolicyAnalysisRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The request query.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the analysisQuery field is set. + */ + boolean hasAnalysisQuery(); + /** + *
+   * Required. The request query.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The analysisQuery. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); + /** + *
+   * Required. The request query.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); + + /** + *
+   * Optional. The request options.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the options field is set. + */ + boolean hasOptions(); + /** + *
+   * Optional. The request options.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions(); + /** + *
+   * Optional. The request options.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder getOptionsOrBuilder(); + + /** + *
+   * Required. Output configuration indicating where the results will be output to.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the outputConfig field is set. + */ + boolean hasOutputConfig(); + /** + *
+   * Required. Output configuration indicating where the results will be output to.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The outputConfig. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig(); + /** + *
+   * Required. Output configuration indicating where the results will be output to.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder(); +} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java similarity index 65% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java index 27f65306c..ae0903a55 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** - * - * *
  * The export IAM policy analysis response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][] method in the returned
@@ -29,30 +12,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse}
  */
-public final class ExportIamPolicyAnalysisResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportIamPolicyAnalysisResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)
     ExportIamPolicyAnalysisResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportIamPolicyAnalysisResponse.newBuilder() to construct.
-  private ExportIamPolicyAnalysisResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ExportIamPolicyAnalysisResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ExportIamPolicyAnalysisResponse() {}
+  private ExportIamPolicyAnalysisResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportIamPolicyAnalysisResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExportIamPolicyAnalysisResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,31 +54,26 @@ private ExportIamPolicyAnalysisResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder =
-                  null;
-              if (outputConfig_ != null) {
-                subBuilder = outputConfig_.toBuilder();
-              }
-              outputConfig_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputConfig_);
-                outputConfig_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null;
+            if (outputConfig_ != null) {
+              subBuilder = outputConfig_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            outputConfig_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputConfig_);
+              outputConfig_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,39 +81,34 @@ private ExportIamPolicyAnalysisResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p4beta1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class,
-            com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
+            com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
   }
 
   public static final int OUTPUT_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_;
   /**
-   *
-   *
    * 
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; - * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -143,25 +116,18 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; - * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
@@ -169,13 +135,11 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputC * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,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 (outputConfig_ != null) { output.writeMessage(1, getOutputConfig()); } @@ -201,7 +166,8 @@ public int getSerializedSize() { size = 0; if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -211,17 +177,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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other = - (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) obj; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) obj; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -244,104 +210,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.nio.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The export IAM policy analysis response. This message is returned by the
    * [google.longrunning.Operations.GetOperation][] method in the returned
@@ -350,23 +308,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)
       com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class,
-              com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
+              com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.newBuilder()
@@ -374,15 +330,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -396,14 +353,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse getDefaultInstanceForType() {
       return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.getDefaultInstance();
     }
 
@@ -418,8 +374,7 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse build()
 
     @java.lang.Override
     public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse buildPartial() {
-      com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse result =
-          new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(this);
+      com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse result = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(this);
       if (outputConfigBuilder_ == null) {
         result.outputConfig_ = outputConfig_;
       } else {
@@ -433,50 +388,46 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) {
-        return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other) {
-      if (other
-          == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other) {
+      if (other == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.getDefaultInstance()) return this;
       if (other.hasOutputConfig()) {
         mergeOutputConfig(other.getOutputConfig());
       }
@@ -499,9 +450,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -513,55 +462,41 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig,
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder,
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>
-        outputConfigBuilder_;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> outputConfigBuilder_;
     /**
-     *
-     *
      * 
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; - * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; - * * @return The outputConfig. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public Builder setOutputConfig( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder setOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -575,8 +510,6 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -595,23 +528,17 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public Builder mergeOutputConfig( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder mergeOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder( - outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -623,8 +550,6 @@ public Builder mergeOutputConfig( return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -643,42 +568,33 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder - getOutputConfigBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -686,24 +602,21 @@ public Builder clearOutputConfig() { * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,32 +626,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) - private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportIamPolicyAnalysisResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportIamPolicyAnalysisResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportIamPolicyAnalysisResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportIamPolicyAnalysisResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,8 +661,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java index 612b86db0..b41735687 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java @@ -1,61 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; -public interface ExportIamPolicyAnalysisResponseOrBuilder - extends +public interface ExportIamPolicyAnalysisResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; - * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; - * * @return The outputConfig. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java similarity index 61% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java index 14df0eadb..0b51d34bc 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** - * - * *
  * Output configuration for export IAM policy analysis destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} */ -public final class IamPolicyAnalysisOutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IamPolicyAnalysisOutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) IamPolicyAnalysisOutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisOutputConfig.newBuilder() to construct. private IamPolicyAnalysisOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IamPolicyAnalysisOutputConfig() {} + private IamPolicyAnalysisOutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicyAnalysisOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicyAnalysisOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,37 +52,27 @@ private IamPolicyAnalysisOutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_) - .toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destination_ = + input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); } + destinationCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,36 +80,31 @@ private IamPolicyAnalysisOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); } - public interface GcsDestinationOrBuilder - extends + public interface GcsDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -145,13 +114,10 @@ public interface GcsDestinationOrBuilder
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -161,45 +127,43 @@ public interface GcsDestinationOrBuilder
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); } /** - * - * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GcsDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestination() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -218,20 +182,19 @@ private GcsDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -239,34 +202,29 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - .class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -276,7 +234,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -285,15 +242,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -303,15 +259,16 @@ public java.lang.String getUri() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -320,7 +277,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -332,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -356,17 +313,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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,101 +340,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -489,51 +431,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Cloud Storage location.
      * 
* - * Protobuf type {@code - * google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} + * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -543,22 +478,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination build() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = - buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -566,10 +498,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestina } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(this); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination buildPartial() { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(this); result.uri_ = uri_; onBuilt(); return result; @@ -579,56 +509,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestina public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - other); + if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) { + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other) { + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -648,14 +568,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - parsedMessage = null; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,8 +584,6 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -678,13 +593,13 @@ public Builder mergeFrom(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -693,8 +608,6 @@ public java.lang.String getUri() { } } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -704,14 +617,15 @@ public java.lang.String getUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -719,8 +633,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -730,22 +642,20 @@ public com.google.protobuf.ByteString getUriBytes() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -755,18 +665,15 @@ public Builder setUri(java.lang.String value) {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -776,21 +683,20 @@ public Builder clearUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -803,34 +709,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - .GcsDestination - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -842,23 +744,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -874,36 +773,29 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return GCS_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return GCS_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -911,52 +803,36 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - getGcsDestination() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Cloud Storage.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder - getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -968,12 +844,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (destinationCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_); + output.writeMessage(1, (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); } unknownFields.writeTo(output); } @@ -985,11 +859,8 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -999,18 +870,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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getGcsDestination().equals(other.getGcsDestination())) return false; + if (!getGcsDestination() + .equals(other.getGcsDestination())) return false; break; case 0: default: @@ -1040,127 +911,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output configuration for export IAM policy analysis destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder() @@ -1168,15 +1029,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1186,14 +1048,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance(); } @@ -1208,8 +1069,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -1226,39 +1086,38 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig)other); } else { super.mergeFrom(other); return this; @@ -1266,19 +1125,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: - { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case GCS_DESTINATION: { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1299,9 +1154,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1310,12 +1163,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -1325,22 +1178,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> - gcsDestinationBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> gcsDestinationBuilder_; /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -1348,49 +1194,35 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - getGcsDestination() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { if (gcsDestinationBuilder_ == null) { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } else { if (destinationCase_ == 1) { return gcsDestinationBuilder_.getMessage(); } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - public Builder setGcsDestination( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder setGcsDestination(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1404,19 +1236,14 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ public Builder setGcsDestination( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder builderForValue) { if (gcsDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -1427,31 +1254,18 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - public Builder mergeGcsDestination( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder mergeGcsDestination(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ - != com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .newBuilder( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - .GcsDestination) - destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -1467,15 +1281,11 @@ public Builder mergeGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ public Builder clearGcsDestination() { if (gcsDestinationBuilder_ == null) { @@ -1494,88 +1304,61 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder - getGcsDestinationBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder getGcsDestinationBuilder() { return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder - getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if ((destinationCase_ == 1) && (gcsDestinationBuilder_ != null)) { return gcsDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } } /** - * - * *
      * Destination on Cloud Storage.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { - destination_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .getDefaultInstance(); + destination_ = com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination - .Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - .GcsDestinationOrBuilder>( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - destination_, + gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder>( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return gcsDestinationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1585,32 +1368,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1622,8 +1403,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java new file mode 100644 index 000000000..3ffabef68 --- /dev/null +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java @@ -0,0 +1,38 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public interface IamPolicyAnalysisOutputConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Destination on Cloud Storage.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * @return Whether the gcsDestination field is set. + */ + boolean hasGcsDestination(); + /** + *
+   * Destination on Cloud Storage.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * @return The gcsDestination. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination(); + /** + *
+   * Destination on Cloud Storage.
+   * 
+ * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); + + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.DestinationCase getDestinationCase(); +} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java similarity index 65% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java index 1312ace54..ec97312f1 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** - * - * *
  * IAM policy analysis query message.
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} */ -public final class IamPolicyAnalysisQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IamPolicyAnalysisQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) IamPolicyAnalysisQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisQuery.newBuilder() to construct. private IamPolicyAnalysisQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicyAnalysisQuery() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IamPolicyAnalysisQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IamPolicyAnalysisQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,77 +53,58 @@ private IamPolicyAnalysisQuery( 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder subBuilder = null; + if (resourceSelector_ != null) { + subBuilder = resourceSelector_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder - subBuilder = null; - if (resourceSelector_ != null) { - subBuilder = resourceSelector_.toBuilder(); - } - resourceSelector_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceSelector_); - resourceSelector_ = subBuilder.buildPartial(); - } - - break; + resourceSelector_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceSelector_); + resourceSelector_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder - subBuilder = null; - if (identitySelector_ != null) { - subBuilder = identitySelector_.toBuilder(); - } - identitySelector_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(identitySelector_); - identitySelector_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder subBuilder = null; + if (identitySelector_ != null) { + subBuilder = identitySelector_.toBuilder(); + } + identitySelector_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identitySelector_); + identitySelector_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder - subBuilder = null; - if (accessSelector_ != null) { - subBuilder = accessSelector_.toBuilder(); - } - accessSelector_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(accessSelector_); - accessSelector_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder subBuilder = null; + if (accessSelector_ != null) { + subBuilder = accessSelector_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + accessSelector_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(accessSelector_); + accessSelector_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,36 +112,31 @@ private IamPolicyAnalysisQuery( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); } - public interface ResourceSelectorOrBuilder - extends + public interface ResourceSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -185,13 +144,10 @@ public interface ResourceSelectorOrBuilder
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** - * - * *
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -199,14 +155,12 @@ public interface ResourceSelectorOrBuilder
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); } /** - * - * *
    * Specifies the resource to analyze for access policies, which may be set
    * directly on the resource, or on ancestors such as organizations, folders or
@@ -216,31 +170,31 @@ public interface ResourceSelectorOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector}
    */
-  public static final class ResourceSelector extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ResourceSelector extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)
       ResourceSelectorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ResourceSelector.newBuilder() to construct.
     private ResourceSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ResourceSelector() {
       fullResourceName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ResourceSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ResourceSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -259,20 +213,19 @@ private ResourceSelector(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                fullResourceName_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              fullResourceName_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -280,34 +233,29 @@ private ResourceSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder
-                  .class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
     }
 
     public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object fullResourceName_;
     /**
-     *
-     *
      * 
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -315,7 +263,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fullResourceName. */ @java.lang.Override @@ -324,15 +271,14 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** - * - * *
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -340,15 +286,16 @@ public java.lang.String getFullResourceName() {
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -357,7 +304,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,7 +315,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -393,16 +340,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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) obj; - if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,101 +367,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -525,8 +458,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies the resource to analyze for access policies, which may be set
      * directly on the resource, or on ancestors such as organizations, folders or
@@ -536,42 +467,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class,
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder
-                    .class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
+      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -581,22 +508,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result =
-            buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -604,10 +528,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
-          buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result =
-            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(this);
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector buildPartial() {
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(this);
         result.fullResourceName_ = fullResourceName_;
         onBuilt();
         return result;
@@ -617,54 +539,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) other);
+        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) {
+          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other) {
-        if (other
-            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other) {
+        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance()) return this;
         if (!other.getFullResourceName().isEmpty()) {
           fullResourceName_ = other.fullResourceName_;
           onChanged();
@@ -684,14 +598,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parsedMessage =
-            null;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -703,8 +614,6 @@ public Builder mergeFrom(
 
       private java.lang.Object fullResourceName_ = "";
       /**
-       *
-       *
        * 
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -712,13 +621,13 @@ public Builder mergeFrom(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -727,8 +636,6 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -736,14 +643,15 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -751,8 +659,6 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -760,22 +666,20 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName(java.lang.String value) { + public Builder setFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -783,18 +687,15 @@ public Builder setFullResourceName(java.lang.String value) {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** - * - * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -802,21 +703,20 @@ public Builder clearFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -829,33 +729,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,20 +764,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IdentitySelectorOrBuilder - extends + public interface IdentitySelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -888,13 +782,10 @@ public interface IdentitySelectorOrBuilder
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ java.lang.String getIdentity(); /** - * - * *
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -902,14 +793,12 @@ public interface IdentitySelectorOrBuilder
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for identity. */ - com.google.protobuf.ByteString getIdentityBytes(); + com.google.protobuf.ByteString + getIdentityBytes(); } /** - * - * *
    * Specifies an identity for which to determine resource access, based on
    * roles assigned either directly to them or to the groups they belong to,
@@ -918,31 +807,31 @@ public interface IdentitySelectorOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector}
    */
-  public static final class IdentitySelector extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IdentitySelector extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)
       IdentitySelectorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IdentitySelector.newBuilder() to construct.
     private IdentitySelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IdentitySelector() {
       identity_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IdentitySelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private IdentitySelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -961,20 +850,19 @@ private IdentitySelector(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                identity_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              identity_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -982,34 +870,29 @@ private IdentitySelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder
-                  .class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
     }
 
     public static final int IDENTITY_FIELD_NUMBER = 1;
     private volatile java.lang.Object identity_;
     /**
-     *
-     *
      * 
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -1017,7 +900,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ @java.lang.Override @@ -1026,15 +908,14 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** - * - * *
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -1042,15 +923,16 @@ public java.lang.String getIdentity() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString getIdentityBytes() { + public com.google.protobuf.ByteString + getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identity_ = b; return b; } else { @@ -1059,7 +941,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1071,7 +952,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identity_); } @@ -1095,16 +977,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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) obj; - if (!getIdentity().equals(other.getIdentity())) return false; + if (!getIdentity() + .equals(other.getIdentity())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1123,101 +1004,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1227,8 +1095,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies an identity for which to determine resource access, based on
      * roles assigned either directly to them or to the groups they belong to,
@@ -1237,42 +1103,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class,
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder
-                    .class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
+      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1282,22 +1144,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result =
-            buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1305,10 +1164,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
-          buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result =
-            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(this);
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector buildPartial() {
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(this);
         result.identity_ = identity_;
         onBuilt();
         return result;
@@ -1318,54 +1175,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) other);
+        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) {
+          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other) {
-        if (other
-            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other) {
+        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance()) return this;
         if (!other.getIdentity().isEmpty()) {
           identity_ = other.identity_;
           onChanged();
@@ -1385,14 +1234,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parsedMessage =
-            null;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1404,8 +1250,6 @@ public Builder mergeFrom(
 
       private java.lang.Object identity_ = "";
       /**
-       *
-       *
        * 
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1413,13 +1257,13 @@ public Builder mergeFrom(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -1428,8 +1272,6 @@ public java.lang.String getIdentity() { } } /** - * - * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1437,14 +1279,15 @@ public java.lang.String getIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for identity. */ - public com.google.protobuf.ByteString getIdentityBytes() { + public com.google.protobuf.ByteString + getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identity_ = b; return b; } else { @@ -1452,8 +1295,6 @@ public com.google.protobuf.ByteString getIdentityBytes() { } } /** - * - * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1461,22 +1302,20 @@ public com.google.protobuf.ByteString getIdentityBytes() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity(java.lang.String value) { + public Builder setIdentity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identity_ = value; onChanged(); return this; } /** - * - * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1484,18 +1323,15 @@ public Builder setIdentity(java.lang.String value) {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIdentity() { - + identity_ = getDefaultInstance().getIdentity(); onChanged(); return this; } /** - * - * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1503,21 +1339,20 @@ public Builder clearIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes(com.google.protobuf.ByteString value) { + public Builder setIdentityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identity_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1530,33 +1365,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentitySelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentitySelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentitySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentitySelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1568,122 +1400,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessSelectorOrBuilder - extends + public interface AccessSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the roles. */ - java.util.List getRolesList(); + java.util.List + getRolesList(); /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of roles. */ int getRolesCount(); /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The roles at the given index. */ java.lang.String getRoles(int index); /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - com.google.protobuf.ByteString getRolesBytes(int index); + com.google.protobuf.ByteString + getRolesBytes(int index); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the permissions. */ - java.util.List getPermissionsList(); + java.util.List + getPermissionsList(); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of permissions. */ int getPermissionsCount(); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString getPermissionsBytes(int index); + com.google.protobuf.ByteString + getPermissionsBytes(int index); } /** - * - * *
    * Specifies roles and/or permissions to analyze, to determine both the
    * identities possessing them and the resources they control. If multiple
@@ -1693,16 +1502,15 @@ public interface AccessSelectorOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector}
    */
-  public static final class AccessSelector extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AccessSelector extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)
       AccessSelectorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AccessSelector.newBuilder() to construct.
     private AccessSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AccessSelector() {
       roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1710,15 +1518,16 @@ private AccessSelector() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AccessSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AccessSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1738,33 +1547,31 @@ private AccessSelector(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  roles_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                roles_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                roles_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  permissions_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                permissions_.add(s);
-                break;
+              roles_.add(s);
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                permissions_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              permissions_.add(s);
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1772,7 +1579,8 @@ private AccessSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           roles_ = roles_.getUnmodifiableView();
@@ -1784,61 +1592,50 @@ private AccessSelector(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
     }
 
     public static final int ROLES_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList roles_;
     /**
-     *
-     *
      * 
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList getRolesList() { + public com.google.protobuf.ProtocolStringList + getRolesList() { return roles_; } /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -1846,60 +1643,50 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** - * - * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString getRolesBytes(int index) { + public com.google.protobuf.ByteString + getRolesBytes(int index) { return roles_.getByteString(index); } public static final int PERMISSIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList permissions_; /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_; } /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -1907,23 +1694,20 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1935,7 +1719,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < roles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roles_.getRaw(i)); } @@ -1975,17 +1760,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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) obj; - if (!getRolesList().equals(other.getRolesList())) return false; - if (!getPermissionsList().equals(other.getPermissionsList())) return false; + if (!getRolesList() + .equals(other.getRolesList())) return false; + if (!getPermissionsList() + .equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2011,95 +1796,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2109,8 +1886,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies roles and/or permissions to analyze, to determine both the
      * identities possessing them and the resources they control. If multiple
@@ -2120,42 +1895,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class,
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder
-                    .class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
+      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2167,22 +1938,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result =
-            buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2191,8 +1959,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector bu
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result =
-            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(this);
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           roles_ = roles_.getUnmodifiableView();
@@ -2212,54 +1979,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector bu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) other);
+        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) {
+          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other) {
-        if (other
-            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other) {
+        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance()) return this;
         if (!other.roles_.isEmpty()) {
           if (roles_.isEmpty()) {
             roles_ = other.roles_;
@@ -2299,9 +2058,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2310,55 +2067,44 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList roles_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureRolesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           roles_ = new com.google.protobuf.LazyStringArrayList(roles_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
-      /**
-       *
-       *
+      /**
        * 
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList getRolesList() { + public com.google.protobuf.ProtocolStringList + getRolesList() { return roles_.getUnmodifiableView(); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -2366,90 +2112,80 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString getRolesBytes(int index) { + public com.google.protobuf.ByteString + getRolesBytes(int index) { return roles_.getByteString(index); } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The roles to set. * @return This builder for chaining. */ - public Builder setRoles(int index, java.lang.String value) { + public Builder setRoles( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.set(index, value); onChanged(); return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The roles to add. * @return This builder for chaining. */ - public Builder addRoles(java.lang.String value) { + public Builder addRoles( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The roles to add. * @return This builder for chaining. */ - public Builder addAllRoles(java.lang.Iterable values) { + public Builder addAllRoles( + java.lang.Iterable values) { ensureRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, roles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, roles_); onChanged(); return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRoles() { @@ -2459,74 +2195,62 @@ public Builder clearRoles() { return this; } /** - * - * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the roles to add. * @return This builder for chaining. */ - public Builder addRolesBytes(com.google.protobuf.ByteString value) { + public Builder addRolesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { + public com.google.protobuf.ProtocolStringList + getPermissionsList() { return permissions_.getUnmodifiableView(); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -2534,90 +2258,80 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions(int index, java.lang.String value) { + public Builder setPermissions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions(java.lang.String value) { + public Builder addPermissions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions(java.lang.Iterable values) { + public Builder addAllPermissions( + java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); onChanged(); return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -2627,28 +2341,25 @@ public Builder clearPermissions() { return this; } /** - * - * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2661,33 +2372,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AccessSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AccessSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2699,17 +2407,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -2717,7 +2423,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -2726,15 +2431,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. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -2742,15 +2446,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2759,19 +2464,13 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int RESOURCE_SELECTOR_FIELD_NUMBER = 2; - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - resourceSelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; /** - * - * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceSelector field is set. */ @java.lang.Override @@ -2779,57 +2478,37 @@ public boolean hasResourceSelector() { return resourceSelector_ != null; } /** - * - * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceSelector. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - getResourceSelector() { - return resourceSelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - .getDefaultInstance() - : resourceSelector_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { + return resourceSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } /** - * - * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder - getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { return getResourceSelector(); } public static final int IDENTITY_SELECTOR_FIELD_NUMBER = 3; - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - identitySelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; /** - * - * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the identitySelector field is set. */ @java.lang.Override @@ -2837,57 +2516,38 @@ public boolean hasIdentitySelector() { return identitySelector_ != null; } /** - * - * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The identitySelector. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - getIdentitySelector() { - return identitySelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - .getDefaultInstance() - : identitySelector_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { + return identitySelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } /** - * - * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder - getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { return getIdentitySelector(); } public static final int ACCESS_SELECTOR_FIELD_NUMBER = 4; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; /** - * - * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the accessSelector field is set. */ @java.lang.Override @@ -2895,47 +2555,32 @@ public boolean hasAccessSelector() { return accessSelector_ != null; } /** - * - * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The accessSelector. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - getAccessSelector() { - return accessSelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - .getDefaultInstance() - : accessSelector_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { + return accessSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } /** - * - * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder - getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { return getAccessSelector(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2947,7 +2592,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2973,13 +2619,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (resourceSelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResourceSelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getResourceSelector()); } if (identitySelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIdentitySelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getIdentitySelector()); } if (accessSelector_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAccessSelector()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAccessSelector()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2989,26 +2638,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasResourceSelector() != other.hasResourceSelector()) return false; if (hasResourceSelector()) { - if (!getResourceSelector().equals(other.getResourceSelector())) return false; + if (!getResourceSelector() + .equals(other.getResourceSelector())) return false; } if (hasIdentitySelector() != other.hasIdentitySelector()) return false; if (hasIdentitySelector()) { - if (!getIdentitySelector().equals(other.getIdentitySelector())) return false; + if (!getIdentitySelector() + .equals(other.getIdentitySelector())) return false; } if (hasAccessSelector() != other.hasAccessSelector()) return false; if (hasAccessSelector()) { - if (!getAccessSelector().equals(other.getAccessSelector())) return false; + if (!getAccessSelector() + .equals(other.getAccessSelector())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3041,127 +2693,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IAM policy analysis query message.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder() @@ -3169,15 +2811,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3205,9 +2848,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override @@ -3226,8 +2869,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(this); result.parent_ = parent_; if (resourceSelectorBuilder_ == null) { result.resourceSelector_ = resourceSelector_; @@ -3252,39 +2894,38 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery)other); } else { super.mergeFrom(other); return this; @@ -3292,8 +2933,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3326,8 +2966,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3339,8 +2978,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3348,13 +2985,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3363,8 +3000,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3372,14 +3007,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3387,8 +3023,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3396,22 +3030,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3419,18 +3051,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3438,81 +3067,58 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - resourceSelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> - resourceSelectorBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> resourceSelectorBuilder_; /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceSelector field is set. */ public boolean hasResourceSelector() { return resourceSelectorBuilder_ != null || resourceSelector_ != null; } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceSelector. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - getResourceSelector() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { if (resourceSelectorBuilder_ == null) { - return resourceSelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - .getDefaultInstance() - : resourceSelector_; + return resourceSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } else { return resourceSelectorBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setResourceSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder setResourceSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3526,19 +3132,14 @@ public Builder setResourceSelector( return this; } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setResourceSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue) { if (resourceSelectorBuilder_ == null) { resourceSelector_ = builderForValue.build(); onChanged(); @@ -3549,25 +3150,17 @@ public Builder setResourceSelector( return this; } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeResourceSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder mergeResourceSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (resourceSelector_ != null) { resourceSelector_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder( - resourceSelector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder(resourceSelector_).mergeFrom(value).buildPartial(); } else { resourceSelector_ = value; } @@ -3579,15 +3172,11 @@ public Builder mergeResourceSelector( return this; } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearResourceSelector() { if (resourceSelectorBuilder_ == null) { @@ -3601,132 +3190,90 @@ public Builder clearResourceSelector() { return this; } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder - getResourceSelectorBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder getResourceSelectorBuilder() { + onChanged(); return getResourceSelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder - getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { if (resourceSelectorBuilder_ != null) { return resourceSelectorBuilder_.getMessageOrBuilder(); } else { - return resourceSelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector - .getDefaultInstance() - : resourceSelector_; + return resourceSelector_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; } } /** - * - * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> getResourceSelectorFieldBuilder() { if (resourceSelectorBuilder_ == null) { - resourceSelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( - getResourceSelector(), getParentForChildren(), isClean()); + resourceSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( + getResourceSelector(), + getParentForChildren(), + isClean()); resourceSelector_ = null; } return resourceSelectorBuilder_; } - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - identitySelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> - identitySelectorBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> identitySelectorBuilder_; /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the identitySelector field is set. */ public boolean hasIdentitySelector() { return identitySelectorBuilder_ != null || identitySelector_ != null; } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The identitySelector. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - getIdentitySelector() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { if (identitySelectorBuilder_ == null) { - return identitySelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - .getDefaultInstance() - : identitySelector_; + return identitySelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } else { return identitySelectorBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setIdentitySelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder setIdentitySelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3740,19 +3287,14 @@ public Builder setIdentitySelector( return this; } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setIdentitySelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue) { if (identitySelectorBuilder_ == null) { identitySelector_ = builderForValue.build(); onChanged(); @@ -3763,25 +3305,17 @@ public Builder setIdentitySelector( return this; } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeIdentitySelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder mergeIdentitySelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (identitySelector_ != null) { identitySelector_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder( - identitySelector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder(identitySelector_).mergeFrom(value).buildPartial(); } else { identitySelector_ = value; } @@ -3793,15 +3327,11 @@ public Builder mergeIdentitySelector( return this; } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearIdentitySelector() { if (identitySelectorBuilder_ == null) { @@ -3815,67 +3345,48 @@ public Builder clearIdentitySelector() { return this; } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder - getIdentitySelectorBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder getIdentitySelectorBuilder() { + onChanged(); return getIdentitySelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder - getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { if (identitySelectorBuilder_ != null) { return identitySelectorBuilder_.getMessageOrBuilder(); } else { - return identitySelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector - .getDefaultInstance() - : identitySelector_; + return identitySelector_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; } } /** - * - * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> getIdentitySelectorFieldBuilder() { if (identitySelectorBuilder_ == null) { - identitySelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( - getIdentitySelector(), getParentForChildren(), isClean()); + identitySelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( + getIdentitySelector(), + getParentForChildren(), + isClean()); identitySelector_ = null; } return identitySelectorBuilder_; @@ -3883,66 +3394,44 @@ public Builder clearIdentitySelector() { private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> - accessSelectorBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> accessSelectorBuilder_; /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the accessSelector field is set. */ public boolean hasAccessSelector() { return accessSelectorBuilder_ != null || accessSelector_ != null; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The accessSelector. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - getAccessSelector() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { if (accessSelectorBuilder_ == null) { - return accessSelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - .getDefaultInstance() - : accessSelector_; + return accessSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } else { return accessSelectorBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAccessSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder setAccessSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3956,20 +3445,15 @@ public Builder setAccessSelector( return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAccessSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue) { if (accessSelectorBuilder_ == null) { accessSelector_ = builderForValue.build(); onChanged(); @@ -3980,26 +3464,18 @@ public Builder setAccessSelector( return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAccessSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder mergeAccessSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (accessSelector_ != null) { accessSelector_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder( - accessSelector_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder(accessSelector_).mergeFrom(value).buildPartial(); } else { accessSelector_ = value; } @@ -4011,16 +3487,12 @@ public Builder mergeAccessSelector( return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAccessSelector() { if (accessSelectorBuilder_ == null) { @@ -4034,77 +3506,58 @@ public Builder clearAccessSelector() { return this; } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder - getAccessSelectorBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder getAccessSelectorBuilder() { + onChanged(); return getAccessSelectorFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder - getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { if (accessSelectorBuilder_ != null) { return accessSelectorBuilder_.getMessageOrBuilder(); } else { - return accessSelector_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector - .getDefaultInstance() - : accessSelector_; + return accessSelector_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; } } /** - * - * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> getAccessSelectorFieldBuilder() { if (accessSelectorBuilder_ == null) { - accessSelectorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( - getAccessSelector(), getParentForChildren(), isClean()); + accessSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( + getAccessSelector(), + getParentForChildren(), + isClean()); accessSelector_ = null; } return accessSelectorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4114,12 +3567,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(); } @@ -4128,16 +3581,16 @@ public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisQuery(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisQuery(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4152,4 +3605,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java similarity index 55% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java index 837649001..4af7f41ae 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; -public interface IamPolicyAnalysisQueryOrBuilder - extends +public interface IamPolicyAnalysisQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -33,13 +15,10 @@ public interface IamPolicyAnalysisQueryOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -47,137 +26,92 @@ public interface IamPolicyAnalysisQueryOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the resourceSelector field is set. */ boolean hasResourceSelector(); /** - * - * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The resourceSelector. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector(); /** - * - * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder - getResourceSelectorOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder(); /** - * - * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the identitySelector field is set. */ boolean hasIdentitySelector(); /** - * - * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The identitySelector. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector(); /** - * - * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder - getIdentitySelectorOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder(); /** - * - * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the accessSelector field is set. */ boolean hasAccessSelector(); /** - * - * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The accessSelector. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector(); /** - * - * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder - getAccessSelectorOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder(); } diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java similarity index 70% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java index edca5aebd..8e78e0f77 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.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/asset/v1p4beta1/assets.proto package com.google.cloud.asset.v1p4beta1; /** - * - * *
  * IAM Policy analysis result, consisting of one IAM policy binding and derived
  * access control lists.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult}
  */
-public final class IamPolicyAnalysisResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IamPolicyAnalysisResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)
     IamPolicyAnalysisResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IamPolicyAnalysisResult.newBuilder() to construct.
   private IamPolicyAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IamPolicyAnalysisResult() {
     attachedResourceFullName_ = "";
     accessControlLists_ = java.util.Collections.emptyList();
@@ -45,15 +27,16 @@ private IamPolicyAnalysisResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private IamPolicyAnalysisResult(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,75 +56,59 @@ private IamPolicyAnalysisResult(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              attachedResourceFullName_ = s;
-              break;
+            attachedResourceFullName_ = s;
+            break;
+          }
+          case 18: {
+            com.google.iam.v1.Binding.Builder subBuilder = null;
+            if (iamBinding_ != null) {
+              subBuilder = iamBinding_.toBuilder();
             }
-          case 18:
-            {
-              com.google.iam.v1.Binding.Builder subBuilder = null;
-              if (iamBinding_ != null) {
-                subBuilder = iamBinding_.toBuilder();
-              }
-              iamBinding_ =
-                  input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamBinding_);
-                iamBinding_ = subBuilder.buildPartial();
-              }
-
-              break;
+            iamBinding_ = input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamBinding_);
+              iamBinding_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                accessControlLists_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult
-                            .AccessControlList>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              accessControlLists_.add(
-                  input.readMessage(
-                      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
-                          .parser(),
-                      extensionRegistry));
-              break;
-            }
-          case 34:
-            {
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder
-                  subBuilder = null;
-              if (identityList_ != null) {
-                subBuilder = identityList_.toBuilder();
-              }
-              identityList_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(identityList_);
-                identityList_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              accessControlLists_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 40:
-            {
-              fullyExplored_ = input.readBool();
-              break;
+            accessControlLists_.add(
+                input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.parser(), extensionRegistry));
+            break;
+          }
+          case 34: {
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder subBuilder = null;
+            if (identityList_ != null) {
+              subBuilder = identityList_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            identityList_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(identityList_);
+              identityList_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            fullyExplored_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -149,7 +116,8 @@ private IamPolicyAnalysisResult(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         accessControlLists_ = java.util.Collections.unmodifiableList(accessControlLists_);
@@ -158,30 +126,24 @@ private IamPolicyAnalysisResult(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1p4beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p4beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
+    return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class,
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
   }
 
-  public interface AnalysisStateOrBuilder
-      extends
+  public interface AnalysisStateOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -191,13 +153,10 @@ public interface AnalysisStateOrBuilder
      * 
* * .google.rpc.Code code = 1; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -207,39 +166,31 @@ public interface AnalysisStateOrBuilder
      * 
* * .google.rpc.Code code = 1; - * * @return The code. */ com.google.rpc.Code getCode(); /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return The cause. */ java.lang.String getCause(); /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return The bytes for cause. */ - com.google.protobuf.ByteString getCauseBytes(); + com.google.protobuf.ByteString + getCauseBytes(); } /** - * - * *
    * Represents analysis state of each node in the result graph or non-critical
    * errors in the response.
@@ -247,16 +198,15 @@ public interface AnalysisStateOrBuilder
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState}
    */
-  public static final class AnalysisState extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AnalysisState extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
       AnalysisStateOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AnalysisState.newBuilder() to construct.
     private AnalysisState(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AnalysisState() {
       code_ = 0;
       cause_ = "";
@@ -264,15 +214,16 @@ private AnalysisState() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AnalysisState();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AnalysisState(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -291,27 +242,25 @@ private AnalysisState(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
+              int rawValue = input.readEnum();
 
-                code_ = rawValue;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              code_ = rawValue;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                cause_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              cause_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -319,33 +268,29 @@ private AnalysisState(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder.class);
     }
 
     public static final int CODE_FIELD_NUMBER = 1;
     private int code_;
     /**
-     *
-     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -355,16 +300,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.rpc.Code code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -374,11 +315,9 @@ public int getCodeValue() {
      * 
* * .google.rpc.Code code = 1; - * * @return The code. */ - @java.lang.Override - public com.google.rpc.Code getCode() { + @java.lang.Override public com.google.rpc.Code getCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(code_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; @@ -387,14 +326,11 @@ public com.google.rpc.Code getCode() { public static final int CAUSE_FIELD_NUMBER = 2; private volatile java.lang.Object cause_; /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return The cause. */ @java.lang.Override @@ -403,29 +339,29 @@ public java.lang.String getCause() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; } } /** - * - * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; - * * @return The bytes for cause. */ @java.lang.Override - public com.google.protobuf.ByteString getCauseBytes() { + public com.google.protobuf.ByteString + getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cause_ = b; return b; } else { @@ -434,7 +370,6 @@ public com.google.protobuf.ByteString getCauseBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -446,7 +381,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.rpc.Code.OK.getNumber()) { output.writeEnum(1, code_); } @@ -463,7 +399,8 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cause_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_); @@ -476,17 +413,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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) obj; if (code_ != other.code_) return false; - if (!getCause().equals(other.getCause())) return false; + if (!getCause() + .equals(other.getCause())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -508,95 +444,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -606,8 +534,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents analysis state of each node in the result graph or non-critical
      * errors in the response.
@@ -615,42 +541,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class,
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder
-                    .class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder()
+      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         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,22 +584,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result =
-            buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -686,8 +605,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState bu
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result =
-            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(this);
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(this);
         result.code_ = code_;
         result.cause_ = cause_;
         onBuilt();
@@ -698,54 +616,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState bu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) other);
+        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) {
+          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other) {
-        if (other
-            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other) {
+        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance()) return this;
         if (other.code_ != 0) {
           setCodeValue(other.getCodeValue());
         }
@@ -772,9 +682,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -786,8 +694,6 @@ public Builder mergeFrom(
 
       private int code_ = 0;
       /**
-       *
-       *
        * 
        * The Google standard error code that best describes the state.
        * For example:
@@ -797,16 +703,12 @@ public Builder mergeFrom(
        * 
* * .google.rpc.Code code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -816,19 +718,16 @@ public int getCodeValue() {
        * 
* * .google.rpc.Code code = 1; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** - * - * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -838,7 +737,6 @@ public Builder setCodeValue(int value) {
        * 
* * .google.rpc.Code code = 1; - * * @return The code. */ @java.lang.Override @@ -848,8 +746,6 @@ public com.google.rpc.Code getCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** - * - * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -859,7 +755,6 @@ public com.google.rpc.Code getCode() {
        * 
* * .google.rpc.Code code = 1; - * * @param value The code to set. * @return This builder for chaining. */ @@ -867,14 +762,12 @@ public Builder setCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -884,11 +777,10 @@ public Builder setCode(com.google.rpc.Code value) {
        * 
* * .google.rpc.Code code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -896,20 +788,18 @@ public Builder clearCode() { private java.lang.Object cause_ = ""; /** - * - * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; - * * @return The cause. */ public java.lang.String getCause() { java.lang.Object ref = cause_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; @@ -918,21 +808,20 @@ public java.lang.String getCause() { } } /** - * - * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; - * * @return The bytes for cause. */ - public com.google.protobuf.ByteString getCauseBytes() { + public com.google.protobuf.ByteString + getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cause_ = b; return b; } else { @@ -940,66 +829,58 @@ public com.google.protobuf.ByteString getCauseBytes() { } } /** - * - * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; - * * @param value The cause to set. * @return This builder for chaining. */ - public Builder setCause(java.lang.String value) { + public Builder setCause( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cause_ = value; onChanged(); return this; } /** - * - * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; - * * @return This builder for chaining. */ public Builder clearCause() { - + cause_ = getDefaultInstance().getCause(); onChanged(); return this; } /** - * - * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; - * * @param value The bytes for cause to set. * @return This builder for chaining. */ - public Builder setCauseBytes(com.google.protobuf.ByteString value) { + public Builder setCauseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cause_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1012,33 +893,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalysisState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalysisState(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalysisState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalysisState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1050,115 +928,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ResourceOrBuilder - extends + public interface ResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** - * - * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString getFullResourceNameBytes(); + com.google.protobuf.ByteString + getFullResourceNameBytes(); /** - * - * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** - * - * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return The analysisState. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState(); /** - * - * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder(); } /** - * - * *
    * A GCP resource that appears in an access control list.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} */ - public static final class Resource extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Resource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Resource() { fullResourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1177,39 +1035,32 @@ private Resource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; + fullResourceName_ = s; + break; + } + case 18: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); - } - analysisState_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); - } - - break; + analysisState_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = 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) { @@ -1217,39 +1068,34 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fullResourceName_; /** - * - * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ @java.lang.Override @@ -1258,29 +1104,29 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** - * - * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1291,15 +1137,11 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; /** - * - * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return Whether the analysisState field is set. */ @java.lang.Override @@ -1307,43 +1149,30 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** - * - * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return The analysisState. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getAnalysisState() { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { + return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } /** - * - * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { return getAnalysisState(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1355,7 +1184,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -1375,7 +1205,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullResourceName_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1385,18 +1216,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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) obj; - if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getFullResourceName() + .equals(other.getFullResourceName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState().equals(other.getAnalysisState())) return false; + if (!getAnalysisState() + .equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1421,95 +1253,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1519,49 +1343,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GCP resource that appears in an access control list.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1577,16 +1396,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance(); } @java.lang.Override @@ -1600,8 +1417,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource build() @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(this); result.fullResourceName_ = fullResourceName_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -1616,53 +1432,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource 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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other) { + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; onChanged(); @@ -1689,9 +1498,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1703,20 +1510,18 @@ public Builder mergeFrom( private java.lang.Object fullResourceName_ = ""; /** - * - * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; - * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -1725,21 +1530,20 @@ public java.lang.String getFullResourceName() { } } /** - * - * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; - * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString getFullResourceNameBytes() { + public com.google.protobuf.ByteString + getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1747,61 +1551,54 @@ public com.google.protobuf.ByteString getFullResourceNameBytes() { } } /** - * - * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; - * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName(java.lang.String value) { + public Builder setFullResourceName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** - * - * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; - * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** - * - * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; - * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; @@ -1809,63 +1606,41 @@ public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> - analysisStateBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> analysisStateBuilder_; /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return The analysisState. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getAnalysisState() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1879,19 +1654,14 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { if (analysisStateBuilder_ == null) { analysisState_ = builderForValue.build(); onChanged(); @@ -1902,25 +1672,17 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public Builder mergeAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder( - analysisState_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); } else { analysisState_ = value; } @@ -1932,15 +1694,11 @@ public Builder mergeAnalysisState( return this; } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ public Builder clearAnalysisState() { if (analysisStateBuilder_ == null) { @@ -1954,72 +1712,52 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - getAnalysisStateBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder() { + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + return analysisState_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } } /** - * - * *
        * The analysis state of this resource node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( - getAnalysisState(), getParentForChildren(), isClean()); + analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + getAnalysisState(), + getParentForChildren(), + isClean()); analysisState_ = null; } return analysisStateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2032,32 +1770,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2069,165 +1805,134 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessOrBuilder - extends + public interface AccessOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return Whether the role field is set. */ boolean hasRole(); /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The role. */ java.lang.String getRole(); /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The bytes for role. */ - com.google.protobuf.ByteString getRoleBytes(); + com.google.protobuf.ByteString + getRoleBytes(); /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return Whether the permission field is set. */ boolean hasPermission(); /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The permission. */ java.lang.String getPermission(); /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The bytes for permission. */ - com.google.protobuf.ByteString getPermissionBytes(); + com.google.protobuf.ByteString + getPermissionBytes(); /** - * - * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** - * - * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; * @return The analysisState. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState(); /** - * - * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder(); - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.OneofAccessCase - getOneofAccessCase(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase(); } /** - * - * *
    * A role or permission that appears in an access control list.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} */ - public static final class Access extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Access extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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() {} + 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) @@ -2246,46 +1951,38 @@ private Access( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 1; - oneofAccess_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 2; - oneofAccess_ = s; - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 1; + oneofAccess_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 2; + oneofAccess_ = s; + break; + } + case 26: { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); } - case 26: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); - } - analysisState_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); - } - - break; + analysisState_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = 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) { @@ -2293,40 +1990,35 @@ 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.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); } private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; - public enum OneofAccessCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROLE(1), PERMISSION(2), ONEOFACCESS_NOT_SET(0); private final int value; - private OneofAccessCase(int value) { this.value = value; } @@ -2342,50 +2034,41 @@ public static OneofAccessCase valueOf(int value) { public static OneofAccessCase forNumber(int value) { switch (value) { - case 1: - return ROLE; - case 2: - return PERMISSION; - case 0: - return ONEOFACCESS_NOT_SET; - default: - return null; + case 1: return ROLE; + case 2: return PERMISSION; + case 0: return ONEOFACCESS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OneofAccessCase getOneofAccessCase() { - return OneofAccessCase.forNumber(oneofAccessCase_); + public OneofAccessCase + getOneofAccessCase() { + return OneofAccessCase.forNumber( + oneofAccessCase_); } public static final int ROLE_FIELD_NUMBER = 1; /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return Whether the role field is set. */ public boolean hasRole() { return oneofAccessCase_ == 1; } /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The role. */ public java.lang.String getRole() { @@ -2396,7 +2079,8 @@ 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(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -2405,24 +2089,23 @@ public java.lang.String getRole() { } } /** - * - * *
      * The role.
      * 
* * string role = 1; - * * @return The bytes for role. */ - public com.google.protobuf.ByteString getRoleBytes() { + public com.google.protobuf.ByteString + getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -2434,28 +2117,22 @@ public com.google.protobuf.ByteString getRoleBytes() { public static final int PERMISSION_FIELD_NUMBER = 2; /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return Whether the permission field is set. */ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The permission. */ public java.lang.String getPermission() { @@ -2466,7 +2143,8 @@ public java.lang.String getPermission() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -2475,24 +2153,23 @@ public java.lang.String getPermission() { } } /** - * - * *
      * The permission.
      * 
* * string permission = 2; - * * @return The bytes for permission. */ - public com.google.protobuf.ByteString getPermissionBytes() { + public com.google.protobuf.ByteString + getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -2505,15 +2182,11 @@ public com.google.protobuf.ByteString getPermissionBytes() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; /** - * - * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; * @return Whether the analysisState field is set. */ @java.lang.Override @@ -2521,43 +2194,30 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** - * - * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; * @return The analysisState. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getAnalysisState() { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { + return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } /** - * - * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { return getAnalysisState(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2569,7 +2229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (oneofAccessCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneofAccess_); } @@ -2595,7 +2256,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oneofAccess_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2605,25 +2267,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.asset.v1p4beta1.IamPolicyAnalysisResult.Access)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) obj; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState().equals(other.getAnalysisState())) return false; + if (!getAnalysisState() + .equals(other.getAnalysisState())) return false; } if (!getOneofAccessCase().equals(other.getOneofAccessCase())) return false; switch (oneofAccessCase_) { case 1: - if (!getRole().equals(other.getRole())) return false; + if (!getRole() + .equals(other.getRole())) return false; break; case 2: - if (!getPermission().equals(other.getPermission())) return false; + if (!getPermission() + .equals(other.getPermission())) return false; break; case 0: default: @@ -2661,95 +2325,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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 @@ -2759,49 +2415,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A role or permission that appears in an access control list.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2817,14 +2468,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance(); } @@ -2839,8 +2489,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(this); if (oneofAccessCase_ == 1) { result.oneofAccess_ = oneofAccess_; } @@ -2861,74 +2510,65 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access 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) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other) { + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()) return this; if (other.hasAnalysisState()) { mergeAnalysisState(other.getAnalysisState()); } switch (other.getOneofAccessCase()) { - case ROLE: - { - oneofAccessCase_ = 1; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case PERMISSION: - { - oneofAccessCase_ = 2; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case ONEOFACCESS_NOT_SET: - { - break; - } + case ROLE: { + oneofAccessCase_ = 1; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case PERMISSION: { + oneofAccessCase_ = 2; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case ONEOFACCESS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2949,9 +2589,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2960,12 +2598,12 @@ public Builder mergeFrom( } return this; } - private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; - - public OneofAccessCase getOneofAccessCase() { - return OneofAccessCase.forNumber(oneofAccessCase_); + public OneofAccessCase + getOneofAccessCase() { + return OneofAccessCase.forNumber( + oneofAccessCase_); } public Builder clearOneofAccess() { @@ -2975,15 +2613,13 @@ public Builder clearOneofAccess() { return this; } + /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return Whether the role field is set. */ @java.lang.Override @@ -2991,14 +2627,11 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return The role. */ @java.lang.Override @@ -3008,7 +2641,8 @@ public java.lang.String getRole() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -3019,25 +2653,24 @@ public java.lang.String getRole() { } } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return The bytes for role. */ @java.lang.Override - public com.google.protobuf.ByteString getRoleBytes() { + public com.google.protobuf.ByteString + getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -3047,35 +2680,30 @@ public com.google.protobuf.ByteString getRoleBytes() { } } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @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(); - } - oneofAccessCase_ = 1; + throw new NullPointerException(); + } + oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); return this; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @return This builder for chaining. */ public Builder clearRole() { @@ -3087,22 +2715,20 @@ public Builder clearRole() { return this; } /** - * - * *
        * The role.
        * 
* * string role = 1; - * * @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); oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); @@ -3110,14 +2736,11 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return Whether the permission field is set. */ @java.lang.Override @@ -3125,14 +2748,11 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return The permission. */ @java.lang.Override @@ -3142,7 +2762,8 @@ public java.lang.String getPermission() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -3153,25 +2774,24 @@ public java.lang.String getPermission() { } } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return The bytes for permission. */ @java.lang.Override - public com.google.protobuf.ByteString getPermissionBytes() { + public com.google.protobuf.ByteString + getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -3181,35 +2801,30 @@ public com.google.protobuf.ByteString getPermissionBytes() { } } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @param value The permission to set. * @return This builder for chaining. */ - public Builder setPermission(java.lang.String value) { + public Builder setPermission( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneofAccessCase_ = 2; + throw new NullPointerException(); + } + oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); return this; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @return This builder for chaining. */ public Builder clearPermission() { @@ -3221,22 +2836,20 @@ public Builder clearPermission() { return this; } /** - * - * *
        * The permission.
        * 
* * string permission = 2; - * * @param value The bytes for permission to set. * @return This builder for chaining. */ - public Builder setPermissionBytes(com.google.protobuf.ByteString value) { + public Builder setPermissionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); @@ -3245,63 +2858,41 @@ public Builder setPermissionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> - analysisStateBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> analysisStateBuilder_; /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; * @return The analysisState. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getAnalysisState() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ - public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3315,19 +2906,14 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { if (analysisStateBuilder_ == null) { analysisState_ = builderForValue.build(); onChanged(); @@ -3338,25 +2924,17 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ - public Builder mergeAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder( - analysisState_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); } else { analysisState_ = value; } @@ -3368,15 +2946,11 @@ public Builder mergeAnalysisState( return this; } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ public Builder clearAnalysisState() { if (analysisStateBuilder_ == null) { @@ -3390,72 +2964,52 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - getAnalysisStateBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder() { + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + return analysisState_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } } /** - * - * *
        * The analysis state of this access node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( - getAnalysisState(), getParentForChildren(), isClean()); + analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + getAnalysisState(), + getParentForChildren(), + isClean()); analysisState_ = null; } return analysisStateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3468,32 +3022,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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; @@ -3505,86 +3057,72 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EdgeOrBuilder - extends + public interface EdgeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The source node of the edge.
      * 
* * string source_node = 1; - * * @return The sourceNode. */ java.lang.String getSourceNode(); /** - * - * *
      * The source node of the edge.
      * 
* * string source_node = 1; - * * @return The bytes for sourceNode. */ - com.google.protobuf.ByteString getSourceNodeBytes(); + com.google.protobuf.ByteString + getSourceNodeBytes(); /** - * - * *
      * The target node of the edge.
      * 
* * string target_node = 2; - * * @return The targetNode. */ java.lang.String getTargetNode(); /** - * - * *
      * The target node of the edge.
      * 
* * string target_node = 2; - * * @return The bytes for targetNode. */ - com.google.protobuf.ByteString getTargetNodeBytes(); + com.google.protobuf.ByteString + getTargetNodeBytes(); } /** - * - * *
    * A directional edge.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} */ - public static final class Edge extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Edge extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) EdgeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Edge.newBuilder() to construct. private Edge(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Edge() { sourceNode_ = ""; targetNode_ = ""; @@ -3592,15 +3130,16 @@ private Edge() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Edge(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Edge( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3619,27 +3158,25 @@ private Edge( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - sourceNode_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + sourceNode_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - targetNode_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + targetNode_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3647,39 +3184,34 @@ private Edge( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); } public static final int SOURCE_NODE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceNode_; /** - * - * *
      * The source node of the edge.
      * 
* * string source_node = 1; - * * @return The sourceNode. */ @java.lang.Override @@ -3688,29 +3220,29 @@ public java.lang.String getSourceNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; } } /** - * - * *
      * The source node of the edge.
      * 
* * string source_node = 1; - * * @return The bytes for sourceNode. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceNodeBytes() { + public com.google.protobuf.ByteString + getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -3721,14 +3253,11 @@ public com.google.protobuf.ByteString getSourceNodeBytes() { public static final int TARGET_NODE_FIELD_NUMBER = 2; private volatile java.lang.Object targetNode_; /** - * - * *
      * The target node of the edge.
      * 
* * string target_node = 2; - * * @return The targetNode. */ @java.lang.Override @@ -3737,29 +3266,29 @@ public java.lang.String getTargetNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; } } /** - * - * *
      * The target node of the edge.
      * 
* * string target_node = 2; - * * @return The bytes for targetNode. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetNodeBytes() { + public com.google.protobuf.ByteString + getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetNode_ = b; return b; } else { @@ -3768,7 +3297,6 @@ public com.google.protobuf.ByteString getTargetNodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3780,7 +3308,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceNode_); } @@ -3810,16 +3339,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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) obj; - if (!getSourceNode().equals(other.getSourceNode())) return false; - if (!getTargetNode().equals(other.getTargetNode())) return false; + if (!getSourceNode() + .equals(other.getSourceNode())) return false; + if (!getTargetNode() + .equals(other.getTargetNode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3841,94 +3371,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3938,32 +3461,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A directional edge.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.newBuilder() @@ -3971,15 +3489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3991,14 +3510,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance(); } @@ -4013,8 +3531,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(this); result.sourceNode_ = sourceNode_; result.targetNode_ = targetNode_; onBuilt(); @@ -4025,52 +3542,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge 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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other) { + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) return this; if (!other.getSourceNode().isEmpty()) { sourceNode_ = other.sourceNode_; onChanged(); @@ -4098,9 +3609,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4112,20 +3621,18 @@ public Builder mergeFrom( private java.lang.Object sourceNode_ = ""; /** - * - * *
        * The source node of the edge.
        * 
* * string source_node = 1; - * * @return The sourceNode. */ public java.lang.String getSourceNode() { java.lang.Object ref = sourceNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; @@ -4134,21 +3641,20 @@ public java.lang.String getSourceNode() { } } /** - * - * *
        * The source node of the edge.
        * 
* * string source_node = 1; - * * @return The bytes for sourceNode. */ - public com.google.protobuf.ByteString getSourceNodeBytes() { + public com.google.protobuf.ByteString + getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -4156,61 +3662,54 @@ public com.google.protobuf.ByteString getSourceNodeBytes() { } } /** - * - * *
        * The source node of the edge.
        * 
* * string source_node = 1; - * * @param value The sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNode(java.lang.String value) { + public Builder setSourceNode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceNode_ = value; onChanged(); return this; } /** - * - * *
        * The source node of the edge.
        * 
* * string source_node = 1; - * * @return This builder for chaining. */ public Builder clearSourceNode() { - + sourceNode_ = getDefaultInstance().getSourceNode(); onChanged(); return this; } /** - * - * *
        * The source node of the edge.
        * 
* * string source_node = 1; - * * @param value The bytes for sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { + public Builder setSourceNodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceNode_ = value; onChanged(); return this; @@ -4218,20 +3717,18 @@ public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetNode_ = ""; /** - * - * *
        * The target node of the edge.
        * 
* * string target_node = 2; - * * @return The targetNode. */ public java.lang.String getTargetNode() { java.lang.Object ref = targetNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; @@ -4240,21 +3737,20 @@ public java.lang.String getTargetNode() { } } /** - * - * *
        * The target node of the edge.
        * 
* * string target_node = 2; - * * @return The bytes for targetNode. */ - public com.google.protobuf.ByteString getTargetNodeBytes() { + public com.google.protobuf.ByteString + getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetNode_ = b; return b; } else { @@ -4262,66 +3758,58 @@ public com.google.protobuf.ByteString getTargetNodeBytes() { } } /** - * - * *
        * The target node of the edge.
        * 
* * string target_node = 2; - * * @param value The targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNode(java.lang.String value) { + public Builder setTargetNode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetNode_ = value; onChanged(); return this; } /** - * - * *
        * The target node of the edge.
        * 
* * string target_node = 2; - * * @return This builder for chaining. */ public Builder clearTargetNode() { - + targetNode_ = getDefaultInstance().getTargetNode(); onChanged(); return this; } /** - * - * *
        * The target node of the edge.
        * 
* * string target_node = 2; - * * @param value The bytes for targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNodeBytes(com.google.protobuf.ByteString value) { + public Builder setTargetNodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetNode_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4334,32 +3822,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Edge parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Edge(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Edge parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Edge(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4371,20 +3857,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IdentityOrBuilder - extends + public interface IdentityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -4400,13 +3883,10 @@ public interface IdentityOrBuilder
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -4422,84 +3902,70 @@ public interface IdentityOrBuilder
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** - * - * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return The analysisState. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState(); /** - * - * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder(); } /** - * - * *
    * An identity that appears in an access control list.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} */ - public static final class Identity extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Identity extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) IdentityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Identity.newBuilder() to construct. private Identity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Identity() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Identity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Identity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4518,39 +3984,32 @@ private Identity( 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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); } - case 18: - { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); - } - analysisState_ = - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); - } - - break; + analysisState_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = 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) { @@ -4558,33 +4017,29 @@ private Identity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -4600,7 +4055,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -4609,15 +4063,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 identity name in any form of members appear in
      * [IAM policy
@@ -4633,15 +4086,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 { @@ -4652,15 +4106,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; /** - * - * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return Whether the analysisState field is set. */ @java.lang.Override @@ -4668,43 +4118,30 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** - * - * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return The analysisState. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getAnalysisState() { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { + return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } /** - * - * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { return getAnalysisState(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4716,7 +4153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -4736,7 +4174,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4746,18 +4185,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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState().equals(other.getAnalysisState())) return false; + if (!getAnalysisState() + .equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4782,95 +4222,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4880,49 +4312,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An identity that appears in an access control list.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4938,16 +4365,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance(); } @java.lang.Override @@ -4961,8 +4386,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity build() @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(this); result.name_ = name_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -4977,53 +4401,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity 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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other) { + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -5050,9 +4467,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5064,8 +4479,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -5081,13 +4494,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; @@ -5096,8 +4509,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -5113,14 +4524,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 { @@ -5128,8 +4540,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -5145,22 +4555,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 identity name in any form of members appear in
        * [IAM policy
@@ -5176,18 +4584,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 identity name in any form of members appear in
        * [IAM policy
@@ -5203,16 +4608,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; @@ -5220,63 +4625,41 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> - analysisStateBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> analysisStateBuilder_; /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; * @return The analysisState. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - getAnalysisState() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5290,19 +4673,14 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { if (analysisStateBuilder_ == null) { analysisState_ = builderForValue.build(); onChanged(); @@ -5313,25 +4691,17 @@ public Builder setAnalysisState( return this; } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public Builder mergeAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder( - analysisState_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); } else { analysisState_ = value; } @@ -5343,15 +4713,11 @@ public Builder mergeAnalysisState( return this; } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ public Builder clearAnalysisState() { if (analysisStateBuilder_ == null) { @@ -5365,72 +4731,52 @@ public Builder clearAnalysisState() { return this; } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder - getAnalysisStateBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder() { + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder - getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState - .getDefaultInstance() - : analysisState_; + return analysisState_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; } } /** - * - * *
        * The analysis state of this identity node.
        * 
* - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( - getAnalysisState(), getParentForChildren(), isClean()); + analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + getAnalysisState(), + getParentForChildren(), + isClean()); analysisState_ = null; } return analysisStateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5443,32 +4789,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Identity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Identity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Identity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Identity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5480,160 +4824,125 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AccessControlListOrBuilder - extends + public interface AccessControlListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - java.util.List + java.util.List getResourcesList(); /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources(int index); /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ int getResourcesCount(); /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> + java.util.List getResourcesOrBuilderList(); /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder - getResourcesOrBuilder(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( + int index); /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - java.util.List + java.util.List getAccessesList(); /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses(int index); /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ int getAccessesCount(); /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> + java.util.List getAccessesOrBuilderList(); /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder( int index); /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5642,14 +4951,11 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - java.util.List + java.util.List getResourceEdgesList(); /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5658,13 +4964,10 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges(int index); /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5673,13 +4976,10 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ int getResourceEdgesCount(); /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5688,14 +4988,11 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - java.util.List + java.util.List getResourceEdgesOrBuilderList(); /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5704,15 +5001,12 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder - getResourceEdgesOrBuilder(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( + int index); } /** - * - * *
    * An access control list, derived from the above IAM policy binding, which
    * contains a set of resources and accesses. May include one
@@ -5730,16 +5024,15 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList}
    */
-  public static final class AccessControlList extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AccessControlList extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)
       AccessControlListOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AccessControlList.newBuilder() to construct.
     private AccessControlList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AccessControlList() {
       resources_ = java.util.Collections.emptyList();
       accesses_ = java.util.Collections.emptyList();
@@ -5748,15 +5041,16 @@ private AccessControlList() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AccessControlList();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private AccessControlList(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5776,55 +5070,40 @@ private AccessControlList(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  resources_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource>();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                resources_.add(
-                    input.readMessage(
-                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.parser(),
-                        extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                resources_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  accesses_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access>();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                accesses_.add(
-                    input.readMessage(
-                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.parser(),
-                        extensionRegistry));
-                break;
+              resources_.add(
+                  input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                accesses_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 26:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  resourceEdges_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                resourceEdges_.add(
-                    input.readMessage(
-                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(),
-                        extensionRegistry));
-                break;
+              accesses_.add(
+                  input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.parser(), extensionRegistry));
+              break;
+            }
+            case 26: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                resourceEdges_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              resourceEdges_.add(
+                  input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5832,7 +5111,8 @@ private AccessControlList(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -5847,206 +5127,162 @@ private AccessControlList(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder
-                  .class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
     }
 
     public static final int RESOURCES_FIELD_NUMBER = 1;
-    private java.util.List
-        resources_;
+    private java.util.List resources_;
     /**
-     *
-     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ @java.lang.Override - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { return resources_; } /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> + public java.util.List getResourcesOrBuilderList() { return resources_; } /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ @java.lang.Override public int getResourcesCount() { return resources_.size(); } /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources(int index) { return resources_.get(index); } /** - * - * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder - getResourcesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( + int index) { return resources_.get(index); } public static final int ACCESSES_FIELD_NUMBER = 2; - private java.util.List - accesses_; + private java.util.List accesses_; /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ @java.lang.Override - public java.util.List - getAccessesList() { + public java.util.List getAccessesList() { return accesses_; } /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> + public java.util.List getAccessesOrBuilderList() { return accesses_; } /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ @java.lang.Override public int getAccessesCount() { return accesses_.size(); } /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses(int index) { return accesses_.get(index); } /** - * - * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder - getAccessesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder( + int index) { return accesses_.get(index); } public static final int RESOURCE_EDGES_FIELD_NUMBER = 3; - private java.util.List - resourceEdges_; + private java.util.List resourceEdges_; /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6055,17 +5291,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccess
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ @java.lang.Override - public java.util.List - getResourceEdgesList() { + public java.util.List getResourceEdgesList() { return resourceEdges_; } /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6074,18 +5306,14 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccess
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + public java.util.List getResourceEdgesOrBuilderList() { return resourceEdges_; } /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6094,16 +5322,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccess
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ @java.lang.Override public int getResourceEdgesCount() { return resourceEdges_.size(); } /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6112,17 +5337,13 @@ public int getResourceEdgesCount() {
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges(int index) { return resourceEdges_.get(index); } /** - * - * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6131,17 +5352,15 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResource
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder - getResourceEdgesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( + int index) { return resourceEdges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6153,7 +5372,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -6173,13 +5393,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, resources_.get(i)); } for (int i = 0; i < accesses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, accesses_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, accesses_.get(i)); } for (int i = 0; i < resourceEdges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, resourceEdges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, resourceEdges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6189,18 +5412,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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)) { + if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) obj; - if (!getResourcesList().equals(other.getResourcesList())) return false; - if (!getAccessesList().equals(other.getAccessesList())) return false; - if (!getResourceEdgesList().equals(other.getResourceEdgesList())) return false; + if (!getResourcesList() + .equals(other.getResourcesList())) return false; + if (!getAccessesList() + .equals(other.getAccessesList())) return false; + if (!getResourceEdgesList() + .equals(other.getResourceEdgesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6229,101 +5453,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6333,8 +5544,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An access control list, derived from the above IAM policy binding, which
      * contains a set of resources and accesses. May include one
@@ -6352,46 +5561,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class,
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder
-                    .class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
+      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getResourcesFieldBuilder();
           getAccessesFieldBuilder();
           getResourceEdgesFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6417,22 +5621,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto
-            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
-          getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
-            .getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result =
-            buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -6440,10 +5641,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
-          buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result =
-            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(this);
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList buildPartial() {
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(this);
         int from_bitField0_ = bitField0_;
         if (resourcesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -6480,54 +5679,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) {
-          return mergeFrom(
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) other);
+        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) {
+          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other) {
-        if (other
-            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other) {
+        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()) return this;
         if (resourcesBuilder_ == null) {
           if (!other.resources_.isEmpty()) {
             if (resources_.isEmpty()) {
@@ -6546,10 +5737,9 @@ public Builder mergeFrom(
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              resourcesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getResourcesFieldBuilder()
-                      : null;
+              resourcesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getResourcesFieldBuilder() : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -6573,10 +5763,9 @@ public Builder mergeFrom(
               accessesBuilder_ = null;
               accesses_ = other.accesses_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              accessesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getAccessesFieldBuilder()
-                      : null;
+              accessesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getAccessesFieldBuilder() : null;
             } else {
               accessesBuilder_.addAllMessages(other.accesses_);
             }
@@ -6600,10 +5789,9 @@ public Builder mergeFrom(
               resourceEdgesBuilder_ = null;
               resourceEdges_ = other.resourceEdges_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              resourceEdgesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getResourceEdgesFieldBuilder()
-                      : null;
+              resourceEdgesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getResourceEdgesFieldBuilder() : null;
             } else {
               resourceEdgesBuilder_.addAllMessages(other.resourceEdges_);
             }
@@ -6624,14 +5812,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parsedMessage =
-            null;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6640,42 +5825,30 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List
-          resources_ = java.util.Collections.emptyList();
-
+      private java.util.List resources_ =
+        java.util.Collections.emptyList();
       private void ensureResourcesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          resources_ =
-              new java.util.ArrayList<
-                  com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource>(resources_);
+          resources_ = new java.util.ArrayList(resources_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>
-          resourcesBuilder_;
+          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> resourcesBuilder_;
 
       /**
-       *
-       *
        * 
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public java.util.List - getResourcesList() { + public java.util.List getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -6683,17 +5856,13 @@ private void ensureResourcesIsMutable() { } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -6703,20 +5872,15 @@ public int getResourcesCount() { } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources(int index) { if (resourcesBuilder_ == null) { return resources_.get(index); } else { @@ -6724,17 +5888,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getReso } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder setResources( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { @@ -6751,22 +5911,16 @@ public Builder setResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder setResources( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); @@ -6777,20 +5931,15 @@ public Builder setResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public Builder addResources( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { + public Builder addResources(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6804,17 +5953,13 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addResources( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { @@ -6831,21 +5976,16 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addResources( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(builderForValue.build()); @@ -6856,22 +5996,16 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addResources( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); @@ -6882,25 +6016,20 @@ public Builder addResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder addAllResources( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource> - values) { + java.lang.Iterable values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -6908,17 +6037,13 @@ public Builder addAllResources( return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -6931,17 +6056,13 @@ public Builder clearResources() { return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -6954,59 +6075,45 @@ public Builder removeResources(int index) { return this; } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder - getResourcesBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder getResourcesBuilder( + int index) { return getResourcesFieldBuilder().getBuilder(index); } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder - getResourcesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( + int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); - } else { + return resources_.get(index); } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> - getResourcesOrBuilderList() { + public java.util.List + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -7014,114 +6121,82 @@ public Builder removeResources(int index) { } } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder - addResourcesBuilder() { - return getResourcesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder() { + return getResourcesFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder - addResourcesBuilder(int index) { - return getResourcesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder( + int index) { + return getResourcesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); } /** - * - * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder> - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>( - resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>( + resources_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); resources_ = null; } return resourcesBuilder_; } - private java.util.List - accesses_ = java.util.Collections.emptyList(); - + private java.util.List accesses_ = + java.util.Collections.emptyList(); private void ensureAccessesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - accesses_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access>(accesses_); + accesses_ = new java.util.ArrayList(accesses_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> - accessesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> accessesBuilder_; /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public java.util.List - getAccessesList() { + public java.util.List getAccessesList() { if (accessesBuilder_ == null) { return java.util.Collections.unmodifiableList(accesses_); } else { @@ -7129,16 +6204,13 @@ private void ensureAccessesIsMutable() { } } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public int getAccessesCount() { if (accessesBuilder_ == null) { @@ -7148,19 +6220,15 @@ public int getAccessesCount() { } } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses(int index) { if (accessesBuilder_ == null) { return accesses_.get(index); } else { @@ -7168,16 +6236,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccess } } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder setAccesses( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { @@ -7194,20 +6259,16 @@ public Builder setAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder setAccesses( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { if (accessesBuilder_ == null) { ensureAccessesIsMutable(); accesses_.set(index, builderForValue.build()); @@ -7218,19 +6279,15 @@ public Builder setAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public Builder addAccesses( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { + public Builder addAccesses(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { if (accessesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7244,16 +6301,13 @@ public Builder addAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder addAccesses( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { @@ -7270,16 +6324,13 @@ public Builder addAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder addAccesses( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { @@ -7293,20 +6344,16 @@ public Builder addAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder addAccesses( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { if (accessesBuilder_ == null) { ensureAccessesIsMutable(); accesses_.add(index, builderForValue.build()); @@ -7317,24 +6364,20 @@ public Builder addAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder addAllAccesses( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access> - values) { + java.lang.Iterable values) { if (accessesBuilder_ == null) { ensureAccessesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accesses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accesses_); onChanged(); } else { accessesBuilder_.addAllMessages(values); @@ -7342,16 +6385,13 @@ public Builder addAllAccesses( return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder clearAccesses() { if (accessesBuilder_ == null) { @@ -7364,16 +6404,13 @@ public Builder clearAccesses() { return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ public Builder removeAccesses(int index) { if (accessesBuilder_ == null) { @@ -7386,56 +6423,45 @@ public Builder removeAccesses(int index) { return this; } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder - getAccessesBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder getAccessesBuilder( + int index) { return getAccessesFieldBuilder().getBuilder(index); } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder - getAccessesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder( + int index) { if (accessesBuilder_ == null) { - return accesses_.get(index); - } else { + return accesses_.get(index); } else { return accessesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> - getAccessesOrBuilderList() { + public java.util.List + getAccessesOrBuilderList() { if (accessesBuilder_ != null) { return accessesBuilder_.getMessageOrBuilderList(); } else { @@ -7443,99 +6469,73 @@ public Builder removeAccesses(int index) { } } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder - addAccessesBuilder() { - return getAccessesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder() { + return getAccessesFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()); } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder - addAccessesBuilder(int index) { - return getAccessesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder( + int index) { + return getAccessesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()); } /** - * - * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; */ - public java.util.List - getAccessesBuilderList() { + public java.util.List + getAccessesBuilderList() { return getAccessesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> getAccessesFieldBuilder() { if (accessesBuilder_ == null) { - accessesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder>( - accesses_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + accessesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder>( + accesses_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); accesses_ = null; } return accessesBuilder_; } - private java.util.List - resourceEdges_ = java.util.Collections.emptyList(); - + private java.util.List resourceEdges_ = + java.util.Collections.emptyList(); private void ensureResourceEdgesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - resourceEdges_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>(resourceEdges_); + resourceEdges_ = new java.util.ArrayList(resourceEdges_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> - resourceEdgesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> resourceEdgesBuilder_; /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7544,12 +6544,9 @@ private void ensureResourceEdgesIsMutable() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public java.util.List - getResourceEdgesList() { + public java.util.List getResourceEdgesList() { if (resourceEdgesBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceEdges_); } else { @@ -7557,8 +6554,6 @@ private void ensureResourceEdgesIsMutable() { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7567,9 +6562,7 @@ private void ensureResourceEdgesIsMutable() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public int getResourceEdgesCount() { if (resourceEdgesBuilder_ == null) { @@ -7579,8 +6572,6 @@ public int getResourceEdgesCount() { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7589,12 +6580,9 @@ public int getResourceEdgesCount() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { return resourceEdges_.get(index); } else { @@ -7602,8 +6590,6 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResource } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7612,9 +6598,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResource
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder setResourceEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -7631,8 +6615,6 @@ public Builder setResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7641,13 +6623,10 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder setResourceEdges( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.set(index, builderForValue.build()); @@ -7658,8 +6637,6 @@ public Builder setResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7668,12 +6645,9 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public Builder addResourceEdges( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { + public Builder addResourceEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { if (resourceEdgesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7687,8 +6661,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7697,9 +6669,7 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addResourceEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -7716,8 +6686,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7726,9 +6694,7 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addResourceEdges( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { @@ -7742,8 +6708,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7752,13 +6716,10 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addResourceEdges( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.add(index, builderForValue.build()); @@ -7769,8 +6730,6 @@ public Builder addResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7779,17 +6738,14 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder addAllResourceEdges( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge> - values) { + java.lang.Iterable values) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceEdges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resourceEdges_); onChanged(); } else { resourceEdgesBuilder_.addAllMessages(values); @@ -7797,8 +6753,6 @@ public Builder addAllResourceEdges( return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7807,9 +6761,7 @@ public Builder addAllResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder clearResourceEdges() { if (resourceEdgesBuilder_ == null) { @@ -7822,8 +6774,6 @@ public Builder clearResourceEdges() { return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7832,9 +6782,7 @@ public Builder clearResourceEdges() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ public Builder removeResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { @@ -7847,8 +6795,6 @@ public Builder removeResourceEdges(int index) { return this; } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7857,17 +6803,13 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder - getResourceEdgesBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder getResourceEdgesBuilder( + int index) { return getResourceEdgesFieldBuilder().getBuilder(index); } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7876,21 +6818,16 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder - getResourceEdgesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( + int index) { if (resourceEdgesBuilder_ == null) { - return resourceEdges_.get(index); - } else { + return resourceEdges_.get(index); } else { return resourceEdgesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7899,13 +6836,10 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> - getResourceEdgesOrBuilderList() { + public java.util.List + getResourceEdgesOrBuilderList() { if (resourceEdgesBuilder_ != null) { return resourceEdgesBuilder_.getMessageOrBuilderList(); } else { @@ -7913,8 +6847,6 @@ public Builder removeResourceEdges(int index) { } } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7923,19 +6855,13 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder - addResourceEdgesBuilder() { - return getResourceEdgesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder() { + return getResourceEdgesFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7944,20 +6870,14 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder - addResourceEdgesBuilder(int index) { - return getResourceEdgesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder( + int index) { + return getResourceEdgesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** - * - * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -7966,26 +6886,18 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; */ - public java.util.List - getResourceEdgesBuilderList() { + public java.util.List + getResourceEdgesBuilderList() { return getResourceEdgesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> getResourceEdgesFieldBuilder() { if (resourceEdgesBuilder_ == null) { - resourceEdgesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( + resourceEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( resourceEdges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -7994,7 +6906,6 @@ public Builder removeResourceEdges(int index) { } return resourceEdgesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8007,33 +6918,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessControlList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AccessControlList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessControlList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AccessControlList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8045,20 +6953,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IdentityListOrBuilder - extends + public interface IdentityListOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8066,14 +6971,11 @@ public interface IdentityListOrBuilder
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - java.util.List + java.util.List getIdentitiesList(); /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8081,13 +6983,10 @@ public interface IdentityListOrBuilder
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities(int index); /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8095,13 +6994,10 @@ public interface IdentityListOrBuilder
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ int getIdentitiesCount(); /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8109,15 +7005,11 @@ public interface IdentityListOrBuilder
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> + java.util.List getIdentitiesOrBuilderList(); /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8125,15 +7017,12 @@ public interface IdentityListOrBuilder
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder - getIdentitiesOrBuilder(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( + int index); /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8144,14 +7033,11 @@ public interface IdentityListOrBuilder
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - java.util.List + java.util.List getGroupEdgesList(); /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8162,13 +7048,10 @@ public interface IdentityListOrBuilder
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges(int index); /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8179,13 +7062,10 @@ public interface IdentityListOrBuilder
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ int getGroupEdgesCount(); /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8196,14 +7076,11 @@ public interface IdentityListOrBuilder
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - java.util.List + java.util.List getGroupEdgesOrBuilderList(); /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8214,23 +7091,23 @@ public interface IdentityListOrBuilder
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder( int index); } - /** Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} */ - public static final class IdentityList extends com.google.protobuf.GeneratedMessageV3 - implements + /** + * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} + */ + public static final class IdentityList extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) IdentityListOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IdentityList.newBuilder() to construct. private IdentityList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IdentityList() { identities_ = java.util.Collections.emptyList(); groupEdges_ = java.util.Collections.emptyList(); @@ -8238,15 +7115,16 @@ private IdentityList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IdentityList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IdentityList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8266,41 +7144,31 @@ private IdentityList( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identities_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity>(); - mutable_bitField0_ |= 0x00000001; - } - identities_.add( - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identities_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - groupEdges_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>(); - mutable_bitField0_ |= 0x00000002; - } - groupEdges_.add( - input.readMessage( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(), - extensionRegistry)); - break; + identities_.add( + input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + groupEdges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + groupEdges_.add( + input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8308,7 +7176,8 @@ private IdentityList( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { identities_ = java.util.Collections.unmodifiableList(identities_); @@ -8320,28 +7189,22 @@ private IdentityList( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder.class); } public static final int IDENTITIES_FIELD_NUMBER = 1; - private java.util.List - identities_; + private java.util.List identities_; /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8349,17 +7212,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ @java.lang.Override - public java.util.List - getIdentitiesList() { + public java.util.List getIdentitiesList() { return identities_; } /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8367,18 +7226,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> + public java.util.List getIdentitiesOrBuilderList() { return identities_; } /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8386,16 +7241,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ @java.lang.Override public int getIdentitiesCount() { return identities_.size(); } /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8403,17 +7255,13 @@ public int getIdentitiesCount() {
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities(int index) { return identities_.get(index); } /** - * - * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -8421,21 +7269,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder - getIdentitiesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( + int index) { return identities_.get(index); } public static final int GROUP_EDGES_FIELD_NUMBER = 2; - private java.util.List - groupEdges_; + private java.util.List groupEdges_; /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8446,17 +7290,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ @java.lang.Override - public java.util.List - getGroupEdgesList() { + public java.util.List getGroupEdgesList() { return groupEdges_; } /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8467,18 +7307,14 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + public java.util.List getGroupEdgesOrBuilderList() { return groupEdges_; } /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8489,16 +7325,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ @java.lang.Override public int getGroupEdgesCount() { return groupEdges_.size(); } /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8509,16 +7342,13 @@ public int getGroupEdgesCount() {
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges(int index) { return groupEdges_.get(index); } /** - * - * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8529,17 +7359,15 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdg
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder - getGroupEdgesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder( + int index) { return groupEdges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8551,7 +7379,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < identities_.size(); i++) { output.writeMessage(1, identities_.get(i)); } @@ -8568,10 +7397,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < identities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, identities_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, identities_.get(i)); } for (int i = 0; i < groupEdges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupEdges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, groupEdges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8581,16 +7412,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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) obj; - if (!getIdentitiesList().equals(other.getIdentitiesList())) return false; - if (!getGroupEdgesList().equals(other.getGroupEdgesList())) return false; + if (!getIdentitiesList() + .equals(other.getIdentitiesList())) return false; + if (!getGroupEdgesList() + .equals(other.getGroupEdgesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8616,95 +7448,87 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8713,46 +7537,43 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder - .class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder.class); } - // Construct using - // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder() + // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIdentitiesFieldBuilder(); getGroupEdgesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8772,22 +7593,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto - .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - .getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList build() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = - buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8796,8 +7614,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList bui @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(this); int from_bitField0_ = bitField0_; if (identitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -8825,54 +7642,46 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) { - return mergeFrom( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) other); + if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) { + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other) { - if (other - == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other) { + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) return this; if (identitiesBuilder_ == null) { if (!other.identities_.isEmpty()) { if (identities_.isEmpty()) { @@ -8891,10 +7700,9 @@ public Builder mergeFrom( identitiesBuilder_ = null; identities_ = other.identities_; bitField0_ = (bitField0_ & ~0x00000001); - identitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIdentitiesFieldBuilder() - : null; + identitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIdentitiesFieldBuilder() : null; } else { identitiesBuilder_.addAllMessages(other.identities_); } @@ -8918,10 +7726,9 @@ public Builder mergeFrom( groupEdgesBuilder_ = null; groupEdges_ = other.groupEdges_; bitField0_ = (bitField0_ & ~0x00000002); - groupEdgesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getGroupEdgesFieldBuilder() - : null; + groupEdgesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getGroupEdgesFieldBuilder() : null; } else { groupEdgesBuilder_.addAllMessages(other.groupEdges_); } @@ -8946,9 +7753,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8957,30 +7762,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - identities_ = java.util.Collections.emptyList(); - + private java.util.List identities_ = + java.util.Collections.emptyList(); private void ensureIdentitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identities_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity>(identities_); + identities_ = new java.util.ArrayList(identities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> - identitiesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> identitiesBuilder_; /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8988,12 +7784,9 @@ private void ensureIdentitiesIsMutable() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public java.util.List - getIdentitiesList() { + public java.util.List getIdentitiesList() { if (identitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(identities_); } else { @@ -9001,8 +7794,6 @@ private void ensureIdentitiesIsMutable() { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9010,9 +7801,7 @@ private void ensureIdentitiesIsMutable() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public int getIdentitiesCount() { if (identitiesBuilder_ == null) { @@ -9022,8 +7811,6 @@ public int getIdentitiesCount() { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9031,12 +7818,9 @@ public int getIdentitiesCount() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities(int index) { if (identitiesBuilder_ == null) { return identities_.get(index); } else { @@ -9044,8 +7828,6 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9053,9 +7835,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder setIdentities( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { @@ -9072,8 +7852,6 @@ public Builder setIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9081,14 +7859,10 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder setIdentities( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.set(index, builderForValue.build()); @@ -9099,8 +7873,6 @@ public Builder setIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9108,12 +7880,9 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public Builder addIdentities( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { + public Builder addIdentities(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { if (identitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9127,8 +7896,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9136,9 +7903,7 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addIdentities( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { @@ -9155,8 +7920,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9164,13 +7927,10 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addIdentities( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.add(builderForValue.build()); @@ -9181,8 +7941,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9190,14 +7948,10 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addIdentities( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.add(index, builderForValue.build()); @@ -9208,8 +7962,6 @@ public Builder addIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9217,17 +7969,14 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder addAllIdentities( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity> - values) { + java.lang.Iterable values) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, identities_); onChanged(); } else { identitiesBuilder_.addAllMessages(values); @@ -9235,8 +7984,6 @@ public Builder addAllIdentities( return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9244,9 +7991,7 @@ public Builder addAllIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder clearIdentities() { if (identitiesBuilder_ == null) { @@ -9259,8 +8004,6 @@ public Builder clearIdentities() { return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9268,9 +8011,7 @@ public Builder clearIdentities() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ public Builder removeIdentities(int index) { if (identitiesBuilder_ == null) { @@ -9283,8 +8024,6 @@ public Builder removeIdentities(int index) { return this; } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9292,17 +8031,13 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder - getIdentitiesBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder getIdentitiesBuilder( + int index) { return getIdentitiesFieldBuilder().getBuilder(index); } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9310,21 +8045,16 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder - getIdentitiesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( + int index) { if (identitiesBuilder_ == null) { - return identities_.get(index); - } else { + return identities_.get(index); } else { return identitiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9332,13 +8062,10 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> - getIdentitiesOrBuilderList() { + public java.util.List + getIdentitiesOrBuilderList() { if (identitiesBuilder_ != null) { return identitiesBuilder_.getMessageOrBuilderList(); } else { @@ -9346,8 +8073,6 @@ public Builder removeIdentities(int index) { } } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9355,20 +8080,13 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder - addIdentitiesBuilder() { - return getIdentitiesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder() { + return getIdentitiesFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9376,21 +8094,14 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder - addIdentitiesBuilder(int index) { - return getIdentitiesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder( + int index) { + return getIdentitiesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); } /** - * - * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -9398,54 +8109,40 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder> - getIdentitiesBuilderList() { + public java.util.List + getIdentitiesBuilderList() { return getIdentitiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> getIdentitiesFieldBuilder() { if (identitiesBuilder_ == null) { - identitiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder>( - identities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + identitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder>( + identities_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); identities_ = null; } return identitiesBuilder_; } - private java.util.List - groupEdges_ = java.util.Collections.emptyList(); - + private java.util.List groupEdges_ = + java.util.Collections.emptyList(); private void ensureGroupEdgesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - groupEdges_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>(groupEdges_); + groupEdges_ = new java.util.ArrayList(groupEdges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> - groupEdgesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> groupEdgesBuilder_; /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9456,11 +8153,9 @@ private void ensureGroupEdgesIsMutable() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public java.util.List - getGroupEdgesList() { + public java.util.List getGroupEdgesList() { if (groupEdgesBuilder_ == null) { return java.util.Collections.unmodifiableList(groupEdges_); } else { @@ -9468,8 +8163,6 @@ private void ensureGroupEdgesIsMutable() { } } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9480,8 +8173,7 @@ private void ensureGroupEdgesIsMutable() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public int getGroupEdgesCount() { if (groupEdgesBuilder_ == null) { @@ -9491,8 +8183,6 @@ public int getGroupEdgesCount() { } } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9503,11 +8193,9 @@ public int getGroupEdgesCount() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges(int index) { if (groupEdgesBuilder_ == null) { return groupEdges_.get(index); } else { @@ -9515,8 +8203,6 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdg } } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9527,8 +8213,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdg
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder setGroupEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -9545,8 +8230,6 @@ public Builder setGroupEdges( return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9557,12 +8240,10 @@ public Builder setGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder setGroupEdges( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (groupEdgesBuilder_ == null) { ensureGroupEdgesIsMutable(); groupEdges_.set(index, builderForValue.build()); @@ -9573,8 +8254,6 @@ public Builder setGroupEdges( return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9585,11 +8264,9 @@ public Builder setGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public Builder addGroupEdges( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { + public Builder addGroupEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { if (groupEdgesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9602,9 +8279,7 @@ public Builder addGroupEdges( } return this; } - /** - * - * + /** *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9615,8 +8290,7 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder addGroupEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -9633,8 +8307,6 @@ public Builder addGroupEdges( return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9645,8 +8317,7 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder addGroupEdges( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { @@ -9660,8 +8331,6 @@ public Builder addGroupEdges( return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9672,12 +8341,10 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder addGroupEdges( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (groupEdgesBuilder_ == null) { ensureGroupEdgesIsMutable(); groupEdges_.add(index, builderForValue.build()); @@ -9688,8 +8355,6 @@ public Builder addGroupEdges( return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9700,16 +8365,14 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder addAllGroupEdges( - java.lang.Iterable< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge> - values) { + java.lang.Iterable values) { if (groupEdgesBuilder_ == null) { ensureGroupEdgesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupEdges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groupEdges_); onChanged(); } else { groupEdgesBuilder_.addAllMessages(values); @@ -9717,8 +8380,6 @@ public Builder addAllGroupEdges( return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9729,8 +8390,7 @@ public Builder addAllGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder clearGroupEdges() { if (groupEdgesBuilder_ == null) { @@ -9743,8 +8403,6 @@ public Builder clearGroupEdges() { return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9755,8 +8413,7 @@ public Builder clearGroupEdges() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ public Builder removeGroupEdges(int index) { if (groupEdgesBuilder_ == null) { @@ -9769,8 +8426,6 @@ public Builder removeGroupEdges(int index) { return this; } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9781,16 +8436,13 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder - getGroupEdgesBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder getGroupEdgesBuilder( + int index) { return getGroupEdgesFieldBuilder().getBuilder(index); } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9801,20 +8453,16 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder - getGroupEdgesOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder( + int index) { if (groupEdgesBuilder_ == null) { - return groupEdges_.get(index); - } else { + return groupEdges_.get(index); } else { return groupEdgesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9825,12 +8473,10 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public java.util.List< - ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> - getGroupEdgesOrBuilderList() { + public java.util.List + getGroupEdgesOrBuilderList() { if (groupEdgesBuilder_ != null) { return groupEdgesBuilder_.getMessageOrBuilderList(); } else { @@ -9838,8 +8484,6 @@ public Builder removeGroupEdges(int index) { } } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9850,18 +8494,13 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder - addGroupEdgesBuilder() { - return getGroupEdgesFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder() { + return getGroupEdgesFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9872,19 +8511,14 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder - addGroupEdgesBuilder(int index) { - return getGroupEdgesFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder( + int index) { + return getGroupEdgesFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** - * - * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -9895,31 +8529,26 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; */ - public java.util.List - getGroupEdgesBuilderList() { + public java.util.List + getGroupEdgesBuilderList() { return getGroupEdgesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> getGroupEdgesFieldBuilder() { if (groupEdgesBuilder_ == null) { - groupEdgesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( - groupEdges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + groupEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( + groupEdges_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); groupEdges_ = null; } return groupEdgesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9932,33 +8561,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - DEFAULT_INSTANCE; - + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(); + DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentityList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentityList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentityList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9970,23 +8596,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object attachedResourceFullName_; /** - * - * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ @java.lang.Override @@ -9995,29 +8618,29 @@ public java.lang.String getAttachedResourceFullName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; } } /** - * - * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; - * * @return The bytes for attachedResourceFullName. */ @java.lang.Override - public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString + getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -10028,14 +8651,11 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { public static final int IAM_BINDING_FIELD_NUMBER = 2; private com.google.iam.v1.Binding iamBinding_; /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ @java.lang.Override @@ -10043,14 +8663,11 @@ public boolean hasIamBinding() { return iamBinding_ != null; } /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ @java.lang.Override @@ -10058,8 +8675,6 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -10072,108 +8687,79 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { } public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER = 3; - private java.util.List - accessControlLists_; + private java.util.List accessControlLists_; /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public java.util.List - getAccessControlListsList() { + public java.util.List getAccessControlListsList() { return accessControlLists_; } /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + public java.util.List getAccessControlListsOrBuilderList() { return accessControlLists_; } /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override public int getAccessControlListsCount() { return accessControlLists_.size(); } /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - getAccessControlLists(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { return accessControlLists_.get(index); } /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder - getAccessControlListsOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( + int index) { return accessControlLists_.get(index); } public static final int IDENTITY_LIST_FIELD_NUMBER = 4; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identityList_; /** - * - * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; * @return Whether the identityList field is set. */ @java.lang.Override @@ -10181,53 +8767,40 @@ public boolean hasIdentityList() { return identityList_ != null; } /** - * - * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; * @return The identityList. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getIdentityList() { - return identityList_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() - : identityList_; + return identityList_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; } /** - * - * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder - getIdentityListOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() { return getIdentityList(); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 5; private boolean fullyExplored_; /** - * - * *
    * Represents whether all nodes in the transitive closure of the
    * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
    * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ @java.lang.Override @@ -10236,7 +8809,6 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10248,7 +8820,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResourceFullName_); } @@ -10274,21 +8847,23 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); } if (iamBinding_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIamBinding()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getIamBinding()); } for (int i = 0; i < accessControlLists_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, accessControlLists_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, accessControlLists_.get(i)); } if (identityList_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIdentityList()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getIdentityList()); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, fullyExplored_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10298,25 +8873,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult other = - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) obj; - if (!getAttachedResourceFullName().equals(other.getAttachedResourceFullName())) return false; + if (!getAttachedResourceFullName() + .equals(other.getAttachedResourceFullName())) return false; if (hasIamBinding() != other.hasIamBinding()) return false; if (hasIamBinding()) { - if (!getIamBinding().equals(other.getIamBinding())) return false; + if (!getIamBinding() + .equals(other.getIamBinding())) return false; } - if (!getAccessControlListsList().equals(other.getAccessControlListsList())) return false; + if (!getAccessControlListsList() + .equals(other.getAccessControlListsList())) return false; if (hasIdentityList() != other.hasIdentityList()) return false; if (hasIdentityList()) { - if (!getIdentityList().equals(other.getIdentityList())) return false; + if (!getIdentityList() + .equals(other.getIdentityList())) return false; } - if (getFullyExplored() != other.getFullyExplored()) return false; + if (getFullyExplored() + != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10343,111 +8922,104 @@ public int hashCode() { hash = (53 * hash) + getIdentityList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - byte[] data, com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IAM Policy analysis result, consisting of one IAM policy binding and derived
    * access control lists.
@@ -10455,23 +9027,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)
       com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class,
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.newBuilder()
@@ -10479,17 +9049,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) {
         getAccessControlListsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -10519,9 +9089,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
@@ -10540,8 +9110,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult buildPartial() {
-      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult result =
-          new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(this);
+      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(this);
       int from_bitField0_ = bitField0_;
       result.attachedResourceFullName_ = attachedResourceFullName_;
       if (iamBindingBuilder_ == null) {
@@ -10572,39 +9141,38 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) {
-        return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) other);
+        return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -10612,8 +9180,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult other) {
-      if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()) return this;
       if (!other.getAttachedResourceFullName().isEmpty()) {
         attachedResourceFullName_ = other.attachedResourceFullName_;
         onChanged();
@@ -10639,10 +9206,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul
             accessControlListsBuilder_ = null;
             accessControlLists_ = other.accessControlLists_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            accessControlListsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAccessControlListsFieldBuilder()
-                    : null;
+            accessControlListsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAccessControlListsFieldBuilder() : null;
           } else {
             accessControlListsBuilder_.addAllMessages(other.accessControlLists_);
           }
@@ -10673,8 +9239,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -10683,25 +9248,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object attachedResourceFullName_ = "";
     /**
-     *
-     *
      * 
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ public java.lang.String getAttachedResourceFullName() { java.lang.Object ref = attachedResourceFullName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; @@ -10710,21 +9272,20 @@ public java.lang.String getAttachedResourceFullName() { } } /** - * - * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; - * * @return The bytes for attachedResourceFullName. */ - public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString + getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -10732,61 +9293,54 @@ public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { } } /** - * - * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; - * * @param value The attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullName(java.lang.String value) { + public Builder setAttachedResourceFullName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attachedResourceFullName_ = value; onChanged(); return this; } /** - * - * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; - * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { - + attachedResourceFullName_ = getDefaultInstance().getAttachedResourceFullName(); onChanged(); return this; } /** - * - * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; - * * @param value The bytes for attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString value) { + public Builder setAttachedResourceFullNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attachedResourceFullName_ = value; onChanged(); return this; @@ -10794,33 +9348,24 @@ public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString v private com.google.iam.v1.Binding iamBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder> - iamBindingBuilder_; + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> iamBindingBuilder_; /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ public boolean hasIamBinding() { return iamBindingBuilder_ != null || iamBinding_ != null; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ public com.google.iam.v1.Binding getIamBinding() { @@ -10831,8 +9376,6 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10853,15 +9396,14 @@ public Builder setIamBinding(com.google.iam.v1.Binding value) { return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; */ - public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) { + public Builder setIamBinding( + com.google.iam.v1.Binding.Builder builderForValue) { if (iamBindingBuilder_ == null) { iamBinding_ = builderForValue.build(); onChanged(); @@ -10872,8 +9414,6 @@ public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10884,7 +9424,7 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { if (iamBindingBuilder_ == null) { if (iamBinding_ != null) { iamBinding_ = - com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); + com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); } else { iamBinding_ = value; } @@ -10896,8 +9436,6 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10916,8 +9454,6 @@ public Builder clearIamBinding() { return this; } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10925,13 +9461,11 @@ public Builder clearIamBinding() { * .google.iam.v1.Binding iam_binding = 2; */ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { - + onChanged(); return getIamBindingFieldBuilder().getBuilder(); } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10942,12 +9476,11 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { if (iamBindingBuilder_ != null) { return iamBindingBuilder_.getMessageOrBuilder(); } else { - return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; + return iamBinding_ == null ? + com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } } /** - * - * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -10955,57 +9488,40 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { * .google.iam.v1.Binding iam_binding = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder> + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> getIamBindingFieldBuilder() { if (iamBindingBuilder_ == null) { - iamBindingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder>( - getIamBinding(), getParentForChildren(), isClean()); + iamBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>( + getIamBinding(), + getParentForChildren(), + isClean()); iamBinding_ = null; } return iamBindingBuilder_; } - private java.util.List< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList> - accessControlLists_ = java.util.Collections.emptyList(); - + private java.util.List accessControlLists_ = + java.util.Collections.emptyList(); private void ensureAccessControlListsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessControlLists_ = - new java.util.ArrayList< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList>( - accessControlLists_); + accessControlLists_ = new java.util.ArrayList(accessControlLists_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> - accessControlListsBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> accessControlListsBuilder_; /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList> - getAccessControlListsList() { + public java.util.List getAccessControlListsList() { if (accessControlListsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessControlLists_); } else { @@ -11013,16 +9529,12 @@ private void ensureAccessControlListsIsMutable() { } } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public int getAccessControlListsCount() { if (accessControlListsBuilder_ == null) { @@ -11032,19 +9544,14 @@ public int getAccessControlListsCount() { } } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - getAccessControlLists(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { return accessControlLists_.get(index); } else { @@ -11052,20 +9559,15 @@ public int getAccessControlListsCount() { } } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder setAccessControlLists( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11079,21 +9581,15 @@ public Builder setAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder setAccessControlLists( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.set(index, builderForValue.build()); @@ -11104,19 +9600,14 @@ public Builder setAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public Builder addAccessControlLists( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { + public Builder addAccessControlLists(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11130,20 +9621,15 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAccessControlLists( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11157,20 +9643,15 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAccessControlLists( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(builderForValue.build()); @@ -11181,21 +9662,15 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAccessControlLists( - int index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder - builderForValue) { + int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(index, builderForValue.build()); @@ -11206,25 +9681,19 @@ public Builder addAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder addAllAccessControlLists( - java.lang.Iterable< - ? extends - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList> - values) { + java.lang.Iterable values) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessControlLists_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, accessControlLists_); onChanged(); } else { accessControlListsBuilder_.addAllMessages(values); @@ -11232,16 +9701,12 @@ public Builder addAllAccessControlLists( return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder clearAccessControlLists() { if (accessControlListsBuilder_ == null) { @@ -11254,16 +9719,12 @@ public Builder clearAccessControlLists() { return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ public Builder removeAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { @@ -11276,57 +9737,42 @@ public Builder removeAccessControlLists(int index) { return this; } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder - getAccessControlListsBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder getAccessControlListsBuilder( + int index) { return getAccessControlListsFieldBuilder().getBuilder(index); } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder - getAccessControlListsOrBuilder(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( + int index) { if (accessControlListsBuilder_ == null) { - return accessControlLists_.get(index); - } else { + return accessControlLists_.get(index); } else { return accessControlListsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> - getAccessControlListsOrBuilderList() { + public java.util.List + getAccessControlListsOrBuilderList() { if (accessControlListsBuilder_ != null) { return accessControlListsBuilder_.getMessageOrBuilderList(); } else { @@ -11334,74 +9780,48 @@ public Builder removeAccessControlLists(int index) { } } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder - addAccessControlListsBuilder() { - return getAccessControlListsFieldBuilder() - .addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder() { + return getAccessControlListsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder - addAccessControlListsBuilder(int index) { - return getAccessControlListsFieldBuilder() - .addBuilder( - index, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList - .getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder( + int index) { + return getAccessControlListsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); } /** - * - * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - public java.util.List< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder> - getAccessControlListsBuilderList() { + public java.util.List + getAccessControlListsBuilderList() { return getAccessControlListsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsFieldBuilder() { if (accessControlListsBuilder_ == null) { - accessControlListsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult - .AccessControlListOrBuilder>( + accessControlListsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder>( accessControlLists_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -11413,62 +9833,44 @@ public Builder removeAccessControlLists(int index) { private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identityList_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> - identityListBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> identityListBuilder_; /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; * @return Whether the identityList field is set. */ public boolean hasIdentityList() { return identityListBuilder_ != null || identityList_ != null; } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; * @return The identityList. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getIdentityList() { if (identityListBuilder_ == null) { - return identityList_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - .getDefaultInstance() - : identityList_; + return identityList_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; } else { return identityListBuilder_.getMessage(); } } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ - public Builder setIdentityList( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { + public Builder setIdentityList(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { if (identityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11482,19 +9884,15 @@ public Builder setIdentityList( return this; } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ public Builder setIdentityList( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder - builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder builderForValue) { if (identityListBuilder_ == null) { identityList_ = builderForValue.build(); onChanged(); @@ -11505,25 +9903,18 @@ public Builder setIdentityList( return this; } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ - public Builder mergeIdentityList( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { + public Builder mergeIdentityList(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { if (identityListBuilder_ == null) { if (identityList_ != null) { identityList_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder( - identityList_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder(identityList_).mergeFrom(value).buildPartial(); } else { identityList_ = value; } @@ -11535,15 +9926,12 @@ public Builder mergeIdentityList( return this; } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ public Builder clearIdentityList() { if (identityListBuilder_ == null) { @@ -11557,83 +9945,64 @@ public Builder clearIdentityList() { return this; } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder - getIdentityListBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder getIdentityListBuilder() { + onChanged(); return getIdentityListFieldBuilder().getBuilder(); } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder - getIdentityListOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() { if (identityListBuilder_ != null) { return identityListBuilder_.getMessageOrBuilder(); } else { - return identityList_ == null - ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList - .getDefaultInstance() - : identityList_; + return identityList_ == null ? + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; } } /** - * - * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> getIdentityListFieldBuilder() { if (identityListBuilder_ == null) { - identityListBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder>( - getIdentityList(), getParentForChildren(), isClean()); + identityListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder>( + getIdentityList(), + getParentForChildren(), + isClean()); identityList_ = null; } return identityListBuilder_; } - private boolean fullyExplored_; + private boolean fullyExplored_ ; /** - * - * *
      * Represents whether all nodes in the transitive closure of the
      * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
      * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ @java.lang.Override @@ -11641,45 +10010,39 @@ public boolean getFullyExplored() { return fullyExplored_; } /** - * - * *
      * Represents whether all nodes in the transitive closure of the
      * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
      * 
* * bool fully_explored = 5; - * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** - * - * *
      * Represents whether all nodes in the transitive closure of the
      * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
      * 
* * bool fully_explored = 5; - * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = 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); } @@ -11689,12 +10052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(); } @@ -11703,16 +10066,16 @@ public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11727,4 +10090,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java similarity index 69% rename from proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java index 6f6947fd1..7e6092f3b 100644 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java +++ b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java @@ -1,80 +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/asset/v1p4beta1/assets.proto package com.google.cloud.asset.v1p4beta1; -public interface IamPolicyAnalysisResultOrBuilder - extends +public interface IamPolicyAnalysisResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; - * * @return The attachedResourceFullName. */ java.lang.String getAttachedResourceFullName(); /** - * - * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; - * * @return The bytes for attachedResourceFullName. */ - com.google.protobuf.ByteString getAttachedResourceFullNameBytes(); + com.google.protobuf.ByteString + getAttachedResourceFullNameBytes(); /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return Whether the iamBinding field is set. */ boolean hasIamBinding(); /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; - * * @return The iamBinding. */ com.google.iam.v1.Binding getIamBinding(); /** - * - * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -84,129 +55,91 @@ public interface IamPolicyAnalysisResultOrBuilder com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder(); /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - java.util.List + java.util.List getAccessControlListsList(); /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index); /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ int getAccessControlListsCount(); /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - java.util.List< - ? extends - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + java.util.List getAccessControlListsOrBuilderList(); /** - * - * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; - * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder - getAccessControlListsOrBuilder(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( + int index); /** - * - * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; * @return Whether the identityList field is set. */ boolean hasIdentityList(); /** - * - * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; * @return The identityList. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getIdentityList(); /** - * - * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; - * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder - getIdentityListOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder(); /** - * - * *
    * Represents whether all nodes in the transitive closure of the
    * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
    * 
* * bool fully_explored = 5; - * * @return The fullyExplored. */ boolean getFullyExplored(); diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto similarity index 100% rename from proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto similarity index 100% rename from proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto rename to owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java similarity index 96% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java index 32d438775..46e4ee2d8 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java +++ b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java @@ -66,13 +66,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. *
* @@ -306,10 +306,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAssetsPagedResponse extends AbstractPagedListResponse< - ListAssetsRequest, - ListAssetsResponse, - Asset, - ListAssetsPage, + ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, ListAssetsFixedSizeCollection> { public static ApiFuture createAsync( @@ -356,10 +353,7 @@ public ApiFuture createPageAsync( public static class ListAssetsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAssetsRequest, - ListAssetsResponse, - Asset, - ListAssetsPage, + ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, ListAssetsFixedSizeCollection> { private ListAssetsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java similarity index 95% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java index e3c529721..6cf167869 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java +++ b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p5beta1.stub.AssetServiceStubSettings; @@ -42,9 +43,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java similarity index 98% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java index bc768614f..5d9156b55 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java @@ -62,9 +62,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java index 52ebbf4ba..9be0edcf0 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java @@ -32,6 +32,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java b/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java rename to owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java diff --git a/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java similarity index 50% rename from grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java rename to owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java index 9172d7616..f931499fa 100644 --- a/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java +++ b/owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.asset.v1p5beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Asset service definition.
  * 
@@ -35,176 +18,150 @@ private AssetServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.asset.v1p5beta1.AssetService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p5beta1.ListAssetsRequest, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse> - getListAssetsMethod; + private static volatile io.grpc.MethodDescriptor getListAssetsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListAssets", requestType = com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, responseType = com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p5beta1.ListAssetsRequest, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse> - getListAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p5beta1.ListAssetsRequest, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse> - getListAssetsMethod; + public static io.grpc.MethodDescriptor getListAssetsMethod() { + io.grpc.MethodDescriptor getListAssetsMethod; if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { synchronized (AssetServiceGrpc.class) { if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { - AssetServiceGrpc.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.asset.v1p5beta1.ListAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) - .build(); + AssetServiceGrpc.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.asset.v1p5beta1.ListAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) + .build(); } } } return getListAssetsMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static AssetServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; return AssetServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static AssetServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; return AssetServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AssetServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; return AssetServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Asset service definition.
    * 
*/ - public abstract static class AssetServiceImplBase implements io.grpc.BindableService { + public static abstract class AssetServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public void listAssets( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p5beta1.ListAssetsRequest, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse>( - this, METHODID_LIST_ASSETS))) + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse>( + this, METHODID_LIST_ASSETS))) .build(); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected AssetServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AssetServiceStub(channel, callOptions); } /** - * - * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public void listAssets( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -215,30 +172,25 @@ protected AssetServiceBlockingStub build( } /** - * - * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public com.google.cloud.asset.v1p5beta1.ListAssetsResponse listAssets( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { + public com.google.cloud.asset.v1p5beta1.ListAssetsResponse listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAssetsMethod(), getCallOptions(), request); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -249,16 +201,13 @@ protected AssetServiceFutureStub build( } /** - * - * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.asset.v1p5beta1.ListAssetsResponse> - listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listAssets( + com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); } @@ -266,11 +215,11 @@ protected AssetServiceFutureStub build( private static final int METHODID_LIST_ASSETS = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AssetServiceImplBase serviceImpl; private final int methodId; @@ -284,10 +233,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_ASSETS: - serviceImpl.listAssets( - (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listAssets((com.google.cloud.asset.v1p5beta1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -305,9 +252,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { AssetServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -349,12 +295,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (AssetServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getListAssetsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getListAssetsMethod()) + .build(); } } } diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java similarity index 73% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java index 47f349745..a74a13f4f 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/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/asset/v1p5beta1/assets.proto package com.google.cloud.asset.v1p5beta1; /** - * - * *
  * Cloud asset. This includes all Google Cloud Platform resources,
  * Cloud IAM policies, and other non-GCP assets.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.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_ = "";
     assetType_ = "";
@@ -47,15 +29,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)
@@ -75,143 +58,111 @@ 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;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1p5beta1.Resource.Builder subBuilder = null;
+            if (resource_ != null) {
+              subBuilder = resource_.toBuilder();
+            }
+            resource_ = input.readMessage(com.google.cloud.asset.v1p5beta1.Resource.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(resource_);
+              resource_ = subBuilder.buildPartial();
+            }
 
-              name_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            com.google.iam.v1.Policy.Builder subBuilder = null;
+            if (iamPolicy_ != null) {
+              subBuilder = iamPolicy_.toBuilder();
+            }
+            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamPolicy_);
+              iamPolicy_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              orgPolicy_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1p5beta1.Resource.Builder subBuilder = null;
-              if (resource_ != null) {
-                subBuilder = resource_.toBuilder();
-              }
-              resource_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p5beta1.Resource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-
-              break;
+            orgPolicy_.add(
+                input.readMessage(com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 7) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_).toBuilder();
             }
-          case 34:
-            {
-              com.google.iam.v1.Policy.Builder subBuilder = null;
-              if (iamPolicy_ != null) {
-                subBuilder = iamPolicy_.toBuilder();
-              }
-              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamPolicy_);
-                iamPolicy_ = subBuilder.buildPartial();
-              }
-
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                orgPolicy_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              orgPolicy_.add(
-                  input.readMessage(
-                      com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
-              break;
+            accessContextPolicyCase_ = 7;
+            break;
+          }
+          case 66: {
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 8) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_).toBuilder();
             }
-          case 58:
-            {
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
-              if (accessContextPolicyCase_ == 7) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                            accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                        accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 7;
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessLevel.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
-              if (accessContextPolicyCase_ == 8) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.AccessLevel.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 8;
-              break;
+            accessContextPolicyCase_ = 8;
+            break;
+          }
+          case 74: {
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 9) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_).toBuilder();
             }
-          case 74:
-            {
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder =
-                  null;
-              if (accessContextPolicyCase_ == 9) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                            accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                        accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 9;
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                ancestors_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              ancestors_.add(s);
-              break;
+            accessContextPolicyCase_ = 9;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              ancestors_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ancestors_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -219,7 +170,8 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = java.util.Collections.unmodifiableList(orgPolicy_);
@@ -231,35 +183,29 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1p5beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p5beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p5beta1.Asset.class,
-            com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
+            com.google.cloud.asset.v1p5beta1.Asset.class, com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
   }
 
   private int accessContextPolicyCase_ = 0;
   private java.lang.Object accessContextPolicy_;
-
   public enum AccessContextPolicyCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ACCESS_POLICY(7),
     ACCESS_LEVEL(8),
     SERVICE_PERIMETER(9),
     ACCESSCONTEXTPOLICY_NOT_SET(0);
     private final int value;
-
     private AccessContextPolicyCase(int value) {
       this.value = value;
     }
@@ -275,33 +221,27 @@ public static AccessContextPolicyCase valueOf(int value) {
 
     public static AccessContextPolicyCase forNumber(int value) {
       switch (value) {
-        case 7:
-          return ACCESS_POLICY;
-        case 8:
-          return ACCESS_LEVEL;
-        case 9:
-          return SERVICE_PERIMETER;
-        case 0:
-          return ACCESSCONTEXTPOLICY_NOT_SET;
-        default:
-          return null;
+        case 7: return ACCESS_POLICY;
+        case 8: return ACCESS_LEVEL;
+        case 9: return SERVICE_PERIMETER;
+        case 0: return ACCESSCONTEXTPOLICY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AccessContextPolicyCase getAccessContextPolicyCase() {
-    return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
+  public AccessContextPolicyCase
+  getAccessContextPolicyCase() {
+    return AccessContextPolicyCase.forNumber(
+        accessContextPolicyCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -311,7 +251,6 @@ public AccessContextPolicyCase getAccessContextPolicyCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -320,15 +259,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 full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -338,15 +276,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 { @@ -357,14 +296,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -373,29 +309,29 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -406,14 +342,11 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p5beta1.Resource resource_; /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -421,25 +354,18 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return The resource. */ @java.lang.Override public com.google.cloud.asset.v1p5beta1.Resource getResource() { - return resource_ == null - ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; } /** - * - * *
    * Representation of the resource.
    * 
@@ -454,15 +380,12 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -470,15 +393,12 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -486,8 +406,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -503,8 +421,6 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
   private java.util.List orgPolicy_;
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -518,8 +434,6 @@ public java.util.List getOrgPolicyList() {
     return orgPolicy_;
   }
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -529,13 +443,11 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOrgPolicyOrBuilderList() {
     return orgPolicy_;
   }
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -549,8 +461,6 @@ public int getOrgPolicyCount() {
     return orgPolicy_.size();
   }
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -564,8 +474,6 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
     return orgPolicy_.get(index);
   }
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -575,14 +483,14 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
+  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+      int index) {
     return orgPolicy_.get(index);
   }
 
   public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-   *
    * @return Whether the accessPolicy field is set.
    */
   @java.lang.Override
@@ -591,22 +499,22 @@ public boolean hasAccessPolicy() {
   }
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-   *
    * @return The accessPolicy.
    */
   @java.lang.Override
   public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() {
     if (accessContextPolicyCase_ == 7) {
-      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
-  /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+  /**
+   * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+   */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
-      getAccessPolicyOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
     if (accessContextPolicyCase_ == 7) {
-      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
@@ -614,7 +522,6 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
   public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-   *
    * @return Whether the accessLevel field is set.
    */
   @java.lang.Override
@@ -623,22 +530,22 @@ public boolean hasAccessLevel() {
   }
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-   *
    * @return The accessLevel.
    */
   @java.lang.Override
   public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() {
     if (accessContextPolicyCase_ == 8) {
-      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
-  /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+  /**
+   * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+   */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
-      getAccessLevelOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
     if (accessContextPolicyCase_ == 8) {
-      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
@@ -646,7 +553,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
   public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
-   *
    * @return Whether the servicePerimeter field is set.
    */
   @java.lang.Override
@@ -655,13 +561,12 @@ public boolean hasServicePerimeter() {
   }
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
-   *
    * @return The servicePerimeter.
    */
   @java.lang.Override
   public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() {
     if (accessContextPolicyCase_ == 9) {
-      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -669,10 +574,9 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-      getServicePerimeterOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
     if (accessContextPolicyCase_ == 9) {
-      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -680,8 +584,6 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
   public static final int ANCESTORS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList ancestors_;
   /**
-   *
-   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -691,15 +593,13 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_; } /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -709,15 +609,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
    * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -727,7 +624,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -735,8 +631,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -746,16 +640,15 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,7 +660,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -784,16 +678,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - output.writeMessage( - 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + output.writeMessage(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - output.writeMessage( - 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + output.writeMessage(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - output.writeMessage( - 9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + output.writeMessage(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i)); @@ -814,29 +705,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getIamPolicy()); } for (int i = 0; i < orgPolicy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, orgPolicy_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } { int dataSize = 0; @@ -854,35 +744,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.asset.v1p5beta1.Asset)) { return super.equals(obj); } com.google.cloud.asset.v1p5beta1.Asset other = (com.google.cloud.asset.v1p5beta1.Asset) obj; - if (!getName().equals(other.getName())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) 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 (!getOrgPolicyList().equals(other.getOrgPolicyList())) return false; - if (!getAncestorsList().equals(other.getAncestorsList())) return false; + if (!getOrgPolicyList() + .equals(other.getOrgPolicyList())) return false; + if (!getAncestorsList() + .equals(other.getAncestorsList())) return false; if (!getAccessContextPolicyCase().equals(other.getAccessContextPolicyCase())) return false; switch (accessContextPolicyCase_) { case 7: - if (!getAccessPolicy().equals(other.getAccessPolicy())) return false; + if (!getAccessPolicy() + .equals(other.getAccessPolicy())) return false; break; case 8: - if (!getAccessLevel().equals(other.getAccessLevel())) return false; + if (!getAccessLevel() + .equals(other.getAccessLevel())) return false; break; case 9: - if (!getServicePerimeter().equals(other.getServicePerimeter())) return false; + if (!getServicePerimeter() + .equals(other.getServicePerimeter())) return false; break; case 0: default: @@ -939,104 +838,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p5beta1.Asset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p5beta1.Asset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.Asset 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.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.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; } /** - * - * *
    * Cloud asset. This includes all Google Cloud Platform resources,
    * Cloud IAM policies, and other non-GCP assets.
@@ -1044,23 +936,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset)
       com.google.cloud.asset.v1p5beta1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p5beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p5beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p5beta1.Asset.class,
-              com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
+              com.google.cloud.asset.v1p5beta1.Asset.class, com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p5beta1.Asset.newBuilder()
@@ -1068,17 +958,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) {
         getOrgPolicyFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1112,9 +1002,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p5beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -1133,8 +1023,7 @@ public com.google.cloud.asset.v1p5beta1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p5beta1.Asset buildPartial() {
-      com.google.cloud.asset.v1p5beta1.Asset result =
-          new com.google.cloud.asset.v1p5beta1.Asset(this);
+      com.google.cloud.asset.v1p5beta1.Asset result = new com.google.cloud.asset.v1p5beta1.Asset(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.assetType_ = assetType_;
@@ -1192,39 +1081,38 @@ public com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1p5beta1.Asset) other);
+        return mergeFrom((com.google.cloud.asset.v1p5beta1.Asset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1265,10 +1153,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyFieldBuilder()
-                    : null;
+            orgPolicyBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyFieldBuilder() : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1285,25 +1172,21 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.Asset other) {
         onChanged();
       }
       switch (other.getAccessContextPolicyCase()) {
-        case ACCESS_POLICY:
-          {
-            mergeAccessPolicy(other.getAccessPolicy());
-            break;
-          }
-        case ACCESS_LEVEL:
-          {
-            mergeAccessLevel(other.getAccessLevel());
-            break;
-          }
-        case SERVICE_PERIMETER:
-          {
-            mergeServicePerimeter(other.getServicePerimeter());
-            break;
-          }
-        case ACCESSCONTEXTPOLICY_NOT_SET:
-          {
-            break;
-          }
+        case ACCESS_POLICY: {
+          mergeAccessPolicy(other.getAccessPolicy());
+          break;
+        }
+        case ACCESS_LEVEL: {
+          mergeAccessLevel(other.getAccessLevel());
+          break;
+        }
+        case SERVICE_PERIMETER: {
+          mergeServicePerimeter(other.getServicePerimeter());
+          break;
+        }
+        case ACCESSCONTEXTPOLICY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1333,12 +1216,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int accessContextPolicyCase_ = 0;
     private java.lang.Object accessContextPolicy_;
-
-    public AccessContextPolicyCase getAccessContextPolicyCase() {
-      return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
+    public AccessContextPolicyCase
+        getAccessContextPolicyCase() {
+      return AccessContextPolicyCase.forNumber(
+          accessContextPolicyCase_);
     }
 
     public Builder clearAccessContextPolicy() {
@@ -1352,8 +1235,6 @@ public Builder clearAccessContextPolicy() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1363,13 +1244,13 @@ public Builder clearAccessContextPolicy() {
      * 
* * 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; @@ -1378,8 +1259,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1389,14 +1268,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 { @@ -1404,8 +1284,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1415,22 +1293,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 full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1440,18 +1316,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 full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1461,16 +1334,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; @@ -1478,20 +1351,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1500,21 +1371,20 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -1522,61 +1392,54 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1584,47 +1447,34 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p5beta1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Resource, - com.google.cloud.asset.v1p5beta1.Resource.Builder, - com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> - resourceBuilder_; + com.google.cloud.asset.v1p5beta1.Resource, com.google.cloud.asset.v1p5beta1.Resource.Builder, com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> resourceBuilder_; /** - * - * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** - * - * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return The resource. */ public com.google.cloud.asset.v1p5beta1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * Representation of the resource.
      * 
@@ -1645,15 +1495,14 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** - * - * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; */ - public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource.Builder builderForValue) { + public Builder setResource( + com.google.cloud.asset.v1p5beta1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1664,8 +1513,6 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource.Builder bui return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1676,9 +1523,7 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1p5beta1.Resource.newBuilder(resource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p5beta1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -1690,8 +1535,6 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1710,8 +1553,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * Representation of the resource.
      * 
@@ -1719,13 +1560,11 @@ public Builder clearResource() { * .google.cloud.asset.v1p5beta1.Resource resource = 3; */ public com.google.cloud.asset.v1p5beta1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * Representation of the resource.
      * 
@@ -1736,14 +1575,11 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; } } /** - * - * *
      * Representation of the resource.
      * 
@@ -1751,17 +1587,14 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() * .google.cloud.asset.v1p5beta1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Resource, - com.google.cloud.asset.v1p5beta1.Resource.Builder, - com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> + com.google.cloud.asset.v1p5beta1.Resource, com.google.cloud.asset.v1p5beta1.Resource.Builder, com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Resource, - com.google.cloud.asset.v1p5beta1.Resource.Builder, - com.google.cloud.asset.v1p5beta1.ResourceOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p5beta1.Resource, com.google.cloud.asset.v1p5beta1.Resource.Builder, com.google.cloud.asset.v1p5beta1.ResourceOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; @@ -1769,35 +1602,26 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - iamPolicyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; /** - * - * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** - * - * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1808,8 +1632,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1831,8 +1653,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1840,7 +1660,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -1851,8 +1672,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1864,7 +1683,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -1876,8 +1695,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1897,8 +1714,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1907,13 +1722,11 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-
+      
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1925,12 +1738,11 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1939,41 +1751,32 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(), getParentForChildren(), isClean());
+        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(),
+                getParentForChildren(),
+                isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
     private java.util.List orgPolicy_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy,
-            com.google.cloud.orgpolicy.v1.Policy.Builder,
-            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
-        orgPolicyBuilder_;
+        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> orgPolicyBuilder_;
 
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1990,8 +1793,6 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2008,8 +1809,6 @@ public int getOrgPolicyCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2026,8 +1825,6 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2036,7 +1833,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder setOrgPolicy(
+        int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2050,8 +1848,6 @@ public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2072,8 +1868,6 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2096,8 +1890,6 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2106,7 +1898,8 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder addOrgPolicy(
+        int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2120,8 +1913,6 @@ public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2130,7 +1921,8 @@ public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
+    public Builder addOrgPolicy(
+        com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
         orgPolicy_.add(builderForValue.build());
@@ -2141,8 +1933,6 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2163,8 +1953,6 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2177,7 +1965,8 @@ public Builder addAllOrgPolicy(
         java.lang.Iterable values) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, orgPolicy_);
         onChanged();
       } else {
         orgPolicyBuilder_.addAllMessages(values);
@@ -2185,8 +1974,6 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2206,8 +1993,6 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2227,8 +2012,6 @@ public Builder removeOrgPolicy(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2237,12 +2020,11 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int index) {
+    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
+        int index) {
       return getOrgPolicyFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2251,16 +2033,14 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int inde
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
+    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+        int index) {
       if (orgPolicyBuilder_ == null) {
-        return orgPolicy_.get(index);
-      } else {
+        return orgPolicy_.get(index);  } else {
         return orgPolicyBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2269,8 +2049,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List
-        getOrgPolicyOrBuilderList() {
+    public java.util.List 
+         getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -2278,8 +2058,6 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2289,12 +2067,10 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
     public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
-      return getOrgPolicyFieldBuilder()
-          .addBuilder(com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+      return getOrgPolicyFieldBuilder().addBuilder(
+          com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2303,13 +2079,12 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int index) {
-      return getOrgPolicyFieldBuilder()
-          .addBuilder(index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
+        int index) {
+      return getOrgPolicyFieldBuilder().addBuilder(
+          index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2318,35 +2093,29 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int inde
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List getOrgPolicyBuilderList() {
+    public java.util.List 
+         getOrgPolicyBuilderList() {
       return getOrgPolicyFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy,
-            com.google.cloud.orgpolicy.v1.Policy.Builder,
-            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
+        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 
         getOrgPolicyFieldBuilder() {
       if (orgPolicyBuilder_ == null) {
-        orgPolicyBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.orgpolicy.v1.Policy,
-                com.google.cloud.orgpolicy.v1.Policy.Builder,
-                com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
-                orgPolicy_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        orgPolicyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
+                orgPolicy_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy,
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
-        accessPolicyBuilder_;
+        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> accessPolicyBuilder_;
     /**
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     *
      * @return Whether the accessPolicy field is set.
      */
     @java.lang.Override
@@ -2355,7 +2124,6 @@ public boolean hasAccessPolicy() {
     }
     /**
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     *
      * @return The accessPolicy.
      */
     @java.lang.Override
@@ -2372,7 +2140,9 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
         return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
       }
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
     public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
         if (value == null) {
@@ -2386,7 +2156,9 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       accessContextPolicyCase_ = 7;
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
     public Builder setAccessPolicy(
         com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue) {
       if (accessPolicyBuilder_ == null) {
@@ -2398,19 +2170,15 @@ public Builder setAccessPolicy(
       accessContextPolicyCase_ = 7;
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
-    public Builder mergeAccessPolicy(
-        com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
+    public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
-        if (accessContextPolicyCase_ == 7
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 7 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2425,7 +2193,9 @@ public Builder mergeAccessPolicy(
       accessContextPolicyCase_ = 7;
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
     public Builder clearAccessPolicy() {
       if (accessPolicyBuilder_ == null) {
         if (accessContextPolicyCase_ == 7) {
@@ -2442,15 +2212,17 @@ public Builder clearAccessPolicy() {
       }
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
-    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
-        getAccessPolicyBuilder() {
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
+    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder() {
       return getAccessPolicyFieldBuilder().getBuilder();
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
-        getAccessPolicyOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
       if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
         return accessPolicyBuilder_.getMessageOrBuilder();
       } else {
@@ -2460,41 +2232,32 @@ public Builder clearAccessPolicy() {
         return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
       }
     }
-    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy,
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
+        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> 
         getAccessPolicyFieldBuilder() {
       if (accessPolicyBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 7)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
         }
-        accessPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.AccessPolicy,
-                com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-                com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
+        accessPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 7;
-      onChanged();
-      ;
+      onChanged();;
       return accessPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel,
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
-        accessLevelBuilder_;
+        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> accessLevelBuilder_;
     /**
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     *
      * @return Whether the accessLevel field is set.
      */
     @java.lang.Override
@@ -2503,7 +2266,6 @@ public boolean hasAccessLevel() {
     }
     /**
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     *
      * @return The accessLevel.
      */
     @java.lang.Override
@@ -2520,7 +2282,9 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
         return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
       }
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
         if (value == null) {
@@ -2534,7 +2298,9 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       accessContextPolicyCase_ = 8;
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     public Builder setAccessLevel(
         com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue) {
       if (accessLevelBuilder_ == null) {
@@ -2546,18 +2312,15 @@ public Builder setAccessLevel(
       accessContextPolicyCase_ = 8;
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
-        if (accessContextPolicyCase_ == 8
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.AccessLevel)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 8 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2572,7 +2335,9 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       accessContextPolicyCase_ = 8;
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     public Builder clearAccessLevel() {
       if (accessLevelBuilder_ == null) {
         if (accessContextPolicyCase_ == 8) {
@@ -2589,14 +2354,17 @@ public Builder clearAccessLevel() {
       }
       return this;
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccessLevelBuilder() {
       return getAccessLevelFieldBuilder().getBuilder();
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
-        getAccessLevelOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
       if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
         return accessLevelBuilder_.getMessageOrBuilder();
       } else {
@@ -2606,41 +2374,32 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
         return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
       }
     }
-    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+    /**
+     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel,
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
+        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> 
         getAccessLevelFieldBuilder() {
       if (accessLevelBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 8)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
         }
-        accessLevelBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.AccessLevel,
-                com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-                com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
+        accessLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 8;
-      onChanged();
-      ;
+      onChanged();;
       return accessLevelBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
-        servicePerimeterBuilder_;
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> servicePerimeterBuilder_;
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
-     *
      * @return Whether the servicePerimeter field is set.
      */
     @java.lang.Override
@@ -2649,15 +2408,13 @@ public boolean hasServicePerimeter() {
     }
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
-     *
      * @return The servicePerimeter.
      */
     @java.lang.Override
     public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() {
       if (servicePerimeterBuilder_ == null) {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-              accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       } else {
@@ -2670,8 +2427,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder setServicePerimeter(
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2701,19 +2457,12 @@ public Builder setServicePerimeter(
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder mergeServicePerimeter(
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
-        if (accessContextPolicyCase_ == 9
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.ServicePerimeter
-                    .getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 9 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2750,22 +2499,19 @@ public Builder clearServicePerimeter() {
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
-        getServicePerimeterBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder() {
       return getServicePerimeterFieldBuilder().getBuilder();
     }
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-        getServicePerimeterOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
       if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
         return servicePerimeterBuilder_.getMessageOrBuilder();
       } else {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-              accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       }
@@ -2774,43 +2520,32 @@ public Builder clearServicePerimeter() {
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> 
         getServicePerimeterFieldBuilder() {
       if (servicePerimeterBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 9)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
         }
-        servicePerimeterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-                com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-                com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
+        servicePerimeterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 9;
-      onChanged();
-      ;
+      onChanged();;
       return servicePerimeterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList ancestors_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAncestorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2820,15 +2555,13 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2838,15 +2571,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
      * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2856,7 +2586,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -2864,8 +2593,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2875,16 +2602,14 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2894,23 +2619,21 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
      * 
* * repeated string ancestors = 10; - * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors(int index, java.lang.String value) { + public Builder setAncestors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2920,22 +2643,20 @@ public Builder setAncestors(int index, java.lang.String value) {
      * 
* * repeated string ancestors = 10; - * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors(java.lang.String value) { + public Builder addAncestors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2945,19 +2666,18 @@ public Builder addAncestors(java.lang.String value) {
      * 
* * repeated string ancestors = 10; - * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors(java.lang.Iterable values) { + public Builder addAllAncestors( + java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ancestors_); onChanged(); return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2967,7 +2687,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 10; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -2977,8 +2696,6 @@ public Builder clearAncestors() { return this; } /** - * - * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2988,23 +2705,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 10; - * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -3014,12 +2731,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.Asset) private static final com.google.cloud.asset.v1p5beta1.Asset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.Asset(); } @@ -3028,16 +2745,16 @@ public static com.google.cloud.asset.v1p5beta1.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; @@ -3052,4 +2769,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java similarity index 84% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java index 7deffbed1..c54c20d16 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/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/asset/v1p5beta1/assets.proto package com.google.cloud.asset.v1p5beta1; -public interface AssetOrBuilder - extends +public interface AssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.Asset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -35,13 +17,10 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -51,63 +30,50 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; - * * @return The resource. */ com.google.cloud.asset.v1p5beta1.Resource getResource(); /** - * - * *
    * Representation of the resource.
    * 
@@ -117,34 +83,26 @@ public interface AssetOrBuilder com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder(); /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** - * - * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -155,8 +113,6 @@ public interface AssetOrBuilder
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -165,10 +121,9 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List getOrgPolicyList();
+  java.util.List 
+      getOrgPolicyList();
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -179,8 +134,6 @@ public interface AssetOrBuilder
    */
   com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index);
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -191,8 +144,6 @@ public interface AssetOrBuilder
    */
   int getOrgPolicyCount();
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -201,11 +152,9 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List
+  java.util.List 
       getOrgPolicyOrBuilderList();
   /**
-   *
-   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -214,59 +163,55 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+      int index);
 
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-   *
    * @return Whether the accessPolicy field is set.
    */
   boolean hasAccessPolicy();
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-   *
    * @return The accessPolicy.
    */
   com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy();
-  /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+  /**
+   * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+   */
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-   *
    * @return Whether the accessLevel field is set.
    */
   boolean hasAccessLevel();
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-   *
    * @return The accessLevel.
    */
   com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel();
-  /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
+  /**
+   * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+   */
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
-   *
    * @return Whether the servicePerimeter field is set.
    */
   boolean hasServicePerimeter();
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
-   *
    * @return The servicePerimeter.
    */
   com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter();
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
-  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-      getServicePerimeterOrBuilder();
+  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder();
 
   /**
-   *
-   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -276,13 +221,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - java.util.List getAncestorsList(); + java.util.List + getAncestorsList(); /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -292,13 +235,10 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ int getAncestorsCount(); /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -308,14 +248,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** - * - * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -325,12 +262,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString getAncestorsBytes(int index); + com.google.protobuf.ByteString + getAncestorsBytes(int index); - public com.google.cloud.asset.v1p5beta1.Asset.AccessContextPolicyCase - getAccessContextPolicyCase(); + public com.google.cloud.asset.v1p5beta1.Asset.AccessContextPolicyCase getAccessContextPolicyCase(); } diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java new file mode 100644 index 000000000..ed4e4aa79 --- /dev/null +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p5beta1/assets.proto + +package com.google.cloud.asset.v1p5beta1; + +public final class AssetProto { + private AssetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p5beta1_Asset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/asset/v1p5beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p5beta1\032\034googl" + + "e/api/annotations.proto\032\031google/api/reso" + + "urce.proto\032)google/cloud/orgpolicy/v1/or" + + "gpolicy.proto\032\032google/iam/v1/policy.prot" + + "o\032:google/identity/accesscontextmanager/" + + "v1/access_level.proto\032;google/identity/a" + + "ccesscontextmanager/v1/access_policy.pro" + + "to\032?google/identity/accesscontextmanager" + + "/v1/service_perimeter.proto\032\031google/prot" + + "obuf/any.proto\032\034google/protobuf/struct.p" + + "roto\032\037google/protobuf/timestamp.proto\"\220\004" + + "\n\005Asset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" + + "\t\0228\n\010resource\030\003 \001(\0132&.google.cloud.asset" + + ".v1p5beta1.Resource\022)\n\niam_policy\030\004 \001(\0132" + + "\025.google.iam.v1.Policy\0225\n\norg_policy\030\006 \003" + + "(\0132!.google.cloud.orgpolicy.v1.Policy\022N\n" + + "\raccess_policy\030\007 \001(\01325.google.identity.a" + + "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" + + "\014access_level\030\010 \001(\01324.google.identity.ac" + + "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" + + "ervice_perimeter\030\t \001(\01329.google.identity" + + ".accesscontextmanager.v1.ServicePerimete" + + "rH\000\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." + + "googleapis.com/Asset\022\001*B\027\n\025access_contex" + + "t_policy\"\240\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" + + "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" + + "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" + + "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" + + "obuf.StructB\264\001\n com.google.cloud.asset.v" + + "1p5beta1B\nAssetProtoP\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/asset/v1p5be" + + "ta1;asset\370\001\001\252\002\034Google.Cloud.Asset.V1p5Be" + + "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor, + new java.lang.String[] { "Name", "AssetType", "Resource", "IamPolicy", "OrgPolicy", "AccessPolicy", "AccessLevel", "ServicePerimeter", "Ancestors", "AccessContextPolicy", }); + internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor, + new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java new file mode 100644 index 000000000..444c8baba --- /dev/null +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java @@ -0,0 +1,104 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p5beta1/asset_service.proto + +package com.google.cloud.asset.v1p5beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p5beta1_ListAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_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/asset/v1p5beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p5beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032)google/cloud/asset/v1p5beta1/a" + + "ssets.proto\032\037google/protobuf/timestamp.p" + + "roto\"\324\001\n\021ListAssetsRequest\022\023\n\006parent\030\001 \001" + + "(\tB\003\340A\002\022-\n\tread_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t\022?\n\014c" + + "ontent_type\030\004 \001(\0162).google.cloud.asset.v" + + "1p5beta1.ContentType\022\021\n\tpage_size\030\005 \001(\005\022" + + "\022\n\npage_token\030\006 \001(\t\"\221\001\n\022ListAssetsRespon" + + "se\022-\n\tread_time\030\001 \001(\0132\032.google.protobuf." + + "Timestamp\0223\n\006assets\030\002 \003(\0132#.google.cloud" + + ".asset.v1p5beta1.Asset\022\027\n\017next_page_toke" + + "n\030\003 \001(\t*l\n\013ContentType\022\034\n\030CONTENT_TYPE_U" + + "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" + + "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\0052\367\001" + + "\n\014AssetService\022\227\001\n\nListAssets\022/.google.c" + + "loud.asset.v1p5beta1.ListAssetsRequest\0320" + + ".google.cloud.asset.v1p5beta1.ListAssets" + + "Response\"&\202\323\344\223\002 \022\036/v1p5beta1/{parent=*/*" + + "}/assets\032M\312A\031cloudasset.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\270\001\n com.google.cloud.asset.v1p5b" + + "eta1B\021AssetServiceProtoP\001ZAgoogle.golang" + + ".org/genproto/googleapis/cloud/asset/v1p" + + "5beta1;asset\252\002\034Google.Cloud.Asset.V1P5Be" + + "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor, + new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "PageSize", "PageToken", }); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor, + new java.lang.String[] { "ReadTime", "Assets", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java similarity index 69% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java index fed8739eb..edc9ca3e0 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; /** - * - * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1p5beta1.ContentType} */ -public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified content type.
    * 
@@ -39,8 +21,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ CONTENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource metadata.
    * 
@@ -49,8 +29,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE(1), /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -59,8 +37,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ IAM_POLICY(2), /** - * - * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -69,8 +45,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ORG_POLICY(4), /** - * - * *
    * The Cloud Access context mananger Policy set on an asset.
    * 
@@ -82,8 +56,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified content type.
    * 
@@ -92,8 +64,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource metadata.
    * 
@@ -102,8 +72,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_VALUE = 1; /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -112,8 +80,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IAM_POLICY_VALUE = 2; /** - * - * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -122,8 +88,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORG_POLICY_VALUE = 4; /** - * - * *
    * The Cloud Access context mananger Policy set on an asset.
    * 
@@ -132,6 +96,7 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCESS_POLICY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,53 +121,51 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: - return CONTENT_TYPE_UNSPECIFIED; - case 1: - return RESOURCE; - case 2: - return IAM_POLICY; - case 4: - return ORG_POLICY; - case 5: - return ACCESS_POLICY; - default: - return null; + case 0: return CONTENT_TYPE_UNSPECIFIED; + case 1: return RESOURCE; + case 2: return IAM_POLICY; + case 4: return ORG_POLICY; + case 5: return ACCESS_POLICY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ContentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.asset.v1p5beta1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType 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; @@ -218,3 +181,4 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1p5beta1.ContentType) } + diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java similarity index 78% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java index ae570bd57..b5cfe3b32 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.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/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; /** - * - * *
  * ListAssets request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsRequest} */ -public final class ListAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p5beta1.ListAssetsRequest) ListAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetsRequest.newBuilder() to construct. private ListAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -46,15 +28,16 @@ private ListAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,64 +57,58 @@ private ListAssetsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - com.google.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; + parent_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 32: - { - int rawValue = input.readEnum(); - contentType_ = rawValue; - break; - } - case 40: - { - pageSize_ = input.readInt32(); - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + assetTypes_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + contentType_ = rawValue; + break; + } + case 40: { + + pageSize_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,7 +116,8 @@ private ListAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -148,27 +126,22 @@ private ListAssetsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, - com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -177,7 +150,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -186,15 +158,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 organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -203,15 +174,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -222,8 +194,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -233,7 +203,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -241,8 +210,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -252,7 +219,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -260,8 +226,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -280,8 +244,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -291,15 +253,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -309,15 +269,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -327,7 +284,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -335,8 +291,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -346,64 +300,52 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p5beta1.ContentType result = - com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p5beta1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -414,8 +356,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** - * - * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -423,7 +363,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -432,15 +371,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 `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -448,15 +386,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; - * * @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 { @@ -465,7 +404,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,7 +415,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -487,8 +426,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (pageSize_ != 0) { @@ -510,7 +448,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -520,12 +459,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); + if (contentType_ != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, contentType_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -538,23 +478,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.asset.v1p5beta1.ListAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p5beta1.ListAssetsRequest other = - (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) obj; + com.google.cloud.asset.v1p5beta1.ListAssetsRequest other = (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) 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 (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -588,126 +532,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.nio.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.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p5beta1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( - byte[] data, com.google.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.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p5beta1.ListAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p5beta1.ListAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListAssets request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p5beta1.ListAssetsRequest) com.google.cloud.asset.v1p5beta1.ListAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, - com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p5beta1.ListAssetsRequest.newBuilder() @@ -715,15 +650,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -747,9 +683,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; } @java.lang.Override @@ -768,8 +704,7 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1p5beta1.ListAssetsRequest buildPartial() { - com.google.cloud.asset.v1p5beta1.ListAssetsRequest result = - new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(this); + com.google.cloud.asset.v1p5beta1.ListAssetsRequest result = new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -793,39 +728,38 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p5beta1.ListAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsRequest) other); + return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -833,8 +767,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsRequest other) { - if (other == com.google.cloud.asset.v1p5beta1.ListAssetsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p5beta1.ListAssetsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -881,8 +814,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -891,13 +823,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -906,13 +835,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -921,8 +850,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -931,14 +858,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -946,8 +874,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -956,22 +882,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -980,18 +904,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -1000,16 +921,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1017,13 +938,8 @@ public Builder setParentBytes(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_; /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1033,15 +949,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1051,7 +964,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1062,8 +974,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1088,8 +998,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1100,7 +1008,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1111,8 +1020,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1127,7 +1034,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;
         }
@@ -1139,8 +1046,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1163,8 +1068,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1176,13 +1079,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1197,12 +1098,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1214,34 +1114,27 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1251,15 +1144,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1269,15 +1160,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1287,7 +1175,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1295,8 +1182,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1306,16 +1191,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1325,23 +1208,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1351,22 +1232,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1376,19 +1255,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1398,7 +1276,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1408,8 +1285,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1419,15 +1294,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1436,69 +1311,55 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p5beta1.ContentType result = - com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p5beta1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1506,41 +1367,35 @@ public Builder setContentType(com.google.cloud.asset.v1p5beta1.ContentType value if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1548,38 +1403,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; - * * @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 assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1587,8 +1436,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1596,13 +1443,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; - * * @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; @@ -1611,8 +1458,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1620,14 +1465,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; - * * @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 { @@ -1635,8 +1481,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1644,22 +1488,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 6; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1667,18 +1509,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1686,23 +1525,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1712,12 +1551,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.ListAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.ListAssetsRequest) private static final com.google.cloud.asset.v1p5beta1.ListAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(); } @@ -1726,16 +1565,16 @@ public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1750,4 +1589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java similarity index 85% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java index 2268b978f..38c78bebe 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.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/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; -public interface ListAssetsRequestOrBuilder - extends +public interface ListAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.ListAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -34,13 +16,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -49,14 +28,12 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -66,13 +43,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -82,13 +56,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -102,8 +73,6 @@ public interface ListAssetsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -113,13 +82,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -129,13 +96,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -145,14 +109,11 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -162,56 +123,45 @@ public interface ListAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; - * * @return The contentType. */ com.google.cloud.asset.v1p5beta1.ContentType getContentType(); /** - * - * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -219,13 +169,10 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -233,8 +180,8 @@ public interface ListAssetsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java similarity index 73% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java index c7122683d..20fa08484 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.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/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; /** - * - * *
  * ListAssets response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsResponse} */ -public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAssetsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p5beta1.ListAssetsResponse) ListAssetsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAssetsResponse.newBuilder() to construct. private ListAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAssetsResponse() { assets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListAssetsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,46 +55,41 @@ private ListAssetsResponse( case 0: done = true; break; - case 10: - { - 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: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assets_.add( - input.readMessage( - com.google.cloud.asset.v1p5beta1.Asset.parser(), extensionRegistry)); - break; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + assets_.add( + input.readMessage(com.google.cloud.asset.v1p5beta1.Asset.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +97,8 @@ private ListAssetsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -128,33 +107,27 @@ private ListAssetsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); } public static final int READ_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -162,14 +135,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -177,8 +147,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -193,8 +161,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** - * - * *
    * Assets.
    * 
@@ -206,8 +172,6 @@ public java.util.List getAssetsList() { return assets_; } /** - * - * *
    * Assets.
    * 
@@ -215,13 +179,11 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** - * - * *
    * Assets.
    * 
@@ -233,8 +195,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * Assets.
    * 
@@ -246,8 +206,6 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * Assets.
    * 
@@ -255,22 +213,20 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( + int index) { return assets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Token to retrieve the next page of results. Set to empty if there are no
    * remaining results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -279,30 +235,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. Set to empty if there are no
    * remaining 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 { @@ -311,7 +267,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +278,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -343,10 +299,12 @@ public int getSerializedSize() { size = 0; if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReadTime()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, assets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -359,20 +317,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.asset.v1p5beta1.ListAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p5beta1.ListAssetsResponse other = - (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) obj; + com.google.cloud.asset.v1p5beta1.ListAssetsResponse other = (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) obj; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (!getAssetsList().equals(other.getAssetsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAssetsList() + .equals(other.getAssetsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -400,126 +360,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.nio.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.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p5beta1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( - byte[] data, com.google.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.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p5beta1.ListAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p5beta1.ListAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListAssets response.
    * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p5beta1.ListAssetsResponse) com.google.cloud.asset.v1p5beta1.ListAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p5beta1.ListAssetsResponse.newBuilder() @@ -527,17 +478,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) { getAssetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +510,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; } @java.lang.Override @@ -580,8 +531,7 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsResponse build() { @java.lang.Override public com.google.cloud.asset.v1p5beta1.ListAssetsResponse buildPartial() { - com.google.cloud.asset.v1p5beta1.ListAssetsResponse result = - new com.google.cloud.asset.v1p5beta1.ListAssetsResponse(this); + com.google.cloud.asset.v1p5beta1.ListAssetsResponse result = new com.google.cloud.asset.v1p5beta1.ListAssetsResponse(this); int from_bitField0_ = bitField0_; if (readTimeBuilder_ == null) { result.readTime_ = readTime_; @@ -606,39 +556,38 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p5beta1.ListAssetsResponse) { - return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsResponse) other); + return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsResponse)other); } else { super.mergeFrom(other); return this; @@ -646,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsResponse other) { - if (other == com.google.cloud.asset.v1p5beta1.ListAssetsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p5beta1.ListAssetsResponse.getDefaultInstance()) return this; if (other.hasReadTime()) { mergeReadTime(other.getReadTime()); } @@ -669,10 +617,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsResponse oth assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -701,8 +648,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -711,38 +657,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; 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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -753,8 +689,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -775,15 +709,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -794,8 +727,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -806,7 +737,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; } @@ -818,8 +749,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -838,8 +767,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -847,13 +774,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -864,12 +789,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 the snapshot was taken.
      * 
@@ -877,41 +801,32 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; } private java.util.List assets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Asset, - com.google.cloud.asset.v1p5beta1.Asset.Builder, - com.google.cloud.asset.v1p5beta1.AssetOrBuilder> - assetsBuilder_; + com.google.cloud.asset.v1p5beta1.Asset, com.google.cloud.asset.v1p5beta1.Asset.Builder, com.google.cloud.asset.v1p5beta1.AssetOrBuilder> assetsBuilder_; /** - * - * *
      * Assets.
      * 
@@ -926,8 +841,6 @@ public java.util.List getAssetsList() { } } /** - * - * *
      * Assets.
      * 
@@ -942,8 +855,6 @@ public int getAssetsCount() { } } /** - * - * *
      * Assets.
      * 
@@ -958,15 +869,14 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { } } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public Builder setAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value) { + public Builder setAssets( + int index, com.google.cloud.asset.v1p5beta1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -980,8 +890,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value return this; } /** - * - * *
      * Assets.
      * 
@@ -1000,8 +908,6 @@ public Builder setAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1022,15 +928,14 @@ public Builder addAssets(com.google.cloud.asset.v1p5beta1.Asset value) { return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public Builder addAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value) { + public Builder addAssets( + int index, com.google.cloud.asset.v1p5beta1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1044,15 +949,14 @@ public Builder addAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public Builder addAssets(com.google.cloud.asset.v1p5beta1.Asset.Builder builderForValue) { + public Builder addAssets( + com.google.cloud.asset.v1p5beta1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -1063,8 +967,6 @@ public Builder addAssets(com.google.cloud.asset.v1p5beta1.Asset.Builder builderF return this; } /** - * - * *
      * Assets.
      * 
@@ -1083,8 +985,6 @@ public Builder addAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1095,7 +995,8 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -1103,8 +1004,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * Assets.
      * 
@@ -1122,8 +1021,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * Assets.
      * 
@@ -1141,44 +1038,39 @@ public Builder removeAssets(int index) { return this; } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public com.google.cloud.asset.v1p5beta1.Asset.Builder getAssetsBuilder(int index) { + public com.google.cloud.asset.v1p5beta1.Asset.Builder getAssetsBuilder( + int index) { return getAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( + int index) { if (assetsBuilder_ == null) { - return assets_.get(index); - } else { + return assets_.get(index); } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1186,8 +1078,6 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int in } } /** - * - * *
      * Assets.
      * 
@@ -1195,47 +1085,42 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int in * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); + return getAssetsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder(int index) { - return getAssetsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); + public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder( + int index) { + return getAssetsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); } /** - * - * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public java.util.List getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Asset, - com.google.cloud.asset.v1p5beta1.Asset.Builder, - com.google.cloud.asset.v1p5beta1.AssetOrBuilder> + com.google.cloud.asset.v1p5beta1.Asset, com.google.cloud.asset.v1p5beta1.Asset.Builder, com.google.cloud.asset.v1p5beta1.AssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Asset, - com.google.cloud.asset.v1p5beta1.Asset.Builder, - com.google.cloud.asset.v1p5beta1.AssetOrBuilder>( - assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p5beta1.Asset, com.google.cloud.asset.v1p5beta1.Asset.Builder, com.google.cloud.asset.v1p5beta1.AssetOrBuilder>( + assets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; @@ -1243,21 +1128,19 @@ public java.util.List getAssetsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Token to retrieve the next page of results. Set to empty if there are no
      * remaining 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; @@ -1266,22 +1149,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results. Set to empty if there are no
      * remaining 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 { @@ -1289,71 +1171,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results. Set to empty if there are no
      * remaining 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. Set to empty if there are no
      * remaining 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. Set to empty if there are no
      * remaining 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1363,12 +1238,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.ListAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.ListAssetsResponse) private static final com.google.cloud.asset.v1p5beta1.ListAssetsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.ListAssetsResponse(); } @@ -1377,16 +1252,16 @@ public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1401,4 +1276,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java index 0e39d6a33..89435126e 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; -public interface ListAssetsResponseOrBuilder - extends +public interface ListAssetsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.ListAssetsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -59,18 +35,15 @@ public interface ListAssetsResponseOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - java.util.List getAssetsList(); + java.util.List + getAssetsList(); /** - * - * *
    * Assets.
    * 
@@ -79,8 +52,6 @@ public interface ListAssetsResponseOrBuilder */ com.google.cloud.asset.v1p5beta1.Asset getAssets(int index); /** - * - * *
    * Assets.
    * 
@@ -89,51 +60,43 @@ public interface ListAssetsResponseOrBuilder */ int getAssetsCount(); /** - * - * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** - * - * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int index); + com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( + int index); /** - * - * *
    * Token to retrieve the next page of results. Set to empty if there are no
    * remaining results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results. Set to empty if there are no
    * remaining results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java similarity index 76% rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java index f77c0ca6a..1a5a85b82 100644 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java +++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.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/asset/v1p5beta1/assets.proto package com.google.cloud.asset.v1p5beta1; /** - * - * *
  * Representation of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.Resource} */ -public final class Resource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Resource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p5beta1.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -47,15 +29,16 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,62 +57,56 @@ private Resource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 50: { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); } - case 50: - { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); - } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); - } - - break; + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = 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) { @@ -137,39 +114,34 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p5beta1.AssetProto - .internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetProto - .internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.Resource.class, - com.google.cloud.asset.v1p5beta1.Resource.Builder.class); + com.google.cloud.asset.v1p5beta1.Resource.class, com.google.cloud.asset.v1p5beta1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -178,29 +150,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; } } /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @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 { @@ -211,8 +183,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -222,7 +192,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -231,15 +200,14 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -249,15 +217,16 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -268,8 +237,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -277,7 +244,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -286,15 +252,14 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -302,15 +267,16 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -321,8 +287,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -332,7 +296,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -341,15 +304,14 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -359,15 +321,16 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -378,8 +341,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -393,7 +354,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -402,15 +362,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 full name of the immediate parent of this resource. See
    * [Resource
@@ -424,15 +383,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; - * * @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 { @@ -443,15 +403,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ @java.lang.Override @@ -459,15 +416,12 @@ public boolean hasData() { return data_ != null; } /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ @java.lang.Override @@ -475,8 +429,6 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
@@ -490,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -502,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
     }
@@ -546,7 +498,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_);
     }
     if (data_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getData());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -556,22 +509,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.asset.v1p5beta1.Resource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p5beta1.Resource other =
-        (com.google.cloud.asset.v1p5beta1.Resource) obj;
-
-    if (!getVersion().equals(other.getVersion())) return false;
-    if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false;
-    if (!getDiscoveryName().equals(other.getDiscoveryName())) return false;
-    if (!getResourceUrl().equals(other.getResourceUrl())) return false;
-    if (!getParent().equals(other.getParent())) return false;
+    com.google.cloud.asset.v1p5beta1.Resource other = (com.google.cloud.asset.v1p5beta1.Resource) obj;
+
+    if (!getVersion()
+        .equals(other.getVersion())) return false;
+    if (!getDiscoveryDocumentUri()
+        .equals(other.getDiscoveryDocumentUri())) return false;
+    if (!getDiscoveryName()
+        .equals(other.getDiscoveryName())) return false;
+    if (!getResourceUrl()
+        .equals(other.getResourceUrl())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasData() != other.hasData()) return false;
     if (hasData()) {
-      if (!getData().equals(other.getData())) return false;
+      if (!getData()
+          .equals(other.getData())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -603,127 +561,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p5beta1.Resource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
-      byte[] data, com.google.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.asset.v1p5beta1.Resource 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.asset.v1p5beta1.Resource parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p5beta1.Resource parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p5beta1.Resource parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p5beta1.Resource parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p5beta1.Resource parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1p5beta1.Resource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1p5beta1.Resource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.Resource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p5beta1.Resource) com.google.cloud.asset.v1p5beta1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetProto - .internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetProto - .internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.Resource.class, - com.google.cloud.asset.v1p5beta1.Resource.Builder.class); + com.google.cloud.asset.v1p5beta1.Resource.class, com.google.cloud.asset.v1p5beta1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1p5beta1.Resource.newBuilder() @@ -731,15 +680,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +713,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p5beta1.AssetProto - .internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; } @java.lang.Override @@ -784,8 +734,7 @@ public com.google.cloud.asset.v1p5beta1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1p5beta1.Resource buildPartial() { - com.google.cloud.asset.v1p5beta1.Resource result = - new com.google.cloud.asset.v1p5beta1.Resource(this); + com.google.cloud.asset.v1p5beta1.Resource result = new com.google.cloud.asset.v1p5beta1.Resource(this); result.version_ = version_; result.discoveryDocumentUri_ = discoveryDocumentUri_; result.discoveryName_ = discoveryName_; @@ -804,39 +753,38 @@ public com.google.cloud.asset.v1p5beta1.Resource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p5beta1.Resource) { - return mergeFrom((com.google.cloud.asset.v1p5beta1.Resource) other); + return mergeFrom((com.google.cloud.asset.v1p5beta1.Resource)other); } else { super.mergeFrom(other); return this; @@ -899,20 +847,18 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @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; @@ -921,21 +867,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @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 { @@ -943,61 +888,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The API version. Example: "v1".
      * 
* * string version = 1; - * * @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; @@ -1005,8 +943,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1016,13 +952,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -1031,8 +967,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1042,14 +976,15 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -1057,8 +992,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1068,22 +1001,20 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
      * 
* * string discovery_document_uri = 2; - * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri(java.lang.String value) { + public Builder setDiscoveryDocumentUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1093,18 +1024,15 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1114,16 +1042,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1131,8 +1059,6 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value private java.lang.Object discoveryName_ = ""; /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1140,13 +1066,13 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value
      * 
* * string discovery_name = 3; - * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1155,8 +1081,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1164,14 +1088,15 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1179,8 +1104,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1188,22 +1111,20 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
      * 
* * string discovery_name = 3; - * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName(java.lang.String value) { + public Builder setDiscoveryName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1211,18 +1132,15 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1230,16 +1148,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1247,8 +1165,6 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceUrl_ = ""; /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1258,13 +1174,13 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource_url = 4; - * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1273,8 +1189,6 @@ public java.lang.String getResourceUrl() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1284,14 +1198,15 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1299,8 +1214,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1310,22 +1223,20 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
      * 
* * string resource_url = 4; - * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl(java.lang.String value) { + public Builder setResourceUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1335,18 +1246,15 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1356,16 +1264,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; - * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1373,8 +1281,6 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1388,13 +1294,13 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 5; - * * @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; @@ -1403,8 +1309,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1418,14 +1322,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; - * * @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 { @@ -1433,8 +1338,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1448,22 +1351,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 5; - * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1477,18 +1378,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1502,16 +1400,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; - * * @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; @@ -1519,35 +1417,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - dataBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; /** - * - * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** - * - * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1558,8 +1447,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1581,8 +1468,6 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1590,7 +1475,8 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1601,8 +1487,6 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1613,7 +1497,8 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ =
+            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1625,8 +1510,6 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1646,8 +1529,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1656,13 +1537,11 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-
+      
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1674,12 +1553,11 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1688,23 +1566,21 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
+        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getData(),
+                getParentForChildren(),
+                isClean());
         data_ = null;
       }
       return dataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1714,12 +1590,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.Resource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.Resource)
   private static final com.google.cloud.asset.v1p5beta1.Resource DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.Resource();
   }
@@ -1728,16 +1604,16 @@ public static com.google.cloud.asset.v1p5beta1.Resource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Resource parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Resource(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Resource parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Resource(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1752,4 +1628,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p5beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
similarity index 81%
rename from proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
index 72bcad395..175f61af1 100644
--- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
+++ b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.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/asset/v1p5beta1/assets.proto
 
 package com.google.cloud.asset.v1p5beta1;
 
-public interface ResourceOrBuilder
-    extends
+public interface ResourceOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.Resource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The API version. Example: "v1".
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -60,13 +37,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -76,14 +50,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes(); /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -91,13 +63,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** - * - * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -105,14 +74,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString getDiscoveryNameBytes(); + com.google.protobuf.ByteString + getDiscoveryNameBytes(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -122,13 +89,10 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -138,14 +102,12 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString getResourceUrlBytes(); + com.google.protobuf.ByteString + getResourceUrlBytes(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -159,13 +121,10 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -179,40 +138,32 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ boolean hasData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ com.google.protobuf.Struct getData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
similarity index 100%
rename from proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
similarity index 100%
rename from proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
rename to owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java
diff --git a/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java b/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java
similarity index 100%
rename from samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java
rename to owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java
diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
similarity index 97%
rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
index d0c415da0..68dbe1ab5 100644
--- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
+++ b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java
@@ -60,13 +60,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. *
* diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java similarity index 95% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java index 0ae567e47..e4a48b836 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java +++ b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p7beta1.stub.AssetServiceStubSettings; @@ -40,9 +41,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java similarity index 97% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java index 3951a34bc..471292f2e 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java +++ b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java @@ -54,9 +54,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java index 7afbf3f79..38f973b48 100644 --- a/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java +++ b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java @@ -32,6 +32,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java diff --git a/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java b/owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java similarity index 100% rename from google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java rename to owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java diff --git a/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java similarity index 60% rename from grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java rename to owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java index b23942ff3..c443a291e 100644 --- a/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java +++ b/owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.asset.v1p7beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * Asset service definition.
  * 
@@ -35,101 +18,89 @@ private AssetServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.asset.v1p7beta1.AssetService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, com.google.longrunning.Operation> - getExportAssetsMethod; + private static volatile io.grpc.MethodDescriptor getExportAssetsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExportAssets", requestType = com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, com.google.longrunning.Operation> - getExportAssetsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, com.google.longrunning.Operation> - getExportAssetsMethod; + public static io.grpc.MethodDescriptor getExportAssetsMethod() { + io.grpc.MethodDescriptor getExportAssetsMethod; if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { synchronized (AssetServiceGrpc.class) { if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { - AssetServiceGrpc.getExportAssetsMethod = - getExportAssetsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) - .build(); + AssetServiceGrpc.getExportAssetsMethod = getExportAssetsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) + .build(); } } } return getExportAssetsMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static AssetServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; return AssetServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static AssetServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; return AssetServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AssetServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; return AssetServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * Asset service definition.
    * 
*/ - public abstract static class AssetServiceImplBase implements io.grpc.BindableService { + public static abstract class AssetServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -144,47 +115,42 @@ public abstract static class AssetServiceImplBase implements io.grpc.BindableSer
      * 5 minutes.
      * 
*/ - public void exportAssets( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, + public void exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportAssetsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportAssetsMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getExportAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, - com.google.longrunning.Operation>(this, METHODID_EXPORT_ASSETS))) + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, + com.google.longrunning.Operation>( + this, METHODID_EXPORT_ASSETS))) .build(); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected AssetServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AssetServiceStub(channel, callOptions); } /** - * - * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -199,26 +165,21 @@ protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * 5 minutes.
      * 
*/ - public void exportAssets( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, + public void exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportAssetsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -229,8 +190,6 @@ protected AssetServiceBlockingStub build( } /** - * - * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -245,23 +204,20 @@ protected AssetServiceBlockingStub build(
      * 5 minutes.
      * 
*/ - public com.google.longrunning.Operation exportAssets( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { + public com.google.longrunning.Operation exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportAssetsMethod(), getCallOptions(), request); } } /** - * - * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -272,8 +228,6 @@ protected AssetServiceFutureStub build( } /** - * - * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -288,8 +242,8 @@ protected AssetServiceFutureStub build(
      * 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { + public com.google.common.util.concurrent.ListenableFuture exportAssets( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request); } @@ -297,11 +251,11 @@ protected AssetServiceFutureStub build( private static final int METHODID_EXPORT_ASSETS = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AssetServiceImplBase serviceImpl; private final int methodId; @@ -315,8 +269,7 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_EXPORT_ASSETS: - serviceImpl.exportAssets( - (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) request, + serviceImpl.exportAssets((com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -335,9 +288,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { AssetServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -379,12 +331,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (AssetServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getExportAssetsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getExportAssetsMethod()) + .build(); } } } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java similarity index 77% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java index 522926d21..92d3a5406 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * An asset in Google Cloud. An asset can be any resource in the Google Cloud
  * [resource
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.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_ = "";
     assetType_ = "";
@@ -53,15 +35,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)
@@ -81,174 +64,137 @@ 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;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1p7beta1.Resource.Builder subBuilder = null;
+            if (resource_ != null) {
+              subBuilder = resource_.toBuilder();
+            }
+            resource_ = input.readMessage(com.google.cloud.asset.v1p7beta1.Resource.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(resource_);
+              resource_ = subBuilder.buildPartial();
+            }
 
-              name_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            com.google.iam.v1.Policy.Builder subBuilder = null;
+            if (iamPolicy_ != null) {
+              subBuilder = iamPolicy_.toBuilder();
+            }
+            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(iamPolicy_);
+              iamPolicy_ = subBuilder.buildPartial();
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              orgPolicy_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1p7beta1.Resource.Builder subBuilder = null;
-              if (resource_ != null) {
-                subBuilder = resource_.toBuilder();
-              }
-              resource_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p7beta1.Resource.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(resource_);
-                resource_ = subBuilder.buildPartial();
-              }
-
-              break;
+            orgPolicy_.add(
+                input.readMessage(com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 7) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_).toBuilder();
             }
-          case 34:
-            {
-              com.google.iam.v1.Policy.Builder subBuilder = null;
-              if (iamPolicy_ != null) {
-                subBuilder = iamPolicy_.toBuilder();
-              }
-              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(iamPolicy_);
-                iamPolicy_ = subBuilder.buildPartial();
-              }
-
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                orgPolicy_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              orgPolicy_.add(
-                  input.readMessage(
-                      com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
-              break;
+            accessContextPolicyCase_ = 7;
+            break;
+          }
+          case 66: {
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 8) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_).toBuilder();
             }
-          case 58:
-            {
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
-              if (accessContextPolicyCase_ == 7) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                            accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                        accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 7;
-              break;
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessLevel.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
-              if (accessContextPolicyCase_ == 8) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.AccessLevel.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 8;
-              break;
+            accessContextPolicyCase_ = 8;
+            break;
+          }
+          case 74: {
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder = null;
+            if (accessContextPolicyCase_ == 9) {
+              subBuilder = ((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_).toBuilder();
+            }
+            accessContextPolicy_ =
+                input.readMessage(com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_);
+              accessContextPolicy_ = subBuilder.buildPartial();
+            }
+            accessContextPolicyCase_ = 9;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              ancestors_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 74:
-            {
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder =
-                  null;
-              if (accessContextPolicyCase_ == 9) {
-                subBuilder =
-                    ((com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                            accessContextPolicy_)
-                        .toBuilder();
-              }
-              accessContextPolicy_ =
-                  input.readMessage(
-                      com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                        accessContextPolicy_);
-                accessContextPolicy_ = subBuilder.buildPartial();
-              }
-              accessContextPolicyCase_ = 9;
-              break;
+            ancestors_.add(s);
+            break;
+          }
+          case 90: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                ancestors_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              ancestors_.add(s);
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 106: {
+            com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder subBuilder = null;
+            if (relatedAssets_ != null) {
+              subBuilder = relatedAssets_.toBuilder();
             }
-          case 106:
-            {
-              com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder subBuilder = null;
-              if (relatedAssets_ != null) {
-                subBuilder = relatedAssets_.toBuilder();
-              }
-              relatedAssets_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p7beta1.RelatedAssets.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relatedAssets_);
-                relatedAssets_ = subBuilder.buildPartial();
-              }
-
-              break;
+            relatedAssets_ = input.readMessage(com.google.cloud.asset.v1p7beta1.RelatedAssets.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(relatedAssets_);
+              relatedAssets_ = 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) {
@@ -256,7 +202,8 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = java.util.Collections.unmodifiableList(orgPolicy_);
@@ -268,35 +215,29 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.Asset.class,
-            com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
+            com.google.cloud.asset.v1p7beta1.Asset.class, com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
   }
 
   private int accessContextPolicyCase_ = 0;
   private java.lang.Object accessContextPolicy_;
-
   public enum AccessContextPolicyCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ACCESS_POLICY(7),
     ACCESS_LEVEL(8),
     SERVICE_PERIMETER(9),
     ACCESSCONTEXTPOLICY_NOT_SET(0);
     private final int value;
-
     private AccessContextPolicyCase(int value) {
       this.value = value;
     }
@@ -312,40 +253,33 @@ public static AccessContextPolicyCase valueOf(int value) {
 
     public static AccessContextPolicyCase forNumber(int value) {
       switch (value) {
-        case 7:
-          return ACCESS_POLICY;
-        case 8:
-          return ACCESS_LEVEL;
-        case 9:
-          return SERVICE_PERIMETER;
-        case 0:
-          return ACCESSCONTEXTPOLICY_NOT_SET;
-        default:
-          return null;
+        case 7: return ACCESS_POLICY;
+        case 8: return ACCESS_LEVEL;
+        case 9: return SERVICE_PERIMETER;
+        case 0: return ACCESSCONTEXTPOLICY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AccessContextPolicyCase getAccessContextPolicyCase() {
-    return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
+  public AccessContextPolicyCase
+  getAccessContextPolicyCase() {
+    return AccessContextPolicyCase.forNumber(
+        accessContextPolicyCase_);
   }
 
   public static final int UPDATE_TIME_FIELD_NUMBER = 11;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -353,15 +287,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ @java.lang.Override @@ -369,8 +300,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -386,8 +315,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -397,7 +324,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -406,15 +332,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 full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -424,15 +349,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 { @@ -443,8 +369,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -453,7 +377,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -462,15 +385,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -479,15 +401,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -498,14 +421,11 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p7beta1.Resource resource_; /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ @java.lang.Override @@ -513,25 +433,18 @@ public boolean hasResource() { return resource_ != null; } /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; - * * @return The resource. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.Resource getResource() { - return resource_ == null - ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; } /** - * - * *
    * A representation of the resource.
    * 
@@ -546,8 +459,6 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -561,7 +472,6 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder()
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -569,8 +479,6 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -584,7 +492,6 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ @java.lang.Override @@ -592,8 +499,6 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -616,8 +521,6 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
   private java.util.List orgPolicy_;
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -632,8 +535,6 @@ public java.util.List getOrgPolicyList() {
     return orgPolicy_;
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -644,13 +545,11 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOrgPolicyOrBuilderList() {
     return orgPolicy_;
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -665,8 +564,6 @@ public int getOrgPolicyCount() {
     return orgPolicy_.size();
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -681,8 +578,6 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
     return orgPolicy_.get(index);
   }
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -693,21 +588,19 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
+  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+      int index) {
     return orgPolicy_.get(index);
   }
 
   public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -715,27 +608,22 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return The accessPolicy. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() { if (accessContextPolicyCase_ == 7) { - return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance(); } /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -744,25 +632,21 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
-      getAccessPolicyOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
     if (accessContextPolicyCase_ == 7) {
-      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
 
   public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
   /**
-   *
-   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -770,27 +654,22 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return The accessLevel. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() { if (accessContextPolicyCase_ == 8) { - return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance(); } /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -799,25 +678,21 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
-      getAccessLevelOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
     if (accessContextPolicyCase_ == 8) {
-      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
 
   public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
   /**
-   *
-   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -825,27 +700,22 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -854,10 +724,9 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-      getServicePerimeterOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
     if (accessContextPolicyCase_ == 9) {
-      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -865,15 +734,12 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
   public static final int RELATED_ASSETS_FIELD_NUMBER = 13;
   private com.google.cloud.asset.v1p7beta1.RelatedAssets relatedAssets_;
   /**
-   *
-   *
    * 
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; - * * @return Whether the relatedAssets field is set. */ @java.lang.Override @@ -881,26 +747,19 @@ public boolean hasRelatedAssets() { return relatedAssets_ != null; } /** - * - * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; - * * @return The relatedAssets. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets() { - return relatedAssets_ == null - ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() - : relatedAssets_; + return relatedAssets_ == null ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_; } /** - * - * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
@@ -916,8 +775,6 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
   public static final int ANCESTORS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList ancestors_;
   /**
-   *
-   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -929,15 +786,13 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
    * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_; } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -949,15 +804,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
    * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -969,7 +821,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -977,8 +828,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -990,16 +839,15 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1011,7 +859,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1028,16 +877,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - output.writeMessage( - 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + output.writeMessage(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - output.writeMessage( - 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + output.writeMessage(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - output.writeMessage( - 9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + output.writeMessage(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i)); @@ -1064,29 +910,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getIamPolicy()); } for (int i = 0; i < orgPolicy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, orgPolicy_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } { int dataSize = 0; @@ -1097,10 +942,12 @@ public int getSerializedSize() { size += 1 * getAncestorsList().size(); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } if (relatedAssets_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getRelatedAssets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getRelatedAssets()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1110,7 +957,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.Asset)) { return super.equals(obj); @@ -1119,34 +966,45 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getName().equals(other.getName())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) 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 (!getOrgPolicyList().equals(other.getOrgPolicyList())) return false; + if (!getOrgPolicyList() + .equals(other.getOrgPolicyList())) return false; if (hasRelatedAssets() != other.hasRelatedAssets()) return false; if (hasRelatedAssets()) { - if (!getRelatedAssets().equals(other.getRelatedAssets())) return false; + if (!getRelatedAssets() + .equals(other.getRelatedAssets())) return false; } - if (!getAncestorsList().equals(other.getAncestorsList())) return false; + if (!getAncestorsList() + .equals(other.getAncestorsList())) return false; if (!getAccessContextPolicyCase().equals(other.getAccessContextPolicyCase())) return false; switch (accessContextPolicyCase_) { case 7: - if (!getAccessPolicy().equals(other.getAccessPolicy())) return false; + if (!getAccessPolicy() + .equals(other.getAccessPolicy())) return false; break; case 8: - if (!getAccessLevel().equals(other.getAccessLevel())) return false; + if (!getAccessLevel() + .equals(other.getAccessLevel())) return false; break; case 9: - if (!getServicePerimeter().equals(other.getServicePerimeter())) return false; + if (!getServicePerimeter() + .equals(other.getServicePerimeter())) return false; break; case 0: default: @@ -1211,104 +1069,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.Asset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.Asset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.Asset 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.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.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; } /** - * - * *
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -1322,23 +1173,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset)
       com.google.cloud.asset.v1p7beta1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.Asset.class,
-              com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
+              com.google.cloud.asset.v1p7beta1.Asset.class, com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.Asset.newBuilder()
@@ -1346,17 +1195,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) {
         getOrgPolicyFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1402,9 +1251,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -1423,8 +1272,7 @@ public com.google.cloud.asset.v1p7beta1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.Asset buildPartial() {
-      com.google.cloud.asset.v1p7beta1.Asset result =
-          new com.google.cloud.asset.v1p7beta1.Asset(this);
+      com.google.cloud.asset.v1p7beta1.Asset result = new com.google.cloud.asset.v1p7beta1.Asset(this);
       int from_bitField0_ = bitField0_;
       if (updateTimeBuilder_ == null) {
         result.updateTime_ = updateTime_;
@@ -1492,39 +1340,38 @@ public com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.Asset) other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.Asset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1568,10 +1415,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getOrgPolicyFieldBuilder()
-                    : null;
+            orgPolicyBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getOrgPolicyFieldBuilder() : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1591,25 +1437,21 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.Asset other) {
         onChanged();
       }
       switch (other.getAccessContextPolicyCase()) {
-        case ACCESS_POLICY:
-          {
-            mergeAccessPolicy(other.getAccessPolicy());
-            break;
-          }
-        case ACCESS_LEVEL:
-          {
-            mergeAccessLevel(other.getAccessLevel());
-            break;
-          }
-        case SERVICE_PERIMETER:
-          {
-            mergeServicePerimeter(other.getServicePerimeter());
-            break;
-          }
-        case ACCESSCONTEXTPOLICY_NOT_SET:
-          {
-            break;
-          }
+        case ACCESS_POLICY: {
+          mergeAccessPolicy(other.getAccessPolicy());
+          break;
+        }
+        case ACCESS_LEVEL: {
+          mergeAccessLevel(other.getAccessLevel());
+          break;
+        }
+        case SERVICE_PERIMETER: {
+          mergeServicePerimeter(other.getServicePerimeter());
+          break;
+        }
+        case ACCESSCONTEXTPOLICY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1639,12 +1481,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int accessContextPolicyCase_ = 0;
     private java.lang.Object accessContextPolicy_;
-
-    public AccessContextPolicyCase getAccessContextPolicyCase() {
-      return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
+    public AccessContextPolicyCase
+        getAccessContextPolicyCase() {
+      return AccessContextPolicyCase.forNumber(
+          accessContextPolicyCase_);
     }
 
     public Builder clearAccessContextPolicy() {
@@ -1658,49 +1500,36 @@ public Builder clearAccessContextPolicy() {
 
     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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; - * * @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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1722,8 +1551,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1731,7 +1558,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 11;
      */
-    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();
@@ -1742,8 +1570,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1755,7 +1581,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;
         }
@@ -1767,8 +1593,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1788,8 +1612,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1798,13 +1620,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1816,14 +1636,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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1832,17 +1649,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     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_;
@@ -1850,8 +1664,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1861,13 +1673,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * 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; @@ -1876,8 +1688,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1887,14 +1697,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 { @@ -1902,8 +1713,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1913,22 +1722,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 full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1938,18 +1745,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 full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1959,16 +1763,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; @@ -1976,8 +1780,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1986,13 +1788,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -2001,8 +1803,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2011,14 +1811,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -2026,8 +1827,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2036,22 +1835,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2060,18 +1857,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2080,16 +1874,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -2097,47 +1891,34 @@ public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.asset.v1p7beta1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.Resource, - com.google.cloud.asset.v1p7beta1.Resource.Builder, - com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> - resourceBuilder_; + com.google.cloud.asset.v1p7beta1.Resource, com.google.cloud.asset.v1p7beta1.Resource.Builder, com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> resourceBuilder_; /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; - * * @return The resource. */ public com.google.cloud.asset.v1p7beta1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null - ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; } else { return resourceBuilder_.getMessage(); } } /** - * - * *
      * A representation of the resource.
      * 
@@ -2158,15 +1939,14 @@ public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; */ - public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource.Builder builderForValue) { + public Builder setResource( + com.google.cloud.asset.v1p7beta1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -2177,8 +1957,6 @@ public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource.Builder bui return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2189,9 +1967,7 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1p7beta1.Resource.newBuilder(resource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p7beta1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); } else { resource_ = value; } @@ -2203,8 +1979,6 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2223,8 +1997,6 @@ public Builder clearResource() { return this; } /** - * - * *
      * A representation of the resource.
      * 
@@ -2232,13 +2004,11 @@ public Builder clearResource() { * .google.cloud.asset.v1p7beta1.Resource resource = 3; */ public com.google.cloud.asset.v1p7beta1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** - * - * *
      * A representation of the resource.
      * 
@@ -2249,14 +2019,11 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null - ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() - : resource_; + return resource_ == null ? + com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; } } /** - * - * *
      * A representation of the resource.
      * 
@@ -2264,17 +2031,14 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() * .google.cloud.asset.v1p7beta1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.Resource, - com.google.cloud.asset.v1p7beta1.Resource.Builder, - com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> + com.google.cloud.asset.v1p7beta1.Resource, com.google.cloud.asset.v1p7beta1.Resource.Builder, com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.Resource, - com.google.cloud.asset.v1p7beta1.Resource.Builder, - com.google.cloud.asset.v1p7beta1.ResourceOrBuilder>( - getResource(), getParentForChildren(), isClean()); + resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.Resource, com.google.cloud.asset.v1p7beta1.Resource.Builder, com.google.cloud.asset.v1p7beta1.ResourceOrBuilder>( + getResource(), + getParentForChildren(), + isClean()); resource_ = null; } return resourceBuilder_; @@ -2282,13 +2046,8 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - iamPolicyBuilder_; + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; /** - * - * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2302,15 +2061,12 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder()
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** - * - * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2324,7 +2080,6 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2335,8 +2090,6 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** - * - * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2365,8 +2118,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2381,7 +2132,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(
+        com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -2392,8 +2144,6 @@ public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2412,7 +2162,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -2424,8 +2174,6 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2452,8 +2200,6 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2469,13 +2215,11 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-
+      
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2494,12 +2238,11 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ?
+            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2515,41 +2258,32 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy,
-            com.google.iam.v1.Policy.Builder,
-            com.google.iam.v1.PolicyOrBuilder>
+        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy,
-                com.google.iam.v1.Policy.Builder,
-                com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(), getParentForChildren(), isClean());
+        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(),
+                getParentForChildren(),
+                isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
     private java.util.List orgPolicy_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy,
-            com.google.cloud.orgpolicy.v1.Policy.Builder,
-            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
-        orgPolicyBuilder_;
+        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> orgPolicyBuilder_;
 
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2567,8 +2301,6 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2586,8 +2318,6 @@ public int getOrgPolicyCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2605,8 +2335,6 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2616,7 +2344,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder setOrgPolicy(
+        int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2630,8 +2359,6 @@ public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2653,8 +2380,6 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2678,8 +2403,6 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2689,7 +2412,8 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder addOrgPolicy(
+        int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2703,8 +2427,6 @@ public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2714,7 +2436,8 @@ public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy valu
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
+    public Builder addOrgPolicy(
+        com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
         orgPolicy_.add(builderForValue.build());
@@ -2725,8 +2448,6 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2748,8 +2469,6 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2763,7 +2482,8 @@ public Builder addAllOrgPolicy(
         java.lang.Iterable values) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, orgPolicy_);
         onChanged();
       } else {
         orgPolicyBuilder_.addAllMessages(values);
@@ -2771,8 +2491,6 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2793,8 +2511,6 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2815,8 +2531,6 @@ public Builder removeOrgPolicy(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2826,12 +2540,11 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int index) {
+    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
+        int index) {
       return getOrgPolicyFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2841,16 +2554,14 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int inde
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
+    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+        int index) {
       if (orgPolicyBuilder_ == null) {
-        return orgPolicy_.get(index);
-      } else {
+        return orgPolicy_.get(index);  } else {
         return orgPolicyBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2860,8 +2571,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List
-        getOrgPolicyOrBuilderList() {
+    public java.util.List 
+         getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -2869,8 +2580,6 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2881,12 +2590,10 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int i
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
     public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
-      return getOrgPolicyFieldBuilder()
-          .addBuilder(com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+      return getOrgPolicyFieldBuilder().addBuilder(
+          com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2896,13 +2603,12 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int index) {
-      return getOrgPolicyFieldBuilder()
-          .addBuilder(index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
+        int index) {
+      return getOrgPolicyFieldBuilder().addBuilder(
+          index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2912,42 +2618,34 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int inde
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List getOrgPolicyBuilderList() {
+    public java.util.List 
+         getOrgPolicyBuilderList() {
       return getOrgPolicyFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy,
-            com.google.cloud.orgpolicy.v1.Policy.Builder,
-            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
+        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 
         getOrgPolicyFieldBuilder() {
       if (orgPolicyBuilder_ == null) {
-        orgPolicyBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.orgpolicy.v1.Policy,
-                com.google.cloud.orgpolicy.v1.Policy.Builder,
-                com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
-                orgPolicy_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        orgPolicyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
+                orgPolicy_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy,
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
-        accessPolicyBuilder_;
+        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> accessPolicyBuilder_;
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -2955,15 +2653,12 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** - * - * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return The accessPolicy. */ @java.lang.Override @@ -2981,8 +2676,6 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy( } } /** - * - * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3004,8 +2697,6 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3025,8 +2716,6 @@ public Builder setAccessPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3034,18 +2723,12 @@ public Builder setAccessPolicy(
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public Builder mergeAccessPolicy(
-        com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
+    public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
-        if (accessContextPolicyCase_ == 7
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.AccessPolicy)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 7 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3061,8 +2744,6 @@ public Builder mergeAccessPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3087,8 +2768,6 @@ public Builder clearAccessPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3096,13 +2775,10 @@ public Builder clearAccessPolicy() {
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
-        getAccessPolicyBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder() {
       return getAccessPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3111,8 +2787,7 @@ public Builder clearAccessPolicy() {
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
-        getAccessPolicyOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
       if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
         return accessPolicyBuilder_.getMessageOrBuilder();
       } else {
@@ -3123,8 +2798,6 @@ public Builder clearAccessPolicy() {
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -3133,46 +2806,33 @@ public Builder clearAccessPolicy() {
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy,
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
+        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> 
         getAccessPolicyFieldBuilder() {
       if (accessPolicyBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 7)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
         }
-        accessPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.AccessPolicy,
-                com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
-                com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
+        accessPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 7;
-      onChanged();
-      ;
+      onChanged();;
       return accessPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel,
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
-        accessLevelBuilder_;
+        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> accessLevelBuilder_;
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -3180,15 +2840,12 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** - * - * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return The accessLevel. */ @java.lang.Override @@ -3206,8 +2863,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() } } /** - * - * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3229,8 +2884,6 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3250,8 +2903,6 @@ public Builder setAccessLevel(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3261,15 +2912,10 @@ public Builder setAccessLevel(
      */
     public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
-        if (accessContextPolicyCase_ == 8
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.AccessLevel)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 8 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3285,8 +2931,6 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3311,8 +2955,6 @@ public Builder clearAccessLevel() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3324,8 +2966,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       return getAccessLevelFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3334,8 +2974,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
-        getAccessLevelOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
       if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
         return accessLevelBuilder_.getMessageOrBuilder();
       } else {
@@ -3346,8 +2985,6 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3356,46 +2993,33 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel,
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
+        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> 
         getAccessLevelFieldBuilder() {
       if (accessLevelBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 8)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
         }
-        accessLevelBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.AccessLevel,
-                com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
-                com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
+        accessLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 8;
-      onChanged();
-      ;
+      onChanged();;
       return accessLevelBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
-        servicePerimeterBuilder_;
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> servicePerimeterBuilder_;
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -3403,23 +3027,19 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** - * - * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (servicePerimeterBuilder_ == null) { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) - accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } else { @@ -3430,8 +3050,6 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe } } /** - * - * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3439,8 +3057,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder setServicePerimeter(
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3454,8 +3071,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3475,8 +3090,6 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3484,19 +3097,12 @@ public Builder setServicePerimeter(
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder mergeServicePerimeter(
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
-        if (accessContextPolicyCase_ == 9
-            && accessContextPolicy_
-                != com.google.identity.accesscontextmanager.v1.ServicePerimeter
-                    .getDefaultInstance()) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder(
-                      (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-                          accessContextPolicy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (accessContextPolicyCase_ == 9 &&
+            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance()) {
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_)
+              .mergeFrom(value).buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3512,8 +3118,6 @@ public Builder mergeServicePerimeter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3538,8 +3142,6 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3547,13 +3149,10 @@ public Builder clearServicePerimeter() {
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
-        getServicePerimeterBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder() {
       return getServicePerimeterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3562,21 +3161,17 @@ public Builder clearServicePerimeter() {
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-        getServicePerimeterOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
       if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
         return servicePerimeterBuilder_.getMessageOrBuilder();
       } else {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
-              accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       }
     }
     /**
-     *
-     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3585,76 +3180,56 @@ public Builder clearServicePerimeter() {
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> 
         getServicePerimeterFieldBuilder() {
       if (servicePerimeterBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 9)) {
-          accessContextPolicy_ =
-              com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
+          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
         }
-        servicePerimeterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.identity.accesscontextmanager.v1.ServicePerimeter,
-                com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
-                com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
+        servicePerimeterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 9;
-      onChanged();
-      ;
+      onChanged();;
       return servicePerimeterBuilder_;
     }
 
     private com.google.cloud.asset.v1p7beta1.RelatedAssets relatedAssets_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.RelatedAssets,
-            com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder,
-            com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>
-        relatedAssetsBuilder_;
+        com.google.cloud.asset.v1p7beta1.RelatedAssets, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder> relatedAssetsBuilder_;
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
      * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; - * * @return Whether the relatedAssets field is set. */ public boolean hasRelatedAssets() { return relatedAssetsBuilder_ != null || relatedAssets_ != null; } /** - * - * *
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
      * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; - * * @return The relatedAssets. */ public com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets() { if (relatedAssetsBuilder_ == null) { - return relatedAssets_ == null - ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() - : relatedAssets_; + return relatedAssets_ == null ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_; } else { return relatedAssetsBuilder_.getMessage(); } } /** - * - * *
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3676,8 +3251,6 @@ public Builder setRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets v
       return this;
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3697,8 +3270,6 @@ public Builder setRelatedAssets(
       return this;
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3710,9 +3281,7 @@ public Builder mergeRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets
       if (relatedAssetsBuilder_ == null) {
         if (relatedAssets_ != null) {
           relatedAssets_ =
-              com.google.cloud.asset.v1p7beta1.RelatedAssets.newBuilder(relatedAssets_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1p7beta1.RelatedAssets.newBuilder(relatedAssets_).mergeFrom(value).buildPartial();
         } else {
           relatedAssets_ = value;
         }
@@ -3724,8 +3293,6 @@ public Builder mergeRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets
       return this;
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3745,8 +3312,6 @@ public Builder clearRelatedAssets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3755,13 +3320,11 @@ public Builder clearRelatedAssets() {
      * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      */
     public com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder getRelatedAssetsBuilder() {
-
+      
       onChanged();
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3773,14 +3336,11 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
       if (relatedAssetsBuilder_ != null) {
         return relatedAssetsBuilder_.getMessageOrBuilder();
       } else {
-        return relatedAssets_ == null
-            ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()
-            : relatedAssets_;
+        return relatedAssets_ == null ?
+            com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_;
       }
     }
     /**
-     *
-     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3789,34 +3349,27 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
      * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.RelatedAssets,
-            com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder,
-            com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>
+        com.google.cloud.asset.v1p7beta1.RelatedAssets, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder> 
         getRelatedAssetsFieldBuilder() {
       if (relatedAssetsBuilder_ == null) {
-        relatedAssetsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1p7beta1.RelatedAssets,
-                com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder,
-                com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>(
-                getRelatedAssets(), getParentForChildren(), isClean());
+        relatedAssetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1p7beta1.RelatedAssets, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>(
+                getRelatedAssets(),
+                getParentForChildren(),
+                isClean());
         relatedAssets_ = null;
       }
       return relatedAssetsBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList ancestors_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAncestorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3828,15 +3381,13 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3848,15 +3399,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
      * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3868,7 +3416,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3876,8 +3423,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3889,16 +3434,14 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3910,23 +3453,21 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
      * 
* * repeated string ancestors = 10; - * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors(int index, java.lang.String value) { + public Builder setAncestors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3938,22 +3479,20 @@ public Builder setAncestors(int index, java.lang.String value) {
      * 
* * repeated string ancestors = 10; - * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors(java.lang.String value) { + public Builder addAncestors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3965,19 +3504,18 @@ public Builder addAncestors(java.lang.String value) {
      * 
* * repeated string ancestors = 10; - * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors(java.lang.Iterable values) { + public Builder addAllAncestors( + java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ancestors_); onChanged(); return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3989,7 +3527,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 10; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -3999,8 +3536,6 @@ public Builder clearAncestors() { return this; } /** - * - * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4012,23 +3547,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 10; - * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -4038,12 +3573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.Asset) private static final com.google.cloud.asset.v1p7beta1.Asset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.Asset(); } @@ -4052,16 +3587,16 @@ public static com.google.cloud.asset.v1p7beta1.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; @@ -4076,4 +3611,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java similarity index 90% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java index 37bfc62b5..4711ab6e0 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java @@ -1,57 +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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface AssetOrBuilder - extends +public interface AssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.Asset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -62,8 +38,6 @@ public interface AssetOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -73,13 +47,10 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -89,14 +60,12 @@ public interface AssetOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -105,13 +74,10 @@ public interface AssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -120,38 +86,30 @@ public interface AssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; - * * @return Whether the resource field is set. */ boolean hasResource(); /** - * - * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; - * * @return The resource. */ com.google.cloud.asset.v1p7beta1.Resource getResource(); /** - * - * *
    * A representation of the resource.
    * 
@@ -161,8 +119,6 @@ public interface AssetOrBuilder com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder(); /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -176,13 +132,10 @@ public interface AssetOrBuilder
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -196,13 +149,10 @@ public interface AssetOrBuilder
    * 
* * .google.iam.v1.Policy iam_policy = 4; - * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** - * - * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -220,8 +170,6 @@ public interface AssetOrBuilder
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -231,10 +179,9 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List getOrgPolicyList();
+  java.util.List 
+      getOrgPolicyList();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -246,8 +193,6 @@ public interface AssetOrBuilder
    */
   com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index);
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -259,8 +204,6 @@ public interface AssetOrBuilder
    */
   int getOrgPolicyCount();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -270,11 +213,9 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List
+  java.util.List 
       getOrgPolicyOrBuilderList();
   /**
-   *
-   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -284,37 +225,30 @@ public interface AssetOrBuilder
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return Whether the accessPolicy field is set. */ boolean hasAccessPolicy(); /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - * * @return The accessPolicy. */ com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(); /** - * - * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -325,34 +259,26 @@ public interface AssetOrBuilder
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return Whether the accessLevel field is set. */ boolean hasAccessLevel(); /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - * * @return The accessLevel. */ com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel(); /** - * - * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -363,34 +289,26 @@ public interface AssetOrBuilder
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
-   *
-   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return Whether the servicePerimeter field is set. */ boolean hasServicePerimeter(); /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; - * * @return The servicePerimeter. */ com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter(); /** - * - * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -398,38 +316,29 @@ public interface AssetOrBuilder
    *
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
-  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
-      getServicePerimeterOrBuilder();
+  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; - * * @return Whether the relatedAssets field is set. */ boolean hasRelatedAssets(); /** - * - * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; - * * @return The relatedAssets. */ com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets(); /** - * - * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
@@ -440,8 +349,6 @@ public interface AssetOrBuilder
   com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -453,13 +360,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @return A list containing the ancestors. */ - java.util.List getAncestorsList(); + java.util.List + getAncestorsList(); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -471,13 +376,10 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @return The count of ancestors. */ int getAncestorsCount(); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -489,14 +391,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** - * - * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -508,12 +407,11 @@ public interface AssetOrBuilder
    * 
* * repeated string ancestors = 10; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString getAncestorsBytes(int index); + com.google.protobuf.ByteString + getAncestorsBytes(int index); - public com.google.cloud.asset.v1p7beta1.Asset.AccessContextPolicyCase - getAccessContextPolicyCase(); + public com.google.cloud.asset.v1p7beta1.Asset.AccessContextPolicyCase getAccessContextPolicyCase(); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java new file mode 100644 index 000000000..25a31b15c --- /dev/null +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java @@ -0,0 +1,166 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p7beta1/assets.proto + +package com.google.cloud.asset.v1p7beta1; + +public final class AssetProto { + private AssetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p7beta1_Asset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_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/asset/v1p7beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p7beta1\032\034googl" + + "e/api/annotations.proto\032\031google/api/reso" + + "urce.proto\032)google/cloud/orgpolicy/v1/or" + + "gpolicy.proto\032(google/cloud/osconfig/v1/" + + "inventory.proto\032\032google/iam/v1/policy.pr" + + "oto\032:google/identity/accesscontextmanage" + + "r/v1/access_level.proto\032;google/identity" + + "/accesscontextmanager/v1/access_policy.p" + + "roto\032?google/identity/accesscontextmanag" + + "er/v1/service_perimeter.proto\032\031google/pr" + + "otobuf/any.proto\032\034google/protobuf/struct" + + ".proto\032\037google/protobuf/timestamp.proto\"" + + "\206\005\n\005Asset\022/\n\013update_time\030\013 \001(\0132\032.google." + + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasse" + + "t_type\030\002 \001(\t\0228\n\010resource\030\003 \001(\0132&.google." + + "cloud.asset.v1p7beta1.Resource\022)\n\niam_po" + + "licy\030\004 \001(\0132\025.google.iam.v1.Policy\0225\n\norg" + + "_policy\030\006 \003(\0132!.google.cloud.orgpolicy.v" + + "1.Policy\022N\n\raccess_policy\030\007 \001(\01325.google" + + ".identity.accesscontextmanager.v1.Access" + + "PolicyH\000\022L\n\014access_level\030\010 \001(\01324.google." + + "identity.accesscontextmanager.v1.AccessL" + + "evelH\000\022V\n\021service_perimeter\030\t \001(\01329.goog" + + "le.identity.accesscontextmanager.v1.Serv" + + "icePerimeterH\000\022C\n\016related_assets\030\r \001(\0132+" + + ".google.cloud.asset.v1p7beta1.RelatedAss" + + "ets\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." + + "googleapis.com/Asset\022\001*B\027\n\025access_contex" + + "t_policy\"\262\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" + + "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" + + "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" + + "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" + + "obuf.Struct\022\020\n\010location\030\010 \001(\t\"\242\001\n\rRelate" + + "dAssets\022U\n\027relationship_attributes\030\001 \001(\013" + + "24.google.cloud.asset.v1p7beta1.Relation" + + "shipAttributes\022:\n\006assets\030\002 \003(\0132*.google." + + "cloud.asset.v1p7beta1.RelatedAsset\"r\n\026Re" + + "lationshipAttributes\022\014\n\004type\030\004 \001(\t\022\034\n\024so" + + "urce_resource_type\030\001 \001(\t\022\034\n\024target_resou" + + "rce_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t\"j\n\014Relate" + + "dAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n\037cloudasset.g" + + "oogleapis.com/Asset\022\022\n\nasset_type\030\002 \001(\t\022" + + "\021\n\tancestors\030\003 \003(\tB\264\001\n com.google.cloud." + + "asset.v1p7beta1B\nAssetProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/asset" + + "/v1p7beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" + + ".V1P7Beta1\312\002\034Google\\Cloud\\Asset\\V1p7beta" + + "1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1.Inventories.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor, + new java.lang.String[] { "UpdateTime", "Name", "AssetType", "Resource", "IamPolicy", "OrgPolicy", "AccessPolicy", "AccessLevel", "ServicePerimeter", "RelatedAssets", "Ancestors", "AccessContextPolicy", }); + internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor, + new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", "Location", }); + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor, + new java.lang.String[] { "RelationshipAttributes", "Assets", }); + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor, + new java.lang.String[] { "Type", "SourceResourceType", "TargetResourceType", "Action", }); + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor, + new java.lang.String[] { "Asset", "AssetType", "Ancestors", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1.Inventories.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java new file mode 100644 index 000000000..c48779c60 --- /dev/null +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p7beta1/asset_service.proto + +package com.google.cloud.asset.v1p7beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_asset_v1p7beta1_ExportAssetsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_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/asset/v1p7beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p7beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032)goo" + + "gle/cloud/asset/v1p7beta1/assets.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"\267\002\n\023ExportAssetsRequest\0227\n\006p" + + "arent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.googleap" + + "is.com/Asset\022-\n\tread_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t" + + "\022?\n\014content_type\030\004 \001(\0162).google.cloud.as" + + "set.v1p7beta1.ContentType\022F\n\routput_conf" + + "ig\030\005 \001(\0132*.google.cloud.asset.v1p7beta1." + + "OutputConfigB\003\340A\002\022\032\n\022relationship_types\030" + + "\006 \003(\t\"\313\001\n\024ExportAssetsResponse\022-\n\tread_t" + + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022A\n" + + "\routput_config\030\002 \001(\0132*.google.cloud.asse" + + "t.v1p7beta1.OutputConfig\022A\n\routput_resul" + + "t\030\003 \001(\0132*.google.cloud.asset.v1p7beta1.O" + + "utputResult\"\271\001\n\014OutputConfig\022G\n\017gcs_dest" + + "ination\030\001 \001(\0132,.google.cloud.asset.v1p7b" + + "eta1.GcsDestinationH\000\022Q\n\024bigquery_destin" + + "ation\030\002 \001(\01321.google.cloud.asset.v1p7bet" + + "a1.BigQueryDestinationH\000B\r\n\013destination\"" + + "]\n\014OutputResult\022C\n\ngcs_result\030\001 \001(\0132-.go" + + "ogle.cloud.asset.v1p7beta1.GcsOutputResu" + + "ltH\000B\010\n\006result\"\037\n\017GcsOutputResult\022\014\n\004uri" + + "s\030\001 \003(\t\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000" + + "\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\273\001\n" + + "\023BigQueryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340" + + "A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022C\n" + + "\016partition_spec\030\004 \001(\0132+.google.cloud.ass" + + "et.v1p7beta1.PartitionSpec\022&\n\036separate_t" + + "ables_per_asset_type\030\005 \001(\010\"\260\001\n\rPartition" + + "Spec\022O\n\rpartition_key\030\001 \001(\01628.google.clo" + + "ud.asset.v1p7beta1.PartitionSpec.Partiti" + + "onKey\"N\n\014PartitionKey\022\035\n\031PARTITION_KEY_U" + + "NSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014REQUEST_T" + + "IME\020\002*~\n\013ContentType\022\034\n\030CONTENT_TYPE_UNS" + + "PECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002" + + "\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014R" + + "ELATIONSHIP\020\0072\332\002\n\014AssetService\022\372\001\n\014Expor" + + "tAssets\0221.google.cloud.asset.v1p7beta1.E" + + "xportAssetsRequest\032\035.google.longrunning." + + "Operation\"\227\001\202\323\344\223\002)\"$/v1p7beta1/{parent=*" + + "/*}:exportAssets:\001*\312Ae\n1google.cloud.ass" + + "et.v1p7beta1.ExportAssetsResponse\0220googl" + + "e.cloud.asset.v1p7beta1.ExportAssetsRequ" + + "est\032M\312A\031cloudasset.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\270\001\n com.google.cloud.asset.v1p7beta1B" + + "\021AssetServiceProtoP\001ZAgoogle.golang.org/" + + "genproto/googleapis/cloud/asset/v1p7beta" + + "1;asset\252\002\034Google.Cloud.Asset.V1P7Beta1\312\002" + + "\034Google\\Cloud\\Asset\\V1p7beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor, + new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "OutputConfig", "RelationshipTypes", }); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor, + new java.lang.String[] { "ReadTime", "OutputConfig", "OutputResult", }); + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor, + new java.lang.String[] { "GcsDestination", "BigqueryDestination", "Destination", }); + internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor, + new java.lang.String[] { "GcsResult", "Result", }); + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor, + new java.lang.String[] { "Uris", }); + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor, + new java.lang.String[] { "Uri", "UriPrefix", "ObjectUri", }); + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor, + new java.lang.String[] { "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", }); + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor, + new java.lang.String[] { "PartitionKey", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java similarity index 82% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java index e9f66396e..abf75e211 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * A BigQuery destination for exporting assets to.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.BigQueryDestination} */ -public final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BigQueryDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDestination() { dataset_ = ""; table_ = ""; @@ -44,15 +26,16 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,53 +54,48 @@ private BigQueryDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 24: - { - force_ = input.readBool(); - break; - } - case 34: - { - com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder subBuilder = null; - if (partitionSpec_ != null) { - subBuilder = partitionSpec_.toBuilder(); - } - partitionSpec_ = - input.readMessage( - com.google.cloud.asset.v1p7beta1.PartitionSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitionSpec_); - partitionSpec_ = subBuilder.buildPartial(); - } + table_ = s; + break; + } + case 24: { - break; + force_ = input.readBool(); + break; + } + case 34: { + com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder subBuilder = null; + if (partitionSpec_ != null) { + subBuilder = partitionSpec_.toBuilder(); } - case 40: - { - separateTablesPerAssetType_ = input.readBool(); - break; + partitionSpec_ = input.readMessage(com.google.cloud.asset.v1p7beta1.PartitionSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionSpec_); + partitionSpec_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 40: { + + separateTablesPerAssetType_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,33 +103,29 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, - com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); } public static final int DATASET_FIELD_NUMBER = 1; private volatile java.lang.Object dataset_; /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -160,7 +134,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -169,15 +142,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; } } /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -186,15 +158,16 @@ public java.lang.String getDataset() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -205,8 +178,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -214,7 +185,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ @java.lang.Override @@ -223,15 +193,14 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -239,15 +208,16 @@ public java.lang.String getTable() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -258,8 +228,6 @@ public com.google.protobuf.ByteString getTableBytes() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** - * - * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -268,7 +236,6 @@ public com.google.protobuf.ByteString getTableBytes() {
    * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -279,8 +246,6 @@ public boolean getForce() { public static final int PARTITION_SPEC_FIELD_NUMBER = 4; private com.google.cloud.asset.v1p7beta1.PartitionSpec partitionSpec_; /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -300,7 +265,6 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -308,8 +272,6 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -329,18 +291,13 @@ public boolean hasPartitionSpec() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return The partitionSpec. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec() { - return partitionSpec_ == null - ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() - : partitionSpec_; + return partitionSpec_ == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_; } /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -369,8 +326,6 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_;
   /**
-   *
-   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -399,7 +354,6 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
    * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -408,7 +362,6 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,7 +373,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -452,13 +406,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, force_); } if (partitionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPartitionSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPartitionSpec()); } if (separateTablesPerAssetType_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, separateTablesPerAssetType_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, separateTablesPerAssetType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -468,22 +425,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.BigQueryDestination other = - (com.google.cloud.asset.v1p7beta1.BigQueryDestination) obj; + com.google.cloud.asset.v1p7beta1.BigQueryDestination other = (com.google.cloud.asset.v1p7beta1.BigQueryDestination) obj; - if (!getDataset().equals(other.getDataset())) return false; - if (!getTable().equals(other.getTable())) return false; - if (getForce() != other.getForce()) return false; + if (!getDataset() + .equals(other.getDataset())) return false; + if (!getTable() + .equals(other.getTable())) return false; + if (getForce() + != other.getForce()) return false; if (hasPartitionSpec() != other.hasPartitionSpec()) return false; if (hasPartitionSpec()) { - if (!getPartitionSpec().equals(other.getPartitionSpec())) return false; + if (!getPartitionSpec() + .equals(other.getPartitionSpec())) return false; } - if (getSeparateTablesPerAssetType() != other.getSeparateTablesPerAssetType()) return false; + if (getSeparateTablesPerAssetType() + != other.getSeparateTablesPerAssetType()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -500,139 +461,132 @@ public int hashCode() { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); if (hasPartitionSpec()) { hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); } hash = (37 * hash) + SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSeparateTablesPerAssetType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSeparateTablesPerAssetType()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( - java.nio.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.asset.v1p7beta1.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.BigQueryDestination parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.BigQueryDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A BigQuery destination for exporting assets to.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.BigQueryDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.BigQueryDestination) com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, - com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.BigQueryDestination.newBuilder() @@ -640,15 +594,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -670,9 +625,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; } @java.lang.Override @@ -691,8 +646,7 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1p7beta1.BigQueryDestination result = - new com.google.cloud.asset.v1p7beta1.BigQueryDestination(this); + com.google.cloud.asset.v1p7beta1.BigQueryDestination result = new com.google.cloud.asset.v1p7beta1.BigQueryDestination(this); result.dataset_ = dataset_; result.table_ = table_; result.force_ = force_; @@ -710,39 +664,38 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.BigQueryDestination) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.BigQueryDestination) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.BigQueryDestination)other); } else { super.mergeFrom(other); return this; @@ -750,8 +703,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.BigQueryDestination other) { - if (other == com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) return this; if (!other.getDataset().isEmpty()) { dataset_ = other.dataset_; onChanged(); @@ -788,8 +740,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p7beta1.BigQueryDestination) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p7beta1.BigQueryDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -801,8 +752,6 @@ public Builder mergeFrom( private java.lang.Object dataset_ = ""; /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -811,13 +760,13 @@ public Builder mergeFrom(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -826,8 +775,6 @@ public java.lang.String getDataset() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -836,14 +783,15 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -851,8 +799,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { } } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -861,22 +807,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -885,18 +829,15 @@ public Builder setDataset(java.lang.String value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** - * - * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -905,16 +846,16 @@ public Builder clearDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -922,8 +863,6 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) { private java.lang.Object table_ = ""; /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -931,13 +870,13 @@ public Builder setDatasetBytes(com.google.protobuf.ByteString value) {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -946,8 +885,6 @@ public java.lang.String getTable() { } } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -955,14 +892,15 @@ public java.lang.String getTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - public com.google.protobuf.ByteString getTableBytes() { + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { @@ -970,8 +908,6 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -979,22 +915,20 @@ public com.google.protobuf.ByteString getTableBytes() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable(java.lang.String value) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; onChanged(); return this; } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -1002,18 +936,15 @@ public Builder setTable(java.lang.String value) {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** - * - * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -1021,25 +952,23 @@ public Builder clearTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1048,7 +977,6 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 3; - * * @return The force. */ @java.lang.Override @@ -1056,8 +984,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1066,19 +992,16 @@ public boolean getForce() {
      * 
* * bool force = 3; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1087,11 +1010,10 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; @@ -1099,13 +1021,8 @@ public Builder clearForce() { private com.google.cloud.asset.v1p7beta1.PartitionSpec partitionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.PartitionSpec, - com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, - com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder> - partitionSpecBuilder_; + com.google.cloud.asset.v1p7beta1.PartitionSpec, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder> partitionSpecBuilder_; /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1125,15 +1042,12 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return partitionSpecBuilder_ != null || partitionSpec_ != null; } /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1153,21 +1067,16 @@ public boolean hasPartitionSpec() {
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return The partitionSpec. */ public com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec() { if (partitionSpecBuilder_ == null) { - return partitionSpec_ == null - ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() - : partitionSpec_; + return partitionSpec_ == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_; } else { return partitionSpecBuilder_.getMessage(); } } /** - * - * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1202,8 +1111,6 @@ public Builder setPartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec v
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1236,8 +1143,6 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1262,9 +1167,7 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec
       if (partitionSpecBuilder_ == null) {
         if (partitionSpec_ != null) {
           partitionSpec_ =
-              com.google.cloud.asset.v1p7beta1.PartitionSpec.newBuilder(partitionSpec_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1p7beta1.PartitionSpec.newBuilder(partitionSpec_).mergeFrom(value).buildPartial();
         } else {
           partitionSpec_ = value;
         }
@@ -1276,8 +1179,6 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1310,8 +1211,6 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1333,13 +1232,11 @@ public Builder clearPartitionSpec() {
      * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4;
      */
     public com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder getPartitionSpecBuilder() {
-
+      
       onChanged();
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1364,14 +1261,11 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
       if (partitionSpecBuilder_ != null) {
         return partitionSpecBuilder_.getMessageOrBuilder();
       } else {
-        return partitionSpec_ == null
-            ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()
-            : partitionSpec_;
+        return partitionSpec_ == null ?
+            com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_;
       }
     }
     /**
-     *
-     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1393,26 +1287,21 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.PartitionSpec,
-            com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder,
-            com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder>
+        com.google.cloud.asset.v1p7beta1.PartitionSpec, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder> 
         getPartitionSpecFieldBuilder() {
       if (partitionSpecBuilder_ == null) {
-        partitionSpecBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1p7beta1.PartitionSpec,
-                com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder,
-                com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder>(
-                getPartitionSpec(), getParentForChildren(), isClean());
+        partitionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1p7beta1.PartitionSpec, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder>(
+                getPartitionSpec(),
+                getParentForChildren(),
+                isClean());
         partitionSpec_ = null;
       }
       return partitionSpecBuilder_;
     }
 
-    private boolean separateTablesPerAssetType_;
+    private boolean separateTablesPerAssetType_ ;
     /**
-     *
-     *
      * 
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1441,7 +1330,6 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1449,8 +1337,6 @@ public boolean getSeparateTablesPerAssetType() { return separateTablesPerAssetType_; } /** - * - * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1479,19 +1365,16 @@ public boolean getSeparateTablesPerAssetType() {
      * 
* * bool separate_tables_per_asset_type = 5; - * * @param value The separateTablesPerAssetType to set. * @return This builder for chaining. */ public Builder setSeparateTablesPerAssetType(boolean value) { - + separateTablesPerAssetType_ = value; onChanged(); return this; } /** - * - * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1520,18 +1403,17 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; - * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { - + separateTablesPerAssetType_ = 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); } @@ -1541,12 +1423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.BigQueryDestination) private static final com.google.cloud.asset.v1p7beta1.BigQueryDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.BigQueryDestination(); } @@ -1555,16 +1437,16 @@ public static com.google.cloud.asset.v1p7beta1.BigQueryDestination getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1579,4 +1461,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java similarity index 89% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java index f388d517d..40da134d5 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface BigQueryDestinationOrBuilder - extends +public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -34,13 +16,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ java.lang.String getDataset(); /** - * - * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -49,14 +28,12 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for dataset. */ - com.google.protobuf.ByteString getDatasetBytes(); + com.google.protobuf.ByteString + getDatasetBytes(); /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -64,13 +41,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -78,14 +52,12 @@ public interface BigQueryDestinationOrBuilder
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -94,14 +66,11 @@ public interface BigQueryDestinationOrBuilder
    * 
* * bool force = 3; - * * @return The force. */ boolean getForce(); /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -121,13 +90,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return Whether the partitionSpec field is set. */ boolean hasPartitionSpec(); /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -147,13 +113,10 @@ public interface BigQueryDestinationOrBuilder
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; - * * @return The partitionSpec. */ com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec(); /** - * - * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -177,8 +140,6 @@ public interface BigQueryDestinationOrBuilder
   com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecOrBuilder();
 
   /**
-   *
-   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -207,7 +168,6 @@ public interface BigQueryDestinationOrBuilder
    * 
* * bool separate_tables_per_asset_type = 5; - * * @return The separateTablesPerAssetType. */ boolean getSeparateTablesPerAssetType(); diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java similarity index 70% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java index d69eb0030..b093c4e6e 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1p7beta1.ContentType} */ -public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified content type.
    * 
@@ -39,8 +21,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ CONTENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * Resource metadata.
    * 
@@ -49,8 +29,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ RESOURCE(1), /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -59,8 +37,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ IAM_POLICY(2), /** - * - * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -69,8 +45,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ORG_POLICY(4), /** - * - * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -79,8 +53,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ ACCESS_POLICY(5), /** - * - * *
    * The related resources.
    * 
@@ -92,8 +64,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified content type.
    * 
@@ -102,8 +72,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Resource metadata.
    * 
@@ -112,8 +80,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_VALUE = 1; /** - * - * *
    * The actual IAM policy set on a resource.
    * 
@@ -122,8 +88,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IAM_POLICY_VALUE = 2; /** - * - * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -132,8 +96,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORG_POLICY_VALUE = 4; /** - * - * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -142,8 +104,6 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCESS_POLICY_VALUE = 5; /** - * - * *
    * The related resources.
    * 
@@ -152,6 +112,7 @@ public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELATIONSHIP_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,55 +137,52 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: - return CONTENT_TYPE_UNSPECIFIED; - case 1: - return RESOURCE; - case 2: - return IAM_POLICY; - case 4: - return ORG_POLICY; - case 5: - return ACCESS_POLICY; - case 7: - return RELATIONSHIP; - default: - return null; + case 0: return CONTENT_TYPE_UNSPECIFIED; + case 1: return RESOURCE; + case 2: return IAM_POLICY; + case 4: return ORG_POLICY; + case 5: return ACCESS_POLICY; + case 7: return RELATIONSHIP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ContentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.asset.v1p7beta1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -240,3 +198,4 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1p7beta1.ContentType) } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java similarity index 78% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java index 9ef4c9d0c..b09380a20 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * Export asset request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsRequest} */ -public final class ExportAssetsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportAssetsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.ExportAssetsRequest) ExportAssetsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportAssetsRequest.newBuilder() to construct. private ExportAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -46,15 +28,16 @@ private ExportAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ExportAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,78 +57,69 @@ private ExportAssetsRequest( 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.protobuf.Timestamp.Builder subBuilder = null; + if (readTime_ != null) { + subBuilder = readTime_.toBuilder(); } - 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; + readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTime_); + readTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assetTypes_.add(s); - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 32: - { - int rawValue = input.readEnum(); + assetTypes_.add(s); + break; + } + case 32: { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; + contentType_ = rawValue; + break; + } + case 42: { + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null; + if (outputConfig_ != null) { + subBuilder = outputConfig_.toBuilder(); } - case 42: - { - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null; - if (outputConfig_ != null) { - subBuilder = outputConfig_.toBuilder(); - } - outputConfig_ = - input.readMessage( - com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputConfig_); - outputConfig_ = subBuilder.buildPartial(); - } - - break; + outputConfig_ = input.readMessage(com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputConfig_); + outputConfig_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - relationshipTypes_.add(s); - break; + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + relationshipTypes_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,7 +127,8 @@ private ExportAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -165,27 +140,22 @@ private ExportAssetsRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -193,10 +163,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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 @@ -205,15 +172,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. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -221,18 +187,17 @@ public java.lang.String getParent() {
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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 { @@ -243,8 +208,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -254,7 +217,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -262,8 +224,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -273,7 +233,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -281,8 +240,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -301,8 +258,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -321,15 +276,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_; } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -348,15 +301,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -375,7 +325,6 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -383,8 +332,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -403,66 +350,52 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return The contentType. */ - @java.lang.Override - public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { + @java.lang.Override public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.ContentType result = - com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p7beta1.ContentType.UNRECOGNIZED : result; } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -470,36 +403,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -509,8 +431,6 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList relationshipTypes_; /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -525,15 +445,13 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
    * 
* * repeated string relationship_types = 6; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_; } /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -548,15 +466,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
    * 
* * repeated string relationship_types = 6; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -571,7 +486,6 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -579,8 +493,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -595,16 +507,15 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -616,7 +527,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -626,8 +538,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ - != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (outputConfig_ != null) { @@ -649,7 +560,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -659,12 +571,13 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ - != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); + if (contentType_ != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, contentType_); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getOutputConfig()); } { int dataSize = 0; @@ -682,26 +595,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest other = - (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) obj; + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest other = (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) 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 (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList() + .equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; } - if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList() + .equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -739,126 +656,117 @@ public int hashCode() { } public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.nio.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.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.ExportAssetsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.ExportAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.ExportAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Export asset request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.ExportAssetsRequest) com.google.cloud.asset.v1p7beta1.ExportAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.newBuilder() @@ -866,15 +774,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -902,9 +811,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; } @java.lang.Override @@ -923,8 +832,7 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest buildPartial() { - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result = - new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(this); + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result = new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -956,39 +864,38 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsRequest)other); } else { super.mergeFrom(other); return this; @@ -996,8 +903,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest other) { - if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1050,8 +956,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1060,13 +965,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1074,16 +976,14 @@ public Builder mergeFrom(
      * or a folder number (such as "folders/123").
      * 
* - * - * string parent = 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; @@ -1092,8 +992,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1101,17 +999,16 @@ public java.lang.String getParent() {
      * or a folder number (such as "folders/123").
      * 
* - * - * string parent = 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 { @@ -1119,8 +1016,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1128,25 +1023,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * or a folder number (such as "folders/123").
      * 
* - * - * 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1154,21 +1045,16 @@ public Builder setParent(java.lang.String value) {
      * or a folder number (such as "folders/123").
      * 
* - * - * string 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1176,19 +1062,17 @@ public Builder clearParent() {
      * or a folder number (such as "folders/123").
      * 
* - * - * 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; @@ -1196,13 +1080,8 @@ public Builder setParentBytes(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_; /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1212,15 +1091,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1230,7 +1106,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1241,8 +1116,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1267,8 +1140,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1279,7 +1150,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1290,8 +1162,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1306,7 +1176,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;
         }
@@ -1318,8 +1188,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1342,8 +1210,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1355,13 +1221,11 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-
+      
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1376,12 +1240,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1393,34 +1256,27 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1439,15 +1295,13 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList getAssetTypesList() { + public com.google.protobuf.ProtocolStringList + getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1466,15 +1320,12 @@ public com.google.protobuf.ProtocolStringList getAssetTypesList() {
      * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1493,7 +1344,6 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1501,8 +1351,6 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1521,16 +1369,14 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString + getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1549,23 +1395,21 @@ public com.google.protobuf.ByteString getAssetTypesBytes(int index) {
      * 
* * repeated string asset_types = 3; - * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes(int index, java.lang.String value) { + public Builder setAssetTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1584,22 +1428,20 @@ public Builder setAssetTypes(int index, java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes(java.lang.String value) { + public Builder addAssetTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1618,19 +1460,18 @@ public Builder addAssetTypes(java.lang.String value) {
      * 
* * repeated string asset_types = 3; - * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes(java.lang.Iterable values) { + public Builder addAllAssetTypes( + java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assetTypes_); onChanged(); return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1649,7 +1490,6 @@ public Builder addAllAssetTypes(java.lang.Iterable values) {
      * 
* * repeated string asset_types = 3; - * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1659,8 +1499,6 @@ public Builder clearAssetTypes() { return this; } /** - * - * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1679,15 +1517,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; - * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1696,69 +1534,55 @@ public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { private int contentType_ = 0; /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override - public int getContentTypeValue() { + @java.lang.Override public int getContentTypeValue() { return contentType_; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.ContentType result = - com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p7beta1.ContentType.UNRECOGNIZED : result; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1766,25 +1590,22 @@ public Builder setContentType(com.google.cloud.asset.v1p7beta1.ContentType value if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1792,61 +1613,42 @@ public Builder clearContentType() { private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, - com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1862,16 +1664,12 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOutputConfig( com.google.cloud.asset.v1p7beta1.OutputConfig.Builder builderForValue) { @@ -1885,24 +1683,18 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -1914,16 +1706,12 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1937,84 +1725,64 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, - com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> + com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, - com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - private com.google.protobuf.LazyStringList relationshipTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2029,15 +1797,13 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 6; - * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList + getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2052,15 +1818,12 @@ public com.google.protobuf.ProtocolStringList getRelationshipTypesList() {
      * 
* * repeated string relationship_types = 6; - * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2075,7 +1838,6 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 6; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -2083,8 +1845,6 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2099,16 +1859,14 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 6; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString + getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2123,23 +1881,21 @@ public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) {
      * 
* * repeated string relationship_types = 6; - * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes(int index, java.lang.String value) { + public Builder setRelationshipTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2154,22 +1910,20 @@ public Builder setRelationshipTypes(int index, java.lang.String value) {
      * 
* * repeated string relationship_types = 6; - * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes(java.lang.String value) { + public Builder addRelationshipTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2184,19 +1938,18 @@ public Builder addRelationshipTypes(java.lang.String value) {
      * 
* * repeated string relationship_types = 6; - * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes(java.lang.Iterable values) { + public Builder addAllRelationshipTypes( + java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, relationshipTypes_); onChanged(); return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2211,7 +1964,6 @@ public Builder addAllRelationshipTypes(java.lang.Iterable valu
      * 
* * repeated string relationship_types = 6; - * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2221,8 +1973,6 @@ public Builder clearRelationshipTypes() { return this; } /** - * - * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2237,23 +1987,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 6; - * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2263,12 +2013,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.ExportAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.ExportAssetsRequest) private static final com.google.cloud.asset.v1p7beta1.ExportAssetsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(); } @@ -2277,16 +2027,16 @@ public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2301,4 +2051,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java similarity index 86% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java index 909201e7a..068316c46 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface ExportAssetsRequestOrBuilder - extends +public interface ExportAssetsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.ExportAssetsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -33,16 +15,11 @@ public interface ExportAssetsRequestOrBuilder
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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 relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -50,17 +27,13 @@ public interface ExportAssetsRequestOrBuilder
    * or a folder number (such as "folders/123").
    * 
* - * - * string parent = 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(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -70,13 +43,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -86,13 +56,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -106,8 +73,6 @@ public interface ExportAssetsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -126,13 +91,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return A list containing the assetTypes. */ - java.util.List getAssetTypesList(); + java.util.List + getAssetTypesList(); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -151,13 +114,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @return The count of assetTypes. */ int getAssetTypesCount(); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -176,14 +136,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** - * - * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -202,86 +159,64 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string asset_types = 3; - * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString getAssetTypesBytes(int index); + com.google.protobuf.ByteString + getAssetTypesBytes(int index); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** - * - * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; - * * @return The contentType. */ com.google.cloud.asset.v1p7beta1.ContentType getContentType(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The outputConfig. */ com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig(); /** - * - * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -296,13 +231,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @return A list containing the relationshipTypes. */ - java.util.List getRelationshipTypesList(); + java.util.List + getRelationshipTypesList(); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -317,13 +250,10 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -338,14 +268,11 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** - * - * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -360,9 +287,9 @@ public interface ExportAssetsRequestOrBuilder
    * 
* * repeated string relationship_types = 6; - * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString + getRelationshipTypesBytes(int index); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java similarity index 73% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java index bcfa574a7..2249e653b 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * The export asset response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -31,29 +14,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsResponse}
  */
-public final class ExportAssetsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportAssetsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
     ExportAssetsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportAssetsResponse.newBuilder() to construct.
   private ExportAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ExportAssetsResponse() {}
+  private ExportAssetsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportAssetsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ExportAssetsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,60 +56,52 @@ private ExportAssetsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              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: {
+            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();
             }
-          case 18:
-            {
-              com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null;
-              if (outputConfig_ != null) {
-                subBuilder = outputConfig_.toBuilder();
-              }
-              outputConfig_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputConfig_);
-                outputConfig_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 18: {
+            com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null;
+            if (outputConfig_ != null) {
+              subBuilder = outputConfig_.toBuilder();
+            }
+            outputConfig_ = input.readMessage(com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputConfig_);
+              outputConfig_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.cloud.asset.v1p7beta1.OutputResult.Builder subBuilder = null;
-              if (outputResult_ != null) {
-                subBuilder = outputResult_.toBuilder();
-              }
-              outputResult_ =
-                  input.readMessage(
-                      com.google.cloud.asset.v1p7beta1.OutputResult.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(outputResult_);
-                outputResult_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.cloud.asset.v1p7beta1.OutputResult.Builder subBuilder = null;
+            if (outputResult_ != null) {
+              subBuilder = outputResult_.toBuilder();
+            }
+            outputResult_ = input.readMessage(com.google.cloud.asset.v1p7beta1.OutputResult.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(outputResult_);
+              outputResult_ = 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) {
@@ -133,39 +109,34 @@ private ExportAssetsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p7beta1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetServiceProto
-        .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class,
-            com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class, com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp readTime_;
   /**
-   *
-   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -173,14 +144,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -188,8 +156,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -204,14 +170,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; - * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -219,25 +182,18 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; - * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
@@ -252,8 +208,6 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB public static final int OUTPUT_RESULT_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p7beta1.OutputResult outputResult_; /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -263,7 +217,6 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; - * * @return Whether the outputResult field is set. */ @java.lang.Override @@ -271,8 +224,6 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -282,18 +233,13 @@ public boolean hasOutputResult() {
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; - * * @return The outputResult. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult() { - return outputResult_ == null - ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() - : outputResult_; + return outputResult_ == null ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_; } /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -310,7 +256,6 @@ public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrB
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -322,7 +267,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (readTime_ != null) {
       output.writeMessage(1, getReadTime());
     }
@@ -342,13 +288,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReadTime());
     }
     if (outputConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOutputConfig());
     }
     if (outputResult_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputResult());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getOutputResult());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -358,25 +307,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.asset.v1p7beta1.ExportAssetsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p7beta1.ExportAssetsResponse other =
-        (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) obj;
+    com.google.cloud.asset.v1p7beta1.ExportAssetsResponse other = (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) obj;
 
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (hasOutputConfig() != other.hasOutputConfig()) return false;
     if (hasOutputConfig()) {
-      if (!getOutputConfig().equals(other.getOutputConfig())) return false;
+      if (!getOutputConfig()
+          .equals(other.getOutputConfig())) return false;
     }
     if (hasOutputResult() != other.hasOutputResult()) return false;
     if (hasOutputResult()) {
-      if (!getOutputResult().equals(other.getOutputResult())) return false;
+      if (!getOutputResult()
+          .equals(other.getOutputResult())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -407,104 +358,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.nio.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      byte[] data, com.google.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.ExportAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The export asset response. This message is returned by the
    * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -515,23 +458,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
       com.google.cloud.asset.v1p7beta1.ExportAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class,
-              com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class, com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.newBuilder()
@@ -539,15 +480,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -573,9 +515,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetServiceProto
-          .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -594,8 +536,7 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result =
-          new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse(this);
+      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result = new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse(this);
       if (readTimeBuilder_ == null) {
         result.readTime_ = readTime_;
       } else {
@@ -619,39 +560,38 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -659,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse other) {
-      if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.getDefaultInstance()) return this;
       if (other.hasReadTime()) {
         mergeReadTime(other.getReadTime());
       }
@@ -689,8 +628,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -702,33 +640,24 @@ public Builder mergeFrom(
 
     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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -739,8 +668,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -761,15 +688,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -780,8 +706,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -792,7 +716,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; } @@ -804,8 +728,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -824,8 +746,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -833,13 +753,11 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the snapshot was taken.
      * 
@@ -850,12 +768,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 the snapshot was taken.
      * 
@@ -863,17 +780,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -881,47 +795,34 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, - com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> - outputConfigBuilder_; + com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> outputConfigBuilder_; /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; - * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; - * * @return The outputConfig. */ public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -942,8 +843,6 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -962,8 +861,6 @@ public Builder setOutputConfig( return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -974,9 +871,7 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); } else { outputConfig_ = value; } @@ -988,8 +883,6 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1008,8 +901,6 @@ public Builder clearOutputConfig() { return this; } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1017,13 +908,11 @@ public Builder clearOutputConfig() { * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; */ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1034,14 +923,11 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null - ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() - : outputConfig_; + return outputConfig_ == null ? + com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; } } /** - * - * *
      * Output configuration indicating where the results were output to.
      * 
@@ -1049,17 +935,14 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, - com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> + com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, - com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( - getOutputConfig(), getParentForChildren(), isClean()); + outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( + getOutputConfig(), + getParentForChildren(), + isClean()); outputConfig_ = null; } return outputConfigBuilder_; @@ -1067,13 +950,8 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB private com.google.cloud.asset.v1p7beta1.OutputResult outputResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputResult, - com.google.cloud.asset.v1p7beta1.OutputResult.Builder, - com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder> - outputResultBuilder_; + com.google.cloud.asset.v1p7beta1.OutputResult, com.google.cloud.asset.v1p7beta1.OutputResult.Builder, com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder> outputResultBuilder_; /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1083,15 +961,12 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
      * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; - * * @return Whether the outputResult field is set. */ public boolean hasOutputResult() { return outputResultBuilder_ != null || outputResult_ != null; } /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1101,21 +976,16 @@ public boolean hasOutputResult() {
      * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; - * * @return The outputResult. */ public com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult() { if (outputResultBuilder_ == null) { - return outputResult_ == null - ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() - : outputResult_; + return outputResult_ == null ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_; } else { return outputResultBuilder_.getMessage(); } } /** - * - * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1140,8 +1010,6 @@ public Builder setOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1164,8 +1032,6 @@ public Builder setOutputResult(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1180,9 +1046,7 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult v
       if (outputResultBuilder_ == null) {
         if (outputResult_ != null) {
           outputResult_ =
-              com.google.cloud.asset.v1p7beta1.OutputResult.newBuilder(outputResult_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.asset.v1p7beta1.OutputResult.newBuilder(outputResult_).mergeFrom(value).buildPartial();
         } else {
           outputResult_ = value;
         }
@@ -1194,8 +1058,6 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult v
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1218,8 +1080,6 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1231,13 +1091,11 @@ public Builder clearOutputResult() {
      * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3;
      */
     public com.google.cloud.asset.v1p7beta1.OutputResult.Builder getOutputResultBuilder() {
-
+      
       onChanged();
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1252,14 +1110,11 @@ public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrB
       if (outputResultBuilder_ != null) {
         return outputResultBuilder_.getMessageOrBuilder();
       } else {
-        return outputResult_ == null
-            ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()
-            : outputResult_;
+        return outputResult_ == null ?
+            com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_;
       }
     }
     /**
-     *
-     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1271,24 +1126,21 @@ public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrB
      * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.OutputResult,
-            com.google.cloud.asset.v1p7beta1.OutputResult.Builder,
-            com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder>
+        com.google.cloud.asset.v1p7beta1.OutputResult, com.google.cloud.asset.v1p7beta1.OutputResult.Builder, com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder> 
         getOutputResultFieldBuilder() {
       if (outputResultBuilder_ == null) {
-        outputResultBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1p7beta1.OutputResult,
-                com.google.cloud.asset.v1p7beta1.OutputResult.Builder,
-                com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder>(
-                getOutputResult(), getParentForChildren(), isClean());
+        outputResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1p7beta1.OutputResult, com.google.cloud.asset.v1p7beta1.OutputResult.Builder, com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder>(
+                getOutputResult(),
+                getParentForChildren(),
+                isClean());
         outputResult_ = null;
       }
       return outputResultBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1298,12 +1150,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
   private static final com.google.cloud.asset.v1p7beta1.ExportAssetsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse();
   }
@@ -1312,16 +1164,16 @@ public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExportAssetsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ExportAssetsResponse(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExportAssetsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ExportAssetsResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1336,4 +1188,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
index cfd199400..17a006b72 100644
--- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
+++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
-public interface ExportAssetsResponseOrBuilder
-    extends
+public interface ExportAssetsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Time the snapshot was taken.
    * 
@@ -59,32 +35,24 @@ public interface ExportAssetsResponseOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; - * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; - * * @return The outputConfig. */ com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig(); /** - * - * *
    * Output configuration indicating where the results were output to.
    * 
@@ -94,8 +62,6 @@ public interface ExportAssetsResponseOrBuilder com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -105,13 +71,10 @@ public interface ExportAssetsResponseOrBuilder
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; - * * @return Whether the outputResult field is set. */ boolean hasOutputResult(); /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -121,13 +84,10 @@ public interface ExportAssetsResponseOrBuilder
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; - * * @return The outputResult. */ com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult(); /** - * - * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
similarity index 76%
rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
index a388e716f..c2432f8da 100644
--- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
+++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.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/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
 /**
- *
- *
  * 
  * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsDestination} */ -public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcsDestination() {} + private GcsDestination() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,27 +52,25 @@ private GcsDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,40 +78,35 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsDestination.class, - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsDestination.class, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); } private int objectUriCase_ = 0; private java.lang.Object objectUri_; - public enum ObjectUriCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { URI(1), URI_PREFIX(2), OBJECTURI_NOT_SET(0); private final int value; - private ObjectUriCase(int value) { this.value = value; } @@ -145,30 +122,25 @@ public static ObjectUriCase valueOf(int value) { public static ObjectUriCase forNumber(int value) { switch (value) { - case 1: - return URI; - case 2: - return URI_PREFIX; - case 0: - return OBJECTURI_NOT_SET; - default: - return null; + case 1: return URI; + case 2: return URI_PREFIX; + case 0: return OBJECTURI_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ObjectUriCase getObjectUriCase() { - return ObjectUriCase.forNumber(objectUriCase_); + public ObjectUriCase + getObjectUriCase() { + return ObjectUriCase.forNumber( + objectUriCase_); } public static final int URI_FIELD_NUMBER = 1; /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -178,15 +150,12 @@ public ObjectUriCase getObjectUriCase() {
    * 
* * string uri = 1; - * * @return Whether the uri field is set. */ public boolean hasUri() { return objectUriCase_ == 1; } /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -196,7 +165,6 @@ public boolean hasUri() {
    * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { @@ -207,7 +175,8 @@ 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(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -216,8 +185,6 @@ public java.lang.String getUri() { } } /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -227,17 +194,18 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -249,8 +217,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int URI_PREFIX_FIELD_NUMBER = 2; /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -264,15 +230,12 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -286,7 +249,6 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -297,7 +259,8 @@ public java.lang.String getUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -306,8 +269,6 @@ public java.lang.String getUriPrefix() { } } /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -321,17 +282,18 @@ public java.lang.String getUriPrefix() {
    * 
* * string uri_prefix = 2; - * * @return The bytes for uriPrefix. */ - public com.google.protobuf.ByteString getUriPrefixBytes() { + public com.google.protobuf.ByteString + getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -342,7 +304,6 @@ public com.google.protobuf.ByteString getUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,7 +315,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -384,21 +346,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.asset.v1p7beta1.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.GcsDestination other = - (com.google.cloud.asset.v1p7beta1.GcsDestination) obj; + com.google.cloud.asset.v1p7beta1.GcsDestination other = (com.google.cloud.asset.v1p7beta1.GcsDestination) obj; if (!getObjectUriCase().equals(other.getObjectUriCase())) return false; switch (objectUriCase_) { case 1: - if (!getUri().equals(other.getUri())) return false; + if (!getUri() + .equals(other.getUri())) return false; break; case 2: - if (!getUriPrefix().equals(other.getUriPrefix())) return false; + if (!getUriPrefix() + .equals(other.getUriPrefix())) return false; break; case 0: default: @@ -431,127 +394,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.GcsDestination 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.asset.v1p7beta1.GcsDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsDestination parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsDestination} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.GcsDestination) com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsDestination.class, - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsDestination.class, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.GcsDestination.newBuilder() @@ -559,15 +513,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -577,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; } @java.lang.Override @@ -598,8 +553,7 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsDestination buildPartial() { - com.google.cloud.asset.v1p7beta1.GcsDestination result = - new com.google.cloud.asset.v1p7beta1.GcsDestination(this); + com.google.cloud.asset.v1p7beta1.GcsDestination result = new com.google.cloud.asset.v1p7beta1.GcsDestination(this); if (objectUriCase_ == 1) { result.objectUri_ = objectUri_; } @@ -615,39 +569,38 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsDestination) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsDestination)other); } else { super.mergeFrom(other); return this; @@ -655,27 +608,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.GcsDestination other) { - if (other == com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) return this; switch (other.getObjectUriCase()) { - case URI: - { - objectUriCase_ = 1; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case URI_PREFIX: - { - objectUriCase_ = 2; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case OBJECTURI_NOT_SET: - { - break; - } + case URI: { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case URI_PREFIX: { + objectUriCase_ = 2; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -705,12 +654,12 @@ public Builder mergeFrom( } return this; } - private int objectUriCase_ = 0; private java.lang.Object objectUri_; - - public ObjectUriCase getObjectUriCase() { - return ObjectUriCase.forNumber(objectUriCase_); + public ObjectUriCase + getObjectUriCase() { + return ObjectUriCase.forNumber( + objectUriCase_); } public Builder clearObjectUri() { @@ -720,9 +669,8 @@ public Builder clearObjectUri() { return this; } + /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -732,7 +680,6 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; - * * @return Whether the uri field is set. */ @java.lang.Override @@ -740,8 +687,6 @@ public boolean hasUri() { return objectUriCase_ == 1; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -751,7 +696,6 @@ public boolean hasUri() {
      * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -761,7 +705,8 @@ public java.lang.String getUri() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -772,8 +717,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -783,18 +726,19 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -804,8 +748,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -815,22 +757,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 1; - * * @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(); - } - objectUriCase_ = 1; + throw new NullPointerException(); + } + objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -840,7 +780,6 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { @@ -852,8 +791,6 @@ public Builder clearUri() { return this; } /** - * - * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -863,15 +800,15 @@ public Builder clearUri() {
      * 
* * string uri = 1; - * * @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); objectUriCase_ = 1; objectUri_ = value; onChanged(); @@ -879,8 +816,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -894,7 +829,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -902,8 +836,6 @@ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -917,7 +849,6 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ @java.lang.Override @@ -927,7 +858,8 @@ public java.lang.String getUriPrefix() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -938,8 +870,6 @@ public java.lang.String getUriPrefix() { } } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -953,18 +883,19 @@ public java.lang.String getUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @return The bytes for uriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getUriPrefixBytes() { + public com.google.protobuf.ByteString + getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -974,8 +905,6 @@ public com.google.protobuf.ByteString getUriPrefixBytes() { } } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -989,22 +918,20 @@ public com.google.protobuf.ByteString getUriPrefixBytes() {
      * 
* * string uri_prefix = 2; - * * @param value The uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefix(java.lang.String value) { + public Builder setUriPrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - objectUriCase_ = 2; + throw new NullPointerException(); + } + objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -1018,7 +945,6 @@ public Builder setUriPrefix(java.lang.String value) {
      * 
* * string uri_prefix = 2; - * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -1030,8 +956,6 @@ public Builder clearUriPrefix() { return this; } /** - * - * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -1045,23 +969,23 @@ public Builder clearUriPrefix() {
      * 
* * string uri_prefix = 2; - * * @param value The bytes for uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefixBytes(com.google.protobuf.ByteString value) { + public Builder setUriPrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.GcsDestination) private static final com.google.cloud.asset.v1p7beta1.GcsDestination DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.GcsDestination(); } @@ -1085,16 +1009,16 @@ public static com.google.cloud.asset.v1p7beta1.GcsDestination getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java similarity index 82% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java index 4196ea59b..f9f91bc6a 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface GcsDestinationOrBuilder - extends +public interface GcsDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.GcsDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -35,13 +17,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return Whether the uri field is set. */ boolean hasUri(); /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -51,13 +30,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -67,14 +43,12 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -88,13 +62,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri_prefix = 2; - * * @return Whether the uriPrefix field is set. */ boolean hasUriPrefix(); /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -108,13 +79,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri_prefix = 2; - * * @return The uriPrefix. */ java.lang.String getUriPrefix(); /** - * - * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -128,10 +96,10 @@ public interface GcsDestinationOrBuilder
    * 
* * string uri_prefix = 2; - * * @return The bytes for uriPrefix. */ - com.google.protobuf.ByteString getUriPrefixBytes(); + com.google.protobuf.ByteString + getUriPrefixBytes(); public com.google.cloud.asset.v1p7beta1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java similarity index 70% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java index 9e5a05ad2..d201500b2 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * A Cloud Storage output result.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsOutputResult} */ -public final class GcsOutputResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcsOutputResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.GcsOutputResult) GcsOutputResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcsOutputResult.newBuilder() to construct. private GcsOutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsOutputResult() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcsOutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GcsOutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,23 +54,22 @@ private GcsOutputResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,7 +77,8 @@ private GcsOutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -104,64 +87,53 @@ private GcsOutputResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -169,24 +141,21 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -227,15 +197,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.asset.v1p7beta1.GcsOutputResult)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.GcsOutputResult other = - (com.google.cloud.asset.v1p7beta1.GcsOutputResult) obj; + com.google.cloud.asset.v1p7beta1.GcsOutputResult other = (com.google.cloud.asset.v1p7beta1.GcsOutputResult) obj; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,127 +226,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.GcsOutputResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsOutputResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsOutputResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.GcsOutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.GcsOutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Storage output result.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsOutputResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.GcsOutputResult) com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.GcsOutputResult.newBuilder() @@ -384,15 +345,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; } @java.lang.Override @@ -423,8 +385,7 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsOutputResult buildPartial() { - com.google.cloud.asset.v1p7beta1.GcsOutputResult result = - new com.google.cloud.asset.v1p7beta1.GcsOutputResult(this); + com.google.cloud.asset.v1p7beta1.GcsOutputResult result = new com.google.cloud.asset.v1p7beta1.GcsOutputResult(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -439,39 +400,38 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.GcsOutputResult) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult)other); } else { super.mergeFrom(other); return this; @@ -479,8 +439,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.GcsOutputResult other) { - if (other == com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -519,58 +478,47 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -578,95 +526,85 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -676,31 +614,29 @@ public Builder clearUris() { return this; } /** - * - * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -710,12 +646,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.GcsOutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.GcsOutputResult) private static final com.google.cloud.asset.v1p7beta1.GcsOutputResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.GcsOutputResult(); } @@ -724,16 +660,16 @@ public static com.google.cloud.asset.v1p7beta1.GcsOutputResult getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsOutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsOutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsOutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,4 +684,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java similarity index 62% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java index ec8eda32a..c163a99c6 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java @@ -1,80 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface GcsOutputResultOrBuilder - extends +public interface GcsOutputResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.GcsOutputResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java similarity index 70% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java index 7caec96d9..74c5a8dd3 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * Output configuration for export assets destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputConfig} */ -public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.OutputConfig) OutputConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OutputConfig() {} + private OutputConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,41 @@ private OutputConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1p7beta1.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_).toBuilder(); } - case 18: - { - com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = - ((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_) - .toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.asset.v1p7beta1.BigQueryDestination.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 2; - break; + destination_ = + input.readMessage(com.google.cloud.asset.v1p7beta1.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + destinationCase_ = 1; + break; + } + case 18: { + com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = ((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage(com.google.cloud.asset.v1p7beta1.BigQueryDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); } + destinationCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +94,35 @@ private OutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputConfig.class, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputConfig.class, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; - public enum DestinationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), BIGQUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; - private DestinationCase(int value) { this.value = value; } @@ -169,36 +138,30 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: - return GCS_DESTINATION; - case 2: - return BIGQUERY_DESTINATION; - case 0: - return DESTINATION_NOT_SET; - default: - return null; + case 1: return GCS_DESTINATION; + case 2: return BIGQUERY_DESTINATION; + case 0: return DESTINATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -206,26 +169,21 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance(); } /** - * - * *
    * Destination on Cloud Storage.
    * 
@@ -235,22 +193,19 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance(); } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 2; /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; - * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -258,27 +213,22 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; - * * @return The bigqueryDestination. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_; } return com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance(); } /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
@@ -287,16 +237,14 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestinati
    * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder
-      getBigqueryDestinationOrBuilder() {
+  public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
     if (destinationCase_ == 2) {
-      return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_;
+       return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_;
     }
     return com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -308,7 +256,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (destinationCase_ == 1) {
       output.writeMessage(1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
     }
@@ -325,14 +274,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (destinationCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
     }
     if (destinationCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -342,21 +289,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.asset.v1p7beta1.OutputConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p7beta1.OutputConfig other =
-        (com.google.cloud.asset.v1p7beta1.OutputConfig) obj;
+    com.google.cloud.asset.v1p7beta1.OutputConfig other = (com.google.cloud.asset.v1p7beta1.OutputConfig) obj;
 
     if (!getDestinationCase().equals(other.getDestinationCase())) return false;
     switch (destinationCase_) {
       case 1:
-        if (!getGcsDestination().equals(other.getGcsDestination())) return false;
+        if (!getGcsDestination()
+            .equals(other.getGcsDestination())) return false;
         break;
       case 2:
-        if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false;
+        if (!getBigqueryDestination()
+            .equals(other.getBigqueryDestination())) return false;
         break;
       case 0:
       default:
@@ -389,127 +337,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
-      byte[] data, com.google.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.asset.v1p7beta1.OutputConfig 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.asset.v1p7beta1.OutputConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.OutputConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.asset.v1p7beta1.OutputConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.OutputConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.OutputConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.OutputConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Output configuration for export assets destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.OutputConfig) com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputConfig.class, - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputConfig.class, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder() @@ -517,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -535,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; } @java.lang.Override @@ -556,8 +496,7 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfig buildPartial() { - com.google.cloud.asset.v1p7beta1.OutputConfig result = - new com.google.cloud.asset.v1p7beta1.OutputConfig(this); + com.google.cloud.asset.v1p7beta1.OutputConfig result = new com.google.cloud.asset.v1p7beta1.OutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -581,39 +520,38 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.OutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputConfig) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputConfig)other); } else { super.mergeFrom(other); return this; @@ -623,20 +561,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.OutputConfig other) { if (other == com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: - { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case BIGQUERY_DESTINATION: - { - mergeBigqueryDestination(other.getBigqueryDestination()); - break; - } - case DESTINATION_NOT_SET: - { - break; - } + case GCS_DESTINATION: { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case BIGQUERY_DESTINATION: { + mergeBigqueryDestination(other.getBigqueryDestination()); + break; + } + case DESTINATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -666,12 +601,12 @@ public Builder mergeFrom( } return this; } - private int destinationCase_ = 0; private java.lang.Object destination_; - - public DestinationCase getDestinationCase() { - return DestinationCase.forNumber(destinationCase_); + public DestinationCase + getDestinationCase() { + return DestinationCase.forNumber( + destinationCase_); } public Builder clearDestination() { @@ -681,20 +616,15 @@ public Builder clearDestination() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsDestination, - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, - com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> - gcsDestinationBuilder_; + com.google.cloud.asset.v1p7beta1.GcsDestination, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> gcsDestinationBuilder_; /** - * - * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -702,14 +632,11 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** - * - * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ @java.lang.Override @@ -727,8 +654,6 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -749,8 +674,6 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -769,8 +692,6 @@ public Builder setGcsDestination( return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -779,14 +700,10 @@ public Builder setGcsDestination( */ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 - && destination_ - != com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) { - destination_ = - com.google.cloud.asset.v1p7beta1.GcsDestination.newBuilder( - (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_) - .mergeFrom(value) - .buildPartial(); + if (destinationCase_ == 1 && + destination_ != com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) { + destination_ = com.google.cloud.asset.v1p7beta1.GcsDestination.newBuilder((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_) + .mergeFrom(value).buildPartial(); } else { destination_ = value; } @@ -802,8 +719,6 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestinati return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -827,8 +742,6 @@ public Builder clearGcsDestination() { return this; } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -839,8 +752,6 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -859,8 +770,6 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** - * - * *
      * Destination on Cloud Storage.
      * 
@@ -868,45 +777,33 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsDestination, - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, - com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> + com.google.cloud.asset.v1p7beta1.GcsDestination, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsDestination, - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, - com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder>( + gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.GcsDestination, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder>( (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged(); - ; + onChanged();; return gcsDestinationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.BigQueryDestination, - com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, - com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder> - bigqueryDestinationBuilder_; + com.google.cloud.asset.v1p7beta1.BigQueryDestination, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; /** - * - * *
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
      * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; - * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -914,15 +811,12 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** - * - * *
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
      * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; - * * @return The bigqueryDestination. */ @java.lang.Override @@ -940,8 +834,6 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestinati } } /** - * - * *
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -949,8 +841,7 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestinati
      *
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
-    public Builder setBigqueryDestination(
-        com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
+    public Builder setBigqueryDestination(com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
       if (bigqueryDestinationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -964,8 +855,6 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -985,8 +874,6 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -994,17 +881,12 @@ public Builder setBigqueryDestination(
      *
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
-    public Builder mergeBigqueryDestination(
-        com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
+    public Builder mergeBigqueryDestination(com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
       if (bigqueryDestinationBuilder_ == null) {
-        if (destinationCase_ == 2
-            && destination_
-                != com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) {
-          destination_ =
-              com.google.cloud.asset.v1p7beta1.BigQueryDestination.newBuilder(
-                      (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (destinationCase_ == 2 &&
+            destination_ != com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) {
+          destination_ = com.google.cloud.asset.v1p7beta1.BigQueryDestination.newBuilder((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_)
+              .mergeFrom(value).buildPartial();
         } else {
           destination_ = value;
         }
@@ -1020,8 +902,6 @@ public Builder mergeBigqueryDestination(
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1046,8 +926,6 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1055,13 +933,10 @@ public Builder clearBigqueryDestination() {
      *
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
-    public com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder
-        getBigqueryDestinationBuilder() {
+    public com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder getBigqueryDestinationBuilder() {
       return getBigqueryDestinationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1070,8 +945,7 @@ public Builder clearBigqueryDestination() {
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder
-        getBigqueryDestinationOrBuilder() {
+    public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
       if ((destinationCase_ == 2) && (bigqueryDestinationBuilder_ != null)) {
         return bigqueryDestinationBuilder_.getMessageOrBuilder();
       } else {
@@ -1082,8 +956,6 @@ public Builder clearBigqueryDestination() {
       }
     }
     /**
-     *
-     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -1092,32 +964,26 @@ public Builder clearBigqueryDestination() {
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.BigQueryDestination,
-            com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder,
-            com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder>
+        com.google.cloud.asset.v1p7beta1.BigQueryDestination, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder> 
         getBigqueryDestinationFieldBuilder() {
       if (bigqueryDestinationBuilder_ == null) {
         if (!(destinationCase_ == 2)) {
           destination_ = com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance();
         }
-        bigqueryDestinationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.asset.v1p7beta1.BigQueryDestination,
-                com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder,
-                com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder>(
+        bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.asset.v1p7beta1.BigQueryDestination, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder>(
                 (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_,
                 getParentForChildren(),
                 isClean());
         destination_ = null;
       }
       destinationCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return bigqueryDestinationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1127,12 +993,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.OutputConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.OutputConfig)
   private static final com.google.cloud.asset.v1p7beta1.OutputConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.OutputConfig();
   }
@@ -1141,16 +1007,16 @@ public static com.google.cloud.asset.v1p7beta1.OutputConfig getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OutputConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new OutputConfig(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OutputConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new OutputConfig(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1165,4 +1031,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
similarity index 75%
rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
index 36a0629db..0e59d1470 100644
--- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
+++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
-public interface OutputConfigOrBuilder
-    extends
+public interface OutputConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.OutputConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; - * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; - * * @return The gcsDestination. */ com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination(); /** - * - * *
    * Destination on Cloud Storage.
    * 
@@ -59,34 +35,26 @@ public interface OutputConfigOrBuilder com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; - * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; - * * @return The bigqueryDestination. */ com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestination(); /** - * - * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
similarity index 69%
rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
index cc21d39b3..12d94870c 100644
--- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
+++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.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/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
 /**
- *
- *
  * 
  * Output result of export assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputResult} */ -public final class OutputResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OutputResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.OutputResult) OutputResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OutputResult.newBuilder() to construct. private OutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OutputResult() {} + private OutputResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,30 +52,27 @@ private OutputResult( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder subBuilder = null; - if (resultCase_ == 1) { - subBuilder = - ((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_).toBuilder(); - } - result_ = - input.readMessage( - com.google.cloud.asset.v1p7beta1.GcsOutputResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); - result_ = subBuilder.buildPartial(); - } - resultCase_ = 1; - break; + case 10: { + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder subBuilder = null; + if (resultCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_).toBuilder(); + } + result_ = + input.readMessage(com.google.cloud.asset.v1p7beta1.GcsOutputResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); + result_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + resultCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private OutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputResult.class, - com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputResult.class, com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; - public enum ResultCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_RESULT(1), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -147,34 +123,29 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 1: - return GCS_RESULT; - case 0: - return RESULT_NOT_SET; - default: - return null; + case 1: return GCS_RESULT; + case 0: return RESULT_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public static final int GCS_RESULT_FIELD_NUMBER = 1; /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; - * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -182,26 +153,21 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; - * * @return The gcsResult. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; } return com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance(); } /** - * - * *
    * Export result on Cloud Storage.
    * 
@@ -211,13 +177,12 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrBuilder() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; } return com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (resultCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); } @@ -243,9 +209,8 @@ public int getSerializedSize() { size = 0; if (resultCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,18 +220,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.asset.v1p7beta1.OutputResult)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.OutputResult other = - (com.google.cloud.asset.v1p7beta1.OutputResult) obj; + com.google.cloud.asset.v1p7beta1.OutputResult other = (com.google.cloud.asset.v1p7beta1.OutputResult) obj; if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 1: - if (!getGcsResult().equals(other.getGcsResult())) return false; + if (!getGcsResult() + .equals(other.getGcsResult())) return false; break; case 0: default: @@ -295,127 +260,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.OutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.OutputResult 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.asset.v1p7beta1.OutputResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.OutputResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.OutputResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.OutputResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.OutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.OutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Output result of export assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.OutputResult) com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputResult.class, - com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputResult.class, com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.OutputResult.newBuilder() @@ -423,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; } @java.lang.Override @@ -462,8 +419,7 @@ public com.google.cloud.asset.v1p7beta1.OutputResult build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputResult buildPartial() { - com.google.cloud.asset.v1p7beta1.OutputResult result = - new com.google.cloud.asset.v1p7beta1.OutputResult(this); + com.google.cloud.asset.v1p7beta1.OutputResult result = new com.google.cloud.asset.v1p7beta1.OutputResult(this); if (resultCase_ == 1) { if (gcsResultBuilder_ == null) { result.result_ = result_; @@ -480,39 +436,38 @@ public com.google.cloud.asset.v1p7beta1.OutputResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.OutputResult) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputResult) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputResult)other); } else { super.mergeFrom(other); return this; @@ -522,15 +477,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.OutputResult other) { if (other == com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()) return this; switch (other.getResultCase()) { - case GCS_RESULT: - { - mergeGcsResult(other.getGcsResult()); - break; - } - case RESULT_NOT_SET: - { - break; - } + case GCS_RESULT: { + mergeGcsResult(other.getGcsResult()); + break; + } + case RESULT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -560,12 +513,12 @@ public Builder mergeFrom( } return this; } - private int resultCase_ = 0; private java.lang.Object result_; - - public ResultCase getResultCase() { - return ResultCase.forNumber(resultCase_); + public ResultCase + getResultCase() { + return ResultCase.forNumber( + resultCase_); } public Builder clearResult() { @@ -575,20 +528,15 @@ public Builder clearResult() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsOutputResult, - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, - com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> - gcsResultBuilder_; + com.google.cloud.asset.v1p7beta1.GcsOutputResult, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> gcsResultBuilder_; /** - * - * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; - * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -596,14 +544,11 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** - * - * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; - * * @return The gcsResult. */ @java.lang.Override @@ -621,8 +566,6 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -643,8 +586,6 @@ public Builder setGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult val return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -663,8 +604,6 @@ public Builder setGcsResult( return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -673,13 +612,10 @@ public Builder setGcsResult( */ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult value) { if (gcsResultBuilder_ == null) { - if (resultCase_ == 1 - && result_ != com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) { - result_ = - com.google.cloud.asset.v1p7beta1.GcsOutputResult.newBuilder( - (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 1 && + result_ != com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) { + result_ = com.google.cloud.asset.v1p7beta1.GcsOutputResult.newBuilder((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -695,8 +631,6 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult v return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -720,8 +654,6 @@ public Builder clearGcsResult() { return this; } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -732,8 +664,6 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder getGcsResultBuil return getGcsResultFieldBuilder().getBuilder(); } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -752,8 +682,6 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB } } /** - * - * *
      * Export result on Cloud Storage.
      * 
@@ -761,32 +689,26 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsOutputResult, - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, - com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> + com.google.cloud.asset.v1p7beta1.GcsOutputResult, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> getGcsResultFieldBuilder() { if (gcsResultBuilder_ == null) { if (!(resultCase_ == 1)) { result_ = com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance(); } - gcsResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsOutputResult, - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, - com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder>( + gcsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.GcsOutputResult, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder>( (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 1; - onChanged(); - ; + onChanged();; return gcsResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -796,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.OutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.OutputResult) private static final com.google.cloud.asset.v1p7beta1.OutputResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.OutputResult(); } @@ -810,16 +732,16 @@ public static com.google.cloud.asset.v1p7beta1.OutputResult getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java similarity index 61% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java index ac9173854..84f878583 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface OutputResultOrBuilder - extends +public interface OutputResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.OutputResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; - * * @return Whether the gcsResult field is set. */ boolean hasGcsResult(); /** - * - * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; - * * @return The gcsResult. */ com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult(); /** - * - * *
    * Export result on Cloud Storage.
    * 
diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java similarity index 71% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java index d1af80305..b2b65109c 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * Specifications of BigQuery partitioned table as export destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.PartitionSpec} */ -public final class PartitionSpec extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartitionSpec extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.PartitionSpec) PartitionSpecOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartitionSpec.newBuilder() to construct. private PartitionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartitionSpec() { partitionKey_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartitionSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PartitionSpec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PartitionSpec( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - partitionKey_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + partitionKey_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,31 +73,27 @@ private PartitionSpec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.PartitionSpec.class, - com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1p7beta1.PartitionSpec.class, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); } /** - * - * *
    * This enum is used to determine the partition key column when exporting
    * assets to BigQuery partitioned table(s). Note that, if the partition key is
@@ -126,10 +104,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey}
    */
-  public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PartitionKey
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -138,8 +115,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum { */ PARTITION_KEY_UNSPECIFIED(0), /** - * - * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -152,8 +127,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_TIME(1),
     /**
-     *
-     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -168,8 +141,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -178,8 +149,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PARTITION_KEY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -192,8 +161,6 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_TIME_VALUE = 1;
     /**
-     *
-     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -205,6 +172,7 @@ public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -229,49 +197,49 @@ public static PartitionKey valueOf(int value) {
      */
     public static PartitionKey forNumber(int value) {
       switch (value) {
-        case 0:
-          return PARTITION_KEY_UNSPECIFIED;
-        case 1:
-          return READ_TIME;
-        case 2:
-          return REQUEST_TIME;
-        default:
-          return null;
+        case 0: return PARTITION_KEY_UNSPECIFIED;
+        case 1: return READ_TIME;
+        case 2: return REQUEST_TIME;
+        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<
+        PartitionKey> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PartitionKey findValueByNumber(int number) {
+              return PartitionKey.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PartitionKey findValueByNumber(int number) {
-            return PartitionKey.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.asset.v1p7beta1.PartitionSpec.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PartitionKey[] VALUES = values();
 
-    public static PartitionKey valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PartitionKey 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;
@@ -291,43 +259,31 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   private int partitionKey_;
   /**
-   *
-   *
    * 
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override - public int getPartitionKeyValue() { + @java.lang.Override public int getPartitionKeyValue() { return partitionKey_; } /** - * - * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The partitionKey. */ - @java.lang.Override - public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { + @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null - ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED - : result; + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,10 +295,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (partitionKey_ - != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (partitionKey_ != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { output.writeEnum(1, partitionKey_); } unknownFields.writeTo(output); @@ -354,10 +309,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (partitionKey_ - != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, partitionKey_); + if (partitionKey_ != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, partitionKey_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -367,13 +321,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.asset.v1p7beta1.PartitionSpec)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.PartitionSpec other = - (com.google.cloud.asset.v1p7beta1.PartitionSpec) obj; + com.google.cloud.asset.v1p7beta1.PartitionSpec other = (com.google.cloud.asset.v1p7beta1.PartitionSpec) obj; if (partitionKey_ != other.partitionKey_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -394,127 +347,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.PartitionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.PartitionSpec 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.asset.v1p7beta1.PartitionSpec parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.PartitionSpec parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.PartitionSpec parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.PartitionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.PartitionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifications of BigQuery partitioned table as export destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.PartitionSpec} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.PartitionSpec) com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.PartitionSpec.class, - com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1p7beta1.PartitionSpec.class, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.PartitionSpec.newBuilder() @@ -522,15 +466,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -540,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto - .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; } @java.lang.Override @@ -561,8 +506,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec buildPartial() { - com.google.cloud.asset.v1p7beta1.PartitionSpec result = - new com.google.cloud.asset.v1p7beta1.PartitionSpec(this); + com.google.cloud.asset.v1p7beta1.PartitionSpec result = new com.google.cloud.asset.v1p7beta1.PartitionSpec(this); result.partitionKey_ = partitionKey_; onBuilt(); return result; @@ -572,39 +516,38 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.PartitionSpec) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.PartitionSpec) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.PartitionSpec)other); } else { super.mergeFrom(other); return this; @@ -647,100 +590,80 @@ public Builder mergeFrom( private int partitionKey_ = 0; /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override - public int getPartitionKeyValue() { + @java.lang.Override public int getPartitionKeyValue() { return partitionKey_; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @param value The enum numeric value on the wire for partitionKey to set. * @return This builder for chaining. */ public Builder setPartitionKeyValue(int value) { - + partitionKey_ = value; onChanged(); return this; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The partitionKey. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null - ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED - : result; + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @param value The partitionKey to set. * @return This builder for chaining. */ - public Builder setPartitionKey( - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey value) { + public Builder setPartitionKey(com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey value) { if (value == null) { throw new NullPointerException(); } - + partitionKey_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return This builder for chaining. */ public Builder clearPartitionKey() { - + partitionKey_ = 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); } @@ -750,12 +673,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.PartitionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.PartitionSpec) private static final com.google.cloud.asset.v1p7beta1.PartitionSpec DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.PartitionSpec(); } @@ -764,16 +687,16 @@ public static com.google.cloud.asset.v1p7beta1.PartitionSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -788,4 +711,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java similarity index 56% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java index 80414f9af..0de671bc2 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface PartitionSpecOrBuilder - extends +public interface PartitionSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.PartitionSpec) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The enum numeric value on the wire for partitionKey. */ int getPartitionKeyValue(); /** - * - * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; - * * @return The partitionKey. */ com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey(); diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java similarity index 77% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java index a1c69ec63..be36b7d7f 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * An asset identify in Google Cloud which contains its name, type and
  * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAsset}
  */
-public final class RelatedAsset extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RelatedAsset extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.RelatedAsset)
     RelatedAssetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RelatedAsset.newBuilder() to construct.
   private RelatedAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RelatedAsset() {
     asset_ = "";
     assetType_ = "";
@@ -52,15 +34,16 @@ private RelatedAsset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RelatedAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RelatedAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -80,37 +63,34 @@ private RelatedAsset(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              asset_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            asset_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              assetType_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                ancestors_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              ancestors_.add(s);
-              break;
+            assetType_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              ancestors_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            ancestors_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -118,7 +98,8 @@ private RelatedAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         ancestors_ = ancestors_.getUnmodifiableView();
@@ -127,27 +108,22 @@ private RelatedAsset(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.RelatedAsset.class,
-            com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
+            com.google.cloud.asset.v1p7beta1.RelatedAsset.class, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
   }
 
   public static final int ASSET_FIELD_NUMBER = 1;
   private volatile java.lang.Object asset_;
   /**
-   *
-   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -157,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ @java.lang.Override @@ -166,15 +141,14 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -184,15 +158,16 @@ public java.lang.String getAsset() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -203,8 +178,6 @@ public com.google.protobuf.ByteString getAssetBytes() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -213,7 +186,6 @@ public com.google.protobuf.ByteString getAssetBytes() {
    * 
* * string asset_type = 2; - * * @return The assetType. */ @java.lang.Override @@ -222,15 +194,14 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -239,15 +210,16 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -258,8 +230,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { public static final int ANCESTORS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ancestors_; /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -269,15 +239,13 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
    * 
* * repeated string ancestors = 3; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_; } /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -287,15 +255,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
    * 
* * repeated string ancestors = 3; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -305,7 +270,6 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -313,8 +277,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -324,16 +286,15 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 3; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,7 +306,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -386,17 +348,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.asset.v1p7beta1.RelatedAsset)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.RelatedAsset other = - (com.google.cloud.asset.v1p7beta1.RelatedAsset) obj; - - if (!getAsset().equals(other.getAsset())) return false; - if (!getAssetType().equals(other.getAssetType())) return false; - if (!getAncestorsList().equals(other.getAncestorsList())) return false; + com.google.cloud.asset.v1p7beta1.RelatedAsset other = (com.google.cloud.asset.v1p7beta1.RelatedAsset) obj; + + if (!getAsset() + .equals(other.getAsset())) return false; + if (!getAssetType() + .equals(other.getAssetType())) return false; + if (!getAncestorsList() + .equals(other.getAncestorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,104 +385,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.RelatedAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.RelatedAsset 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.asset.v1p7beta1.RelatedAsset parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAsset parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAsset parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.RelatedAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.RelatedAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An asset identify in Google Cloud which contains its name, type and
    * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -532,23 +489,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAsset}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.RelatedAsset)
       com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.RelatedAsset.class,
-              com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
+              com.google.cloud.asset.v1p7beta1.RelatedAsset.class, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.RelatedAsset.newBuilder()
@@ -556,15 +511,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -578,9 +534,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
@@ -599,8 +555,7 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.RelatedAsset buildPartial() {
-      com.google.cloud.asset.v1p7beta1.RelatedAsset result =
-          new com.google.cloud.asset.v1p7beta1.RelatedAsset(this);
+      com.google.cloud.asset.v1p7beta1.RelatedAsset result = new com.google.cloud.asset.v1p7beta1.RelatedAsset(this);
       int from_bitField0_ = bitField0_;
       result.asset_ = asset_;
       result.assetType_ = assetType_;
@@ -617,39 +572,38 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p7beta1.RelatedAsset) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAsset) other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAsset)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -704,13 +658,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object asset_ = "";
     /**
-     *
-     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -720,13 +671,13 @@ public Builder mergeFrom(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -735,8 +686,6 @@ public java.lang.String getAsset() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -746,14 +695,15 @@ public java.lang.String getAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for asset. */ - public com.google.protobuf.ByteString getAssetBytes() { + public com.google.protobuf.ByteString + getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); asset_ = b; return b; } else { @@ -761,8 +711,6 @@ public com.google.protobuf.ByteString getAssetBytes() { } } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -772,22 +720,20 @@ public com.google.protobuf.ByteString getAssetBytes() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset(java.lang.String value) { + public Builder setAsset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + asset_ = value; onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -797,18 +743,15 @@ public Builder setAsset(java.lang.String value) {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearAsset() { - + asset_ = getDefaultInstance().getAsset(); onChanged(); return this; } /** - * - * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -818,16 +761,16 @@ public Builder clearAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes(com.google.protobuf.ByteString value) { + public Builder setAssetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + asset_ = value; onChanged(); return this; @@ -835,8 +778,6 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) { private java.lang.Object assetType_ = ""; /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -845,13 +786,13 @@ public Builder setAssetBytes(com.google.protobuf.ByteString value) {
      * 
* * string asset_type = 2; - * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -860,8 +801,6 @@ public java.lang.String getAssetType() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -870,14 +809,15 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString getAssetTypeBytes() { + public com.google.protobuf.ByteString + getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assetType_ = b; return b; } else { @@ -885,8 +825,6 @@ public com.google.protobuf.ByteString getAssetTypeBytes() { } } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -895,22 +833,20 @@ public com.google.protobuf.ByteString getAssetTypeBytes() {
      * 
* * string asset_type = 2; - * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType(java.lang.String value) { + public Builder setAssetType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -919,18 +855,15 @@ public Builder setAssetType(java.lang.String value) {
      * 
* * string asset_type = 2; - * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** - * - * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -939,33 +872,29 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; - * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ancestors_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -975,15 +904,13 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 3; - * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList getAncestorsList() { + public com.google.protobuf.ProtocolStringList + getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -993,15 +920,12 @@ public com.google.protobuf.ProtocolStringList getAncestorsList() {
      * 
* * repeated string ancestors = 3; - * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1011,7 +935,6 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1019,8 +942,6 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1030,16 +951,14 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 3; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString getAncestorsBytes(int index) { + public com.google.protobuf.ByteString + getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1049,23 +968,21 @@ public com.google.protobuf.ByteString getAncestorsBytes(int index) {
      * 
* * repeated string ancestors = 3; - * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors(int index, java.lang.String value) { + public Builder setAncestors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1075,22 +992,20 @@ public Builder setAncestors(int index, java.lang.String value) {
      * 
* * repeated string ancestors = 3; - * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors(java.lang.String value) { + public Builder addAncestors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1100,19 +1015,18 @@ public Builder addAncestors(java.lang.String value) {
      * 
* * repeated string ancestors = 3; - * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors(java.lang.Iterable values) { + public Builder addAllAncestors( + java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ancestors_); onChanged(); return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1122,7 +1036,6 @@ public Builder addAllAncestors(java.lang.Iterable values) {
      * 
* * repeated string ancestors = 3; - * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1132,8 +1045,6 @@ public Builder clearAncestors() { return this; } /** - * - * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1143,23 +1054,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 3; - * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -1169,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.RelatedAsset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.RelatedAsset) private static final com.google.cloud.asset.v1p7beta1.RelatedAsset DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.RelatedAsset(); } @@ -1183,16 +1094,16 @@ public static com.google.cloud.asset.v1p7beta1.RelatedAsset getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAsset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAsset(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAsset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,4 +1118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java similarity index 80% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java index 8e4a2d70e..584ef775c 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface RelatedAssetOrBuilder - extends +public interface RelatedAssetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.RelatedAsset) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -35,13 +17,10 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The asset. */ java.lang.String getAsset(); /** - * - * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -51,14 +30,12 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for asset. */ - com.google.protobuf.ByteString getAssetBytes(); + com.google.protobuf.ByteString + getAssetBytes(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -67,13 +44,10 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The assetType. */ java.lang.String getAssetType(); /** - * - * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -82,14 +56,12 @@ public interface RelatedAssetOrBuilder
    * 
* * string asset_type = 2; - * * @return The bytes for assetType. */ - com.google.protobuf.ByteString getAssetTypeBytes(); + com.google.protobuf.ByteString + getAssetTypeBytes(); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -99,13 +71,11 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @return A list containing the ancestors. */ - java.util.List getAncestorsList(); + java.util.List + getAncestorsList(); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -115,13 +85,10 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @return The count of ancestors. */ int getAncestorsCount(); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -131,14 +98,11 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** - * - * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -148,9 +112,9 @@ public interface RelatedAssetOrBuilder
    * 
* * repeated string ancestors = 3; - * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString getAncestorsBytes(int index); + com.google.protobuf.ByteString + getAncestorsBytes(int index); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java similarity index 72% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java index 6425e4f84..f0bc87151 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * The detailed related assets with the `relationship_type`.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAssets} */ -public final class RelatedAssets extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RelatedAssets extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.RelatedAssets) RelatedAssetsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RelatedAssets.newBuilder() to construct. private RelatedAssets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RelatedAssets() { assets_ = 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 RelatedAssets(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RelatedAssets( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,41 +54,35 @@ private RelatedAssets( case 0: done = true; break; - case 10: - { - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder subBuilder = null; - if (relationshipAttributes_ != null) { - subBuilder = relationshipAttributes_.toBuilder(); - } - relationshipAttributes_ = - input.readMessage( - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationshipAttributes_); - relationshipAttributes_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder subBuilder = null; + if (relationshipAttributes_ != null) { + subBuilder = relationshipAttributes_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - assets_.add( - input.readMessage( - com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), extensionRegistry)); - break; + relationshipAttributes_ = input.readMessage(com.google.cloud.asset.v1p7beta1.RelationshipAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationshipAttributes_); + relationshipAttributes_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assets_.add( + input.readMessage(com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +90,8 @@ private RelatedAssets( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -122,33 +100,27 @@ private RelatedAssets( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.RelatedAssets.class, - com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); + com.google.cloud.asset.v1p7beta1.RelatedAssets.class, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); } public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p7beta1.RelationshipAttributes relationshipAttributes_; /** - * - * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * * @return Whether the relationshipAttributes field is set. */ @java.lang.Override @@ -156,25 +128,18 @@ public boolean hasRelationshipAttributes() { return relationshipAttributes_ != null; } /** - * - * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * * @return The relationshipAttributes. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAttributes() { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + return relationshipAttributes_ == null ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } /** - * - * *
    * The detailed relation attributes.
    * 
@@ -182,16 +147,13 @@ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAt * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder - getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { return getRelationshipAttributes(); } public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -203,8 +165,6 @@ public java.util.List getAssetsLi return assets_; } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -212,13 +172,11 @@ public java.util.List getAssetsLi * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -230,8 +188,6 @@ public int getAssetsCount() { return assets_.size(); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -243,8 +199,6 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -252,12 +206,12 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder( + int index) { return assets_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +223,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (relationshipAttributes_ != null) { output.writeMessage(1, getRelationshipAttributes()); } @@ -286,11 +241,12 @@ public int getSerializedSize() { size = 0; if (relationshipAttributes_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationshipAttributes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRelationshipAttributes()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, assets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -300,19 +256,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.RelatedAssets)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.RelatedAssets other = - (com.google.cloud.asset.v1p7beta1.RelatedAssets) obj; + com.google.cloud.asset.v1p7beta1.RelatedAssets other = (com.google.cloud.asset.v1p7beta1.RelatedAssets) obj; if (hasRelationshipAttributes() != other.hasRelationshipAttributes()) return false; if (hasRelationshipAttributes()) { - if (!getRelationshipAttributes().equals(other.getRelationshipAttributes())) return false; + if (!getRelationshipAttributes() + .equals(other.getRelationshipAttributes())) return false; } - if (!getAssetsList().equals(other.getAssetsList())) return false; + if (!getAssetsList() + .equals(other.getAssetsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -337,127 +294,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.RelatedAssets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.RelatedAssets 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.asset.v1p7beta1.RelatedAssets parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAssets parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAssets parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.RelatedAssets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.RelatedAssets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The detailed related assets with the `relationship_type`.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAssets} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.RelatedAssets) com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.RelatedAssets.class, - com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); + com.google.cloud.asset.v1p7beta1.RelatedAssets.class, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.RelatedAssets.newBuilder() @@ -465,17 +413,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) { getAssetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; } @java.lang.Override @@ -516,8 +464,7 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.RelatedAssets buildPartial() { - com.google.cloud.asset.v1p7beta1.RelatedAssets result = - new com.google.cloud.asset.v1p7beta1.RelatedAssets(this); + com.google.cloud.asset.v1p7beta1.RelatedAssets result = new com.google.cloud.asset.v1p7beta1.RelatedAssets(this); int from_bitField0_ = bitField0_; if (relationshipAttributesBuilder_ == null) { result.relationshipAttributes_ = relationshipAttributes_; @@ -541,39 +488,38 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.RelatedAssets) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAssets) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAssets)other); } else { super.mergeFrom(other); return this; @@ -603,10 +549,9 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.RelatedAssets other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAssetsFieldBuilder() - : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAssetsFieldBuilder() : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -640,63 +585,45 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.cloud.asset.v1p7beta1.RelationshipAttributes relationshipAttributes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelationshipAttributes, - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, - com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> - relationshipAttributesBuilder_; + com.google.cloud.asset.v1p7beta1.RelationshipAttributes, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> relationshipAttributesBuilder_; /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; * @return Whether the relationshipAttributes field is set. */ public boolean hasRelationshipAttributes() { return relationshipAttributesBuilder_ != null || relationshipAttributes_ != null; } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; * @return The relationshipAttributes. */ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAttributes() { if (relationshipAttributesBuilder_ == null) { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + return relationshipAttributes_ == null ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } else { return relationshipAttributesBuilder_.getMessage(); } } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ - public Builder setRelationshipAttributes( - com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { + public Builder setRelationshipAttributes(com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,14 +637,11 @@ public Builder setRelationshipAttributes( return this; } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ public Builder setRelationshipAttributes( com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder builderForValue) { @@ -731,24 +655,17 @@ public Builder setRelationshipAttributes( return this; } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ - public Builder mergeRelationshipAttributes( - com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { + public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (relationshipAttributes_ != null) { relationshipAttributes_ = - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.newBuilder( - relationshipAttributes_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.newBuilder(relationshipAttributes_).mergeFrom(value).buildPartial(); } else { relationshipAttributes_ = value; } @@ -760,14 +677,11 @@ public Builder mergeRelationshipAttributes( return this; } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ public Builder clearRelationshipAttributes() { if (relationshipAttributesBuilder_ == null) { @@ -781,87 +695,66 @@ public Builder clearRelationshipAttributes() { return this; } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ - public com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder - getRelationshipAttributesBuilder() { - + public com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder getRelationshipAttributesBuilder() { + onChanged(); return getRelationshipAttributesFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ - public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder - getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { if (relationshipAttributesBuilder_ != null) { return relationshipAttributesBuilder_.getMessageOrBuilder(); } else { - return relationshipAttributes_ == null - ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() - : relationshipAttributes_; + return relationshipAttributes_ == null ? + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; } } /** - * - * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelationshipAttributes, - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, - com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> + com.google.cloud.asset.v1p7beta1.RelationshipAttributes, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> getRelationshipAttributesFieldBuilder() { if (relationshipAttributesBuilder_ == null) { - relationshipAttributesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelationshipAttributes, - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, - com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder>( - getRelationshipAttributes(), getParentForChildren(), isClean()); + relationshipAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.RelationshipAttributes, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder>( + getRelationshipAttributes(), + getParentForChildren(), + isClean()); relationshipAttributes_ = null; } return relationshipAttributesBuilder_; } private java.util.List assets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelatedAsset, - com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, - com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> - assetsBuilder_; + com.google.cloud.asset.v1p7beta1.RelatedAsset, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> assetsBuilder_; /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -876,8 +769,6 @@ public java.util.List getAssetsLi } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -892,8 +783,6 @@ public int getAssetsCount() { } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -908,15 +797,14 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { } } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public Builder setAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { + public Builder setAssets( + int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -930,8 +818,6 @@ public Builder setAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsse return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -950,8 +836,6 @@ public Builder setAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -972,15 +856,14 @@ public Builder addAssets(com.google.cloud.asset.v1p7beta1.RelatedAsset value) { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public Builder addAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { + public Builder addAssets( + int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -994,8 +877,6 @@ public Builder addAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsse return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1014,8 +895,6 @@ public Builder addAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1034,8 +913,6 @@ public Builder addAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1046,7 +923,8 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -1054,8 +932,6 @@ public Builder addAllAssets( return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1073,8 +949,6 @@ public Builder clearAssets() { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1092,44 +966,39 @@ public Builder removeAssets(int index) { return this; } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder getAssetsBuilder(int index) { + public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder getAssetsBuilder( + int index) { return getAssetsFieldBuilder().getBuilder(index); } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { + public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder( + int index) { if (assetsBuilder_ == null) { - return assets_.get(index); - } else { + return assets_.get(index); } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1137,8 +1006,6 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder } } /** - * - * *
      * The peer resources of the relationship.
      * 
@@ -1146,55 +1013,49 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder() - .addBuilder(com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); + return getAssetsFieldBuilder().addBuilder( + com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder addAssetsBuilder(int index) { - return getAssetsFieldBuilder() - .addBuilder(index, com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); + public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder addAssetsBuilder( + int index) { + return getAssetsFieldBuilder().addBuilder( + index, com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); } /** - * - * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelatedAsset, - com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, - com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> + com.google.cloud.asset.v1p7beta1.RelatedAsset, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelatedAsset, - com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, - com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder>( - assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.RelatedAsset, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder>( + assets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); assets_ = null; } return assetsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1204,12 +1065,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.RelatedAssets) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.RelatedAssets) private static final com.google.cloud.asset.v1p7beta1.RelatedAssets DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.RelatedAssets(); } @@ -1218,16 +1079,16 @@ public static com.google.cloud.asset.v1p7beta1.RelatedAssets getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAssets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAssets(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAssets(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,4 +1103,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java similarity index 72% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java index a3ac416cd..209d5d21f 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java @@ -1,77 +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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface RelatedAssetsOrBuilder - extends +public interface RelatedAssetsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.RelatedAssets) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * * @return Whether the relationshipAttributes field is set. */ boolean hasRelationshipAttributes(); /** - * - * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; - * * @return The relationshipAttributes. */ com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAttributes(); /** - * - * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ - com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder - getRelationshipAttributesOrBuilder(); + com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder(); /** - * - * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - java.util.List getAssetsList(); + java.util.List + getAssetsList(); /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -80,8 +52,6 @@ public interface RelatedAssetsOrBuilder */ com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index); /** - * - * *
    * The peer resources of the relationship.
    * 
@@ -90,24 +60,21 @@ public interface RelatedAssetsOrBuilder */ int getAssetsCount(); /** - * - * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** - * - * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder(int index); + com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder( + int index); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java similarity index 71% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java index 927a7ae58..df7f5082c 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * The relationship attributes which include  `type`, `source_resource_type`,
  * `target_resource_type` and `action`.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.RelationshipAttributes}
  */
-public final class RelationshipAttributes extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RelationshipAttributes extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.RelationshipAttributes)
     RelationshipAttributesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RelationshipAttributes.newBuilder() to construct.
   private RelationshipAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RelationshipAttributes() {
     type_ = "";
     sourceResourceType_ = "";
@@ -47,15 +29,16 @@ private RelationshipAttributes() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RelationshipAttributes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RelationshipAttributes(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,41 +57,37 @@ private RelationshipAttributes(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              sourceResourceType_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            sourceResourceType_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              targetResourceType_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            targetResourceType_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              action_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            action_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            type_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,40 +95,35 @@ private RelationshipAttributes(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p7beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto
-        .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class,
-            com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
+            com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 4;
   private volatile java.lang.Object type_;
   /**
-   *
-   *
    * 
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The type. */ @java.lang.Override @@ -158,30 +132,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -192,14 +166,11 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceResourceType_; /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The sourceResourceType. */ @java.lang.Override @@ -208,29 +179,29 @@ public java.lang.String getSourceResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; } } /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The bytes for sourceResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString + getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -241,14 +212,11 @@ public com.google.protobuf.ByteString getSourceResourceTypeBytes() { public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object targetResourceType_; /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The targetResourceType. */ @java.lang.Override @@ -257,29 +225,29 @@ public java.lang.String getTargetResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; } } /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The bytes for targetResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString + getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -290,14 +258,11 @@ public com.google.protobuf.ByteString getTargetResourceTypeBytes() { public static final int ACTION_FIELD_NUMBER = 3; private volatile java.lang.Object action_; /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The action. */ @java.lang.Override @@ -306,29 +271,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -337,7 +302,6 @@ public com.google.protobuf.ByteString getActionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceResourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceResourceType_); } @@ -391,18 +356,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.asset.v1p7beta1.RelationshipAttributes)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.RelationshipAttributes other = - (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) obj; - - if (!getType().equals(other.getType())) return false; - if (!getSourceResourceType().equals(other.getSourceResourceType())) return false; - if (!getTargetResourceType().equals(other.getTargetResourceType())) return false; - if (!getAction().equals(other.getAction())) return false; + com.google.cloud.asset.v1p7beta1.RelationshipAttributes other = (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) obj; + + if (!getType() + .equals(other.getType())) return false; + if (!getSourceResourceType() + .equals(other.getSourceResourceType())) return false; + if (!getTargetResourceType() + .equals(other.getTargetResourceType())) return false; + if (!getAction() + .equals(other.getAction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -428,104 +396,96 @@ public int hashCode() { } public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.nio.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.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelationshipAttributes parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelationshipAttributes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.RelationshipAttributes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.asset.v1p7beta1.RelationshipAttributes prototype) { + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.RelationshipAttributes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The relationship attributes which include  `type`, `source_resource_type`,
    * `target_resource_type` and `action`.
@@ -533,23 +493,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.RelationshipAttributes}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.RelationshipAttributes)
       com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class,
-              com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
+              com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.RelationshipAttributes.newBuilder()
@@ -557,15 +515,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -581,9 +540,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto
-          .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
@@ -602,8 +561,7 @@ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.RelationshipAttributes buildPartial() {
-      com.google.cloud.asset.v1p7beta1.RelationshipAttributes result =
-          new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(this);
+      com.google.cloud.asset.v1p7beta1.RelationshipAttributes result = new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(this);
       result.type_ = type_;
       result.sourceResourceType_ = sourceResourceType_;
       result.targetResourceType_ = targetResourceType_;
@@ -616,39 +574,38 @@ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p7beta1.RelationshipAttributes) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelationshipAttributes) other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelationshipAttributes)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -656,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.RelationshipAttributes other) {
-      if (other == com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance()) return this;
       if (!other.getType().isEmpty()) {
         type_ = other.type_;
         onChanged();
@@ -693,8 +649,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -706,21 +661,19 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
-     *
-     *
      * 
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -729,22 +682,21 @@ public java.lang.String getType() { } } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); type_ = b; return b; } else { @@ -752,64 +704,57 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -817,20 +762,18 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceResourceType_ = ""; /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @return The sourceResourceType. */ public java.lang.String getSourceResourceType() { java.lang.Object ref = sourceResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; @@ -839,21 +782,20 @@ public java.lang.String getSourceResourceType() { } } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @return The bytes for sourceResourceType. */ - public com.google.protobuf.ByteString getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString + getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -861,61 +803,54 @@ public com.google.protobuf.ByteString getSourceResourceTypeBytes() { } } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @param value The sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceType(java.lang.String value) { + public Builder setSourceResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceResourceType_ = value; onChanged(); return this; } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceResourceType() { - + sourceResourceType_ = getDefaultInstance().getSourceResourceType(); onChanged(); return this; } /** - * - * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; - * * @param value The bytes for sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setSourceResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceResourceType_ = value; onChanged(); return this; @@ -923,20 +858,18 @@ public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) private java.lang.Object targetResourceType_ = ""; /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @return The targetResourceType. */ public java.lang.String getTargetResourceType() { java.lang.Object ref = targetResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; @@ -945,21 +878,20 @@ public java.lang.String getTargetResourceType() { } } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @return The bytes for targetResourceType. */ - public com.google.protobuf.ByteString getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString + getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -967,61 +899,54 @@ public com.google.protobuf.ByteString getTargetResourceTypeBytes() { } } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @param value The targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceType(java.lang.String value) { + public Builder setTargetResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetResourceType_ = value; onChanged(); return this; } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @return This builder for chaining. */ public Builder clearTargetResourceType() { - + targetResourceType_ = getDefaultInstance().getTargetResourceType(); onChanged(); return this; } /** - * - * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; - * * @param value The bytes for targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTargetResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetResourceType_ = value; onChanged(); return this; @@ -1029,20 +954,18 @@ public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) private java.lang.Object action_ = ""; /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -1051,21 +974,20 @@ public java.lang.String getAction() { } } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return The bytes for action. */ - public com.google.protobuf.ByteString getActionBytes() { + public com.google.protobuf.ByteString + getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); action_ = b; return b; } else { @@ -1073,68 +995,61 @@ public com.google.protobuf.ByteString getActionBytes() { } } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction(java.lang.String value) { + public Builder setAction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + action_ = value; onChanged(); return this; } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = getDefaultInstance().getAction(); onChanged(); return this; } /** - * - * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; - * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes(com.google.protobuf.ByteString value) { + public Builder setActionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + action_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1144,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.RelationshipAttributes) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.RelationshipAttributes) private static final com.google.cloud.asset.v1p7beta1.RelationshipAttributes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(); } @@ -1158,16 +1073,16 @@ public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationshipAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationshipAttributes(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationshipAttributes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1182,4 +1097,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java similarity index 66% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java index 8df443f22..1f2a45eb6 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java @@ -1,127 +1,91 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface RelationshipAttributesOrBuilder - extends +public interface RelationshipAttributesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.RelationshipAttributes) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The sourceResourceType. */ java.lang.String getSourceResourceType(); /** - * - * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; - * * @return The bytes for sourceResourceType. */ - com.google.protobuf.ByteString getSourceResourceTypeBytes(); + com.google.protobuf.ByteString + getSourceResourceTypeBytes(); /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The targetResourceType. */ java.lang.String getTargetResourceType(); /** - * - * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; - * * @return The bytes for targetResourceType. */ - com.google.protobuf.ByteString getTargetResourceTypeBytes(); + com.google.protobuf.ByteString + getTargetResourceTypeBytes(); /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The action. */ java.lang.String getAction(); /** - * - * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; - * * @return The bytes for action. */ - com.google.protobuf.ByteString getActionBytes(); + com.google.protobuf.ByteString + getActionBytes(); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java similarity index 76% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java index c4bc5825f..9b784adea 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** - * - * *
  * A representation of a Google Cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.Resource} */ -public final class Resource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Resource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -48,15 +30,16 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,69 +58,62 @@ private Resource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 50: { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); } - case 50: - { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); - } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); - } - - break; + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + location_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -145,39 +121,34 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.Resource.class, - com.google.cloud.asset.v1p7beta1.Resource.Builder.class); + com.google.cloud.asset.v1p7beta1.Resource.class, com.google.cloud.asset.v1p7beta1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -186,29 +157,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; } } /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @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 { @@ -219,8 +190,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -230,7 +199,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -239,15 +207,14 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -257,15 +224,16 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -276,8 +244,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -286,7 +252,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ @java.lang.Override @@ -295,15 +260,14 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -312,15 +276,16 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -331,8 +296,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -341,7 +304,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ @java.lang.Override @@ -350,15 +312,14 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -367,15 +328,16 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -386,8 +348,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -402,7 +362,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -411,15 +370,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 full name of the immediate parent of this resource. See
    * [Resource
@@ -434,15 +392,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; - * * @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 { @@ -453,15 +412,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ @java.lang.Override @@ -469,15 +425,12 @@ public boolean hasData() { return data_ != null; } /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ @java.lang.Override @@ -485,8 +438,6 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -502,15 +453,12 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   public static final int LOCATION_FIELD_NUMBER = 8;
   private volatile java.lang.Object location_;
   /**
-   *
-   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The location. */ @java.lang.Override @@ -519,30 +467,30 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -551,7 +499,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -563,7 +510,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -610,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); } if (data_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getData()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, location_); @@ -623,24 +572,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.Resource)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.Resource other = - (com.google.cloud.asset.v1p7beta1.Resource) obj; - - if (!getVersion().equals(other.getVersion())) return false; - if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false; - if (!getDiscoveryName().equals(other.getDiscoveryName())) return false; - if (!getResourceUrl().equals(other.getResourceUrl())) return false; - if (!getParent().equals(other.getParent())) return false; + com.google.cloud.asset.v1p7beta1.Resource other = (com.google.cloud.asset.v1p7beta1.Resource) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getDiscoveryDocumentUri() + .equals(other.getDiscoveryDocumentUri())) return false; + if (!getDiscoveryName() + .equals(other.getDiscoveryName())) return false; + if (!getResourceUrl() + .equals(other.getResourceUrl())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { - if (!getData().equals(other.getData())) return false; + if (!getData() + .equals(other.getData())) return false; } - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -673,127 +628,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.Resource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p7beta1.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( - byte[] data, com.google.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.asset.v1p7beta1.Resource 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.asset.v1p7beta1.Resource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.Resource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.asset.v1p7beta1.Resource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p7beta1.Resource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.Resource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.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.asset.v1p7beta1.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A representation of a Google Cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.Resource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.Resource) com.google.cloud.asset.v1p7beta1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.Resource.class, - com.google.cloud.asset.v1p7beta1.Resource.Builder.class); + com.google.cloud.asset.v1p7beta1.Resource.class, com.google.cloud.asset.v1p7beta1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.Resource.newBuilder() @@ -801,15 +747,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -835,9 +782,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetProto - .internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; } @java.lang.Override @@ -856,8 +803,7 @@ public com.google.cloud.asset.v1p7beta1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.Resource buildPartial() { - com.google.cloud.asset.v1p7beta1.Resource result = - new com.google.cloud.asset.v1p7beta1.Resource(this); + com.google.cloud.asset.v1p7beta1.Resource result = new com.google.cloud.asset.v1p7beta1.Resource(this); result.version_ = version_; result.discoveryDocumentUri_ = discoveryDocumentUri_; result.discoveryName_ = discoveryName_; @@ -877,39 +823,38 @@ public com.google.cloud.asset.v1p7beta1.Resource buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.Resource) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.Resource) other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.Resource)other); } else { super.mergeFrom(other); return this; @@ -976,20 +921,18 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @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; @@ -998,21 +941,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @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 { @@ -1020,61 +962,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The API version. Example: `v1`
      * 
* * string version = 1; - * * @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; @@ -1082,8 +1017,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object discoveryDocumentUri_ = ""; /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1093,13 +1026,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -1108,8 +1041,6 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1119,14 +1050,15 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -1134,8 +1066,6 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { } } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1145,22 +1075,20 @@ public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() {
      * 
* * string discovery_document_uri = 2; - * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri(java.lang.String value) { + public Builder setDiscoveryDocumentUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1170,18 +1098,15 @@ public Builder setDiscoveryDocumentUri(java.lang.String value) {
      * 
* * string discovery_document_uri = 2; - * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** - * - * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1191,16 +1116,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; - * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1208,8 +1133,6 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value private java.lang.Object discoveryName_ = ""; /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1218,13 +1141,13 @@ public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value
      * 
* * string discovery_name = 3; - * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1233,8 +1156,6 @@ public java.lang.String getDiscoveryName() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1243,14 +1164,15 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString getDiscoveryNameBytes() { + public com.google.protobuf.ByteString + getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1258,8 +1180,6 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() { } } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1268,22 +1188,20 @@ public com.google.protobuf.ByteString getDiscoveryNameBytes() {
      * 
* * string discovery_name = 3; - * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName(java.lang.String value) { + public Builder setDiscoveryName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1292,18 +1210,15 @@ public Builder setDiscoveryName(java.lang.String value) {
      * 
* * string discovery_name = 3; - * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** - * - * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1312,16 +1227,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; - * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1329,8 +1244,6 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceUrl_ = ""; /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1339,13 +1252,13 @@ public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource_url = 4; - * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1354,8 +1267,6 @@ public java.lang.String getResourceUrl() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1364,14 +1275,15 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString getResourceUrlBytes() { + public com.google.protobuf.ByteString + getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1379,8 +1291,6 @@ public com.google.protobuf.ByteString getResourceUrlBytes() { } } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1389,22 +1299,20 @@ public com.google.protobuf.ByteString getResourceUrlBytes() {
      * 
* * string resource_url = 4; - * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl(java.lang.String value) { + public Builder setResourceUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1413,18 +1321,15 @@ public Builder setResourceUrl(java.lang.String value) {
      * 
* * string resource_url = 4; - * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** - * - * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1433,16 +1338,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; - * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1450,8 +1355,6 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1466,13 +1369,13 @@ public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 5; - * * @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; @@ -1481,8 +1384,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1497,14 +1398,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; - * * @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 { @@ -1512,8 +1414,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1528,22 +1428,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 5; - * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1558,18 +1456,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1584,16 +1479,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; - * * @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; @@ -1601,35 +1496,26 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - dataBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1640,8 +1526,6 @@ public com.google.protobuf.Struct getData() { } } /** - * - * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1663,8 +1547,6 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1672,7 +1554,8 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1683,8 +1566,6 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1695,7 +1576,8 @@ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ =
+            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1707,8 +1589,6 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1728,8 +1608,6 @@ public Builder clearData() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1738,13 +1616,11 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-
+      
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1756,12 +1632,11 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
-     *
-     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1770,16 +1645,14 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
+        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getData(),
+                getParentForChildren(),
+                isClean());
         data_ = null;
       }
       return dataBuilder_;
@@ -1787,21 +1660,19 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
 
     private java.lang.Object location_ = "";
     /**
-     *
-     *
      * 
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1810,22 +1681,21 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1833,71 +1703,64 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1907,12 +1770,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.Resource) private static final com.google.cloud.asset.v1p7beta1.Resource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.Resource(); } @@ -1921,16 +1784,16 @@ public static com.google.cloud.asset.v1p7beta1.Resource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1945,4 +1808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java similarity index 82% rename from proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java index d6250c22f..18800a75a 100644 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java +++ b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.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/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface ResourceOrBuilder - extends +public interface ResourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.Resource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The API version. Example: `v1`
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -60,13 +37,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** - * - * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -76,14 +50,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_document_uri = 2; - * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString + getDiscoveryDocumentUriBytes(); /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -92,13 +64,10 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** - * - * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -107,14 +76,12 @@ public interface ResourceOrBuilder
    * 
* * string discovery_name = 3; - * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString getDiscoveryNameBytes(); + com.google.protobuf.ByteString + getDiscoveryNameBytes(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -123,13 +90,10 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** - * - * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -138,14 +102,12 @@ public interface ResourceOrBuilder
    * 
* * string resource_url = 4; - * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString getResourceUrlBytes(); + com.google.protobuf.ByteString + getResourceUrlBytes(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -160,13 +122,10 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -181,40 +140,32 @@ public interface ResourceOrBuilder
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return Whether the data field is set. */ boolean hasData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; - * * @return The data. */ com.google.protobuf.Struct getData(); /** - * - * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -225,29 +176,24 @@ public interface ResourceOrBuilder
   com.google.protobuf.StructOrBuilder getDataOrBuilder();
 
   /**
-   *
-   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto similarity index 100% rename from proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto similarity index 100% rename from proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto rename to owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java deleted file mode 100644 index 6d3510e82..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface AnalyzeIamPolicyLongrunningResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java deleted file mode 100644 index 575d30ee0..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java +++ /dev/null @@ -1,618 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/assets.proto - -package com.google.cloud.asset.v1; - -public final class AssetProto { - private AssetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1_TemporalAsset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_TimeWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedAssets_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedAsset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_VersionedResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AttachedResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedResources_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedResource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_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/asset/v1/assets.proto\022\025go" - + "ogle.cloud.asset.v1\032\037google/api/field_be" - + "havior.proto\032\031google/api/resource.proto\032" - + ")google/cloud/orgpolicy/v1/orgpolicy.pro" - + "to\032(google/cloud/osconfig/v1/inventory.p" - + "roto\032\032google/iam/v1/policy.proto\032:google" - + "/identity/accesscontextmanager/v1/access" - + "_level.proto\032;google/identity/accesscont" - + "extmanager/v1/access_policy.proto\032?googl" - + "e/identity/accesscontextmanager/v1/servi" - + "ce_perimeter.proto\032\034google/protobuf/stru" - + "ct.proto\032\037google/protobuf/timestamp.prot" - + "o\032\025google/rpc/code.proto\"\365\002\n\rTemporalAss" - + "et\0221\n\006window\030\001 \001(\0132!.google.cloud.asset." - + "v1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\022+\n\005asset\030" - + "\003 \001(\0132\034.google.cloud.asset.v1.Asset\022O\n\021p" - + "rior_asset_state\030\004 \001(\01624.google.cloud.as" - + "set.v1.TemporalAsset.PriorAssetState\0221\n\013" - + "prior_asset\030\005 \001(\0132\034.google.cloud.asset.v" - + "1.Asset\"o\n\017PriorAssetState\022!\n\035PRIOR_ASSE" - + "T_STATE_UNSPECIFIED\020\000\022\013\n\007PRESENT\020\001\022\013\n\007IN" - + "VALID\020\002\022\022\n\016DOES_NOT_EXIST\020\003\022\013\n\007DELETED\020\004" - + "\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" - + "2\032.google.protobuf.Timestamp\"\363\005\n\005Asset\022/" - + "\n\013update_time\030\013 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" - + "\t\0221\n\010resource\030\003 \001(\0132\037.google.cloud.asset" - + ".v1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.googl" - + "e.iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.go" - + "ogle.cloud.orgpolicy.v1.Policy\022N\n\raccess" - + "_policy\030\007 \001(\01325.google.identity.accessco" - + "ntextmanager.v1.AccessPolicyH\000\022L\n\014access" - + "_level\030\010 \001(\01324.google.identity.accesscon" - + "textmanager.v1.AccessLevelH\000\022V\n\021service_" - + "perimeter\030\t \001(\01329.google.identity.access" - + "contextmanager.v1.ServicePerimeterH\000\0229\n\014" - + "os_inventory\030\014 \001(\0132#.google.cloud.osconf" - + "ig.v1.Inventory\022@\n\016related_assets\030\r \001(\0132" - + "$.google.cloud.asset.v1.RelatedAssetsB\002\030" - + "\001\022:\n\rrelated_asset\030\017 \001(\0132#.google.cloud." - + "asset.v1.RelatedAsset\022\021\n\tancestors\030\n \003(\t" - + ":\'\352A$\n\037cloudasset.googleapis.com/Asset\022\001" - + "*B\027\n\025access_context_policy\"\262\001\n\010Resource\022" - + "\017\n\007version\030\001 \001(\t\022\036\n\026discovery_document_u" - + "ri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014reso" - + "urce_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006" - + " \001(\0132\027.google.protobuf.Struct\022\020\n\010locatio" - + "n\030\010 \001(\t\"\230\001\n\rRelatedAssets\022N\n\027relationshi" - + "p_attributes\030\001 \001(\0132-.google.cloud.asset." - + "v1.RelationshipAttributes\0223\n\006assets\030\002 \003(" - + "\0132#.google.cloud.asset.v1.RelatedAsset:\002" - + "\030\001\"v\n\026RelationshipAttributes\022\014\n\004type\030\004 \001" - + "(\t\022\034\n\024source_resource_type\030\001 \001(\t\022\034\n\024targ" - + "et_resource_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t:\002" - + "\030\001\"\205\001\n\014RelatedAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n" - + "\037cloudasset.googleapis.com/Asset\022\022\n\nasse" - + "t_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\t\022\031\n\021relat" - + "ionship_type\030\004 \001(\t\"\262\007\n\024ResourceSearchRes" - + "ult\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n" - + "\007project\030\003 \001(\t\022\017\n\007folders\030\021 \003(\t\022\024\n\014organ" - + "ization\030\022 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013d" - + "escription\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\022G\n\006la" - + "bels\030\007 \003(\01327.google.cloud.asset.v1.Resou" - + "rceSearchResult.LabelsEntry\022\024\n\014network_t" - + "ags\030\010 \003(\t\022\017\n\007kms_key\030\n \001(\t\022/\n\013create_tim" - + "e\030\013 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" - + "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" - + "tamp\022\r\n\005state\030\r \001(\t\0226\n\025additional_attrib" - + "utes\030\t \001(\0132\027.google.protobuf.Struct\022!\n\031p" - + "arent_full_resource_name\030\023 \001(\t\022E\n\023versio" - + "ned_resources\030\020 \003(\0132(.google.cloud.asset" - + ".v1.VersionedResource\022C\n\022attached_resour" - + "ces\030\024 \003(\0132\'.google.cloud.asset.v1.Attach" - + "edResource\022U\n\rrelationships\030\025 \003(\0132>.goog" - + "le.cloud.asset.v1.ResourceSearchResult.R" - + "elationshipsEntry\022\020\n\010tag_keys\030\027 \003(\t\022\022\n\nt" - + "ag_values\030\031 \003(\t\022\025\n\rtag_value_ids\030\032 \003(\t\022\031" - + "\n\021parent_asset_type\030g \001(\t\032-\n\013LabelsEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032]\n\022Rela" - + "tionshipsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001" - + "(\0132\'.google.cloud.asset.v1.RelatedResour" - + "ces:\0028\001\"O\n\021VersionedResource\022\017\n\007version\030" - + "\001 \001(\t\022)\n\010resource\030\002 \001(\0132\027.google.protobu" - + "f.Struct\"m\n\020AttachedResource\022\022\n\nasset_ty" - + "pe\030\001 \001(\t\022E\n\023versioned_resources\030\003 \003(\0132(." - + "google.cloud.asset.v1.VersionedResource\"" - + "U\n\020RelatedResources\022A\n\021related_resources" - + "\030\001 \003(\0132&.google.cloud.asset.v1.RelatedRe" - + "source\"A\n\017RelatedResource\022\022\n\nasset_type\030" - + "\001 \001(\t\022\032\n\022full_resource_name\030\002 \001(\t\"\217\004\n\025Ia" - + "mPolicySearchResult\022\020\n\010resource\030\001 \001(\t\022\022\n" - + "\nasset_type\030\005 \001(\t\022\017\n\007project\030\002 \001(\t\022\017\n\007fo" - + "lders\030\006 \003(\t\022\024\n\014organization\030\007 \001(\t\022%\n\006pol" - + "icy\030\003 \001(\0132\025.google.iam.v1.Policy\022M\n\013expl" - + "anation\030\004 \001(\01328.google.cloud.asset.v1.Ia" - + "mPolicySearchResult.Explanation\032\241\002\n\013Expl" - + "anation\022m\n\023matched_permissions\030\001 \003(\0132P.g" - + "oogle.cloud.asset.v1.IamPolicySearchResu" - + "lt.Explanation.MatchedPermissionsEntry\032\"" - + "\n\013Permissions\022\023\n\013permissions\030\001 \003(\t\032\177\n\027Ma" - + "tchedPermissionsEntry\022\013\n\003key\030\001 \001(\t\022S\n\005va" - + "lue\030\002 \001(\0132D.google.cloud.asset.v1.IamPol" - + "icySearchResult.Explanation.Permissions:" - + "\0028\001\"G\n\026IamPolicyAnalysisState\022\036\n\004code\030\001 " - + "\001(\0162\020.google.rpc.Code\022\r\n\005cause\030\002 \001(\t\"\306\001\n" - + "\023ConditionEvaluation\022T\n\020evaluation_value" - + "\030\001 \001(\0162:.google.cloud.asset.v1.Condition" - + "Evaluation.EvaluationValue\"Y\n\017Evaluation" - + "Value\022 \n\034EVALUATION_VALUE_UNSPECIFIED\020\000\022" - + "\010\n\004TRUE\020\001\022\t\n\005FALSE\020\002\022\017\n\013CONDITIONAL\020\003\"\253\t" - + "\n\027IamPolicyAnalysisResult\022#\n\033attached_re" - + "source_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 " - + "\001(\0132\026.google.iam.v1.Binding\022^\n\024access_co" - + "ntrol_lists\030\003 \003(\0132@.google.cloud.asset.v" - + "1.IamPolicyAnalysisResult.AccessControlL" - + "ist\022R\n\ridentity_list\030\004 \001(\0132;.google.clou" - + "d.asset.v1.IamPolicyAnalysisResult.Ident" - + "ityList\022\026\n\016fully_explored\030\005 \001(\010\032m\n\010Resou" - + "rce\022\032\n\022full_resource_name\030\001 \001(\t\022E\n\016analy" - + "sis_state\030\002 \001(\0132-.google.cloud.asset.v1." - + "IamPolicyAnalysisState\032\205\001\n\006Access\022\016\n\004rol" - + "e\030\001 \001(\tH\000\022\024\n\npermission\030\002 \001(\tH\000\022E\n\016analy" - + "sis_state\030\003 \001(\0132-.google.cloud.asset.v1." - + "IamPolicyAnalysisStateB\016\n\014oneof_access\032_" - + "\n\010Identity\022\014\n\004name\030\001 \001(\t\022E\n\016analysis_sta" - + "te\030\002 \001(\0132-.google.cloud.asset.v1.IamPoli" - + "cyAnalysisState\0320\n\004Edge\022\023\n\013source_node\030\001" - + " \001(\t\022\023\n\013target_node\030\002 \001(\t\032\277\002\n\021AccessCont" - + "rolList\022J\n\tresources\030\001 \003(\01327.google.clou" - + "d.asset.v1.IamPolicyAnalysisResult.Resou" - + "rce\022G\n\010accesses\030\002 \003(\01325.google.cloud.ass" - + "et.v1.IamPolicyAnalysisResult.Access\022K\n\016" - + "resource_edges\030\003 \003(\01323.google.cloud.asse" - + "t.v1.IamPolicyAnalysisResult.Edge\022H\n\024con" - + "dition_evaluation\030\004 \001(\0132*.google.cloud.a" - + "sset.v1.ConditionEvaluation\032\245\001\n\014Identity" - + "List\022K\n\nidentities\030\001 \003(\01327.google.cloud." - + "asset.v1.IamPolicyAnalysisResult.Identit" - + "y\022H\n\013group_edges\030\002 \003(\01323.google.cloud.as" - + "set.v1.IamPolicyAnalysisResult.EdgeB\230\001\n\031" - + "com.google.cloud.asset.v1B\nAssetProtoP\001Z" - + ":google.golang.org/genproto/googleapis/c" - + "loud/asset/v1;asset\370\001\001\252\002\025Google.Cloud.As" - + "set.V1\312\002\025Google\\Cloud\\Asset\\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.orgpolicy.v1.OrgPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1.Inventories.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1_TemporalAsset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TemporalAsset_descriptor, - new java.lang.String[] { - "Window", "Deleted", "Asset", "PriorAssetState", "PriorAsset", - }); - internal_static_google_cloud_asset_v1_TimeWindow_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TimeWindow_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_asset_v1_Asset_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Asset_descriptor, - new java.lang.String[] { - "UpdateTime", - "Name", - "AssetType", - "Resource", - "IamPolicy", - "OrgPolicy", - "AccessPolicy", - "AccessLevel", - "ServicePerimeter", - "OsInventory", - "RelatedAssets", - "RelatedAsset", - "Ancestors", - "AccessContextPolicy", - }); - internal_static_google_cloud_asset_v1_Resource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Resource_descriptor, - new java.lang.String[] { - "Version", - "DiscoveryDocumentUri", - "DiscoveryName", - "ResourceUrl", - "Parent", - "Data", - "Location", - }); - internal_static_google_cloud_asset_v1_RelatedAssets_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedAssets_descriptor, - new java.lang.String[] { - "RelationshipAttributes", "Assets", - }); - internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor, - new java.lang.String[] { - "Type", "SourceResourceType", "TargetResourceType", "Action", - }); - internal_static_google_cloud_asset_v1_RelatedAsset_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedAsset_descriptor, - new java.lang.String[] { - "Asset", "AssetType", "Ancestors", "RelationshipType", - }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor, - new java.lang.String[] { - "Name", - "AssetType", - "Project", - "Folders", - "Organization", - "DisplayName", - "Description", - "Location", - "Labels", - "NetworkTags", - "KmsKey", - "CreateTime", - "UpdateTime", - "State", - "AdditionalAttributes", - "ParentFullResourceName", - "VersionedResources", - "AttachedResources", - "Relationships", - "TagKeys", - "TagValues", - "TagValueIds", - "ParentAssetType", - }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor = - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor = - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_asset_v1_VersionedResource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_VersionedResource_descriptor, - new java.lang.String[] { - "Version", "Resource", - }); - internal_static_google_cloud_asset_v1_AttachedResource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AttachedResource_descriptor, - new java.lang.String[] { - "AssetType", "VersionedResources", - }); - internal_static_google_cloud_asset_v1_RelatedResources_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedResources_descriptor, - new java.lang.String[] { - "RelatedResources", - }); - internal_static_google_cloud_asset_v1_RelatedResource_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedResource_descriptor, - new java.lang.String[] { - "AssetType", "FullResourceName", - }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor, - new java.lang.String[] { - "Resource", - "AssetType", - "Project", - "Folders", - "Organization", - "Policy", - "Explanation", - }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor = - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor, - new java.lang.String[] { - "MatchedPermissions", - }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor = - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor, - new java.lang.String[] { - "Permissions", - }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor, - new java.lang.String[] { - "Code", "Cause", - }); - internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor, - new java.lang.String[] { - "EvaluationValue", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor, - new java.lang.String[] { - "AttachedResourceFullName", - "IamBinding", - "AccessControlLists", - "IdentityList", - "FullyExplored", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor, - new java.lang.String[] { - "FullResourceName", "AnalysisState", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor, - new java.lang.String[] { - "Role", "Permission", "AnalysisState", "OneofAccess", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor, - new java.lang.String[] { - "Name", "AnalysisState", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor, - new java.lang.String[] { - "SourceNode", "TargetNode", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor, - new java.lang.String[] { - "Resources", "Accesses", "ResourceEdges", "ConditionEvaluation", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor, - new java.lang.String[] { - "Identities", "GroupEdges", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1.Inventories.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java deleted file mode 100644 index 3513ae205..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java +++ /dev/null @@ -1,1158 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_OutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_OutputResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_Feed_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SavedQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_MoveImpact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_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/asset/v1/asset_service.pr" - + "oto\022\025google.cloud.asset.v1\032\034google/api/a" - + "nnotations.proto\032\027google/api/client.prot" - + "o\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032\"google/cloud/asse" - + "t/v1/assets.proto\032\032google/iam/v1/policy." - + "proto\032#google/longrunning/operations.pro" - + "to\032\036google/protobuf/duration.proto\032\033goog" - + "le/protobuf/empty.proto\032 google/protobuf" - + "/field_mask.proto\032\037google/protobuf/times" - + "tamp.proto\032\027google/rpc/status.proto\032\026goo" - + "gle/type/expr.proto\"[\n#AnalyzeIamPolicyL" - + "ongrunningMetadata\0224\n\013create_time\030\001 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\"\251\002\n\023Exp" - + "ortAssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!" - + "\022\037cloudasset.googleapis.com/Asset\022-\n\trea" - + "d_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "\022\023\n\013asset_types\030\003 \003(\t\0228\n\014content_type\030\004 " - + "\001(\0162\".google.cloud.asset.v1.ContentType\022" - + "?\n\routput_config\030\005 \001(\0132#.google.cloud.as" - + "set.v1.OutputConfigB\003\340A\002\022\032\n\022relationship" - + "_types\030\006 \003(\t\"\275\001\n\024ExportAssetsResponse\022-\n" - + "\tread_time\030\001 \001(\0132\032.google.protobuf.Times" - + "tamp\022:\n\routput_config\030\002 \001(\0132#.google.clo" - + "ud.asset.v1.OutputConfig\022:\n\routput_resul" - + "t\030\003 \001(\0132#.google.cloud.asset.v1.OutputRe" - + "sult\"\215\002\n\021ListAssetsRequest\0227\n\006parent\030\001 \001" - + "(\tB\'\340A\002\372A!\022\037cloudasset.googleapis.com/As" - + "set\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf" - + ".Timestamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014conte" - + "nt_type\030\004 \001(\0162\".google.cloud.asset.v1.Co" - + "ntentType\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_tok" - + "en\030\006 \001(\t\022\032\n\022relationship_types\030\007 \003(\t\"\212\001\n" - + "\022ListAssetsResponse\022-\n\tread_time\030\001 \001(\0132\032" - + ".google.protobuf.Timestamp\022,\n\006assets\030\002 \003" - + "(\0132\034.google.cloud.asset.v1.Asset\022\027\n\017next" - + "_page_token\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHist" - + "oryRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037clou" - + "dasset.googleapis.com/Asset\022\023\n\013asset_nam" - + "es\030\002 \003(\t\022=\n\014content_type\030\003 \001(\0162\".google." - + "cloud.asset.v1.ContentTypeB\003\340A\001\022@\n\020read_" - + "time_window\030\004 \001(\0132!.google.cloud.asset.v" - + "1.TimeWindowB\003\340A\001\022\037\n\022relationship_types\030" - + "\005 \003(\tB\003\340A\001\"U\n\035BatchGetAssetsHistoryRespo" - + "nse\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset" - + ".v1.TemporalAsset\"n\n\021CreateFeedRequest\022\023" - + "\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A" - + "\002\022.\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1." - + "FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001(" - + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" - + "d\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340" - + "A\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(\0132\033" - + ".google.cloud.asset.v1.Feed\"y\n\021UpdateFee" - + "dRequest\022.\n\004feed\030\001 \001(\0132\033.google.cloud.as" - + "set.v1.FeedB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMaskB\003\340A\002\"I\n\021Delete" - + "FeedRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" - + "asset.googleapis.com/Feed\"\253\001\n\014OutputConf" - + "ig\022@\n\017gcs_destination\030\001 \001(\0132%.google.clo" - + "ud.asset.v1.GcsDestinationH\000\022J\n\024bigquery" - + "_destination\030\002 \001(\0132*.google.cloud.asset." - + "v1.BigQueryDestinationH\000B\r\n\013destination\"" - + "V\n\014OutputResult\022<\n\ngcs_result\030\001 \001(\0132&.go" - + "ogle.cloud.asset.v1.GcsOutputResultH\000B\010\n" - + "\006result\"\037\n\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t" - + "\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri" - + "_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\264\001\n\023BigQue" - + "ryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005t" - + "able\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partit" - + "ion_spec\030\004 \001(\0132$.google.cloud.asset.v1.P" - + "artitionSpec\022&\n\036separate_tables_per_asse" - + "t_type\030\005 \001(\010\"\251\001\n\rPartitionSpec\022H\n\rpartit" - + "ion_key\030\001 \001(\01621.google.cloud.asset.v1.Pa" - + "rtitionSpec.PartitionKey\"N\n\014PartitionKey" - + "\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_" - + "TIME\020\001\022\020\n\014REQUEST_TIME\020\002\"\"\n\021PubsubDestin" - + "ation\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutputConfig" - + "\022F\n\022pubsub_destination\030\001 \001(\0132(.google.cl" - + "oud.asset.v1.PubsubDestinationH\000B\r\n\013dest" - + "ination\"\235\003\n\004Feed\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013a" - + "sset_names\030\002 \003(\t\022\023\n\013asset_types\030\003 \003(\t\0228\n" - + "\014content_type\030\004 \001(\0162\".google.cloud.asset" - + ".v1.ContentType\022H\n\022feed_output_config\030\005 " - + "\001(\0132\'.google.cloud.asset.v1.FeedOutputCo" - + "nfigB\003\340A\002\022$\n\tcondition\030\006 \001(\0132\021.google.ty" - + "pe.Expr\022\032\n\022relationship_types\030\007 \003(\t:\221\001\352A" - + "\215\001\n\036cloudasset.googleapis.com/Feed\022\037proj" - + "ects/{project}/feeds/{feed}\022\035folders/{fo" - + "lder}/feeds/{feed}\022)organizations/{organ" - + "ization}/feeds/{feed} \001\"\331\001\n\031SearchAllRes" - + "ourcesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005que" - + "ry\030\002 \001(\tB\003\340A\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022" - + "\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 " - + "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0222\n\tread_" - + "mask\030\010 \001(\0132\032.google.protobuf.FieldMaskB\003" - + "\340A\001\"s\n\032SearchAllResourcesResponse\022<\n\007res" - + "ults\030\001 \003(\0132+.google.cloud.asset.v1.Resou" - + "rceSearchResult\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\247\001\n\033SearchAllIamPoliciesRequest\022\022\n\005scop" - + "e\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage" - + "_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A" - + "\001\022\030\n\013asset_types\030\005 \003(\tB\003\340A\001\022\025\n\010order_by\030" - + "\007 \001(\tB\003\340A\001\"v\n\034SearchAllIamPoliciesRespon" - + "se\022=\n\007results\030\001 \003(\0132,.google.cloud.asset" - + ".v1.IamPolicySearchResult\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"\306\007\n\026IamPolicyAnalysisQuery\022\022\n" - + "\005scope\030\001 \001(\tB\003\340A\002\022^\n\021resource_selector\030\002" - + " \001(\0132>.google.cloud.asset.v1.IamPolicyAn" - + "alysisQuery.ResourceSelectorB\003\340A\001\022^\n\021ide" - + "ntity_selector\030\003 \001(\0132>.google.cloud.asse" - + "t.v1.IamPolicyAnalysisQuery.IdentitySele" - + "ctorB\003\340A\001\022Z\n\017access_selector\030\004 \001(\0132<.goo" - + "gle.cloud.asset.v1.IamPolicyAnalysisQuer" - + "y.AccessSelectorB\003\340A\001\022K\n\007options\030\005 \001(\01325" - + ".google.cloud.asset.v1.IamPolicyAnalysis" - + "Query.OptionsB\003\340A\001\022^\n\021condition_context\030" - + "\006 \001(\0132>.google.cloud.asset.v1.IamPolicyA" - + "nalysisQuery.ConditionContextB\003\340A\001\0323\n\020Re" - + "sourceSelector\022\037\n\022full_resource_name\030\001 \001" - + "(\tB\003\340A\002\032)\n\020IdentitySelector\022\025\n\010identity\030" - + "\001 \001(\tB\003\340A\002\032>\n\016AccessSelector\022\022\n\005roles\030\001 " - + "\003(\tB\003\340A\001\022\030\n\013permissions\030\002 \003(\tB\003\340A\001\032\330\001\n\007O" - + "ptions\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n\014ex" - + "pand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resource" - + "s\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges\030\004 " - + "\001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B\003\340A" - + "\001\0222\n%analyze_service_account_impersonati" - + "on\030\006 \001(\010B\003\340A\001\032T\n\020ConditionContext\0221\n\013acc" - + "ess_time\030\001 \001(\0132\032.google.protobuf.Timesta" - + "mpH\000B\r\n\013TimeContext\"\303\001\n\027AnalyzeIamPolicy" - + "Request\022J\n\016analysis_query\030\001 \001(\0132-.google" - + ".cloud.asset.v1.IamPolicyAnalysisQueryB\003" - + "\340A\002\022!\n\024saved_analysis_query\030\003 \001(\tB\003\340A\001\0229" - + "\n\021execution_timeout\030\002 \001(\0132\031.google.proto" - + "buf.DurationB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyRe" - + "sponse\022X\n\rmain_analysis\030\001 \001(\0132A.google.c" - + "loud.asset.v1.AnalyzeIamPolicyResponse.I" - + "amPolicyAnalysis\022q\n&service_account_impe" - + "rsonation_analysis\030\002 \003(\0132A.google.cloud." - + "asset.v1.AnalyzeIamPolicyResponse.IamPol" - + "icyAnalysis\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021" - + "IamPolicyAnalysis\022E\n\016analysis_query\030\001 \001(" - + "\0132-.google.cloud.asset.v1.IamPolicyAnaly" - + "sisQuery\022H\n\020analysis_results\030\002 \003(\0132..goo" - + "gle.cloud.asset.v1.IamPolicyAnalysisResu" - + "lt\022\026\n\016fully_explored\030\003 \001(\010\022J\n\023non_critic" - + "al_errors\030\005 \003(\0132-.google.cloud.asset.v1." - + "IamPolicyAnalysisState\"\264\004\n\035IamPolicyAnal" - + "ysisOutputConfig\022^\n\017gcs_destination\030\001 \001(" - + "\0132C.google.cloud.asset.v1.IamPolicyAnaly" - + "sisOutputConfig.GcsDestinationH\000\022h\n\024bigq" - + "uery_destination\030\002 \001(\0132H.google.cloud.as" - + "set.v1.IamPolicyAnalysisOutputConfig.Big" - + "QueryDestinationH\000\032\"\n\016GcsDestination\022\020\n\003" - + "uri\030\001 \001(\tB\003\340A\002\032\225\002\n\023BigQueryDestination\022\024" - + "\n\007dataset\030\001 \001(\tB\003\340A\002\022\031\n\014table_prefix\030\002 \001" - + "(\tB\003\340A\002\022l\n\rpartition_key\030\003 \001(\0162U.google." - + "cloud.asset.v1.IamPolicyAnalysisOutputCo" - + "nfig.BigQueryDestination.PartitionKey\022\036\n" - + "\021write_disposition\030\004 \001(\tB\003\340A\001\"?\n\014Partiti" - + "onKey\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014" - + "REQUEST_TIME\020\001B\r\n\013destination\"\345\001\n\"Analyz" - + "eIamPolicyLongrunningRequest\022J\n\016analysis" - + "_query\030\001 \001(\0132-.google.cloud.asset.v1.Iam" - + "PolicyAnalysisQueryB\003\340A\002\022!\n\024saved_analys" - + "is_query\030\003 \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001" - + "(\01324.google.cloud.asset.v1.IamPolicyAnal" - + "ysisOutputConfigB\003\340A\002\"%\n#AnalyzeIamPolic" - + "yLongrunningResponse\"\267\005\n\nSavedQuery\022\014\n\004n" - + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\013create" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022\024\n\007creator\030\004 \001(\tB\003\340A\003\0229\n\020last_updat" - + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\022\031\n\014last_updater\030\006 \001(\tB\003\340A\003\022=\n\006labe" - + "ls\030\007 \003(\0132-.google.cloud.asset.v1.SavedQu" - + "ery.LabelsEntry\022?\n\007content\030\010 \001(\0132..googl" - + "e.cloud.asset.v1.SavedQuery.QueryContent" - + "\032s\n\014QueryContent\022R\n\031iam_policy_analysis_" - + "query\030\001 \001(\0132-.google.cloud.asset.v1.IamP" - + "olicyAnalysisQueryH\000B\017\n\rquery_content\032-\n" - + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001:\277\001\352A\273\001\n$cloudasset.googleapis.com/S" - + "avedQuery\022-projects/{project}/savedQueri" - + "es/{saved_query}\022+folders/{folder}/saved" - + "Queries/{saved_query}\0227organizations/{or" - + "ganization}/savedQueries/{saved_query}\"\261" - + "\001\n\027CreateSavedQueryRequest\022<\n\006parent\030\001 \001" - + "(\tB,\340A\002\372A&\022$cloudasset.googleapis.com/Sa" - + "vedQuery\022;\n\013saved_query\030\002 \001(\0132!.google.c" - + "loud.asset.v1.SavedQueryB\003\340A\002\022\033\n\016saved_q" - + "uery_id\030\003 \001(\tB\003\340A\002\"R\n\024GetSavedQueryReque" - + "st\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.goo" - + "gleapis.com/SavedQuery\"\235\001\n\027ListSavedQuer" - + "iesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$clou" - + "dasset.googleapis.com/SavedQuery\022\023\n\006filt" - + "er\030\004 \001(\tB\003\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" - + "\npage_token\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueri" - + "esResponse\0228\n\rsaved_queries\030\001 \003(\0132!.goog" - + "le.cloud.asset.v1.SavedQuery\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"\214\001\n\027UpdateSavedQueryReques" - + "t\022;\n\013saved_query\030\001 \001(\0132!.google.cloud.as" - + "set.v1.SavedQueryB\003\340A\002\0224\n\013update_mask\030\002 " - + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"U\n\027" - + "DeleteSavedQueryRequest\022:\n\004name\030\001 \001(\tB,\340" - + "A\002\372A&\n$cloudasset.googleapis.com/SavedQu" - + "ery\"\326\001\n\022AnalyzeMoveRequest\022\025\n\010resource\030\001" - + " \001(\tB\003\340A\002\022\037\n\022destination_parent\030\002 \001(\tB\003\340" - + "A\002\022D\n\004view\030\003 \001(\01626.google.cloud.asset.v1" - + ".AnalyzeMoveRequest.AnalysisView\"B\n\014Anal" - + "ysisView\022\035\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022" - + "\010\n\004FULL\020\001\022\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveRespo" - + "nse\022:\n\rmove_analysis\030\001 \003(\0132#.google.clou" - + "d.asset.v1.MoveAnalysis\"\222\001\n\014MoveAnalysis" - + "\022\024\n\014display_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\013" - + "2).google.cloud.asset.v1.MoveAnalysisRes" - + "ultH\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.Status" - + "H\000B\010\n\006result\"~\n\022MoveAnalysisResult\0223\n\010bl" - + "ockers\030\001 \003(\0132!.google.cloud.asset.v1.Mov" - + "eImpact\0223\n\010warnings\030\002 \003(\0132!.google.cloud" - + ".asset.v1.MoveImpact\"\034\n\nMoveImpact\022\016\n\006de" - + "tail\030\001 \001(\t\"Y\n#BatchGetEffectiveIamPolici" - + "esRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022\030\n\005n" - + "ames\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEffect" - + "iveIamPoliciesResponse\022f\n\016policy_results" - + "\030\002 \003(\0132N.google.cloud.asset.v1.BatchGetE" - + "ffectiveIamPoliciesResponse.EffectiveIam" - + "Policy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022full_re" - + "source_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132Y.go" - + "ogle.cloud.asset.v1.BatchGetEffectiveIam" - + "PoliciesResponse.EffectiveIamPolicy.Poli" - + "cyInfo\032N\n\nPolicyInfo\022\031\n\021attached_resourc" - + "e\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam.v1." - + "Policy*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_U" - + "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" - + "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n" - + "\014OS_INVENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\213\032\n\014As" - + "setService\022\336\001\n\014ExportAssets\022*.google.clo" - + "ud.asset.v1.ExportAssetsRequest\032\035.google" - + ".longrunning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{pa" - + "rent=*/*}:exportAssets:\001*\312AW\n*google.clo" - + "ud.asset.v1.ExportAssetsResponse\022)google" - + ".cloud.asset.v1.ExportAssetsRequest\022\213\001\n\n" - + "ListAssets\022(.google.cloud.asset.v1.ListA" - + "ssetsRequest\032).google.cloud.asset.v1.Lis" - + "tAssetsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*" - + "}/assets\332A\006parent\022\262\001\n\025BatchGetAssetsHist" - + "ory\0223.google.cloud.asset.v1.BatchGetAsse" - + "tsHistoryRequest\0324.google.cloud.asset.v1" - + ".BatchGetAssetsHistoryResponse\".\202\323\344\223\002(\022&" - + "/v1/{parent=*/*}:batchGetAssetsHistory\022\177" - + "\n\nCreateFeed\022(.google.cloud.asset.v1.Cre" - + "ateFeedRequest\032\033.google.cloud.asset.v1.F" - + "eed\"*\202\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A" - + "\006parent\022t\n\007GetFeed\022%.google.cloud.asset." - + "v1.GetFeedRequest\032\033.google.cloud.asset.v" - + "1.Feed\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A" - + "\004name\022\207\001\n\tListFeeds\022\'.google.cloud.asset" - + ".v1.ListFeedsRequest\032(.google.cloud.asse" - + "t.v1.ListFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{par" - + "ent=*/*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(" - + ".google.cloud.asset.v1.UpdateFeedRequest" - + "\032\033.google.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/" - + "v1/{feed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\n" - + "DeleteFeed\022(.google.cloud.asset.v1.Delet" - + "eFeedRequest\032\026.google.protobuf.Empty\"%\202\323" - + "\344\223\002\030*\026/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022" - + "SearchAllResources\0220.google.cloud.asset." - + "v1.SearchAllResourcesRequest\0321.google.cl" - + "oud.asset.v1.SearchAllResourcesResponse\"" - + "D\202\323\344\223\002$\022\"/v1/{scope=*/*}:searchAllResour" - + "ces\332A\027scope,query,asset_types\022\273\001\n\024Search" - + "AllIamPolicies\0222.google.cloud.asset.v1.S" - + "earchAllIamPoliciesRequest\0323.google.clou" - + "d.asset.v1.SearchAllIamPoliciesResponse\"" - + ":\202\323\344\223\002&\022$/v1/{scope=*/*}:searchAllIamPol" - + "icies\332A\013scope,query\022\254\001\n\020AnalyzeIamPolicy" - + "\022..google.cloud.asset.v1.AnalyzeIamPolic" - + "yRequest\032/.google.cloud.asset.v1.Analyze" - + "IamPolicyResponse\"7\202\323\344\223\0021\022//v1/{analysis" - + "_query.scope=*/*}:analyzeIamPolicy\022\270\002\n\033A" - + "nalyzeIamPolicyLongrunning\0229.google.clou" - + "d.asset.v1.AnalyzeIamPolicyLongrunningRe" - + "quest\032\035.google.longrunning.Operation\"\276\001\202" - + "\323\344\223\002?\":/v1/{analysis_query.scope=*/*}:an" - + "alyzeIamPolicyLongrunning:\001*\312Av\n9google." - + "cloud.asset.v1.AnalyzeIamPolicyLongrunni" - + "ngResponse\0229google.cloud.asset.v1.Analyz" - + "eIamPolicyLongrunningMetadata\022\214\001\n\013Analyz" - + "eMove\022).google.cloud.asset.v1.AnalyzeMov" - + "eRequest\032*.google.cloud.asset.v1.Analyze" - + "MoveResponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}" - + ":analyzeMove\022\275\001\n\020CreateSavedQuery\022..goog" - + "le.cloud.asset.v1.CreateSavedQueryReques" - + "t\032!.google.cloud.asset.v1.SavedQuery\"V\202\323" - + "\344\223\002,\"\035/v1/{parent=*/*}/savedQueries:\013sav" - + "ed_query\332A!parent,saved_query,saved_quer" - + "y_id\022\215\001\n\rGetSavedQuery\022+.google.cloud.as" - + "set.v1.GetSavedQueryRequest\032!.google.clo" - + "ud.asset.v1.SavedQuery\",\202\323\344\223\002\037\022\035/v1/{nam" - + "e=*/*/savedQueries/*}\332A\004name\022\243\001\n\020ListSav" - + "edQueries\022..google.cloud.asset.v1.ListSa" - + "vedQueriesRequest\032/.google.cloud.asset.v" - + "1.ListSavedQueriesResponse\".\202\323\344\223\002\037\022\035/v1/" - + "{parent=*/*}/savedQueries\332A\006parent\022\277\001\n\020U" - + "pdateSavedQuery\022..google.cloud.asset.v1." - + "UpdateSavedQueryRequest\032!.google.cloud.a" - + "sset.v1.SavedQuery\"X\202\323\344\223\00282)/v1/{saved_q" - + "uery.name=*/*/savedQueries/*}:\013saved_que" - + "ry\332A\027saved_query,update_mask\022\210\001\n\020DeleteS" - + "avedQuery\022..google.cloud.asset.v1.Delete" - + "SavedQueryRequest\032\026.google.protobuf.Empt" - + "y\",\202\323\344\223\002\037*\035/v1/{name=*/*/savedQueries/*}" - + "\332A\004name\022\316\001\n\034BatchGetEffectiveIamPolicies" - + "\022:.google.cloud.asset.v1.BatchGetEffecti" - + "veIamPoliciesRequest\032;.google.cloud.asse" - + "t.v1.BatchGetEffectiveIamPoliciesRespons" - + "e\"5\202\323\344\223\002/\022-/v1/{scope=*/*}/effectiveIamP" - + "olicies:batchGet\032M\312A\031cloudasset.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\234\001\n\031com.google.cloud.ass" - + "et.v1B\021AssetServiceProtoP\001Z:google.golan" - + "g.org/genproto/googleapis/cloud/asset/v1" - + ";asset\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\" - + "Cloud\\Asset\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1.AssetProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ExprProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - }); - internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", - "ReadTime", - "AssetTypes", - "ContentType", - "OutputConfig", - "RelationshipTypes", - }); - internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor, - new java.lang.String[] { - "ReadTime", "OutputConfig", "OutputResult", - }); - internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", - "ReadTime", - "AssetTypes", - "ContentType", - "PageSize", - "PageToken", - "RelationshipTypes", - }); - internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor, - new java.lang.String[] { - "ReadTime", "Assets", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor, - new java.lang.String[] { - "Parent", "AssetNames", "ContentType", "ReadTimeWindow", "RelationshipTypes", - }); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor, - new java.lang.String[] { - "Assets", - }); - internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor, - new java.lang.String[] { - "Parent", "FeedId", "Feed", - }); - internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor, - new java.lang.String[] { - "Feeds", - }); - internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor, - new java.lang.String[] { - "Feed", "UpdateMask", - }); - internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_asset_v1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_OutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", "BigqueryDestination", "Destination", - }); - internal_static_google_cloud_asset_v1_OutputResult_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_OutputResult_descriptor, - new java.lang.String[] { - "GcsResult", "Result", - }); - internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor, - new java.lang.String[] { - "Uris", - }); - internal_static_google_cloud_asset_v1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GcsDestination_descriptor, - new java.lang.String[] { - "Uri", "UriPrefix", "ObjectUri", - }); - internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor, - new java.lang.String[] { - "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", - }); - internal_static_google_cloud_asset_v1_PartitionSpec_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_PartitionSpec_descriptor, - new java.lang.String[] { - "PartitionKey", - }); - internal_static_google_cloud_asset_v1_PubsubDestination_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_PubsubDestination_descriptor, - new java.lang.String[] { - "Topic", - }); - internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor, - new java.lang.String[] { - "PubsubDestination", "Destination", - }); - internal_static_google_cloud_asset_v1_Feed_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Feed_descriptor, - new java.lang.String[] { - "Name", - "AssetNames", - "AssetTypes", - "ContentType", - "FeedOutputConfig", - "Condition", - "RelationshipTypes", - }); - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor, - new java.lang.String[] { - "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", "ReadMask", - }); - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor, - new java.lang.String[] { - "Results", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor, - new java.lang.String[] { - "Scope", "Query", "PageSize", "PageToken", "AssetTypes", "OrderBy", - }); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor, - new java.lang.String[] { - "Results", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor, - new java.lang.String[] { - "Scope", - "ResourceSelector", - "IdentitySelector", - "AccessSelector", - "Options", - "ConditionContext", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor, - new java.lang.String[] { - "FullResourceName", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor, - new java.lang.String[] { - "Identity", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor, - new java.lang.String[] { - "Roles", "Permissions", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor, - new java.lang.String[] { - "ExpandGroups", - "ExpandRoles", - "ExpandResources", - "OutputResourceEdges", - "OutputGroupEdges", - "AnalyzeServiceAccountImpersonation", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor, - new java.lang.String[] { - "AccessTime", "TimeContext", - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor, - new java.lang.String[] { - "AnalysisQuery", "SavedAnalysisQuery", "ExecutionTimeout", - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor, - new java.lang.String[] { - "MainAnalysis", "ServiceAccountImpersonationAnalysis", "FullyExplored", - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor, - new java.lang.String[] { - "AnalysisQuery", "AnalysisResults", "FullyExplored", "NonCriticalErrors", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", "BigqueryDestination", "Destination", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor, - new java.lang.String[] { - "Uri", - }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor, - new java.lang.String[] { - "Dataset", "TablePrefix", "PartitionKey", "WriteDisposition", - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor, - new java.lang.String[] { - "AnalysisQuery", "SavedAnalysisQuery", "OutputConfig", - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_asset_v1_SavedQuery_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SavedQuery_descriptor, - new java.lang.String[] { - "Name", - "Description", - "CreateTime", - "Creator", - "LastUpdateTime", - "LastUpdater", - "Labels", - "Content", - }); - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor = - internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor, - new java.lang.String[] { - "IamPolicyAnalysisQuery", "QueryContent", - }); - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor = - internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor, - new java.lang.String[] { - "Parent", "SavedQuery", "SavedQueryId", - }); - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor, - new java.lang.String[] { - "SavedQueries", "NextPageToken", - }); - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor, - new java.lang.String[] { - "SavedQuery", "UpdateMask", - }); - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor, - new java.lang.String[] { - "Resource", "DestinationParent", "View", - }); - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor, - new java.lang.String[] { - "MoveAnalysis", - }); - internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor, - new java.lang.String[] { - "DisplayName", "Analysis", "Error", "Result", - }); - internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor, - new java.lang.String[] { - "Blockers", "Warnings", - }); - internal_static_google_cloud_asset_v1_MoveImpact_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_MoveImpact_descriptor, - new java.lang.String[] { - "Detail", - }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor, - new java.lang.String[] { - "Scope", "Names", - }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor, - new java.lang.String[] { - "PolicyResults", - }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor = - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor, - new java.lang.String[] { - "FullResourceName", "Policies", - }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor = - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor, - new java.lang.String[] { - "AttachedResource", "Policy", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1.AssetProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.ExprProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index 8212768a5..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface DeleteFeedRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.DeleteFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java deleted file mode 100644 index 4ed4a5584..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface GetFeedRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java deleted file mode 100644 index d22338aac..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface GetSavedQueryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetSavedQueryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the saved query and it must be in the format of:
-   * * projects/project_number/savedQueries/saved_query_id
-   * * folders/folder_number/savedQueries/saved_query_id
-   * * organizations/organization_number/savedQueries/saved_query_id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the saved query and it must be in the format of:
-   * * projects/project_number/savedQueries/saved_query_id
-   * * folders/folder_number/savedQueries/saved_query_id
-   * * organizations/organization_number/savedQueries/saved_query_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-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java deleted file mode 100644 index c6ae2623e..000000000 --- a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface MoveImpactOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveImpact) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * User friendly impact detail in a free form message.
-   * 
- * - * string detail = 1; - * - * @return The detail. - */ - java.lang.String getDetail(); - /** - * - * - *
-   * User friendly impact detail in a free form message.
-   * 
- * - * string detail = 1; - * - * @return The bytes for detail. - */ - com.google.protobuf.ByteString getDetailBytes(); -} diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java deleted file mode 100644 index dec4e4f90..000000000 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p1beta1/assets.proto - -package com.google.cloud.asset.v1p1beta1; - -public final class AssetProto { - private AssetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p1beta1_StandardResourceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_Permissions_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/asset/v1p1beta1/assets.pr" - + "oto\022\034google.cloud.asset.v1p1beta1\032\032googl" - + "e/iam/v1/policy.proto\032\034google/api/annota" - + "tions.proto\"\302\002\n\030StandardResourceMetadata" - + "\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007pr" - + "oject\030\003 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013des" - + "cription\030\005 \001(\t\022\035\n\025additional_attributes\030" - + "\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006labels\030\014 \003(\0132" - + "B.google.cloud.asset.v1p1beta1.StandardR" - + "esourceMetadata.LabelsEntry\022\024\n\014network_t" - + "ags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicySearchResu" - + "lt\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\003 \001(\t\022%\n" - + "\006policy\030\004 \001(\0132\025.google.iam.v1.Policy\022T\n\013" - + "explanation\030\005 \001(\0132?.google.cloud.asset.v" - + "1p1beta1.IamPolicySearchResult.Explanati" - + "on\032\351\001\n\013Explanation\022t\n\023matched_permission" - + "s\030\001 \003(\0132W.google.cloud.asset.v1p1beta1.I" - + "amPolicySearchResult.Explanation.Matched" - + "PermissionsEntry\032d\n\027MatchedPermissionsEn" - + "try\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google" - + ".cloud.asset.v1p1beta1.Permissions:\0028\001\"\"" - + "\n\013Permissions\022\023\n\013permissions\030\001 \003(\tB\264\001\n c" - + "om.google.cloud.asset.v1p1beta1B\nAssetPr" - + "otoP\001ZAgoogle.golang.org/genproto/google" - + "apis/cloud/asset/v1p1beta1;asset\370\001\001\252\002\034Go" - + "ogle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Clou" - + "d\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor, - new java.lang.String[] { - "Name", - "AssetType", - "Project", - "DisplayName", - "Description", - "AdditionalAttributes", - "Location", - "Labels", - "NetworkTags", - }); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor = - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor, - new java.lang.String[] { - "Resource", "Project", "Policy", "Explanation", - }); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor = - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor, - new java.lang.String[] { - "MatchedPermissions", - }); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor, - new java.lang.String[] { - "Permissions", - }); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java deleted file mode 100644 index 1b0e9289c..000000000 --- a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p1beta1/asset_service.proto - -package com.google.cloud.asset.v1p1beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_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/asset/v1p1beta1/asset_ser" - + "vice.proto\022\034google.cloud.asset.v1p1beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032)google/cloud/asset/v1p1beta1/a" - + "ssets.proto\"\245\001\n\031SearchAllResourcesReques" - + "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A" - + "\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022\026\n\tpage_size" - + "\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\025\n\010" - + "order_by\030\n \001(\tB\003\340A\001\"~\n\032SearchAllResource" - + "sResponse\022G\n\007results\030\001 \003(\01326.google.clou" - + "d.asset.v1p1beta1.StandardResourceMetada" - + "ta\022\027\n\017next_page_token\030\002 \001(\t\"v\n\033SearchAll" - + "IamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022" - + "\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340" - + "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\"}\n\034SearchAll" - + "IamPoliciesResponse\022D\n\007results\030\001 \003(\01323.g" - + "oogle.cloud.asset.v1p1beta1.IamPolicySea" - + "rchResult\022\027\n\017next_page_token\030\002 \001(\t2\211\004\n\014A" - + "ssetService\022\325\001\n\022SearchAllResources\0227.goo" - + "gle.cloud.asset.v1p1beta1.SearchAllResou" - + "rcesRequest\0328.google.cloud.asset.v1p1bet" - + "a1.SearchAllResourcesResponse\"L\202\323\344\223\002,\022*/" - + "v1p1beta1/{scope=*/*}/resources:searchAl" - + "l\332A\027scope,query,asset_types\022\321\001\n\024SearchAl" - + "lIamPolicies\0229.google.cloud.asset.v1p1be" - + "ta1.SearchAllIamPoliciesRequest\032:.google" - + ".cloud.asset.v1p1beta1.SearchAllIamPolic" - + "iesResponse\"B\202\323\344\223\002.\022,/v1p1beta1/{scope=*" - + "/*}/iamPolicies:searchAll\332A\013scope,query\032" - + "M\312A\031cloudasset.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\270" - + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" - + "etServiceProtoP\001ZAgoogle.golang.org/genp" - + "roto/googleapis/cloud/asset/v1p1beta1;as" - + "set\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goo" - + "gle\\Cloud\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor, - new java.lang.String[] { - "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor, - new java.lang.String[] { - "Results", "NextPageToken", - }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor, - new java.lang.String[] { - "Scope", "Query", "PageSize", "PageToken", - }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor, - new java.lang.String[] { - "Results", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java deleted file mode 100644 index 488434d61..000000000 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/assets.proto - -package com.google.cloud.asset.v1p2beta1; - -public final class AssetProto { - private AssetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p2beta1_TemporalAsset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/asset/v1p2beta1/assets.pr" - + "oto\022\034google.cloud.asset.v1p2beta1\032\034googl" - + "e/api/annotations.proto\032\032google/iam/v1/p" - + "olicy.proto\032\031google/protobuf/any.proto\032\034" - + "google/protobuf/struct.proto\032\037google/pro" - + "tobuf/timestamp.proto\"\216\001\n\rTemporalAsset\022" - + "8\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p" - + "2beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005as" - + "set\030\003 \001(\0132#.google.cloud.asset.v1p2beta1" - + ".Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\013" - + "2\032.google.protobuf.Timestamp\022,\n\010end_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\"\241\001\n\005A" - + "sset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228" - + "\n\010resource\030\003 \001(\0132&.google.cloud.asset.v1" - + "p2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.g" - + "oogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\"\240" - + "\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026discover" - + "y_document_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003" - + " \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001" - + "(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf.Struc" - + "tB\264\001\n com.google.cloud.asset.v1p2beta1B\n" - + "AssetProtoP\001ZAgoogle.golang.org/genproto" - + "/googleapis/cloud/asset/v1p2beta1;asset\370" - + "\001\001\252\002\034Google.Cloud.Asset.v1p2beta1\312\002\034Goog" - + "le\\Cloud\\Asset\\V1p2beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor, - new java.lang.String[] { - "Window", "Deleted", "Asset", - }); - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor, - new java.lang.String[] { - "Name", "AssetType", "Resource", "IamPolicy", "Ancestors", - }); - internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor, - new java.lang.String[] { - "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", - }); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java deleted file mode 100644 index 0c021b602..000000000 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java +++ /dev/null @@ -1,276 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package com.google.cloud.asset.v1p2beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p2beta1_CreateFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_Feed_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/asset/v1p2beta1/asset_ser" - + "vice.proto\022\034google.cloud.asset.v1p2beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032)goo" - + "gle/cloud/asset/v1p2beta1/assets.proto\032#" - + "google/longrunning/operations.proto\032\033goo" - + "gle/protobuf/empty.proto\032 google/protobu" - + "f/field_mask.proto\032\037google/protobuf/time" - + "stamp.proto\"u\n\021CreateFeedRequest\022\023\n\006pare" - + "nt\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A\002\0225\n\004f" - + "eed\030\003 \001(\0132\".google.cloud.asset.v1p2beta1" - + ".FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001" - + "(\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fe" - + "ed\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003" - + "\340A\002\"F\n\021ListFeedsResponse\0221\n\005feeds\030\001 \003(\0132" - + "\".google.cloud.asset.v1p2beta1.Feed\"\200\001\n\021" - + "UpdateFeedRequest\0225\n\004feed\030\001 \001(\0132\".google" - + ".cloud.asset.v1p2beta1.FeedB\003\340A\002\0224\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n\004name\030\001 \001(" - + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" - + "d\"f\n\014OutputConfig\022G\n\017gcs_destination\030\001 \001" - + "(\0132,.google.cloud.asset.v1p2beta1.GcsDes" - + "tinationH\000B\r\n\013destination\"-\n\016GcsDestinat" - + "ion\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri\"\"\n\021Pubs" - + "ubDestination\022\r\n\005topic\030\001 \001(\t\"p\n\020FeedOutp" - + "utConfig\022M\n\022pubsub_destination\030\001 \001(\0132/.g" - + "oogle.cloud.asset.v1p2beta1.PubsubDestin" - + "ationH\000B\r\n\013destination\"\351\002\n\004Feed\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset" - + "_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).goo" - + "gle.cloud.asset.v1p2beta1.ContentType\022O\n" - + "\022feed_output_config\030\005 \001(\0132..google.cloud" - + ".asset.v1p2beta1.FeedOutputConfigB\003\340A\002:\221" - + "\001\352A\215\001\n\036cloudasset.googleapis.com/Feed\022\037p" - + "rojects/{project}/feeds/{feed}\022\035folders/" - + "{folder}/feeds/{feed}\022)organizations/{or" - + "ganization}/feeds/{feed} \001*I\n\013ContentTyp" - + "e\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOU" - + "RCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014AssetService\022\224" - + "\001\n\nCreateFeed\022/.google.cloud.asset.v1p2b" - + "eta1.CreateFeedRequest\032\".google.cloud.as" - + "set.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v1p2beta1/{" - + "parent=*/*}/feeds:\001*\332A\006parent\022\211\001\n\007GetFee" - + "d\022,.google.cloud.asset.v1p2beta1.GetFeed" - + "Request\032\".google.cloud.asset.v1p2beta1.F" - + "eed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=*/*/feeds/" - + "*}\332A\004name\022\234\001\n\tListFeeds\022..google.cloud.a" - + "sset.v1p2beta1.ListFeedsRequest\032/.google" - + ".cloud.asset.v1p2beta1.ListFeedsResponse" - + "\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*/*}/feeds\332" - + "A\006parent\022\227\001\n\nUpdateFeed\022/.google.cloud.a" - + "sset.v1p2beta1.UpdateFeedRequest\032\".googl" - + "e.cloud.asset.v1p2beta1.Feed\"4\202\323\344\223\002\'2\"/v" - + "1p2beta1/{feed.name=*/*/feeds/*}:\001*\332A\004fe" - + "ed\022\203\001\n\nDeleteFeed\022/.google.cloud.asset.v" - + "1p2beta1.DeleteFeedRequest\032\026.google.prot" - + "obuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1/{name=*/*" - + "/feeds/*}\332A\004name\032M\312A\031cloudasset.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\270\001\n com.google.cloud.ass" - + "et.v1p2beta1B\021AssetServiceProtoP\001ZAgoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "sset/v1p2beta1;asset\252\002\034Google.Cloud.Asse" - + "t.V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2bet" - + "a1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor, - new java.lang.String[] { - "Parent", "FeedId", "Feed", - }); - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor, - new java.lang.String[] { - "Feeds", - }); - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor, - new java.lang.String[] { - "Feed", "UpdateMask", - }); - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", "Destination", - }); - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor, - new java.lang.String[] { - "Uri", "ObjectUri", - }); - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor, - new java.lang.String[] { - "Topic", - }); - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor, - new java.lang.String[] { - "PubsubDestination", "Destination", - }); - internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor, - new java.lang.String[] { - "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index ee25e690f..000000000 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package com.google.cloud.asset.v1p2beta1; - -public interface DeleteFeedRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.DeleteFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java deleted file mode 100644 index 53061113e..000000000 --- a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package com.google.cloud.asset.v1p2beta1; - -public interface GetFeedRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.GetFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java deleted file mode 100644 index 64076113a..000000000 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/asset_service.proto - -package com.google.cloud.asset.v1p4beta1; - -public interface AnalyzeIamPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The request query.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the analysisQuery field is set. - */ - boolean hasAnalysisQuery(); - /** - * - * - *
-   * Required. The request query.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The analysisQuery. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); - /** - * - * - *
-   * Required. The request query.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); - - /** - * - * - *
-   * Optional. The request options.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the options field is set. - */ - boolean hasOptions(); - /** - * - * - *
-   * Optional. The request options.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The options. - */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions(); - /** - * - * - *
-   * Optional. The request options.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder(); -} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java deleted file mode 100644 index 487881890..000000000 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/assets.proto - -package com.google.cloud.asset.v1p4beta1; - -public final class AssetProto { - private AssetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_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/asset/v1p4beta1/assets.pr" - + "oto\022\034google.cloud.asset.v1p4beta1\032\032googl" - + "e/iam/v1/policy.proto\032\025google/rpc/code.p" - + "roto\032\034google/api/annotations.proto\"\225\n\n\027I" - + "amPolicyAnalysisResult\022#\n\033attached_resou" - + "rce_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 \001(\013" - + "2\026.google.iam.v1.Binding\022e\n\024access_contr" - + "ol_lists\030\003 \003(\0132G.google.cloud.asset.v1p4" - + "beta1.IamPolicyAnalysisResult.AccessCont" - + "rolList\022Y\n\ridentity_list\030\004 \001(\0132B.google." - + "cloud.asset.v1p4beta1.IamPolicyAnalysisR" - + "esult.IdentityList\022\026\n\016fully_explored\030\005 \001" - + "(\010\032>\n\rAnalysisState\022\036\n\004code\030\001 \001(\0162\020.goog" - + "le.rpc.Code\022\r\n\005cause\030\002 \001(\t\032\203\001\n\010Resource\022" - + "\032\n\022full_resource_name\030\001 \001(\t\022[\n\016analysis_" - + "state\030\002 \001(\0132C.google.cloud.asset.v1p4bet" - + "a1.IamPolicyAnalysisResult.AnalysisState" - + "\032\233\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermissio" - + "n\030\002 \001(\tH\000\022[\n\016analysis_state\030\003 \001(\0132C.goog" - + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" - + "isResult.AnalysisStateB\016\n\014oneof_access\0320" - + "\n\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_no" - + "de\030\002 \001(\t\032u\n\010Identity\022\014\n\004name\030\001 \001(\t\022[\n\016an" - + "alysis_state\030\002 \001(\0132C.google.cloud.asset." - + "v1p4beta1.IamPolicyAnalysisResult.Analys" - + "isState\032\212\002\n\021AccessControlList\022Q\n\tresourc" - + "es\030\001 \003(\0132>.google.cloud.asset.v1p4beta1." - + "IamPolicyAnalysisResult.Resource\022N\n\010acce" - + "sses\030\002 \003(\0132<.google.cloud.asset.v1p4beta" - + "1.IamPolicyAnalysisResult.Access\022R\n\016reso" - + "urce_edges\030\003 \003(\0132:.google.cloud.asset.v1" - + "p4beta1.IamPolicyAnalysisResult.Edge\032\263\001\n" - + "\014IdentityList\022R\n\nidentities\030\001 \003(\0132>.goog" - + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" - + "isResult.Identity\022O\n\013group_edges\030\002 \003(\0132:" - + ".google.cloud.asset.v1p4beta1.IamPolicyA" - + "nalysisResult.EdgeB\264\001\n com.google.cloud." - + "asset.v1p4beta1B\nAssetProtoP\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/asset" - + "/v1p4beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" - + ".V1P4Beta1\312\002\034Google\\Cloud\\Asset\\V1p4beta" - + "1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor, - new java.lang.String[] { - "AttachedResourceFullName", - "IamBinding", - "AccessControlLists", - "IdentityList", - "FullyExplored", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor, - new java.lang.String[] { - "Code", "Cause", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor, - new java.lang.String[] { - "FullResourceName", "AnalysisState", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor, - new java.lang.String[] { - "Role", "Permission", "AnalysisState", "OneofAccess", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor, - new java.lang.String[] { - "SourceNode", "TargetNode", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor, - new java.lang.String[] { - "Name", "AnalysisState", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(5); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor, - new java.lang.String[] { - "Resources", "Accesses", "ResourceEdges", - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor - .getNestedTypes() - .get(6); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor, - new java.lang.String[] { - "Identities", "GroupEdges", - }); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java deleted file mode 100644 index 9ee955198..000000000 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java +++ /dev/null @@ -1,343 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/asset_service.proto - -package com.google.cloud.asset.v1p4beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_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/asset/v1p4beta1/asset_ser" - + "vice.proto\022\034google.cloud.asset.v1p4beta1" - + "\032\034google/api/annotations.proto\032\037google/a" - + "pi/field_behavior.proto\032)google/cloud/as" - + "set/v1p4beta1/assets.proto\032\032google/iam/v" - + "1/policy.proto\032#google/longrunning/opera" - + "tions.proto\032\036google/protobuf/duration.pr" - + "oto\032\027google/api/client.proto\"\376\003\n\026IamPoli" - + "cyAnalysisQuery\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022e\n\021" - + "resource_selector\030\002 \001(\0132E.google.cloud.a" - + "sset.v1p4beta1.IamPolicyAnalysisQuery.Re" - + "sourceSelectorB\003\340A\001\022e\n\021identity_selector" - + "\030\003 \001(\0132E.google.cloud.asset.v1p4beta1.Ia" - + "mPolicyAnalysisQuery.IdentitySelectorB\003\340" - + "A\001\022a\n\017access_selector\030\004 \001(\0132C.google.clo" - + "ud.asset.v1p4beta1.IamPolicyAnalysisQuer" - + "y.AccessSelectorB\003\340A\001\0323\n\020ResourceSelecto" - + "r\022\037\n\022full_resource_name\030\001 \001(\tB\003\340A\002\032)\n\020Id" - + "entitySelector\022\025\n\010identity\030\001 \001(\tB\003\340A\002\032>\n" - + "\016AccessSelector\022\022\n\005roles\030\001 \003(\tB\003\340A\001\022\030\n\013p" - + "ermissions\030\002 \003(\tB\003\340A\001\"\327\003\n\027AnalyzeIamPoli" - + "cyRequest\022Q\n\016analysis_query\030\001 \001(\01324.goog" - + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" - + "isQueryB\003\340A\002\022S\n\007options\030\002 \001(\0132=.google.c" - + "loud.asset.v1p4beta1.AnalyzeIamPolicyReq" - + "uest.OptionsB\003\340A\001\032\223\002\n\007Options\022\032\n\rexpand_" - + "groups\030\001 \001(\010B\003\340A\001\022\031\n\014expand_roles\030\002 \001(\010B" - + "\003\340A\001\022\035\n\020expand_resources\030\003 \001(\010B\003\340A\001\022\"\n\025o" - + "utput_resource_edges\030\004 \001(\010B\003\340A\001\022\037\n\022outpu" - + "t_group_edges\030\005 \001(\010B\003\340A\001\0222\n%analyze_serv" - + "ice_account_impersonation\030\006 \001(\010B\003\340A\001\0229\n\021" - + "execution_timeout\030\007 \001(\0132\031.google.protobu" - + "f.DurationB\003\340A\001\"\274\004\n\030AnalyzeIamPolicyResp" - + "onse\022_\n\rmain_analysis\030\001 \001(\0132H.google.clo" - + "ud.asset.v1p4beta1.AnalyzeIamPolicyRespo" - + "nse.IamPolicyAnalysis\022x\n&service_account" - + "_impersonation_analysis\030\002 \003(\0132H.google.c" - + "loud.asset.v1p4beta1.AnalyzeIamPolicyRes" - + "ponse.IamPolicyAnalysis\022\026\n\016fully_explore" - + "d\030\003 \001(\010\022`\n\023non_critical_errors\030\004 \003(\0132C.g" - + "oogle.cloud.asset.v1p4beta1.IamPolicyAna" - + "lysisResult.AnalysisState\032\312\001\n\021IamPolicyA" - + "nalysis\022L\n\016analysis_query\030\001 \001(\01324.google" - + ".cloud.asset.v1p4beta1.IamPolicyAnalysis" - + "Query\022O\n\020analysis_results\030\002 \003(\01325.google" - + ".cloud.asset.v1p4beta1.IamPolicyAnalysis" - + "Result\022\026\n\016fully_explored\030\003 \001(\010\"\271\001\n\035IamPo" - + "licyAnalysisOutputConfig\022e\n\017gcs_destinat" - + "ion\030\001 \001(\0132J.google.cloud.asset.v1p4beta1" - + ".IamPolicyAnalysisOutputConfig.GcsDestin" - + "ationH\000\032\"\n\016GcsDestination\022\020\n\003uri\030\001 \001(\tB\003" - + "\340A\002B\r\n\013destination\"\203\004\n\036ExportIamPolicyAn" - + "alysisRequest\022Q\n\016analysis_query\030\001 \001(\01324." - + "google.cloud.asset.v1p4beta1.IamPolicyAn" - + "alysisQueryB\003\340A\002\022Z\n\007options\030\002 \001(\0132D.goog" - + "le.cloud.asset.v1p4beta1.ExportIamPolicy" - + "AnalysisRequest.OptionsB\003\340A\001\022W\n\routput_c" - + "onfig\030\003 \001(\0132;.google.cloud.asset.v1p4bet" - + "a1.IamPolicyAnalysisOutputConfigB\003\340A\002\032\330\001" - + "\n\007Options\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n" - + "\014expand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resou" - + "rces\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges" - + "\030\004 \001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B" - + "\003\340A\001\0222\n%analyze_service_account_imperson" - + "ation\030\006 \001(\010B\003\340A\001\"u\n\037ExportIamPolicyAnaly" - + "sisResponse\022R\n\routput_config\030\001 \001(\0132;.goo" - + "gle.cloud.asset.v1p4beta1.IamPolicyAnaly" - + "sisOutputConfig2\345\004\n\014AssetService\022\302\001\n\020Ana" - + "lyzeIamPolicy\0225.google.cloud.asset.v1p4b" - + "eta1.AnalyzeIamPolicyRequest\0326.google.cl" - + "oud.asset.v1p4beta1.AnalyzeIamPolicyResp" - + "onse\"?\202\323\344\223\0029\0227/v1p4beta1/{analysis_query" - + ".parent=*/*}:analyzeIamPolicy\022\300\002\n\027Export" - + "IamPolicyAnalysis\022<.google.cloud.asset.v" - + "1p4beta1.ExportIamPolicyAnalysisRequest\032" - + "\035.google.longrunning.Operation\"\307\001\202\323\344\223\002C\"" - + ">/v1p4beta1/{analysis_query.parent=*/*}:" - + "exportIamPolicyAnalysis:\001*\312A{\n - * Required. The request query. - *
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the analysisQuery field is set. - */ - boolean hasAnalysisQuery(); - /** - * - * - *
-   * Required. The request query.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The analysisQuery. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); - /** - * - * - *
-   * Required. The request query.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); - - /** - * - * - *
-   * Optional. The request options.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the options field is set. - */ - boolean hasOptions(); - /** - * - * - *
-   * Optional. The request options.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The options. - */ - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions(); - /** - * - * - *
-   * Optional. The request options.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder - getOptionsOrBuilder(); - - /** - * - * - *
-   * Required. Output configuration indicating where the results will be output to.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the outputConfig field is set. - */ - boolean hasOutputConfig(); - /** - * - * - *
-   * Required. Output configuration indicating where the results will be output to.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The outputConfig. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig(); - /** - * - * - *
-   * Required. Output configuration indicating where the results will be output to.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder - getOutputConfigOrBuilder(); -} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java deleted file mode 100644 index edc8507e0..000000000 --- a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/asset_service.proto - -package com.google.cloud.asset.v1p4beta1; - -public interface IamPolicyAnalysisOutputConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Destination on Cloud Storage.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * - * @return Whether the gcsDestination field is set. - */ - boolean hasGcsDestination(); - /** - * - * - *
-   * Destination on Cloud Storage.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - * - * @return The gcsDestination. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination(); - /** - * - * - *
-   * Destination on Cloud Storage.
-   * 
- * - * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder - getGcsDestinationOrBuilder(); - - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.DestinationCase - getDestinationCase(); -} diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java deleted file mode 100644 index de33750c1..000000000 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p5beta1/assets.proto - -package com.google.cloud.asset.v1p5beta1; - -public final class AssetProto { - private AssetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p5beta1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/asset/v1p5beta1/assets.pr" - + "oto\022\034google.cloud.asset.v1p5beta1\032\034googl" - + "e/api/annotations.proto\032\031google/api/reso" - + "urce.proto\032)google/cloud/orgpolicy/v1/or" - + "gpolicy.proto\032\032google/iam/v1/policy.prot" - + "o\032:google/identity/accesscontextmanager/" - + "v1/access_level.proto\032;google/identity/a" - + "ccesscontextmanager/v1/access_policy.pro" - + "to\032?google/identity/accesscontextmanager" - + "/v1/service_perimeter.proto\032\031google/prot" - + "obuf/any.proto\032\034google/protobuf/struct.p" - + "roto\032\037google/protobuf/timestamp.proto\"\220\004" - + "\n\005Asset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" - + "\t\0228\n\010resource\030\003 \001(\0132&.google.cloud.asset" - + ".v1p5beta1.Resource\022)\n\niam_policy\030\004 \001(\0132" - + "\025.google.iam.v1.Policy\0225\n\norg_policy\030\006 \003" - + "(\0132!.google.cloud.orgpolicy.v1.Policy\022N\n" - + "\raccess_policy\030\007 \001(\01325.google.identity.a" - + "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" - + "\014access_level\030\010 \001(\01324.google.identity.ac" - + "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" - + "ervice_perimeter\030\t \001(\01329.google.identity" - + ".accesscontextmanager.v1.ServicePerimete" - + "rH\000\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." - + "googleapis.com/Asset\022\001*B\027\n\025access_contex" - + "t_policy\"\240\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" - + "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" - + "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" - + "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" - + "obuf.StructB\264\001\n com.google.cloud.asset.v" - + "1p5beta1B\nAssetProtoP\001ZAgoogle.golang.or" - + "g/genproto/googleapis/cloud/asset/v1p5be" - + "ta1;asset\370\001\001\252\002\034Google.Cloud.Asset.V1p5Be" - + "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor, - new java.lang.String[] { - "Name", - "AssetType", - "Resource", - "IamPolicy", - "OrgPolicy", - "AccessPolicy", - "AccessLevel", - "ServicePerimeter", - "Ancestors", - "AccessContextPolicy", - }); - internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor, - new java.lang.String[] { - "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java deleted file mode 100644 index 608622bdb..000000000 --- a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p5beta1/asset_service.proto - -package com.google.cloud.asset.v1p5beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p5beta1_ListAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_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/asset/v1p5beta1/asset_ser" - + "vice.proto\022\034google.cloud.asset.v1p5beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032)google/cloud/asset/v1p5beta1/a" - + "ssets.proto\032\037google/protobuf/timestamp.p" - + "roto\"\324\001\n\021ListAssetsRequest\022\023\n\006parent\030\001 \001" - + "(\tB\003\340A\002\022-\n\tread_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t\022?\n\014c" - + "ontent_type\030\004 \001(\0162).google.cloud.asset.v" - + "1p5beta1.ContentType\022\021\n\tpage_size\030\005 \001(\005\022" - + "\022\n\npage_token\030\006 \001(\t\"\221\001\n\022ListAssetsRespon" - + "se\022-\n\tread_time\030\001 \001(\0132\032.google.protobuf." - + "Timestamp\0223\n\006assets\030\002 \003(\0132#.google.cloud" - + ".asset.v1p5beta1.Asset\022\027\n\017next_page_toke" - + "n\030\003 \001(\t*l\n\013ContentType\022\034\n\030CONTENT_TYPE_U" - + "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" - + "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\0052\367\001" - + "\n\014AssetService\022\227\001\n\nListAssets\022/.google.c" - + "loud.asset.v1p5beta1.ListAssetsRequest\0320" - + ".google.cloud.asset.v1p5beta1.ListAssets" - + "Response\"&\202\323\344\223\002 \022\036/v1p5beta1/{parent=*/*" - + "}/assets\032M\312A\031cloudasset.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\270\001\n com.google.cloud.asset.v1p5b" - + "eta1B\021AssetServiceProtoP\001ZAgoogle.golang" - + ".org/genproto/googleapis/cloud/asset/v1p" - + "5beta1;asset\252\002\034Google.Cloud.Asset.V1P5Be" - + "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", "ReadTime", "AssetTypes", "ContentType", "PageSize", "PageToken", - }); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor, - new java.lang.String[] { - "ReadTime", "Assets", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java deleted file mode 100644 index 2df5fb560..000000000 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java +++ /dev/null @@ -1,202 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p7beta1/assets.proto - -package com.google.cloud.asset.v1p7beta1; - -public final class AssetProto { - private AssetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p7beta1_Asset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_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/asset/v1p7beta1/assets.pr" - + "oto\022\034google.cloud.asset.v1p7beta1\032\034googl" - + "e/api/annotations.proto\032\031google/api/reso" - + "urce.proto\032)google/cloud/orgpolicy/v1/or" - + "gpolicy.proto\032(google/cloud/osconfig/v1/" - + "inventory.proto\032\032google/iam/v1/policy.pr" - + "oto\032:google/identity/accesscontextmanage" - + "r/v1/access_level.proto\032;google/identity" - + "/accesscontextmanager/v1/access_policy.p" - + "roto\032?google/identity/accesscontextmanag" - + "er/v1/service_perimeter.proto\032\031google/pr" - + "otobuf/any.proto\032\034google/protobuf/struct" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\206\005\n\005Asset\022/\n\013update_time\030\013 \001(\0132\032.google." - + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasse" - + "t_type\030\002 \001(\t\0228\n\010resource\030\003 \001(\0132&.google." - + "cloud.asset.v1p7beta1.Resource\022)\n\niam_po" - + "licy\030\004 \001(\0132\025.google.iam.v1.Policy\0225\n\norg" - + "_policy\030\006 \003(\0132!.google.cloud.orgpolicy.v" - + "1.Policy\022N\n\raccess_policy\030\007 \001(\01325.google" - + ".identity.accesscontextmanager.v1.Access" - + "PolicyH\000\022L\n\014access_level\030\010 \001(\01324.google." - + "identity.accesscontextmanager.v1.AccessL" - + "evelH\000\022V\n\021service_perimeter\030\t \001(\01329.goog" - + "le.identity.accesscontextmanager.v1.Serv" - + "icePerimeterH\000\022C\n\016related_assets\030\r \001(\0132+" - + ".google.cloud.asset.v1p7beta1.RelatedAss" - + "ets\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." - + "googleapis.com/Asset\022\001*B\027\n\025access_contex" - + "t_policy\"\262\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" - + "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" - + "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" - + "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" - + "obuf.Struct\022\020\n\010location\030\010 \001(\t\"\242\001\n\rRelate" - + "dAssets\022U\n\027relationship_attributes\030\001 \001(\013" - + "24.google.cloud.asset.v1p7beta1.Relation" - + "shipAttributes\022:\n\006assets\030\002 \003(\0132*.google." - + "cloud.asset.v1p7beta1.RelatedAsset\"r\n\026Re" - + "lationshipAttributes\022\014\n\004type\030\004 \001(\t\022\034\n\024so" - + "urce_resource_type\030\001 \001(\t\022\034\n\024target_resou" - + "rce_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t\"j\n\014Relate" - + "dAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n\037cloudasset.g" - + "oogleapis.com/Asset\022\022\n\nasset_type\030\002 \001(\t\022" - + "\021\n\tancestors\030\003 \003(\tB\264\001\n com.google.cloud." - + "asset.v1p7beta1B\nAssetProtoP\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/asset" - + "/v1p7beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" - + ".V1P7Beta1\312\002\034Google\\Cloud\\Asset\\V1p7beta" - + "1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1.Inventories.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor, - new java.lang.String[] { - "UpdateTime", - "Name", - "AssetType", - "Resource", - "IamPolicy", - "OrgPolicy", - "AccessPolicy", - "AccessLevel", - "ServicePerimeter", - "RelatedAssets", - "Ancestors", - "AccessContextPolicy", - }); - internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor, - new java.lang.String[] { - "Version", - "DiscoveryDocumentUri", - "DiscoveryName", - "ResourceUrl", - "Parent", - "Data", - "Location", - }); - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor, - new java.lang.String[] { - "RelationshipAttributes", "Assets", - }); - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor, - new java.lang.String[] { - "Type", "SourceResourceType", "TargetResourceType", "Action", - }); - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor, - new java.lang.String[] { - "Asset", "AssetType", "Ancestors", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1.Inventories.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java deleted file mode 100644 index 1cd5b7494..000000000 --- a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p7beta1/asset_service.proto - -package com.google.cloud.asset.v1p7beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_asset_v1p7beta1_ExportAssetsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_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/asset/v1p7beta1/asset_ser" - + "vice.proto\022\034google.cloud.asset.v1p7beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032)goo" - + "gle/cloud/asset/v1p7beta1/assets.proto\032#" - + "google/longrunning/operations.proto\032\033goo" - + "gle/protobuf/empty.proto\032 google/protobu" - + "f/field_mask.proto\032\037google/protobuf/time" - + "stamp.proto\"\267\002\n\023ExportAssetsRequest\0227\n\006p" - + "arent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.googleap" - + "is.com/Asset\022-\n\tread_time\030\002 \001(\0132\032.google" - + ".protobuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t" - + "\022?\n\014content_type\030\004 \001(\0162).google.cloud.as" - + "set.v1p7beta1.ContentType\022F\n\routput_conf" - + "ig\030\005 \001(\0132*.google.cloud.asset.v1p7beta1." - + "OutputConfigB\003\340A\002\022\032\n\022relationship_types\030" - + "\006 \003(\t\"\313\001\n\024ExportAssetsResponse\022-\n\tread_t" - + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022A\n" - + "\routput_config\030\002 \001(\0132*.google.cloud.asse" - + "t.v1p7beta1.OutputConfig\022A\n\routput_resul" - + "t\030\003 \001(\0132*.google.cloud.asset.v1p7beta1.O" - + "utputResult\"\271\001\n\014OutputConfig\022G\n\017gcs_dest" - + "ination\030\001 \001(\0132,.google.cloud.asset.v1p7b" - + "eta1.GcsDestinationH\000\022Q\n\024bigquery_destin" - + "ation\030\002 \001(\01321.google.cloud.asset.v1p7bet" - + "a1.BigQueryDestinationH\000B\r\n\013destination\"" - + "]\n\014OutputResult\022C\n\ngcs_result\030\001 \001(\0132-.go" - + "ogle.cloud.asset.v1p7beta1.GcsOutputResu" - + "ltH\000B\010\n\006result\"\037\n\017GcsOutputResult\022\014\n\004uri" - + "s\030\001 \003(\t\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000" - + "\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\273\001\n" - + "\023BigQueryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340" - + "A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022C\n" - + "\016partition_spec\030\004 \001(\0132+.google.cloud.ass" - + "et.v1p7beta1.PartitionSpec\022&\n\036separate_t" - + "ables_per_asset_type\030\005 \001(\010\"\260\001\n\rPartition" - + "Spec\022O\n\rpartition_key\030\001 \001(\01628.google.clo" - + "ud.asset.v1p7beta1.PartitionSpec.Partiti" - + "onKey\"N\n\014PartitionKey\022\035\n\031PARTITION_KEY_U" - + "NSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014REQUEST_T" - + "IME\020\002*~\n\013ContentType\022\034\n\030CONTENT_TYPE_UNS" - + "PECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002" - + "\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014R" - + "ELATIONSHIP\020\0072\332\002\n\014AssetService\022\372\001\n\014Expor" - + "tAssets\0221.google.cloud.asset.v1p7beta1.E" - + "xportAssetsRequest\032\035.google.longrunning." - + "Operation\"\227\001\202\323\344\223\002)\"$/v1p7beta1/{parent=*" - + "/*}:exportAssets:\001*\312Ae\n1google.cloud.ass" - + "et.v1p7beta1.ExportAssetsResponse\0220googl" - + "e.cloud.asset.v1p7beta1.ExportAssetsRequ" - + "est\032M\312A\031cloudasset.googleapis.com\322A.http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\270\001\n com.google.cloud.asset.v1p7beta1B" - + "\021AssetServiceProtoP\001ZAgoogle.golang.org/" - + "genproto/googleapis/cloud/asset/v1p7beta" - + "1;asset\252\002\034Google.Cloud.Asset.V1P7Beta1\312\002" - + "\034Google\\Cloud\\Asset\\V1p7beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor, - new java.lang.String[] { - "Parent", - "ReadTime", - "AssetTypes", - "ContentType", - "OutputConfig", - "RelationshipTypes", - }); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor, - new java.lang.String[] { - "ReadTime", "OutputConfig", "OutputResult", - }); - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor, - new java.lang.String[] { - "GcsDestination", "BigqueryDestination", "Destination", - }); - internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor, - new java.lang.String[] { - "GcsResult", "Result", - }); - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor, - new java.lang.String[] { - "Uris", - }); - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor, - new java.lang.String[] { - "Uri", "UriPrefix", "ObjectUri", - }); - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor, - new java.lang.String[] { - "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", - }); - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor, - new java.lang.String[] { - "PartitionKey", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 807ced7f8f914c3fa66401f0450fc0a7d6177327 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:38:54 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../cloud/asset/v1/AssetServiceClient.java | 175 +- .../cloud/asset/v1/AssetServiceSettings.java | 19 +- .../google/cloud/asset/v1/gapic_metadata.json | 0 .../google/cloud/asset/v1/package-info.java | 0 .../cloud/asset/v1/stub/AssetServiceStub.java | 3 +- .../v1/stub/AssetServiceStubSettings.java | 42 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../asset/v1/stub/GrpcAssetServiceStub.java | 7 +- .../HttpJsonAssetServiceCallableFactory.java | 0 .../v1/stub/HttpJsonAssetServiceStub.java | 7 +- .../asset/v1p1beta1/AssetServiceClient.java | 62 +- .../asset/v1p1beta1/AssetServiceSettings.java | 13 +- .../cloud/asset/v1p1beta1/gapic_metadata.json | 0 .../cloud/asset/v1p1beta1/package-info.java | 0 .../v1p1beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 33 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p1beta1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../asset/v1p2beta1/AssetServiceClient.java | 6 +- .../asset/v1p2beta1/AssetServiceSettings.java | 7 +- .../cloud/asset/v1p2beta1/gapic_metadata.json | 0 .../cloud/asset/v1p2beta1/package-info.java | 0 .../v1p2beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 6 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p2beta1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../asset/v1p4beta1/AssetServiceClient.java | 9 +- .../asset/v1p4beta1/AssetServiceSettings.java | 13 +- .../cloud/asset/v1p4beta1/gapic_metadata.json | 0 .../cloud/asset/v1p4beta1/package-info.java | 0 .../v1p4beta1/stub/AssetServiceStub.java | 3 +- .../stub/AssetServiceStubSettings.java | 18 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p4beta1/stub/GrpcAssetServiceStub.java | 7 +- .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 7 +- .../asset/v1p5beta1/AssetServiceClient.java | 16 +- .../asset/v1p5beta1/AssetServiceSettings.java | 7 +- .../cloud/asset/v1p5beta1/gapic_metadata.json | 0 .../cloud/asset/v1p5beta1/package-info.java | 0 .../v1p5beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 6 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p5beta1/stub/GrpcAssetServiceStub.java | 1 - .../HttpJsonAssetServiceCallableFactory.java | 0 .../stub/HttpJsonAssetServiceStub.java | 0 .../asset/v1p7beta1/AssetServiceClient.java | 6 +- .../asset/v1p7beta1/AssetServiceSettings.java | 7 +- .../cloud/asset/v1p7beta1/gapic_metadata.json | 0 .../cloud/asset/v1p7beta1/package-info.java | 0 .../v1p7beta1/stub/AssetServiceStub.java | 0 .../stub/AssetServiceStubSettings.java | 6 +- .../stub/GrpcAssetServiceCallableFactory.java | 0 .../v1p7beta1/stub/GrpcAssetServiceStub.java | 1 - .../v1/AssetServiceClientHttpJsonTest.java | 0 .../asset/v1/AssetServiceClientTest.java | 0 .../cloud/asset/v1/MockAssetService.java | 0 .../cloud/asset/v1/MockAssetServiceImpl.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p1beta1/AssetServiceClientTest.java | 0 .../asset/v1p1beta1/MockAssetService.java | 0 .../asset/v1p1beta1/MockAssetServiceImpl.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p2beta1/AssetServiceClientTest.java | 0 .../asset/v1p2beta1/MockAssetService.java | 0 .../asset/v1p2beta1/MockAssetServiceImpl.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p4beta1/AssetServiceClientTest.java | 0 .../asset/v1p4beta1/MockAssetService.java | 0 .../asset/v1p4beta1/MockAssetServiceImpl.java | 0 .../AssetServiceClientHttpJsonTest.java | 0 .../v1p5beta1/AssetServiceClientTest.java | 0 .../asset/v1p5beta1/MockAssetService.java | 0 .../asset/v1p5beta1/MockAssetServiceImpl.java | 0 .../v1p7beta1/AssetServiceClientTest.java | 0 .../asset/v1p7beta1/MockAssetService.java | 0 .../asset/v1p7beta1/MockAssetServiceImpl.java | 0 .../cloud/asset/v1/AssetServiceGrpc.java | 2573 ++++++++ .../asset/v1p1beta1/AssetServiceGrpc.java | 339 +- .../asset/v1p2beta1/AssetServiceGrpc.java | 799 +++ .../asset/v1p4beta1/AssetServiceGrpc.java | 499 ++ .../asset/v1p5beta1/AssetServiceGrpc.java | 222 +- .../asset/v1p7beta1/AssetServiceGrpc.java | 214 +- .../cloud/asset/v1/AssetServiceGrpc.java | 2003 ------ ...IamPolicyLongrunningResponseOrBuilder.java | 9 - .../com/google/cloud/asset/v1/AssetProto.java | 504 -- .../cloud/asset/v1/AssetServiceProto.java | 1034 --- .../asset/v1/DeleteFeedRequestOrBuilder.java | 35 - .../asset/v1/GetFeedRequestOrBuilder.java | 35 - .../v1/GetSavedQueryRequestOrBuilder.java | 35 - .../cloud/asset/v1/MoveImpactOrBuilder.java | 29 - .../google/cloud/asset/v1/ProjectName.java | 168 - .../cloud/asset/v1p1beta1/AssetProto.java | 132 - .../asset/v1p1beta1/AssetServiceProto.java | 132 - .../asset/v1p2beta1/AssetServiceGrpc.java | 651 -- .../cloud/asset/v1p2beta1/AssetProto.java | 113 - .../asset/v1p2beta1/AssetServiceProto.java | 251 - .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 35 - .../v1p2beta1/GetFeedRequestOrBuilder.java | 35 - .../asset/v1p4beta1/AssetServiceGrpc.java | 405 -- .../AnalyzeIamPolicyRequestOrBuilder.java | 63 - .../cloud/asset/v1p4beta1/AssetProto.java | 170 - .../asset/v1p4beta1/AssetServiceProto.java | 288 - ...portIamPolicyAnalysisRequestOrBuilder.java | 90 - ...amPolicyAnalysisOutputConfigOrBuilder.java | 38 - .../cloud/asset/v1p5beta1/AssetProto.java | 116 - .../asset/v1p5beta1/AssetServiceProto.java | 104 - .../cloud/asset/v1p7beta1/AssetProto.java | 166 - .../asset/v1p7beta1/AssetServiceProto.java | 208 - .../AnalyzeIamPolicyLongrunningMetadata.java | 391 +- ...IamPolicyLongrunningMetadataOrBuilder.java | 35 +- .../AnalyzeIamPolicyLongrunningRequest.java | 631 +- ...eIamPolicyLongrunningRequestOrBuilder.java | 67 +- .../AnalyzeIamPolicyLongrunningResponse.java | 250 +- ...IamPolicyLongrunningResponseOrBuilder.java | 24 + .../asset/v1/AnalyzeIamPolicyRequest.java | 607 +- .../v1/AnalyzeIamPolicyRequestOrBuilder.java | 67 +- .../asset/v1/AnalyzeIamPolicyResponse.java | 1486 +++-- .../v1/AnalyzeIamPolicyResponseOrBuilder.java | 83 +- .../cloud/asset/v1/AnalyzeMoveRequest.java | 516 +- .../asset/v1/AnalyzeMoveRequestOrBuilder.java | 42 +- .../cloud/asset/v1/AnalyzeMoveResponse.java | 374 +- .../v1/AnalyzeMoveResponseOrBuilder.java | 36 +- .../java/com/google/cloud/asset/v1/Asset.java | 1695 +++-- .../google/cloud/asset/v1/AssetOrBuilder.java | 164 +- .../com/google/cloud/asset/v1/AssetProto.java | 618 ++ .../cloud/asset/v1/AssetServiceProto.java | 1158 ++++ .../cloud/asset/v1/AttachedResource.java | 430 +- .../asset/v1/AttachedResourceOrBuilder.java | 45 +- .../v1/BatchGetAssetsHistoryRequest.java | 829 ++- ...BatchGetAssetsHistoryRequestOrBuilder.java | 105 +- .../v1/BatchGetAssetsHistoryResponse.java | 383 +- ...atchGetAssetsHistoryResponseOrBuilder.java | 36 +- .../BatchGetEffectiveIamPoliciesRequest.java | 517 +- ...tEffectiveIamPoliciesRequestOrBuilder.java | 69 +- .../BatchGetEffectiveIamPoliciesResponse.java | 1922 ++++-- ...EffectiveIamPoliciesResponseOrBuilder.java | 62 +- .../cloud/asset/v1/BigQueryDestination.java | 550 +- .../v1/BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1/ConditionEvaluation.java | 368 +- .../v1/ConditionEvaluationOrBuilder.java | 24 +- .../google/cloud/asset/v1/ContentType.java | 110 +- .../cloud/asset/v1/CreateFeedRequest.java | 468 +- .../asset/v1/CreateFeedRequestOrBuilder.java | 44 +- .../asset/v1/CreateSavedQueryRequest.java | 567 +- .../v1/CreateSavedQueryRequestOrBuilder.java | 64 +- .../cloud/asset/v1/DeleteFeedRequest.java | 333 +- .../asset/v1/DeleteFeedRequestOrBuilder.java | 60 + .../asset/v1/DeleteSavedQueryRequest.java | 339 +- .../v1/DeleteSavedQueryRequestOrBuilder.java | 35 +- .../cloud/asset/v1/ExportAssetsRequest.java | 849 ++- .../v1/ExportAssetsRequestOrBuilder.java | 105 +- .../cloud/asset/v1/ExportAssetsResponse.java | 517 +- .../v1/ExportAssetsResponseOrBuilder.java | 42 +- .../java/com/google/cloud/asset/v1/Feed.java | 911 ++- .../com/google/cloud/asset/v1/FeedName.java | 0 .../google/cloud/asset/v1/FeedOrBuilder.java | 115 +- .../cloud/asset/v1/FeedOutputConfig.java | 370 +- .../asset/v1/FeedOutputConfigOrBuilder.java | 26 +- .../com/google/cloud/asset/v1/FolderName.java | 0 .../google/cloud/asset/v1/GcsDestination.java | 454 +- .../asset/v1/GcsDestinationOrBuilder.java | 42 +- .../cloud/asset/v1/GcsOutputResult.java | 333 +- .../asset/v1/GcsOutputResultOrBuilder.java | 36 +- .../google/cloud/asset/v1/GetFeedRequest.java | 326 +- .../asset/v1/GetFeedRequestOrBuilder.java | 60 + .../cloud/asset/v1/GetSavedQueryRequest.java | 329 +- .../v1/GetSavedQueryRequestOrBuilder.java | 60 + .../v1/IamPolicyAnalysisOutputConfig.java | 1855 ++++-- ...amPolicyAnalysisOutputConfigOrBuilder.java | 67 +- .../asset/v1/IamPolicyAnalysisQuery.java | 3213 ++++++---- .../v1/IamPolicyAnalysisQueryOrBuilder.java | 139 +- .../asset/v1/IamPolicyAnalysisResult.java | 4320 ++++++++----- .../v1/IamPolicyAnalysisResultOrBuilder.java | 91 +- .../asset/v1/IamPolicyAnalysisState.java | 358 +- .../v1/IamPolicyAnalysisStateOrBuilder.java | 33 +- .../cloud/asset/v1/IamPolicySearchResult.java | 1959 +++--- .../v1/IamPolicySearchResultOrBuilder.java | 88 +- .../cloud/asset/v1/ListAssetsRequest.java | 813 ++- .../asset/v1/ListAssetsRequestOrBuilder.java | 97 +- .../cloud/asset/v1/ListAssetsResponse.java | 542 +- .../asset/v1/ListAssetsResponseOrBuilder.java | 54 +- .../cloud/asset/v1/ListFeedsRequest.java | 301 +- .../asset/v1/ListFeedsRequestOrBuilder.java | 27 +- .../cloud/asset/v1/ListFeedsResponse.java | 379 +- .../asset/v1/ListFeedsResponseOrBuilder.java | 37 +- .../asset/v1/ListSavedQueriesRequest.java | 533 +- .../v1/ListSavedQueriesRequestOrBuilder.java | 56 +- .../asset/v1/ListSavedQueriesResponse.java | 463 +- .../v1/ListSavedQueriesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/MoveAnalysis.java | 545 +- .../cloud/asset/v1/MoveAnalysisOrBuilder.java | 43 +- .../cloud/asset/v1/MoveAnalysisResult.java | 518 +- .../asset/v1/MoveAnalysisResultOrBuilder.java | 54 +- .../com/google/cloud/asset/v1/MoveImpact.java | 294 +- .../cloud/asset/v1/MoveImpactOrBuilder.java | 50 + .../cloud/asset/v1/OrganizationName.java | 0 .../google/cloud/asset/v1/OutputConfig.java | 476 +- .../cloud/asset/v1/OutputConfigOrBuilder.java | 34 +- .../google/cloud/asset/v1/OutputResult.java | 365 +- .../cloud/asset/v1/OutputResultOrBuilder.java | 26 +- .../google/cloud/asset/v1/PartitionSpec.java | 355 +- .../asset/v1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1/PubsubDestination.java | 301 +- .../asset/v1/PubsubDestinationOrBuilder.java | 27 +- .../google/cloud/asset/v1/RelatedAsset.java | 563 +- .../cloud/asset/v1/RelatedAssetOrBuilder.java | 63 +- .../google/cloud/asset/v1/RelatedAssets.java | 484 +- .../asset/v1/RelatedAssetsOrBuilder.java | 45 +- .../cloud/asset/v1/RelatedResource.java | 380 +- .../asset/v1/RelatedResourceOrBuilder.java | 36 +- .../cloud/asset/v1/RelatedResources.java | 361 +- .../asset/v1/RelatedResourcesOrBuilder.java | 36 +- .../asset/v1/RelationshipAttributes.java | 548 +- .../v1/RelationshipAttributesOrBuilder.java | 55 +- .../com/google/cloud/asset/v1/Resource.java | 776 ++- .../cloud/asset/v1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1/ResourceSearchResult.java | 2689 ++++---- .../v1/ResourceSearchResultOrBuilder.java | 329 +- .../com/google/cloud/asset/v1/SavedQuery.java | 1568 +++-- .../google/cloud/asset/v1/SavedQueryName.java | 0 .../cloud/asset/v1/SavedQueryOrBuilder.java | 130 +- .../asset/v1/SearchAllIamPoliciesRequest.java | 698 ++- .../SearchAllIamPoliciesRequestOrBuilder.java | 75 +- .../v1/SearchAllIamPoliciesResponse.java | 464 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../asset/v1/SearchAllResourcesRequest.java | 819 ++- .../SearchAllResourcesRequestOrBuilder.java | 92 +- .../asset/v1/SearchAllResourcesResponse.java | 461 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../google/cloud/asset/v1/TemporalAsset.java | 690 +- .../asset/v1/TemporalAssetOrBuilder.java | 51 +- .../com/google/cloud/asset/v1/TimeWindow.java | 398 +- .../cloud/asset/v1/TimeWindowOrBuilder.java | 34 +- .../cloud/asset/v1/UpdateFeedRequest.java | 445 +- .../asset/v1/UpdateFeedRequestOrBuilder.java | 43 +- .../asset/v1/UpdateSavedQueryRequest.java | 516 +- .../v1/UpdateSavedQueryRequestOrBuilder.java | 55 +- .../cloud/asset/v1/VersionedResource.java | 388 +- .../asset/v1/VersionedResourceOrBuilder.java | 35 +- .../google/cloud/asset/v1/asset_service.proto | 0 .../proto/google/cloud/asset/v1/assets.proto | 0 .../cloud/asset/v1p1beta1/AssetProto.java | 166 + .../asset/v1p1beta1/AssetServiceProto.java | 150 + .../v1p1beta1/IamPolicySearchResult.java | 1185 ++-- .../IamPolicySearchResultOrBuilder.java | 55 +- .../cloud/asset/v1p1beta1/Permissions.java | 333 +- .../asset/v1p1beta1/PermissionsOrBuilder.java | 36 +- .../SearchAllIamPoliciesRequest.java | 515 +- .../SearchAllIamPoliciesRequestOrBuilder.java | 48 +- .../SearchAllIamPoliciesResponse.java | 461 +- ...SearchAllIamPoliciesResponseOrBuilder.java | 45 +- .../v1p1beta1/SearchAllResourcesRequest.java | 698 ++- .../SearchAllResourcesRequestOrBuilder.java | 75 +- .../v1p1beta1/SearchAllResourcesResponse.java | 469 +- .../SearchAllResourcesResponseOrBuilder.java | 45 +- .../v1p1beta1/StandardResourceMetadata.java | 1198 ++-- .../StandardResourceMetadataOrBuilder.java | 139 +- .../cloud/asset/v1p1beta1/asset_service.proto | 0 .../google/cloud/asset/v1p1beta1/assets.proto | 0 .../google/cloud/asset/v1p2beta1/Asset.java | 672 +- .../cloud/asset/v1p2beta1/AssetOrBuilder.java | 70 +- .../cloud/asset/v1p2beta1/AssetProto.java | 131 + .../asset/v1p2beta1/AssetServiceProto.java | 276 + .../cloud/asset/v1p2beta1/ContentType.java | 82 +- .../asset/v1p2beta1/CreateFeedRequest.java | 517 +- .../v1p2beta1/CreateFeedRequestOrBuilder.java | 53 +- .../asset/v1p2beta1/DeleteFeedRequest.java | 343 +- .../v1p2beta1/DeleteFeedRequestOrBuilder.java | 60 + .../google/cloud/asset/v1p2beta1/Feed.java | 730 ++- .../cloud/asset/v1p2beta1/FeedName.java | 0 .../cloud/asset/v1p2beta1/FeedOrBuilder.java | 89 +- .../asset/v1p2beta1/FeedOutputConfig.java | 395 +- .../v1p2beta1/FeedOutputConfigOrBuilder.java | 26 +- .../cloud/asset/v1p2beta1/GcsDestination.java | 361 +- .../v1p2beta1/GcsDestinationOrBuilder.java | 30 +- .../cloud/asset/v1p2beta1/GetFeedRequest.java | 332 +- .../v1p2beta1/GetFeedRequestOrBuilder.java | 60 + .../asset/v1p2beta1/ListFeedsRequest.java | 311 +- .../v1p2beta1/ListFeedsRequestOrBuilder.java | 27 +- .../asset/v1p2beta1/ListFeedsResponse.java | 384 +- .../v1p2beta1/ListFeedsResponseOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/OutputConfig.java | 372 +- .../v1p2beta1/OutputConfigOrBuilder.java | 26 +- .../asset/v1p2beta1/PubsubDestination.java | 311 +- .../v1p2beta1/PubsubDestinationOrBuilder.java | 27 +- .../cloud/asset/v1p2beta1/Resource.java | 706 ++- .../asset/v1p2beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p2beta1/TemporalAsset.java | 460 +- .../v1p2beta1/TemporalAssetOrBuilder.java | 37 +- .../cloud/asset/v1p2beta1/TimeWindow.java | 405 +- .../asset/v1p2beta1/TimeWindowOrBuilder.java | 34 +- .../asset/v1p2beta1/UpdateFeedRequest.java | 494 +- .../v1p2beta1/UpdateFeedRequestOrBuilder.java | 52 +- .../cloud/asset/v1p2beta1/asset_service.proto | 0 .../google/cloud/asset/v1p2beta1/assets.proto | 0 .../v1p4beta1/AnalyzeIamPolicyRequest.java | 1250 ++-- .../AnalyzeIamPolicyRequestOrBuilder.java | 107 + .../v1p4beta1/AnalyzeIamPolicyResponse.java | 1805 ++++-- .../AnalyzeIamPolicyResponseOrBuilder.java | 129 +- .../cloud/asset/v1p4beta1/AssetProto.java | 210 + .../asset/v1p4beta1/AssetServiceProto.java | 343 + .../ExportIamPolicyAnalysisRequest.java | 1298 ++-- ...portIamPolicyAnalysisRequestOrBuilder.java | 150 + .../ExportIamPolicyAnalysisResponse.java | 380 +- ...ortIamPolicyAnalysisResponseOrBuilder.java | 29 +- .../IamPolicyAnalysisOutputConfig.java | 932 +-- ...amPolicyAnalysisOutputConfigOrBuilder.java | 70 + .../v1p4beta1/IamPolicyAnalysisQuery.java | 2179 ++++--- .../IamPolicyAnalysisQueryOrBuilder.java | 96 +- .../v1p4beta1/IamPolicyAnalysisResult.java | 5577 +++++++++++------ .../IamPolicyAnalysisResultOrBuilder.java | 101 +- .../cloud/asset/v1p4beta1/asset_service.proto | 0 .../google/cloud/asset/v1p4beta1/assets.proto | 0 .../google/cloud/asset/v1p5beta1/Asset.java | 1255 ++-- .../cloud/asset/v1p5beta1/AssetOrBuilder.java | 108 +- .../cloud/asset/v1p5beta1/AssetProto.java | 141 + .../asset/v1p5beta1/AssetServiceProto.java | 120 + .../cloud/asset/v1p5beta1/ContentType.java | 96 +- .../asset/v1p5beta1/ListAssetsRequest.java | 685 +- .../v1p5beta1/ListAssetsRequestOrBuilder.java | 71 +- .../asset/v1p5beta1/ListAssetsResponse.java | 547 +- .../ListAssetsResponseOrBuilder.java | 53 +- .../cloud/asset/v1p5beta1/Resource.java | 706 ++- .../asset/v1p5beta1/ResourceOrBuilder.java | 71 +- .../cloud/asset/v1p5beta1/asset_service.proto | 0 .../google/cloud/asset/v1p5beta1/assets.proto | 0 .../google/cloud/asset/v1p7beta1/Asset.java | 1459 +++-- .../cloud/asset/v1p7beta1/AssetOrBuilder.java | 134 +- .../cloud/asset/v1p7beta1/AssetProto.java | 202 + .../asset/v1p7beta1/AssetServiceProto.java | 235 + .../asset/v1p7beta1/BigQueryDestination.java | 560 +- .../BigQueryDestinationOrBuilder.java | 50 +- .../cloud/asset/v1p7beta1/ContentType.java | 103 +- .../asset/v1p7beta1/ExportAssetsRequest.java | 856 ++- .../ExportAssetsRequestOrBuilder.java | 105 +- .../asset/v1p7beta1/ExportAssetsResponse.java | 524 +- .../ExportAssetsResponseOrBuilder.java | 42 +- .../cloud/asset/v1p7beta1/GcsDestination.java | 460 +- .../v1p7beta1/GcsDestinationOrBuilder.java | 42 +- .../asset/v1p7beta1/GcsOutputResult.java | 340 +- .../v1p7beta1/GcsOutputResultOrBuilder.java | 36 +- .../cloud/asset/v1p7beta1/OutputConfig.java | 502 +- .../v1p7beta1/OutputConfigOrBuilder.java | 34 +- .../cloud/asset/v1p7beta1/OutputResult.java | 370 +- .../v1p7beta1/OutputResultOrBuilder.java | 26 +- .../cloud/asset/v1p7beta1/PartitionSpec.java | 361 +- .../v1p7beta1/PartitionSpecOrBuilder.java | 24 +- .../cloud/asset/v1p7beta1/RelatedAsset.java | 493 +- .../v1p7beta1/RelatedAssetOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/RelatedAssets.java | 513 +- .../v1p7beta1/RelatedAssetsOrBuilder.java | 47 +- .../v1p7beta1/RelationshipAttributes.java | 553 +- .../RelationshipAttributesOrBuilder.java | 54 +- .../cloud/asset/v1p7beta1/Resource.java | 785 ++- .../asset/v1p7beta1/ResourceOrBuilder.java | 80 +- .../cloud/asset/v1p7beta1/asset_service.proto | 0 .../google/cloud/asset/v1p7beta1/assets.proto | 0 .../AsyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../AsyncAnalyzeIamPolicyLongrunning.java | 0 .../AsyncAnalyzeIamPolicyLongrunningLRO.java | 0 .../SyncAnalyzeIamPolicyLongrunning.java | 0 .../analyzemove/AsyncAnalyzeMove.java | 0 .../analyzemove/SyncAnalyzeMove.java | 0 .../AsyncBatchGetAssetsHistory.java | 0 .../SyncBatchGetAssetsHistory.java | 0 .../AsyncBatchGetEffectiveIamPolicies.java | 0 .../SyncBatchGetEffectiveIamPolicies.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createfeed/AsyncCreateFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../createfeed/SyncCreateFeedString.java | 0 .../AsyncCreateSavedQuery.java | 0 .../SyncCreateSavedQuery.java | 0 ...eSavedQueryFoldernameSavedqueryString.java | 0 ...QueryOrganizationnameSavedqueryString.java | 0 ...SavedQueryProjectnameSavedqueryString.java | 0 ...reateSavedQueryStringSavedqueryString.java | 0 .../deletefeed/AsyncDeleteFeed.java | 0 .../deletefeed/SyncDeleteFeed.java | 0 .../deletefeed/SyncDeleteFeedFeedname.java | 0 .../deletefeed/SyncDeleteFeedString.java | 0 .../AsyncDeleteSavedQuery.java | 0 .../SyncDeleteSavedQuery.java | 0 .../SyncDeleteSavedQuerySavedqueryname.java | 0 .../SyncDeleteSavedQueryString.java | 0 .../exportassets/AsyncExportAssets.java | 0 .../exportassets/AsyncExportAssetsLRO.java | 0 .../exportassets/SyncExportAssets.java | 0 .../getfeed/AsyncGetFeed.java | 0 .../getfeed/SyncGetFeed.java | 0 .../getfeed/SyncGetFeedFeedname.java | 0 .../getfeed/SyncGetFeedString.java | 0 .../getsavedquery/AsyncGetSavedQuery.java | 0 .../getsavedquery/SyncGetSavedQuery.java | 0 .../SyncGetSavedQuerySavedqueryname.java | 0 .../SyncGetSavedQueryString.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../SyncListAssetsResourcename.java | 0 .../listassets/SyncListAssetsString.java | 0 .../listfeeds/AsyncListFeeds.java | 0 .../listfeeds/SyncListFeeds.java | 0 .../listfeeds/SyncListFeedsString.java | 0 .../AsyncListSavedQueries.java | 0 .../AsyncListSavedQueriesPaged.java | 0 .../SyncListSavedQueries.java | 0 .../SyncListSavedQueriesFoldername.java | 0 .../SyncListSavedQueriesOrganizationname.java | 0 .../SyncListSavedQueriesProjectname.java | 0 .../SyncListSavedQueriesString.java | 0 .../AsyncSearchAllIamPolicies.java | 0 .../AsyncSearchAllIamPoliciesPaged.java | 0 .../SyncSearchAllIamPolicies.java | 0 .../SyncSearchAllIamPoliciesStringString.java | 0 .../AsyncSearchAllResources.java | 0 .../AsyncSearchAllResourcesPaged.java | 0 .../SyncSearchAllResources.java | 0 ...rchAllResourcesStringStringListstring.java | 0 .../updatefeed/AsyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeedFeed.java | 0 .../AsyncUpdateSavedQuery.java | 0 .../SyncUpdateSavedQuery.java | 0 ...ncUpdateSavedQuerySavedqueryFieldmask.java | 0 .../SyncBatchGetAssetsHistory.java | 0 .../SyncBatchGetAssetsHistory.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncSearchAllIamPolicies.java | 0 .../AsyncSearchAllIamPoliciesPaged.java | 0 .../SyncSearchAllIamPolicies.java | 0 .../SyncSearchAllIamPoliciesStringString.java | 0 .../AsyncSearchAllResources.java | 0 .../AsyncSearchAllResourcesPaged.java | 0 .../SyncSearchAllResources.java | 0 ...rchAllResourcesStringStringListstring.java | 0 .../SyncSearchAllResources.java | 0 .../SyncSearchAllResources.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createfeed/AsyncCreateFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../createfeed/SyncCreateFeedString.java | 0 .../deletefeed/AsyncDeleteFeed.java | 0 .../deletefeed/SyncDeleteFeed.java | 0 .../deletefeed/SyncDeleteFeedFeedname.java | 0 .../deletefeed/SyncDeleteFeedString.java | 0 .../getfeed/AsyncGetFeed.java | 0 .../getfeed/SyncGetFeed.java | 0 .../getfeed/SyncGetFeedFeedname.java | 0 .../getfeed/SyncGetFeedString.java | 0 .../listfeeds/AsyncListFeeds.java | 0 .../listfeeds/SyncListFeeds.java | 0 .../listfeeds/SyncListFeedsString.java | 0 .../updatefeed/AsyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeed.java | 0 .../updatefeed/SyncUpdateFeedFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../createfeed/SyncCreateFeed.java | 0 .../AsyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncExportIamPolicyAnalysis.java | 0 .../AsyncExportIamPolicyAnalysisLRO.java | 0 .../SyncExportIamPolicyAnalysis.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../SyncAnalyzeIamPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../listassets/AsyncListAssets.java | 0 .../listassets/AsyncListAssetsPaged.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssets.java | 0 .../listassets/SyncListAssets.java | 0 488 files changed, 65697 insertions(+), 39747 deletions(-) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java (94%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java (98%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java (99%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java (93%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java (94%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java (95%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java (98%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java (96%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java (98%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java (97%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java (94%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java (96%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java (96%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java (98%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java (98%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java (96%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java (95%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java (98%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java (97%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java (95%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java (97%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java (99%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/MockAssetService.java (100%) rename {owl-bot-staging/v1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java (100%) rename {owl-bot-staging/v1p1beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java (100%) rename {owl-bot-staging/v1p2beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java (100%) rename {owl-bot-staging/v1p4beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java (100%) rename {owl-bot-staging/v1p5beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java (100%) rename {owl-bot-staging/v1p7beta1/google-cloud-asset => google-cloud-asset}/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java (100%) create mode 100644 grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java rename {owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1 => grpc-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java (51%) create mode 100644 grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java create mode 100644 grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java rename {owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1 => grpc-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java (50%) rename {owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1 => grpc-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java (60%) delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java delete mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java delete mode 100644 owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java delete mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java delete mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java delete mode 100644 owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java delete mode 100644 owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java delete mode 100644 owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java (64%) create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/Asset.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java (89%) create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AttachedResource.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java (90%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ContentType.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java (66%) create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java (87%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/Feed.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java (89%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/FolderName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsDestination.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java (67%) create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java (67%) create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java (89%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java (89%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/MoveImpact.java (68%) create mode 100644 proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OrganizationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputConfig.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputResult.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResource.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResources.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/Resource.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java (92%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SavedQuery.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java (92%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java (92%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TimeWindow.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/VersionedResource.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/proto/google/cloud/asset/v1/asset_service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-asset-v1 => proto-google-cloud-asset-v1}/src/main/proto/google/cloud/asset/v1/assets.proto (100%) create mode 100644 proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java create mode 100644 proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java (71%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java (82%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java (70%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java (61%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java (74%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java (78%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java (75%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java (75%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java (76%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java (82%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java (73%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java (72%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java (73%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java (81%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto (100%) rename {owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1 => proto-google-cloud-asset-v1p1beta1}/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto (100%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java (75%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java (83%) create mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java create mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java (66%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java (73%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java (76%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java (65%) create mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java (76%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java (100%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java (83%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java (63%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java (72%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java (67%) create mode 100644 proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java (70%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java (69%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java (62%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java (68%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java (51%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java (76%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java (81%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java (69%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java (70%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java (70%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java (71%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java (73%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto (100%) rename {owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1 => proto-google-cloud-asset-v1p2beta1}/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto (100%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java (72%) create mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java (66%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java (54%) create mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java create mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequest.java (68%) create mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java (65%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java (61%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java (61%) create mode 100644 proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java (65%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java (55%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java (70%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java (69%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto (100%) rename {owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1 => proto-google-cloud-asset-v1p4beta1}/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto (100%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java (73%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java (84%) create mode 100644 proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java create mode 100644 proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java (69%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java (78%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java (85%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java (73%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java (71%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java (76%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java (81%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto (100%) rename {owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1 => proto-google-cloud-asset-v1p5beta1}/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto (100%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java (77%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java (90%) create mode 100644 proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java create mode 100644 proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java (82%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java (89%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java (70%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java (78%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java (86%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java (73%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java (81%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java (76%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java (82%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java (70%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java (62%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java (70%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java (75%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java (69%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java (61%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java (71%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java (56%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java (77%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java (80%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java (72%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java (72%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java (71%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java (66%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java (76%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java (82%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto (100%) rename {owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1 => proto-google-cloud-asset-v1p7beta1}/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/v1p1beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/v1p2beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/v1p4beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java (100%) rename {owl-bot-staging/v1p5beta1/samples => samples}/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java similarity index 94% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java index a5f6af309..7e2555999 100644 --- a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.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. *
* @@ -996,10 +996,10 @@ public final UnaryCallable deleteFeedCallable() { * permission on the desired scope. *

The allowed values are: *

    - *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") - *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") + *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") + *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") + *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") + *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") *
* * @param query Optional. The query statement. See [how to construct a @@ -1008,32 +1008,32 @@ public final UnaryCallable deleteFeedCallable() { * the specified `scope`. *

Examples: *

    - *
  • `name:Important` to find Cloud resources whose name contains "Important" as a word. - *
  • `name=Important` to find the Cloud resource whose name is exactly "Important". - *
  • `displayName:Impor*` to find Cloud resources whose display name contains "Impor" + *
  • `name:Important` to find Cloud resources whose name contains "Important" as a word. + *
  • `name=Important` to find the Cloud resource whose name is exactly "Important". + *
  • `displayName:Impor*` to find Cloud resources whose display name contains "Impor" * as a prefix of any word in the field. - *
  • `location:us-west*` to find Cloud resources whose location contains both "us" - * and "west" as prefixes. - *
  • `labels:prod` to find Cloud resources whose labels contain "prod" as a key or value. - *
  • `labels.env:prod` to find Cloud resources that have a label "env" and its value is + *
  • `location:us-west*` to find Cloud resources whose location contains both "us" and + * "west" as prefixes. + *
  • `labels:prod` to find Cloud resources whose labels contain "prod" as a key or value. + *
  • `labels.env:prod` to find Cloud resources that have a label "env" and its value is * "prod". - *
  • `labels.env:*` to find Cloud resources that have a label "env". - *
  • `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption - * key whose name contains the word "key". - *
  • `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a word. - *
  • `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain "ACTIVE" as a + *
  • `labels.env:*` to find Cloud resources that have a label "env". + *
  • `kmsKey:key` to find Cloud resources encrypted with a customer-managed encryption key + * whose name contains the word "key". + *
  • `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a word. + *
  • `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain "ACTIVE" as a * word. - *
  • `createTime<1609459200` to find Cloud resources that were created before + *
  • `createTime<1609459200` to find Cloud resources that were created before * "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 * UTC" in seconds. - *
  • `updateTime>1609459200` to find Cloud resources that were updated after + *
  • `updateTime>1609459200` to find Cloud resources that were updated after * "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of "2021-01-01 00:00:00 * UTC" in seconds. - *
  • `Important` to find Cloud resources that contain "Important" as a word in any of the + *
  • `Important` to find Cloud resources that contain "Important" as a word in any of the * searchable fields. - *
  • `Impor*` to find Cloud resources that contain "Impor" as a prefix of any word in + *
  • `Impor*` to find Cloud resources that contain "Impor" as a prefix of any word in * any of the searchable fields. - *
  • `Important location:(us-west1 OR global)` to find Cloud resources that contain + *
  • `Important location:(us-west1 OR global)` to find Cloud resources that contain * "Important" as a word in any of the searchable fields and are also located in the * "us-west1" region or the "global" location. *
@@ -1043,10 +1043,10 @@ public final UnaryCallable deleteFeedCallable() { * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). *

Regular expressions are also supported. For example: *

    - *
  • "compute.googleapis.com.*" snapshots resources whose asset type starts with + *
  • "compute.googleapis.com.*" snapshots resources whose asset type starts with * "compute.googleapis.com". - *
  • ".*Instance" snapshots resources whose asset type ends with "Instance". - *
  • ".*Instance.*" snapshots resources whose asset type contains "Instance". + *
  • ".*Instance" snapshots resources whose asset type ends with "Instance". + *
  • ".*Instance.*" snapshots resources whose asset type contains "Instance". *
*

See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular * expression syntax. If the regular expression does not match any supported asset type, an @@ -1207,10 +1207,10 @@ public final SearchAllResourcesPagedResponse searchAllResources( * permission on the desired scope. *

The allowed values are: *

    - *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") - *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") + *
  • projects/{PROJECT_ID} (e.g., "projects/foo-bar") + *
  • projects/{PROJECT_NUMBER} (e.g., "projects/12345678") + *
  • folders/{FOLDER_NUMBER} (e.g., "folders/1234567") + *
  • organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") *
* * @param query Optional. The query statement. See [how to construct a @@ -1223,31 +1223,31 @@ public final SearchAllResourcesPagedResponse searchAllResources( * doc](https://cloud.google.com/iam/docs/policies#structure). *

Examples: *

    - *
  • `policy:amy{@literal @}gmail.com` to find IAM policy bindings that specify user + *
  • `policy:amy{@literal @}gmail.com` to find IAM policy bindings that specify user * "amy{@literal @}gmail.com". - *
  • `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute + *
  • `policy:roles/compute.admin` to find IAM policy bindings that specify the Compute * Admin role. - *
  • `policy:comp*` to find IAM policy bindings that contain "comp" as a prefix of - * any word in the binding. - *
  • `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that + *
  • `policy:comp*` to find IAM policy bindings that contain "comp" as a prefix of any + * word in the binding. + *
  • `policy.role.permissions:storage.buckets.update` to find IAM policy bindings that * specify a role containing "storage.buckets.update" permission. Note that if callers * don't have `iam.roles.get` access to a role's included permissions, policy bindings * that specify this role will be dropped from the search results. - *
  • `policy.role.permissions:upd*` to find IAM policy bindings that specify a role + *
  • `policy.role.permissions:upd*` to find IAM policy bindings that specify a role * containing "upd" as a prefix of any word in the role permission. Note that if callers * don't have `iam.roles.get` access to a role's included permissions, policy bindings * that specify this role will be dropped from the search results. - *
  • `resource:organizations/123456` to find IAM policy bindings that are set on + *
  • `resource:organizations/123456` to find IAM policy bindings that are set on * "organizations/123456". - *
  • `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM + *
  • `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to find IAM * policy bindings that are set on the project named "myproject". - *
  • `Important` to find IAM policy bindings that contain "Important" as a word in any of + *
  • `Important` to find IAM policy bindings that contain "Important" as a word in any of * the searchable fields (except for the included permissions). - *
  • `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are + *
  • `resource:(instance1 OR instance2) policy:amy` to find IAM policy bindings that are * set on resources "instance1" or "instance2" and also specify user "amy". - *
  • `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute + *
  • `roles:roles/compute.admin` to find IAM policy bindings that specify the Compute * Admin role. - *
  • `memberTypes:user` to find IAM policy bindings that contain the principal type + *
  • `memberTypes:user` to find IAM policy bindings that contain the principal type * "user". *
* @@ -1496,7 +1496,8 @@ public final AnalyzeIamPolicyResponse analyzeIamPolicy(AnalyzeIamPolicyRequest r * }
*/ public final OperationCallable< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { return stub.analyzeIamPolicyLongrunningOperationCallable(); @@ -1830,9 +1831,9 @@ public final UnaryCallable createSavedQuery * * @param name Required. The name of the saved query and it must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -1860,9 +1861,9 @@ public final SavedQuery getSavedQuery(SavedQueryName name) { * * @param name Required. The name of the saved query and it must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2160,9 +2161,9 @@ public final ListSavedQueriesPagedResponse listSavedQueries(ListSavedQueriesRequ *

The saved query's `name` field is used to identify the one to update, which has format * as below: *

    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @param updateMask Required. The list of fields to update. @@ -2246,9 +2247,9 @@ public final UnaryCallable updateSavedQuery * * @param name Required. The name of the saved query to delete. It must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2276,9 +2277,9 @@ public final void deleteSavedQuery(SavedQueryName name) { * * @param name Required. The name of the saved query to delete. It must be in the format of: *
    - *
  • projects/project_number/savedQueries/saved_query_id - *
  • folders/folder_number/savedQueries/saved_query_id - *
  • organizations/organization_number/savedQueries/saved_query_id + *
  • projects/project_number/savedQueries/saved_query_id + *
  • folders/folder_number/savedQueries/saved_query_id + *
  • organizations/organization_number/savedQueries/saved_query_id *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2427,7 +2428,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAssetsPagedResponse extends AbstractPagedListResponse< - ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, + ListAssetsRequest, + ListAssetsResponse, + Asset, + ListAssetsPage, ListAssetsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2474,7 +2478,10 @@ public ApiFuture createPageAsync( public static class ListAssetsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, + ListAssetsRequest, + ListAssetsResponse, + Asset, + ListAssetsPage, ListAssetsFixedSizeCollection> { private ListAssetsFixedSizeCollection(List pages, int collectionSize) { @@ -2494,8 +2501,11 @@ protected ListAssetsFixedSizeCollection createCollection( public static class SearchAllResourcesPagedResponse extends AbstractPagedListResponse< - SearchAllResourcesRequest, SearchAllResourcesResponse, ResourceSearchResult, - SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, + SearchAllResourcesResponse, + ResourceSearchResult, + SearchAllResourcesPage, + SearchAllResourcesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -2516,7 +2526,9 @@ private SearchAllResourcesPagedResponse(SearchAllResourcesPage page) { public static class SearchAllResourcesPage extends AbstractPage< - SearchAllResourcesRequest, SearchAllResourcesResponse, ResourceSearchResult, + SearchAllResourcesRequest, + SearchAllResourcesResponse, + ResourceSearchResult, SearchAllResourcesPage> { private SearchAllResourcesPage( @@ -2549,8 +2561,11 @@ public ApiFuture createPageAsync( public static class SearchAllResourcesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllResourcesRequest, SearchAllResourcesResponse, ResourceSearchResult, - SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, + SearchAllResourcesResponse, + ResourceSearchResult, + SearchAllResourcesPage, + SearchAllResourcesFixedSizeCollection> { private SearchAllResourcesFixedSizeCollection( List pages, int collectionSize) { @@ -2570,8 +2585,11 @@ protected SearchAllResourcesFixedSizeCollection createCollection( public static class SearchAllIamPoliciesPagedResponse extends AbstractPagedListResponse< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, - SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, + IamPolicySearchResult, + SearchAllIamPoliciesPage, + SearchAllIamPoliciesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -2593,7 +2611,9 @@ private SearchAllIamPoliciesPagedResponse(SearchAllIamPoliciesPage page) { public static class SearchAllIamPoliciesPage extends AbstractPage< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, + IamPolicySearchResult, SearchAllIamPoliciesPage> { private SearchAllIamPoliciesPage( @@ -2629,8 +2649,11 @@ public ApiFuture createPageAsync( public static class SearchAllIamPoliciesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, - SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, + IamPolicySearchResult, + SearchAllIamPoliciesPage, + SearchAllIamPoliciesFixedSizeCollection> { private SearchAllIamPoliciesFixedSizeCollection( List pages, int collectionSize) { @@ -2650,7 +2673,10 @@ protected SearchAllIamPoliciesFixedSizeCollection createCollection( public static class ListSavedQueriesPagedResponse extends AbstractPagedListResponse< - ListSavedQueriesRequest, ListSavedQueriesResponse, SavedQuery, ListSavedQueriesPage, + ListSavedQueriesRequest, + ListSavedQueriesResponse, + SavedQuery, + ListSavedQueriesPage, ListSavedQueriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2700,7 +2726,10 @@ public ApiFuture createPageAsync( public static class ListSavedQueriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListSavedQueriesRequest, ListSavedQueriesResponse, SavedQuery, ListSavedQueriesPage, + ListSavedQueriesRequest, + ListSavedQueriesResponse, + SavedQuery, + ListSavedQueriesPage, ListSavedQueriesFixedSizeCollection> { private ListSavedQueriesFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java index 3855314e9..9ed0dabea 100644 --- a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1.stub.AssetServiceStubSettings; @@ -49,9 +48,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -135,7 +134,8 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return ((AssetServiceStubSettings) getStubSettings()).searchAllIamPoliciesSettings(); @@ -155,7 +155,8 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to analyzeIamPolicyLongrunning. */ public OperationCallSettings< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return ((AssetServiceStubSettings) getStubSettings()) @@ -374,7 +375,8 @@ public UnaryCallSettings.Builder deleteFeedSettings() /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return getStubSettingsBuilder().searchAllIamPoliciesSettings(); @@ -394,7 +396,8 @@ public UnaryCallSettings.Builder deleteFeedSettings() /** Returns the builder for the settings used for calls to analyzeIamPolicyLongrunning. */ public OperationCallSettings.Builder< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return getStubSettingsBuilder().analyzeIamPolicyLongrunningOperationSettings(); diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java index 762fc909c..8be0b9772 100644 --- a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStub.java @@ -147,7 +147,8 @@ public UnaryCallable deleteFeedCallable() { } public OperationCallable< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { throw new UnsupportedOperationException( diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java index 19ec75eef..8cc8a48a3 100644 --- a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java @@ -104,9 +104,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -154,7 +154,8 @@ public class AssetServiceStubSettings extends StubSettings searchAllResourcesSettings; private final PagedCallSettings< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; private final UnaryCallSettings @@ -162,7 +163,8 @@ public class AssetServiceStubSettings extends StubSettings analyzeIamPolicyLongrunningSettings; private final OperationCallSettings< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings; private final UnaryCallSettings analyzeMoveSettings; @@ -355,7 +357,8 @@ public ApiFuture getFuturePagedResponse( SearchAllResourcesRequest, SearchAllResourcesResponse, SearchAllResourcesPagedResponse> SEARCH_ALL_RESOURCES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllResourcesRequest, SearchAllResourcesResponse, + SearchAllResourcesRequest, + SearchAllResourcesResponse, SearchAllResourcesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -373,11 +376,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> SEARCH_ALL_IAM_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -386,7 +391,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, IamPolicySearchResult> pageContext = PageContext.create( @@ -471,7 +477,8 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; @@ -491,7 +498,8 @@ public UnaryCallSettings deleteFeedSettings() { /** Returns the object with the settings used for calls to analyzeIamPolicyLongrunning. */ public OperationCallSettings< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return analyzeIamPolicyLongrunningOperationSettings; @@ -690,7 +698,8 @@ public static class Builder extends StubSettings.Builder searchAllResourcesSettings; private final PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; private final UnaryCallSettings.Builder @@ -698,7 +707,8 @@ public static class Builder extends StubSettings.Builder analyzeIamPolicyLongrunningSettings; private final OperationCallSettings.Builder< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings; private final UnaryCallSettings.Builder @@ -1146,7 +1156,8 @@ public UnaryCallSettings.Builder deleteFeedSettings() /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; @@ -1168,7 +1179,8 @@ public UnaryCallSettings.Builder deleteFeedSettings() @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationSettings() { return analyzeIamPolicyLongrunningOperationSettings; diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java index 8ce8215c7..c75923ad8 100644 --- a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java @@ -68,7 +68,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -293,7 +292,8 @@ public class GrpcAssetServiceStub extends AssetServiceStub { private final UnaryCallable analyzeIamPolicyLongrunningCallable; private final OperationCallable< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable; private final UnaryCallable analyzeMoveCallable; @@ -750,7 +750,8 @@ public UnaryCallable deleteFeedCallable() { @Override public OperationCallable< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { return analyzeIamPolicyLongrunningOperationCallable; diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java index 4192bf935..b2b344b6a 100644 --- a/owl-bot-staging/v1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/HttpJsonAssetServiceStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; @@ -828,7 +827,8 @@ public class HttpJsonAssetServiceStub extends AssetServiceStub { private final UnaryCallable analyzeIamPolicyLongrunningCallable; private final OperationCallable< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable; private final UnaryCallable analyzeMoveCallable; @@ -1215,7 +1215,8 @@ public UnaryCallable deleteFeedCallable() { @Override public OperationCallable< - AnalyzeIamPolicyLongrunningRequest, AnalyzeIamPolicyLongrunningResponse, + AnalyzeIamPolicyLongrunningRequest, + AnalyzeIamPolicyLongrunningResponse, AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable() { return analyzeIamPolicyLongrunningOperationCallable; diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java similarity index 93% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java index 38d79018f..4610f6c88 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java @@ -61,13 +61,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. *
* @@ -195,10 +195,10 @@ public AssetServiceStub getStub() { * @param scope Required. The relative name of an asset. The search is limited to the resources * within the `scope`. The allowed value must be: *
    - *
  • Organization number (such as "organizations/123") - *
  • Folder number(such as "folders/1234") - *
  • Project number (such as "projects/12345") - *
  • Project id (such as "projects/abc") + *
  • Organization number (such as "organizations/123") + *
  • Folder number(such as "folders/1234") + *
  • Project number (such as "projects/12345") + *
  • Project id (such as "projects/abc") *
* * @param query Optional. The query statement. @@ -362,16 +362,16 @@ public final SearchAllResourcesPagedResponse searchAllResources( * @param scope Required. The relative name of an asset. The search is limited to the resources * within the `scope`. The allowed value must be: *
    - *
  • Organization number (such as "organizations/123") - *
  • Folder number(such as "folders/1234") - *
  • Project number (such as "projects/12345") - *
  • Project id (such as "projects/abc") + *
  • Organization number (such as "organizations/123") + *
  • Folder number(such as "folders/1234") + *
  • Project number (such as "projects/12345") + *
  • Project id (such as "projects/abc") *
* * @param query Optional. The query statement. Examples: *
    - *
  • "policy:myuser{@literal @}mydomain.com" - *
  • "policy:(myuser{@literal @}mydomain.com viewer)" + *
  • "policy:myuser{@literal @}mydomain.com" + *
  • "policy:(myuser{@literal @}mydomain.com viewer)" *
* * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -527,8 +527,11 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class SearchAllResourcesPagedResponse extends AbstractPagedListResponse< - SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata, - SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, + SearchAllResourcesResponse, + StandardResourceMetadata, + SearchAllResourcesPage, + SearchAllResourcesFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -549,7 +552,9 @@ private SearchAllResourcesPagedResponse(SearchAllResourcesPage page) { public static class SearchAllResourcesPage extends AbstractPage< - SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata, + SearchAllResourcesRequest, + SearchAllResourcesResponse, + StandardResourceMetadata, SearchAllResourcesPage> { private SearchAllResourcesPage( @@ -582,8 +587,11 @@ public ApiFuture createPageAsync( public static class SearchAllResourcesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllResourcesRequest, SearchAllResourcesResponse, StandardResourceMetadata, - SearchAllResourcesPage, SearchAllResourcesFixedSizeCollection> { + SearchAllResourcesRequest, + SearchAllResourcesResponse, + StandardResourceMetadata, + SearchAllResourcesPage, + SearchAllResourcesFixedSizeCollection> { private SearchAllResourcesFixedSizeCollection( List pages, int collectionSize) { @@ -603,8 +611,11 @@ protected SearchAllResourcesFixedSizeCollection createCollection( public static class SearchAllIamPoliciesPagedResponse extends AbstractPagedListResponse< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, - SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, + IamPolicySearchResult, + SearchAllIamPoliciesPage, + SearchAllIamPoliciesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -626,7 +637,9 @@ private SearchAllIamPoliciesPagedResponse(SearchAllIamPoliciesPage page) { public static class SearchAllIamPoliciesPage extends AbstractPage< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, + IamPolicySearchResult, SearchAllIamPoliciesPage> { private SearchAllIamPoliciesPage( @@ -662,8 +675,11 @@ public ApiFuture createPageAsync( public static class SearchAllIamPoliciesFixedSizeCollection extends AbstractFixedSizeCollection< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, IamPolicySearchResult, - SearchAllIamPoliciesPage, SearchAllIamPoliciesFixedSizeCollection> { + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, + IamPolicySearchResult, + SearchAllIamPoliciesPage, + SearchAllIamPoliciesFixedSizeCollection> { private SearchAllIamPoliciesFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java similarity index 94% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java index fa50a70e8..c6b476cdd 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p1beta1.stub.AssetServiceStubSettings; @@ -44,9 +43,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -83,7 +82,8 @@ public class AssetServiceSettings extends ClientSettings { /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return ((AssetServiceStubSettings) getStubSettings()).searchAllIamPoliciesSettings(); @@ -213,7 +213,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return getStubSettingsBuilder().searchAllIamPoliciesSettings(); diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java similarity index 95% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java index 5984626df..808ed4c8f 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/AssetServiceStubSettings.java @@ -66,9 +66,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -104,7 +104,8 @@ public class AssetServiceStubSettings extends StubSettings searchAllResourcesSettings; private final PagedCallSettings< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; @@ -194,7 +195,8 @@ public Iterable extractResources( SearchAllResourcesRequest, SearchAllResourcesResponse, SearchAllResourcesPagedResponse> SEARCH_ALL_RESOURCES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllResourcesRequest, SearchAllResourcesResponse, + SearchAllResourcesRequest, + SearchAllResourcesResponse, SearchAllResourcesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -203,7 +205,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchAllResourcesRequest, SearchAllResourcesResponse, + SearchAllResourcesRequest, + SearchAllResourcesResponse, StandardResourceMetadata> pageContext = PageContext.create( @@ -213,11 +216,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> SEARCH_ALL_IAM_POLICIES_PAGE_STR_FACT = new PagedListResponseFactory< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -226,7 +231,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, IamPolicySearchResult> pageContext = PageContext.create( @@ -244,7 +250,8 @@ public ApiFuture getFuturePagedResponse( /** Returns the object with the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; @@ -367,7 +374,8 @@ public static class Builder extends StubSettings.Builder searchAllResourcesSettings; private final PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings; private static final ImmutableMap> @@ -495,7 +503,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to searchAllIamPolicies. */ public PagedCallSettings.Builder< - SearchAllIamPoliciesRequest, SearchAllIamPoliciesResponse, + SearchAllIamPoliciesRequest, + SearchAllIamPoliciesResponse, SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesSettings() { return searchAllIamPoliciesSettings; diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java index 0f2e0b071..09ac21b20 100644 --- a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/GrpcAssetServiceStub.java @@ -35,7 +35,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/HttpJsonAssetServiceStub.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java similarity index 98% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java index 9dffe374f..99203e50e 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceClient.java @@ -49,13 +49,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. *
* diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java similarity index 96% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java index 739ad5a58..557fdc0d9 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p2beta1.stub.AssetServiceStubSettings; @@ -41,9 +40,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/package-info.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java index 52cc8455a..daf1b5fbe 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/AssetServiceStubSettings.java @@ -58,9 +58,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java index 4c74edb92..55c2f122f 100644 --- a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/GrpcAssetServiceStub.java @@ -36,7 +36,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/HttpJsonAssetServiceStub.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java similarity index 97% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java index 80517ba85..9089a73d6 100644 --- a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java @@ -56,13 +56,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. *
* @@ -302,7 +302,8 @@ public final AnalyzeIamPolicyResponse analyzeIamPolicy(AnalyzeIamPolicyRequest r * }
*/ public final OperationCallable< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { return stub.exportIamPolicyAnalysisOperationCallable(); diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java similarity index 94% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java index 5757ea09f..5311b8619 100644 --- a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceSettings.java @@ -26,7 +26,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p4beta1.stub.AssetServiceStubSettings; @@ -42,9 +41,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -86,7 +85,8 @@ public class AssetServiceSettings extends ClientSettings { /** Returns the object with the settings used for calls to exportIamPolicyAnalysis. */ public OperationCallSettings< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings() { return ((AssetServiceStubSettings) getStubSettings()) @@ -222,7 +222,8 @@ public Builder applyToAllUnaryMethods( /** Returns the builder for the settings used for calls to exportIamPolicyAnalysis. */ public OperationCallSettings.Builder< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings() { return getStubSettingsBuilder().exportIamPolicyAnalysisOperationSettings(); diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/package-info.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java similarity index 96% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java index 8400a9c6d..25e175a79 100644 --- a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStub.java @@ -52,7 +52,8 @@ public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOp } public OperationCallable< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { throw new UnsupportedOperationException( diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java similarity index 96% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java index 30e753f68..d61b88111 100644 --- a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/AssetServiceStubSettings.java @@ -59,9 +59,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -98,7 +98,8 @@ public class AssetServiceStubSettings extends StubSettings exportIamPolicyAnalysisSettings; private final OperationCallSettings< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings; @@ -116,7 +117,8 @@ public class AssetServiceStubSettings extends StubSettings exportIamPolicyAnalysisOperationSettings() { return exportIamPolicyAnalysisOperationSettings; @@ -242,7 +244,8 @@ public static class Builder extends StubSettings.Builder exportIamPolicyAnalysisSettings; private final OperationCallSettings.Builder< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings; private static final ImmutableMap> @@ -413,7 +416,8 @@ public Builder applyToAllUnaryMethods( @BetaApi( "The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationSettings() { return exportIamPolicyAnalysisOperationSettings; diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java similarity index 98% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java index f50d01c80..cd120f7e2 100644 --- a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/GrpcAssetServiceStub.java @@ -34,7 +34,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -74,7 +73,8 @@ public class GrpcAssetServiceStub extends AssetServiceStub { private final UnaryCallable exportIamPolicyAnalysisCallable; private final OperationCallable< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable; @@ -184,7 +184,8 @@ public GrpcOperationsStub getOperationsStub() { @Override public OperationCallable< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { return exportIamPolicyAnalysisOperationCallable; diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java similarity index 98% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java index 6f7ed2823..df17ff20d 100644 --- a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/stub/HttpJsonAssetServiceStub.java @@ -28,7 +28,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; @@ -147,7 +146,8 @@ public class HttpJsonAssetServiceStub extends AssetServiceStub { private final UnaryCallable exportIamPolicyAnalysisCallable; private final OperationCallable< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable; @@ -254,7 +254,8 @@ public HttpJsonOperationsStub getHttpJsonOperationsStub() { @Override public OperationCallable< - ExportIamPolicyAnalysisRequest, ExportIamPolicyAnalysisResponse, + ExportIamPolicyAnalysisRequest, + ExportIamPolicyAnalysisResponse, ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable() { return exportIamPolicyAnalysisOperationCallable; diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java similarity index 96% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java index 46e4ee2d8..32d438775 100644 --- a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceClient.java @@ -66,13 +66,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. *
* @@ -306,7 +306,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListAssetsPagedResponse extends AbstractPagedListResponse< - ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, + ListAssetsRequest, + ListAssetsResponse, + Asset, + ListAssetsPage, ListAssetsFixedSizeCollection> { public static ApiFuture createAsync( @@ -353,7 +356,10 @@ public ApiFuture createPageAsync( public static class ListAssetsFixedSizeCollection extends AbstractFixedSizeCollection< - ListAssetsRequest, ListAssetsResponse, Asset, ListAssetsPage, + ListAssetsRequest, + ListAssetsResponse, + Asset, + ListAssetsPage, ListAssetsFixedSizeCollection> { private ListAssetsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java similarity index 95% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java index 6cf167869..e3c529721 100644 --- a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p5beta1.stub.AssetServiceStubSettings; @@ -43,9 +42,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/package-info.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java similarity index 98% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java index 5d9156b55..bc768614f 100644 --- a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/AssetServiceStubSettings.java @@ -62,9 +62,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java index 9be0edcf0..52ebbf4ba 100644 --- a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/GrpcAssetServiceStub.java @@ -32,7 +32,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/HttpJsonAssetServiceStub.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java similarity index 97% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java index 68dbe1ab5..d0c415da0 100644 --- a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceClient.java @@ -60,13 +60,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. *
* diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java similarity index 95% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java index e4a48b836..0ae567e47 100644 --- a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceSettings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.asset.v1p7beta1.stub.AssetServiceStubSettings; @@ -41,9 +40,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/package-info.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStub.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java similarity index 97% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java index 471292f2e..3951a34bc 100644 --- a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/AssetServiceStubSettings.java @@ -54,9 +54,9 @@ *

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

    - *
  • The default service address (cloudasset.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. + *
  • The default service address (cloudasset.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. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceCallableFactory.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java similarity index 99% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java rename to google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java index 38f973b48..7afbf3f79 100644 --- a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java +++ b/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/GrpcAssetServiceStub.java @@ -32,7 +32,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java diff --git a/owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java diff --git a/owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p1beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetService.java diff --git a/owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p2beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetService.java diff --git a/owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p4beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p4beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientHttpJsonTest.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java diff --git a/owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p5beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/AssetServiceClientTest.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetService.java diff --git a/owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java b/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java similarity index 100% rename from owl-bot-staging/v1p7beta1/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java rename to google-cloud-asset/src/test/java/com/google/cloud/asset/v1p7beta1/MockAssetServiceImpl.java diff --git a/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java new file mode 100644 index 000000000..46413f6d0 --- /dev/null +++ b/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java @@ -0,0 +1,2573 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.asset.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Asset service definition.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/asset/v1/asset_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AssetServiceGrpc { + + private AssetServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.asset.v1.AssetService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ExportAssetsRequest, com.google.longrunning.Operation> + getExportAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportAssets", + requestType = com.google.cloud.asset.v1.ExportAssetsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ExportAssetsRequest, com.google.longrunning.Operation> + getExportAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ExportAssetsRequest, com.google.longrunning.Operation> + getExportAssetsMethod; + if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { + AssetServiceGrpc.getExportAssetsMethod = + getExportAssetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ExportAssetsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) + .build(); + } + } + } + return getExportAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListAssetsRequest, com.google.cloud.asset.v1.ListAssetsResponse> + getListAssetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAssets", + requestType = com.google.cloud.asset.v1.ListAssetsRequest.class, + responseType = com.google.cloud.asset.v1.ListAssetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListAssetsRequest, com.google.cloud.asset.v1.ListAssetsResponse> + getListAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListAssetsRequest, + com.google.cloud.asset.v1.ListAssetsResponse> + getListAssetsMethod; + if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { + AssetServiceGrpc.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.asset.v1.ListAssetsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListAssetsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) + .build(); + } + } + } + return getListAssetsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> + getBatchGetAssetsHistoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetAssetsHistory", + requestType = com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, + responseType = com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> + getBatchGetAssetsHistoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> + getBatchGetAssetsHistoryMethod; + if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) + == null) { + synchronized (AssetServiceGrpc.class) { + if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) + == null) { + AssetServiceGrpc.getBatchGetAssetsHistoryMethod = + getBatchGetAssetsHistoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchGetAssetsHistory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("BatchGetAssetsHistory")) + .build(); + } + } + } + return getBatchGetAssetsHistoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed> + getCreateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFeed", + requestType = com.google.cloud.asset.v1.CreateFeedRequest.class, + responseType = com.google.cloud.asset.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed> + getCreateFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed> + getCreateFeedMethod; + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + AssetServiceGrpc.getCreateFeedMethod = + getCreateFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.CreateFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) + .build(); + } + } + } + return getCreateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed> + getGetFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFeed", + requestType = com.google.cloud.asset.v1.GetFeedRequest.class, + responseType = com.google.cloud.asset.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed> + getGetFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed> + getGetFeedMethod; + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + AssetServiceGrpc.getGetFeedMethod = + getGetFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.GetFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) + .build(); + } + } + } + return getGetFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListFeedsRequest, com.google.cloud.asset.v1.ListFeedsResponse> + getListFeedsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeeds", + requestType = com.google.cloud.asset.v1.ListFeedsRequest.class, + responseType = com.google.cloud.asset.v1.ListFeedsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListFeedsRequest, com.google.cloud.asset.v1.ListFeedsResponse> + getListFeedsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListFeedsRequest, com.google.cloud.asset.v1.ListFeedsResponse> + getListFeedsMethod; + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + AssetServiceGrpc.getListFeedsMethod = + getListFeedsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListFeedsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListFeedsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) + .build(); + } + } + } + return getListFeedsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed> + getUpdateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", + requestType = com.google.cloud.asset.v1.UpdateFeedRequest.class, + responseType = com.google.cloud.asset.v1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed> + getUpdateFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed> + getUpdateFeedMethod; + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + AssetServiceGrpc.getUpdateFeedMethod = + getUpdateFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.UpdateFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) + .build(); + } + } + } + return getUpdateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", + requestType = com.google.cloud.asset.v1.DeleteFeedRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod() { + io.grpc.MethodDescriptor + getDeleteFeedMethod; + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + AssetServiceGrpc.getDeleteFeedMethod = + getDeleteFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.DeleteFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) + .build(); + } + } + } + return getDeleteFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse> + getSearchAllResourcesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchAllResources", + requestType = com.google.cloud.asset.v1.SearchAllResourcesRequest.class, + responseType = com.google.cloud.asset.v1.SearchAllResourcesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse> + getSearchAllResourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse> + getSearchAllResourcesMethod; + if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { + AssetServiceGrpc.getSearchAllResourcesMethod = + getSearchAllResourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllResourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllResourcesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("SearchAllResources")) + .build(); + } + } + } + return getSearchAllResourcesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> + getSearchAllIamPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchAllIamPolicies", + requestType = com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, + responseType = com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> + getSearchAllIamPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> + getSearchAllIamPoliciesMethod; + if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) + == null) { + AssetServiceGrpc.getSearchAllIamPoliciesMethod = + getSearchAllIamPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) + .build(); + } + } + } + return getSearchAllIamPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> + getAnalyzeIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", + requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> + getAnalyzeIamPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> + getAnalyzeIamPolicyMethod; + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + AssetServiceGrpc.getAnalyzeIamPolicyMethod = + getAnalyzeIamPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) + .build(); + } + } + } + return getAnalyzeIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation> + getAnalyzeIamPolicyLongrunningMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicyLongrunning", + requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation> + getAnalyzeIamPolicyLongrunningMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation> + getAnalyzeIamPolicyLongrunningMethod; + if ((getAnalyzeIamPolicyLongrunningMethod = + AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) + == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeIamPolicyLongrunningMethod = + AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) + == null) { + AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod = + getAnalyzeIamPolicyLongrunningMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicyLongrunning")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicyLongrunning")) + .build(); + } + } + } + return getAnalyzeIamPolicyLongrunningMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeMoveRequest, + com.google.cloud.asset.v1.AnalyzeMoveResponse> + getAnalyzeMoveMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeMove", + requestType = com.google.cloud.asset.v1.AnalyzeMoveRequest.class, + responseType = com.google.cloud.asset.v1.AnalyzeMoveResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeMoveRequest, + com.google.cloud.asset.v1.AnalyzeMoveResponse> + getAnalyzeMoveMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.AnalyzeMoveRequest, + com.google.cloud.asset.v1.AnalyzeMoveResponse> + getAnalyzeMoveMethod; + if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { + AssetServiceGrpc.getAnalyzeMoveMethod = + getAnalyzeMoveMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeMove")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeMoveRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.AnalyzeMoveResponse.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeMove")) + .build(); + } + } + } + return getAnalyzeMoveMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.CreateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getCreateSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSavedQuery", + requestType = com.google.cloud.asset.v1.CreateSavedQueryRequest.class, + responseType = com.google.cloud.asset.v1.SavedQuery.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.CreateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getCreateSavedQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.CreateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getCreateSavedQueryMethod; + if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { + AssetServiceGrpc.getCreateSavedQueryMethod = + getCreateSavedQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.CreateSavedQueryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("CreateSavedQuery")) + .build(); + } + } + } + return getCreateSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.GetSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getGetSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSavedQuery", + requestType = com.google.cloud.asset.v1.GetSavedQueryRequest.class, + responseType = com.google.cloud.asset.v1.SavedQuery.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.GetSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getGetSavedQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.GetSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getGetSavedQueryMethod; + if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { + AssetServiceGrpc.getGetSavedQueryMethod = + getGetSavedQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.GetSavedQueryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("GetSavedQuery")) + .build(); + } + } + } + return getGetSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListSavedQueriesRequest, + com.google.cloud.asset.v1.ListSavedQueriesResponse> + getListSavedQueriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSavedQueries", + requestType = com.google.cloud.asset.v1.ListSavedQueriesRequest.class, + responseType = com.google.cloud.asset.v1.ListSavedQueriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListSavedQueriesRequest, + com.google.cloud.asset.v1.ListSavedQueriesResponse> + getListSavedQueriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.ListSavedQueriesRequest, + com.google.cloud.asset.v1.ListSavedQueriesResponse> + getListSavedQueriesMethod; + if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { + AssetServiceGrpc.getListSavedQueriesMethod = + getListSavedQueriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSavedQueries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListSavedQueriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.ListSavedQueriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("ListSavedQueries")) + .build(); + } + } + } + return getListSavedQueriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.UpdateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getUpdateSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSavedQuery", + requestType = com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, + responseType = com.google.cloud.asset.v1.SavedQuery.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.UpdateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getUpdateSavedQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.UpdateSavedQueryRequest, com.google.cloud.asset.v1.SavedQuery> + getUpdateSavedQueryMethod; + if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { + AssetServiceGrpc.getUpdateSavedQueryMethod = + getUpdateSavedQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.UpdateSavedQueryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("UpdateSavedQuery")) + .build(); + } + } + } + return getUpdateSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty> + getDeleteSavedQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSavedQuery", + requestType = com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty> + getDeleteSavedQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty> + getDeleteSavedQueryMethod; + if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { + AssetServiceGrpc.getDeleteSavedQueryMethod = + getDeleteSavedQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSavedQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.DeleteSavedQueryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("DeleteSavedQuery")) + .build(); + } + } + } + return getDeleteSavedQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> + getBatchGetEffectiveIamPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetEffectiveIamPolicies", + requestType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, + responseType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> + getBatchGetEffectiveIamPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> + getBatchGetEffectiveIamPoliciesMethod; + if ((getBatchGetEffectiveIamPoliciesMethod = + AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) + == null) { + synchronized (AssetServiceGrpc.class) { + if ((getBatchGetEffectiveIamPoliciesMethod = + AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) + == null) { + AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod = + getBatchGetEffectiveIamPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchGetEffectiveIamPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("BatchGetEffectiveIamPolicies")) + .build(); + } + } + } + return getBatchGetEffectiveIamPoliciesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AssetServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; + return AssetServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; + return AssetServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; + return AssetServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public abstract static class AssetServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public void exportAssets( + com.google.cloud.asset.v1.ExportAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportAssetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public void listAssets( + com.google.cloud.asset.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public void batchGetAssetsHistory( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetAssetsHistoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed( + com.google.cloud.asset.v1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed( + com.google.cloud.asset.v1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds( + com.google.cloud.asset.v1.ListFeedsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed( + com.google.cloud.asset.v1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed( + com.google.cloud.asset.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllResources( + com.google.cloud.asset.v1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchAllResourcesMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllIamPolicies( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchAllIamPoliciesMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public void analyzeIamPolicy( + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public void analyzeIamPolicyLongrunning( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeIamPolicyLongrunningMethod(), responseObserver); + } + + /** + * + * + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public void analyzeMove( + com.google.cloud.asset.v1.AnalyzeMoveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeMoveMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public void createSavedQuery( + com.google.cloud.asset.v1.CreateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSavedQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about a saved query.
+     * 
+ */ + public void getSavedQuery( + com.google.cloud.asset.v1.GetSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSavedQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public void listSavedQueries( + com.google.cloud.asset.v1.ListSavedQueriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSavedQueriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a saved query.
+     * 
+ */ + public void updateSavedQuery( + com.google.cloud.asset.v1.UpdateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateSavedQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a saved query.
+     * 
+ */ + public void deleteSavedQuery( + com.google.cloud.asset.v1.DeleteSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSavedQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public void batchGetEffectiveIamPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetEffectiveIamPoliciesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ExportAssetsRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_ASSETS))) + .addMethod( + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListAssetsRequest, + com.google.cloud.asset.v1.ListAssetsResponse>(this, METHODID_LIST_ASSETS))) + .addMethod( + getBatchGetAssetsHistoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( + this, METHODID_BATCH_GET_ASSETS_HISTORY))) + .addMethod( + getCreateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.CreateFeedRequest, com.google.cloud.asset.v1.Feed>( + this, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.GetFeedRequest, com.google.cloud.asset.v1.Feed>( + this, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListFeedsRequest, + com.google.cloud.asset.v1.ListFeedsResponse>(this, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.UpdateFeedRequest, com.google.cloud.asset.v1.Feed>( + this, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteFeedRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_FEED))) + .addMethod( + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.SearchAllResourcesRequest, + com.google.cloud.asset.v1.SearchAllResourcesResponse>( + this, METHODID_SEARCH_ALL_RESOURCES))) + .addMethod( + getSearchAllIamPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse>( + this, METHODID_SEARCH_ALL_IAM_POLICIES))) + .addMethod( + getAnalyzeIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse>( + this, METHODID_ANALYZE_IAM_POLICY))) + .addMethod( + getAnalyzeIamPolicyLongrunningMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, + com.google.longrunning.Operation>( + this, METHODID_ANALYZE_IAM_POLICY_LONGRUNNING))) + .addMethod( + getAnalyzeMoveMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.AnalyzeMoveRequest, + com.google.cloud.asset.v1.AnalyzeMoveResponse>(this, METHODID_ANALYZE_MOVE))) + .addMethod( + getCreateSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.CreateSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>(this, METHODID_CREATE_SAVED_QUERY))) + .addMethod( + getGetSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.GetSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>(this, METHODID_GET_SAVED_QUERY))) + .addMethod( + getListSavedQueriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.ListSavedQueriesRequest, + com.google.cloud.asset.v1.ListSavedQueriesResponse>( + this, METHODID_LIST_SAVED_QUERIES))) + .addMethod( + getUpdateSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.UpdateSavedQueryRequest, + com.google.cloud.asset.v1.SavedQuery>(this, METHODID_UPDATE_SAVED_QUERY))) + .addMethod( + getDeleteSavedQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.DeleteSavedQueryRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_SAVED_QUERY))) + .addMethod( + getBatchGetEffectiveIamPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse>( + this, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) + .build(); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public void exportAssets( + com.google.cloud.asset.v1.ExportAssetsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportAssetsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public void listAssets( + com.google.cloud.asset.v1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public void batchGetAssetsHistory( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed( + com.google.cloud.asset.v1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed( + com.google.cloud.asset.v1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds( + com.google.cloud.asset.v1.ListFeedsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed( + com.google.cloud.asset.v1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed( + com.google.cloud.asset.v1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllResources( + com.google.cloud.asset.v1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public void searchAllIamPolicies( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public void analyzeIamPolicy( + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public void analyzeIamPolicyLongrunning( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public void analyzeMove( + com.google.cloud.asset.v1.AnalyzeMoveRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public void createSavedQuery( + com.google.cloud.asset.v1.CreateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details about a saved query.
+     * 
+ */ + public void getSavedQuery( + com.google.cloud.asset.v1.GetSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public void listSavedQueries( + com.google.cloud.asset.v1.ListSavedQueriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a saved query.
+     * 
+ */ + public void updateSavedQuery( + com.google.cloud.asset.v1.UpdateSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a saved query.
+     * 
+ */ + public void deleteSavedQuery( + com.google.cloud.asset.v1.DeleteSavedQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public void batchGetEffectiveIamPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public com.google.longrunning.Operation exportAssets( + com.google.cloud.asset.v1.ExportAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportAssetsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public com.google.cloud.asset.v1.ListAssetsResponse listAssets( + com.google.cloud.asset.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAssetsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse batchGetAssetsHistory( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetAssetsHistoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.cloud.asset.v1.Feed createFeed( + com.google.cloud.asset.v1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.cloud.asset.v1.Feed getFeed( + com.google.cloud.asset.v1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1.ListFeedsResponse listFeeds( + com.google.cloud.asset.v1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.cloud.asset.v1.Feed updateFeed( + com.google.cloud.asset.v1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.protobuf.Empty deleteFeed( + com.google.cloud.asset.v1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.cloud.asset.v1.SearchAllResourcesResponse searchAllResources( + com.google.cloud.asset.v1.SearchAllResourcesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchAllResourcesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse searchAllIamPolicies( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchAllIamPoliciesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse analyzeIamPolicy( + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public com.google.longrunning.Operation analyzeIamPolicyLongrunning( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeIamPolicyLongrunningMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public com.google.cloud.asset.v1.AnalyzeMoveResponse analyzeMove( + com.google.cloud.asset.v1.AnalyzeMoveRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeMoveMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1.SavedQuery createSavedQuery( + com.google.cloud.asset.v1.CreateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSavedQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about a saved query.
+     * 
+ */ + public com.google.cloud.asset.v1.SavedQuery getSavedQuery( + com.google.cloud.asset.v1.GetSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSavedQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1.ListSavedQueriesResponse listSavedQueries( + com.google.cloud.asset.v1.ListSavedQueriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSavedQueriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a saved query.
+     * 
+ */ + public com.google.cloud.asset.v1.SavedQuery updateSavedQuery( + com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSavedQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a saved query.
+     * 
+ */ + public com.google.protobuf.Empty deleteSavedQuery( + com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSavedQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + batchGetEffectiveIamPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetEffectiveIamPoliciesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Exports assets with time and resource types to a given Cloud Storage
+     * location/BigQuery table. For Cloud Storage location destinations, the
+     * output format is newline-delimited JSON. Each line represents a
+     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
+     * format; for BigQuery table destinations, the output table stores the fields
+     * in asset Protobuf as columns. This API implements the
+     * [google.longrunning.Operation][google.longrunning.Operation] API, which
+     * allows you to keep track of the export. We recommend intervals of at least
+     * 2 seconds with exponential retry to poll the export operation result. For
+     * regular-size resource parent, the export operation usually finishes within
+     * 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists assets with time and resource types and returns paged results in
+     * response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.ListAssetsResponse> + listAssets(com.google.cloud.asset.v1.ListAssetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Batch gets the update history of assets that overlap a time window.
+     * For IAM_POLICY content, this API outputs history when the asset and its
+     * attached IAM POLICY both exist. This can create gaps in the output history.
+     * Otherwise, this API outputs history with asset in both non-delete or
+     * deleted status.
+     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
+     * error.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse> + batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createFeed(com.google.cloud.asset.v1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getFeed(com.google.cloud.asset.v1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.ListFeedsResponse> + listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFeed( + com.google.cloud.asset.v1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Searches all Cloud resources within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllResources` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.SearchAllResourcesResponse> + searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Searches all IAM policies within the specified scope, such as a project,
+     * folder, or organization. The caller must be granted the
+     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
+     * otherwise the request will be rejected.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse> + searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Analyzes IAM policies to answer which identities have what accesses on
+     * which resources.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse> + analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Analyzes IAM policies asynchronously to answer which identities have what
+     * accesses on which resources, and writes the analysis results to a Google
+     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
+     * output format is the JSON format that represents a
+     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
+     * This method implements the
+     * [google.longrunning.Operation][google.longrunning.Operation], which allows
+     * you to track the operation status. We recommend intervals of at least 2
+     * seconds with exponential backoff retry to poll the operation result. The
+     * metadata contains the metadata for the long-running operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + analyzeIamPolicyLongrunning( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Analyze moving a resource to a specified destination without kicking off
+     * the actual move. The analysis is best effort depending on the user's
+     * permissions of viewing different hierarchical policies and configurations.
+     * The policies and configuration are subject to change before the actual
+     * resource migration takes place.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.AnalyzeMoveResponse> + analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a saved query in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about a saved query.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all saved queries in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.ListSavedQueriesResponse> + listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a saved query.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a saved query.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets effective IAM policies for a batch of resources.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse> + batchGetEffectiveIamPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXPORT_ASSETS = 0; + private static final int METHODID_LIST_ASSETS = 1; + private static final int METHODID_BATCH_GET_ASSETS_HISTORY = 2; + private static final int METHODID_CREATE_FEED = 3; + private static final int METHODID_GET_FEED = 4; + private static final int METHODID_LIST_FEEDS = 5; + private static final int METHODID_UPDATE_FEED = 6; + private static final int METHODID_DELETE_FEED = 7; + private static final int METHODID_SEARCH_ALL_RESOURCES = 8; + private static final int METHODID_SEARCH_ALL_IAM_POLICIES = 9; + private static final int METHODID_ANALYZE_IAM_POLICY = 10; + private static final int METHODID_ANALYZE_IAM_POLICY_LONGRUNNING = 11; + private static final int METHODID_ANALYZE_MOVE = 12; + private static final int METHODID_CREATE_SAVED_QUERY = 13; + private static final int METHODID_GET_SAVED_QUERY = 14; + private static final int METHODID_LIST_SAVED_QUERIES = 15; + private static final int METHODID_UPDATE_SAVED_QUERY = 16; + private static final int METHODID_DELETE_SAVED_QUERY = 17; + private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 18; + + 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 AssetServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AssetServiceImplBase 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_EXPORT_ASSETS: + serviceImpl.exportAssets( + (com.google.cloud.asset.v1.ExportAssetsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ASSETS: + serviceImpl.listAssets( + (com.google.cloud.asset.v1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_GET_ASSETS_HISTORY: + serviceImpl.batchGetAssetsHistory( + (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_FEED: + serviceImpl.createFeed( + (com.google.cloud.asset.v1.CreateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FEED: + serviceImpl.getFeed( + (com.google.cloud.asset.v1.GetFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FEEDS: + serviceImpl.listFeeds( + (com.google.cloud.asset.v1.ListFeedsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_FEED: + serviceImpl.updateFeed( + (com.google.cloud.asset.v1.UpdateFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_FEED: + serviceImpl.deleteFeed( + (com.google.cloud.asset.v1.DeleteFeedRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_ALL_RESOURCES: + serviceImpl.searchAllResources( + (com.google.cloud.asset.v1.SearchAllResourcesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SEARCH_ALL_IAM_POLICIES: + serviceImpl.searchAllIamPolicies( + (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ANALYZE_IAM_POLICY: + serviceImpl.analyzeIamPolicy( + (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ANALYZE_IAM_POLICY_LONGRUNNING: + serviceImpl.analyzeIamPolicyLongrunning( + (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ANALYZE_MOVE: + serviceImpl.analyzeMove( + (com.google.cloud.asset.v1.AnalyzeMoveRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_SAVED_QUERY: + serviceImpl.createSavedQuery( + (com.google.cloud.asset.v1.CreateSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SAVED_QUERY: + serviceImpl.getSavedQuery( + (com.google.cloud.asset.v1.GetSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SAVED_QUERIES: + serviceImpl.listSavedQueries( + (com.google.cloud.asset.v1.ListSavedQueriesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_SAVED_QUERY: + serviceImpl.updateSavedQuery( + (com.google.cloud.asset.v1.UpdateSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SAVED_QUERY: + serviceImpl.deleteSavedQuery( + (com.google.cloud.asset.v1.DeleteSavedQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES: + serviceImpl.batchGetEffectiveIamPolicies( + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse>) + 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 AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AssetServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AssetService"); + } + } + + private static final class AssetServiceFileDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier { + AssetServiceFileDescriptorSupplier() {} + } + + private static final class AssetServiceMethodDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getExportAssetsMethod()) + .addMethod(getListAssetsMethod()) + .addMethod(getBatchGetAssetsHistoryMethod()) + .addMethod(getCreateFeedMethod()) + .addMethod(getGetFeedMethod()) + .addMethod(getListFeedsMethod()) + .addMethod(getUpdateFeedMethod()) + .addMethod(getDeleteFeedMethod()) + .addMethod(getSearchAllResourcesMethod()) + .addMethod(getSearchAllIamPoliciesMethod()) + .addMethod(getAnalyzeIamPolicyMethod()) + .addMethod(getAnalyzeIamPolicyLongrunningMethod()) + .addMethod(getAnalyzeMoveMethod()) + .addMethod(getCreateSavedQueryMethod()) + .addMethod(getGetSavedQueryMethod()) + .addMethod(getListSavedQueriesMethod()) + .addMethod(getUpdateSavedQueryMethod()) + .addMethod(getDeleteSavedQueryMethod()) + .addMethod(getBatchGetEffectiveIamPoliciesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java similarity index 51% rename from owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java rename to grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java index 73fe8769d..1190e5a9c 100644 --- a/owl-bot-staging/v1p1beta1/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java +++ b/grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.asset.v1p1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Asset service definition.
  * 
@@ -18,120 +35,155 @@ private AssetServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.asset.v1p1beta1.AssetService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getSearchAllResourcesMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> + getSearchAllResourcesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchAllResources", requestType = com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, responseType = com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchAllResourcesMethod() { - io.grpc.MethodDescriptor getSearchAllResourcesMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> + getSearchAllResourcesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> + getSearchAllResourcesMethod; if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { synchronized (AssetServiceGrpc.class) { if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { - AssetServiceGrpc.getSearchAllResourcesMethod = getSearchAllResourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllResources")) - .build(); + AssetServiceGrpc.getSearchAllResourcesMethod = + getSearchAllResourcesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("SearchAllResources")) + .build(); } } } return getSearchAllResourcesMethod; } - private static volatile io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> + getSearchAllIamPoliciesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchAllIamPolicies", requestType = com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, responseType = com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod() { - io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> + getSearchAllIamPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse> + getSearchAllIamPoliciesMethod; if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { synchronized (AssetServiceGrpc.class) { - if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { - AssetServiceGrpc.getSearchAllIamPoliciesMethod = getSearchAllIamPoliciesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) - .build(); + if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) + == null) { + AssetServiceGrpc.getSearchAllIamPoliciesMethod = + getSearchAllIamPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) + .build(); } } } return getSearchAllIamPoliciesMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static AssetServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; return AssetServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static AssetServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; return AssetServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AssetServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; return AssetServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Asset service definition.
    * 
*/ - public static abstract class AssetServiceImplBase implements io.grpc.BindableService { + public abstract static class AssetServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -141,12 +193,17 @@ public static abstract class AssetServiceImplBase implements io.grpc.BindableSer
      * scope, otherwise it will be rejected.
      * 
*/ - public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllResourcesMethod(), responseObserver); + public void searchAllResources( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchAllResourcesMethod(), responseObserver); } /** + * + * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -156,49 +213,56 @@ public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourc
      * requested scope, otherwise it will be rejected.
      * 
*/ - public void searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllIamPoliciesMethod(), responseObserver); + public void searchAllIamPolicies( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchAllIamPoliciesMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getSearchAllResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>( - this, METHODID_SEARCH_ALL_RESOURCES))) + getSearchAllResourcesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>( + this, METHODID_SEARCH_ALL_RESOURCES))) .addMethod( - getSearchAllIamPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>( - this, METHODID_SEARCH_ALL_IAM_POLICIES))) + getSearchAllIamPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>( + this, METHODID_SEARCH_ALL_IAM_POLICIES))) .build(); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected AssetServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AssetServiceStub(channel, callOptions); } /** + * + * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -208,13 +272,19 @@ protected AssetServiceStub build(
      * scope, otherwise it will be rejected.
      * 
*/ - public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchAllResources( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -224,21 +294,27 @@ public void searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourc
      * requested scope, otherwise it will be rejected.
      * 
*/ - public void searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchAllIamPolicies( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -249,6 +325,8 @@ protected AssetServiceBlockingStub build( } /** + * + * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -258,12 +336,15 @@ protected AssetServiceBlockingStub build(
      * scope, otherwise it will be rejected.
      * 
*/ - public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { + public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllResources( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchAllResourcesMethod(), getCallOptions(), request); } /** + * + * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -273,20 +354,23 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse searchAllReso
      * requested scope, otherwise it will be rejected.
      * 
*/ - public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) { + public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse searchAllIamPolicies( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchAllIamPoliciesMethod(), getCallOptions(), request); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -297,6 +381,8 @@ protected AssetServiceFutureStub build( } /** + * + * *
      * Searches all the resources under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -306,13 +392,16 @@ protected AssetServiceFutureStub build(
      * scope, otherwise it will be rejected.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture searchAllResources( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse> + searchAllResources(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request); } /** + * + * *
      * Searches all the IAM policies under a given accessible CRM scope
      * (project/folder/organization). This RPC gives callers
@@ -322,8 +411,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture searchAllIamPolicies(
-        com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>
+        searchAllIamPolicies(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request);
     }
@@ -332,11 +422,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final AssetServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -350,12 +440,18 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_SEARCH_ALL_RESOURCES:
-          serviceImpl.searchAllResources((com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchAllResources(
+              (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse>)
+                  responseObserver);
           break;
         case METHODID_SEARCH_ALL_IAM_POLICIES:
-          serviceImpl.searchAllIamPolicies((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchAllIamPolicies(
+              (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) request,
+              (io.grpc.stub.StreamObserver<
+                      com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse>)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -373,8 +469,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class AssetServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class AssetServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     AssetServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -416,11 +513,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (AssetServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier())
-              .addMethod(getSearchAllResourcesMethod())
-              .addMethod(getSearchAllIamPoliciesMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier())
+                      .addMethod(getSearchAllResourcesMethod())
+                      .addMethod(getSearchAllIamPoliciesMethod())
+                      .build();
         }
       }
     }
diff --git a/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java
new file mode 100644
index 000000000..c58318038
--- /dev/null
+++ b/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java
@@ -0,0 +1,799 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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.asset.v1p2beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * Asset service definition.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/asset/v1p2beta1/asset_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AssetServiceGrpc { + + private AssetServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.asset.v1p2beta1.AssetService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.CreateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getCreateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateFeed", + requestType = com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.CreateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getCreateFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.CreateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed> + getCreateFeedMethod; + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { + AssetServiceGrpc.getCreateFeedMethod = + getCreateFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.CreateFeedRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) + .build(); + } + } + } + return getCreateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getGetFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFeed", + requestType = com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getGetFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getGetFeedMethod; + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { + AssetServiceGrpc.getGetFeedMethod = + getGetFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) + .build(); + } + } + } + return getGetFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse> + getListFeedsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFeeds", + requestType = com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse> + getListFeedsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse> + getListFeedsMethod; + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { + AssetServiceGrpc.getListFeedsMethod = + getListFeedsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.ListFeedsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.ListFeedsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) + .build(); + } + } + } + return getListFeedsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getUpdateFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", + requestType = com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, + responseType = com.google.cloud.asset.v1p2beta1.Feed.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, com.google.cloud.asset.v1p2beta1.Feed> + getUpdateFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed> + getUpdateFeedMethod; + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { + AssetServiceGrpc.getUpdateFeedMethod = + getUpdateFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) + .build(); + } + } + } + return getUpdateFeedMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", + requestType = com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, com.google.protobuf.Empty> + getDeleteFeedMethod; + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { + AssetServiceGrpc.getDeleteFeedMethod = + getDeleteFeedMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) + .build(); + } + } + } + return getDeleteFeedMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AssetServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; + return AssetServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; + return AssetServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; + return AssetServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public abstract static class AssetServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed( + com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed( + com.google.cloud.asset.v1p2beta1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds( + com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed( + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.CreateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>(this, METHODID_CREATE_FEED))) + .addMethod( + getGetFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.GetFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>(this, METHODID_GET_FEED))) + .addMethod( + getListFeedsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.ListFeedsRequest, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( + this, METHODID_LIST_FEEDS))) + .addMethod( + getUpdateFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, + com.google.cloud.asset.v1p2beta1.Feed>(this, METHODID_UPDATE_FEED))) + .addMethod( + getDeleteFeedMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_FEED))) + .build(); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public void createFeed( + com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public void getFeed( + com.google.cloud.asset.v1p2beta1.GetFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public void listFeeds( + com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public void updateFeed( + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public void deleteFeed( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.Feed createFeed( + com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.Feed getFeed( + com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.ListFeedsResponse listFeeds( + com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFeedsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.cloud.asset.v1p2beta1.Feed updateFeed( + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateFeedMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.protobuf.Empty deleteFeed( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFeedMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a feed in a parent project/folder/organization to listen to its
+     * asset updates.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details about an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all asset feeds in a parent project/folder/organization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1p2beta1.ListFeedsResponse> + listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an asset feed configuration.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an asset feed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteFeed( + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_FEED = 0; + private static final int METHODID_GET_FEED = 1; + private static final int METHODID_LIST_FEEDS = 2; + private static final int METHODID_UPDATE_FEED = 3; + private static final int METHODID_DELETE_FEED = 4; + + 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 AssetServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AssetServiceImplBase 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_FEED: + serviceImpl.createFeed( + (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_FEED: + serviceImpl.getFeed( + (com.google.cloud.asset.v1p2beta1.GetFeedRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_FEEDS: + serviceImpl.listFeeds( + (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_FEED: + serviceImpl.updateFeed( + (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_FEED: + serviceImpl.deleteFeed( + (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) 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 AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AssetServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AssetService"); + } + } + + private static final class AssetServiceFileDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier { + AssetServiceFileDescriptorSupplier() {} + } + + private static final class AssetServiceMethodDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getCreateFeedMethod()) + .addMethod(getGetFeedMethod()) + .addMethod(getListFeedsMethod()) + .addMethod(getUpdateFeedMethod()) + .addMethod(getDeleteFeedMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java new file mode 100644 index 000000000..fd7ad4c91 --- /dev/null +++ b/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java @@ -0,0 +1,499 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.asset.v1p4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Asset service definition.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/asset/v1p4beta1/asset_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AssetServiceGrpc { + + private AssetServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.asset.v1p4beta1.AssetService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> + getAnalyzeIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", + requestType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, + responseType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> + getAnalyzeIamPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> + getAnalyzeIamPolicyMethod; + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + synchronized (AssetServiceGrpc.class) { + if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { + AssetServiceGrpc.getAnalyzeIamPolicyMethod = + getAnalyzeIamPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) + .build(); + } + } + } + return getAnalyzeIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, + com.google.longrunning.Operation> + getExportIamPolicyAnalysisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportIamPolicyAnalysis", + requestType = com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, + com.google.longrunning.Operation> + getExportIamPolicyAnalysisMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, + com.google.longrunning.Operation> + getExportIamPolicyAnalysisMethod; + if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) + == null) { + synchronized (AssetServiceGrpc.class) { + if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) + == null) { + AssetServiceGrpc.getExportIamPolicyAnalysisMethod = + getExportIamPolicyAnalysisMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ExportIamPolicyAnalysis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AssetServiceMethodDescriptorSupplier("ExportIamPolicyAnalysis")) + .build(); + } + } + } + return getExportIamPolicyAnalysisMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AssetServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; + return AssetServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; + return AssetServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; + return AssetServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public abstract static class AssetServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public void analyzeIamPolicy( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getAnalyzeIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public void exportIamPolicyAnalysis( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportIamPolicyAnalysisMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getAnalyzeIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>( + this, METHODID_ANALYZE_IAM_POLICY))) + .addMethod( + getExportIamPolicyAnalysisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_IAM_POLICY_ANALYSIS))) + .build(); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public void analyzeIamPolicy( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public void exportIamPolicyAnalysis( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse analyzeIamPolicy( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public com.google.longrunning.Operation exportIamPolicyAnalysis( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportIamPolicyAnalysisMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Asset service definition.
+   * 
+ */ + public static final class AssetServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AssetServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Analyzes IAM policies based on the specified request. Returns
+     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse> + analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Exports IAM policy analysis based on the specified request. This API
+     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
+     * track of the export. The metadata contains the request to help callers to
+     * map responses to requests.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + exportIamPolicyAnalysis( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_ANALYZE_IAM_POLICY = 0; + private static final int METHODID_EXPORT_IAM_POLICY_ANALYSIS = 1; + + 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 AssetServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(AssetServiceImplBase 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_ANALYZE_IAM_POLICY: + serviceImpl.analyzeIamPolicy( + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>) + responseObserver); + break; + case METHODID_EXPORT_IAM_POLICY_ANALYSIS: + serviceImpl.exportIamPolicyAnalysis( + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) 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 AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AssetServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AssetService"); + } + } + + private static final class AssetServiceFileDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier { + AssetServiceFileDescriptorSupplier() {} + } + + private static final class AssetServiceMethodDescriptorSupplier + extends AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getAnalyzeIamPolicyMethod()) + .addMethod(getExportIamPolicyAnalysisMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java similarity index 50% rename from owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java rename to grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java index f931499fa..9172d7616 100644 --- a/owl-bot-staging/v1p5beta1/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java +++ b/grpc-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.asset.v1p5beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Asset service definition.
  * 
@@ -18,150 +35,176 @@ private AssetServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.asset.v1p5beta1.AssetService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListAssetsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse> + getListAssetsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListAssets", requestType = com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, responseType = com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAssetsMethod() { - io.grpc.MethodDescriptor getListAssetsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse> + getListAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse> + getListAssetsMethod; if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { synchronized (AssetServiceGrpc.class) { if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { - AssetServiceGrpc.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.asset.v1p5beta1.ListAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) - .build(); + AssetServiceGrpc.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.asset.v1p5beta1.ListAssetsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p5beta1.ListAssetsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) + .build(); } } } return getListAssetsMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static AssetServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; return AssetServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static AssetServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; return AssetServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AssetServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; return AssetServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Asset service definition.
    * 
*/ - public static abstract class AssetServiceImplBase implements io.grpc.BindableService { + public abstract static class AssetServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listAssets( + com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p5beta1.ListAssetsRequest, - com.google.cloud.asset.v1p5beta1.ListAssetsResponse>( - this, METHODID_LIST_ASSETS))) + getListAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p5beta1.ListAssetsRequest, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse>( + this, METHODID_LIST_ASSETS))) .build(); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected AssetServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AssetServiceStub(channel, callOptions); } /** + * + * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public void listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listAssets( + com.google.cloud.asset.v1p5beta1.ListAssetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -172,25 +215,30 @@ protected AssetServiceBlockingStub build( } /** + * + * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public com.google.cloud.asset.v1p5beta1.ListAssetsResponse listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { + public com.google.cloud.asset.v1p5beta1.ListAssetsResponse listAssets( + com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAssetsMethod(), getCallOptions(), request); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -201,13 +249,16 @@ protected AssetServiceFutureStub build( } /** + * + * *
      * Lists assets with time and resource types and returns paged results in
      * response.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listAssets( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.asset.v1p5beta1.ListAssetsResponse> + listAssets(com.google.cloud.asset.v1p5beta1.ListAssetsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); } @@ -215,11 +266,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AssetServiceImplBase serviceImpl; private final int methodId; @@ -233,8 +284,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_ASSETS: - serviceImpl.listAssets((com.google.cloud.asset.v1p5beta1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listAssets( + (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -252,8 +305,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { AssetServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -295,10 +349,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (AssetServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getListAssetsMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getListAssetsMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java b/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java similarity index 60% rename from owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java rename to grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java index c443a291e..b23942ff3 100644 --- a/owl-bot-staging/v1p7beta1/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java +++ b/grpc-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.asset.v1p7beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Asset service definition.
  * 
@@ -18,89 +35,101 @@ private AssetServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.asset.v1p7beta1.AssetService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getExportAssetsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, com.google.longrunning.Operation> + getExportAssetsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ExportAssets", requestType = com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportAssetsMethod() { - io.grpc.MethodDescriptor getExportAssetsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, com.google.longrunning.Operation> + getExportAssetsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, com.google.longrunning.Operation> + getExportAssetsMethod; if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { synchronized (AssetServiceGrpc.class) { if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { - AssetServiceGrpc.getExportAssetsMethod = getExportAssetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) - .build(); + AssetServiceGrpc.getExportAssetsMethod = + getExportAssetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) + .build(); } } } return getExportAssetsMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static AssetServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceStub(channel, callOptions); + } + }; return AssetServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static AssetServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static AssetServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceBlockingStub(channel, callOptions); + } + }; return AssetServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AssetServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AssetServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AssetServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AssetServiceFutureStub(channel, callOptions); + } + }; return AssetServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * Asset service definition.
    * 
*/ - public static abstract class AssetServiceImplBase implements io.grpc.BindableService { + public abstract static class AssetServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -115,42 +144,47 @@ public static abstract class AssetServiceImplBase implements io.grpc.BindableSer
      * 5 minutes.
      * 
*/ - public void exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, + public void exportAssets( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportAssetsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportAssetsMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getExportAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_ASSETS))) + getExportAssetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest, + com.google.longrunning.Operation>(this, METHODID_EXPORT_ASSETS))) .build(); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private AssetServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected AssetServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AssetServiceStub(channel, callOptions); } /** + * + * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -165,21 +199,26 @@ protected AssetServiceStub build(
      * 5 minutes.
      * 
*/ - public void exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, + public void exportAssets( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExportAssetsMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AssetServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -190,6 +229,8 @@ protected AssetServiceBlockingStub build( } /** + * + * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -204,20 +245,23 @@ protected AssetServiceBlockingStub build(
      * 5 minutes.
      * 
*/ - public com.google.longrunning.Operation exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { + public com.google.longrunning.Operation exportAssets( + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportAssetsMethod(), getCallOptions(), request); } } /** + * + * *
    * Asset service definition.
    * 
*/ - public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class AssetServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AssetServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -228,6 +272,8 @@ protected AssetServiceFutureStub build( } /** + * + * *
      * Exports assets with time and resource types to a given Cloud Storage
      * location/BigQuery table. For Cloud Storage location destinations, the
@@ -242,8 +288,8 @@ protected AssetServiceFutureStub build(
      * 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture exportAssets( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + exportAssets(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request); } @@ -251,11 +297,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AssetServiceImplBase serviceImpl; private final int methodId; @@ -269,7 +315,8 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_EXPORT_ASSETS: - serviceImpl.exportAssets((com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) request, + serviceImpl.exportAssets( + (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -288,8 +335,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class AssetServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { AssetServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -331,10 +379,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (AssetServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getExportAssetsMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) + .addMethod(getExportAssetsMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java deleted file mode 100644 index b01a9d086..000000000 --- a/owl-bot-staging/v1/grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java +++ /dev/null @@ -1,2003 +0,0 @@ -package com.google.cloud.asset.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Asset service definition.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/asset/v1/asset_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AssetServiceGrpc { - - private AssetServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.asset.v1.AssetService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getExportAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportAssets", - requestType = com.google.cloud.asset.v1.ExportAssetsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportAssetsMethod() { - io.grpc.MethodDescriptor getExportAssetsMethod; - if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getExportAssetsMethod = AssetServiceGrpc.getExportAssetsMethod) == null) { - AssetServiceGrpc.getExportAssetsMethod = getExportAssetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportAssets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ExportAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportAssets")) - .build(); - } - } - } - return getExportAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAssetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAssets", - requestType = com.google.cloud.asset.v1.ListAssetsRequest.class, - responseType = com.google.cloud.asset.v1.ListAssetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAssetsMethod() { - io.grpc.MethodDescriptor getListAssetsMethod; - if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListAssetsMethod = AssetServiceGrpc.getListAssetsMethod) == null) { - AssetServiceGrpc.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.asset.v1.ListAssetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListAssetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListAssets")) - .build(); - } - } - } - return getListAssetsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchGetAssetsHistoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetAssetsHistory", - requestType = com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, - responseType = com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchGetAssetsHistoryMethod() { - io.grpc.MethodDescriptor getBatchGetAssetsHistoryMethod; - if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getBatchGetAssetsHistoryMethod = AssetServiceGrpc.getBatchGetAssetsHistoryMethod) == null) { - AssetServiceGrpc.getBatchGetAssetsHistoryMethod = getBatchGetAssetsHistoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetAssetsHistory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("BatchGetAssetsHistory")) - .build(); - } - } - } - return getBatchGetAssetsHistoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFeed", - requestType = com.google.cloud.asset.v1.CreateFeedRequest.class, - responseType = com.google.cloud.asset.v1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateFeedMethod() { - io.grpc.MethodDescriptor getCreateFeedMethod; - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - AssetServiceGrpc.getCreateFeedMethod = getCreateFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.CreateFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) - .build(); - } - } - } - return getCreateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFeed", - requestType = com.google.cloud.asset.v1.GetFeedRequest.class, - responseType = com.google.cloud.asset.v1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFeedMethod() { - io.grpc.MethodDescriptor getGetFeedMethod; - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - AssetServiceGrpc.getGetFeedMethod = getGetFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.GetFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) - .build(); - } - } - } - return getGetFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFeedsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFeeds", - requestType = com.google.cloud.asset.v1.ListFeedsRequest.class, - responseType = com.google.cloud.asset.v1.ListFeedsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFeedsMethod() { - io.grpc.MethodDescriptor getListFeedsMethod; - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - AssetServiceGrpc.getListFeedsMethod = getListFeedsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListFeedsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListFeedsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) - .build(); - } - } - } - return getListFeedsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", - requestType = com.google.cloud.asset.v1.UpdateFeedRequest.class, - responseType = com.google.cloud.asset.v1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateFeedMethod() { - io.grpc.MethodDescriptor getUpdateFeedMethod; - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - AssetServiceGrpc.getUpdateFeedMethod = getUpdateFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.UpdateFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) - .build(); - } - } - } - return getUpdateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", - requestType = com.google.cloud.asset.v1.DeleteFeedRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteFeedMethod() { - io.grpc.MethodDescriptor getDeleteFeedMethod; - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - AssetServiceGrpc.getDeleteFeedMethod = getDeleteFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.DeleteFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) - .build(); - } - } - } - return getDeleteFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchAllResourcesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchAllResources", - requestType = com.google.cloud.asset.v1.SearchAllResourcesRequest.class, - responseType = com.google.cloud.asset.v1.SearchAllResourcesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchAllResourcesMethod() { - io.grpc.MethodDescriptor getSearchAllResourcesMethod; - if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getSearchAllResourcesMethod = AssetServiceGrpc.getSearchAllResourcesMethod) == null) { - AssetServiceGrpc.getSearchAllResourcesMethod = getSearchAllResourcesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllResources")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllResourcesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllResourcesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllResources")) - .build(); - } - } - } - return getSearchAllResourcesMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchAllIamPolicies", - requestType = com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, - responseType = com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod() { - io.grpc.MethodDescriptor getSearchAllIamPoliciesMethod; - if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getSearchAllIamPoliciesMethod = AssetServiceGrpc.getSearchAllIamPoliciesMethod) == null) { - AssetServiceGrpc.getSearchAllIamPoliciesMethod = getSearchAllIamPoliciesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchAllIamPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("SearchAllIamPolicies")) - .build(); - } - } - } - return getSearchAllIamPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", - requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod() { - io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - AssetServiceGrpc.getAnalyzeIamPolicyMethod = getAnalyzeIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) - .build(); - } - } - } - return getAnalyzeIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getAnalyzeIamPolicyLongrunningMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicyLongrunning", - requestType = com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeIamPolicyLongrunningMethod() { - io.grpc.MethodDescriptor getAnalyzeIamPolicyLongrunningMethod; - if ((getAnalyzeIamPolicyLongrunningMethod = AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeIamPolicyLongrunningMethod = AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod) == null) { - AssetServiceGrpc.getAnalyzeIamPolicyLongrunningMethod = getAnalyzeIamPolicyLongrunningMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicyLongrunning")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicyLongrunning")) - .build(); - } - } - } - return getAnalyzeIamPolicyLongrunningMethod; - } - - private static volatile io.grpc.MethodDescriptor getAnalyzeMoveMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeMove", - requestType = com.google.cloud.asset.v1.AnalyzeMoveRequest.class, - responseType = com.google.cloud.asset.v1.AnalyzeMoveResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeMoveMethod() { - io.grpc.MethodDescriptor getAnalyzeMoveMethod; - if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeMoveMethod = AssetServiceGrpc.getAnalyzeMoveMethod) == null) { - AssetServiceGrpc.getAnalyzeMoveMethod = getAnalyzeMoveMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeMove")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeMoveRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.AnalyzeMoveResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeMove")) - .build(); - } - } - } - return getAnalyzeMoveMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSavedQuery", - requestType = com.google.cloud.asset.v1.CreateSavedQueryRequest.class, - responseType = com.google.cloud.asset.v1.SavedQuery.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSavedQueryMethod() { - io.grpc.MethodDescriptor getCreateSavedQueryMethod; - if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getCreateSavedQueryMethod = AssetServiceGrpc.getCreateSavedQueryMethod) == null) { - AssetServiceGrpc.getCreateSavedQueryMethod = getCreateSavedQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.CreateSavedQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateSavedQuery")) - .build(); - } - } - } - return getCreateSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSavedQuery", - requestType = com.google.cloud.asset.v1.GetSavedQueryRequest.class, - responseType = com.google.cloud.asset.v1.SavedQuery.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSavedQueryMethod() { - io.grpc.MethodDescriptor getGetSavedQueryMethod; - if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getGetSavedQueryMethod = AssetServiceGrpc.getGetSavedQueryMethod) == null) { - AssetServiceGrpc.getGetSavedQueryMethod = getGetSavedQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.GetSavedQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetSavedQuery")) - .build(); - } - } - } - return getGetSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSavedQueriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSavedQueries", - requestType = com.google.cloud.asset.v1.ListSavedQueriesRequest.class, - responseType = com.google.cloud.asset.v1.ListSavedQueriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSavedQueriesMethod() { - io.grpc.MethodDescriptor getListSavedQueriesMethod; - if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListSavedQueriesMethod = AssetServiceGrpc.getListSavedQueriesMethod) == null) { - AssetServiceGrpc.getListSavedQueriesMethod = getListSavedQueriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSavedQueries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListSavedQueriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.ListSavedQueriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListSavedQueries")) - .build(); - } - } - } - return getListSavedQueriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSavedQuery", - requestType = com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, - responseType = com.google.cloud.asset.v1.SavedQuery.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateSavedQueryMethod() { - io.grpc.MethodDescriptor getUpdateSavedQueryMethod; - if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getUpdateSavedQueryMethod = AssetServiceGrpc.getUpdateSavedQueryMethod) == null) { - AssetServiceGrpc.getUpdateSavedQueryMethod = getUpdateSavedQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.UpdateSavedQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateSavedQuery")) - .build(); - } - } - } - return getUpdateSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteSavedQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSavedQuery", - requestType = com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteSavedQueryMethod() { - io.grpc.MethodDescriptor getDeleteSavedQueryMethod; - if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getDeleteSavedQueryMethod = AssetServiceGrpc.getDeleteSavedQueryMethod) == null) { - AssetServiceGrpc.getDeleteSavedQueryMethod = getDeleteSavedQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSavedQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.DeleteSavedQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteSavedQuery")) - .build(); - } - } - } - return getDeleteSavedQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchGetEffectiveIamPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetEffectiveIamPolicies", - requestType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, - responseType = com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchGetEffectiveIamPoliciesMethod() { - io.grpc.MethodDescriptor getBatchGetEffectiveIamPoliciesMethod; - if ((getBatchGetEffectiveIamPoliciesMethod = AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getBatchGetEffectiveIamPoliciesMethod = AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod) == null) { - AssetServiceGrpc.getBatchGetEffectiveIamPoliciesMethod = getBatchGetEffectiveIamPoliciesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetEffectiveIamPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("BatchGetEffectiveIamPolicies")) - .build(); - } - } - } - return getBatchGetEffectiveIamPoliciesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AssetServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; - return AssetServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AssetServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; - return AssetServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AssetServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; - return AssetServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static abstract class AssetServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public void exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportAssetsMethod(), responseObserver); - } - - /** - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public void listAssets(com.google.cloud.asset.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAssetsMethod(), responseObserver); - } - - /** - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public void batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetAssetsHistoryMethod(), responseObserver); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed(com.google.cloud.asset.v1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed(com.google.cloud.asset.v1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - - /** - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllResourcesMethod(), responseObserver); - } - - /** - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchAllIamPoliciesMethod(), responseObserver); - } - - /** - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public void analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public void analyzeIamPolicyLongrunning(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeIamPolicyLongrunningMethod(), responseObserver); - } - - /** - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public void analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeMoveMethod(), responseObserver); - } - - /** - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public void createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSavedQueryMethod(), responseObserver); - } - - /** - *
-     * Gets details about a saved query.
-     * 
- */ - public void getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSavedQueryMethod(), responseObserver); - } - - /** - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public void listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSavedQueriesMethod(), responseObserver); - } - - /** - *
-     * Updates a saved query.
-     * 
- */ - public void updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSavedQueryMethod(), responseObserver); - } - - /** - *
-     * Deletes a saved query.
-     * 
- */ - public void deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSavedQueryMethod(), responseObserver); - } - - /** - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public void batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetEffectiveIamPoliciesMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExportAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ExportAssetsRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_ASSETS))) - .addMethod( - getListAssetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListAssetsRequest, - com.google.cloud.asset.v1.ListAssetsResponse>( - this, METHODID_LIST_ASSETS))) - .addMethod( - getBatchGetAssetsHistoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest, - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse>( - this, METHODID_BATCH_GET_ASSETS_HISTORY))) - .addMethod( - getCreateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.CreateFeedRequest, - com.google.cloud.asset.v1.Feed>( - this, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.GetFeedRequest, - com.google.cloud.asset.v1.Feed>( - this, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListFeedsRequest, - com.google.cloud.asset.v1.ListFeedsResponse>( - this, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.UpdateFeedRequest, - com.google.cloud.asset.v1.Feed>( - this, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteFeedRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_FEED))) - .addMethod( - getSearchAllResourcesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.SearchAllResourcesRequest, - com.google.cloud.asset.v1.SearchAllResourcesResponse>( - this, METHODID_SEARCH_ALL_RESOURCES))) - .addMethod( - getSearchAllIamPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest, - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse>( - this, METHODID_SEARCH_ALL_IAM_POLICIES))) - .addMethod( - getAnalyzeIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse>( - this, METHODID_ANALYZE_IAM_POLICY))) - .addMethod( - getAnalyzeIamPolicyLongrunningMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest, - com.google.longrunning.Operation>( - this, METHODID_ANALYZE_IAM_POLICY_LONGRUNNING))) - .addMethod( - getAnalyzeMoveMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.AnalyzeMoveRequest, - com.google.cloud.asset.v1.AnalyzeMoveResponse>( - this, METHODID_ANALYZE_MOVE))) - .addMethod( - getCreateSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.CreateSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>( - this, METHODID_CREATE_SAVED_QUERY))) - .addMethod( - getGetSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.GetSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>( - this, METHODID_GET_SAVED_QUERY))) - .addMethod( - getListSavedQueriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.ListSavedQueriesRequest, - com.google.cloud.asset.v1.ListSavedQueriesResponse>( - this, METHODID_LIST_SAVED_QUERIES))) - .addMethod( - getUpdateSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.UpdateSavedQueryRequest, - com.google.cloud.asset.v1.SavedQuery>( - this, METHODID_UPDATE_SAVED_QUERY))) - .addMethod( - getDeleteSavedQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.DeleteSavedQueryRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_SAVED_QUERY))) - .addMethod( - getBatchGetEffectiveIamPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest, - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse>( - this, METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES))) - .build(); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - - /** - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public void exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public void listAssets(com.google.cloud.asset.v1.ListAssetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public void batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed(com.google.cloud.asset.v1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed(com.google.cloud.asset.v1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public void searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public void analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public void analyzeIamPolicyLongrunning(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public void analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public void createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about a saved query.
-     * 
- */ - public void getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public void listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a saved query.
-     * 
- */ - public void updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a saved query.
-     * 
- */ - public void deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public void batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public com.google.longrunning.Operation exportAssets(com.google.cloud.asset.v1.ExportAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportAssetsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public com.google.cloud.asset.v1.ListAssetsResponse listAssets(com.google.cloud.asset.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAssetsMethod(), getCallOptions(), request); - } - - /** - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse batchGetAssetsHistory(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetAssetsHistoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.cloud.asset.v1.Feed createFeed(com.google.cloud.asset.v1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.cloud.asset.v1.Feed getFeed(com.google.cloud.asset.v1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1.ListFeedsResponse listFeeds(com.google.cloud.asset.v1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFeedsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.cloud.asset.v1.Feed updateFeed(com.google.cloud.asset.v1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.protobuf.Empty deleteFeed(com.google.cloud.asset.v1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.cloud.asset.v1.SearchAllResourcesResponse searchAllResources(com.google.cloud.asset.v1.SearchAllResourcesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchAllResourcesMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse searchAllIamPolicies(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchAllIamPoliciesMethod(), getCallOptions(), request); - } - - /** - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse analyzeIamPolicy(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public com.google.longrunning.Operation analyzeIamPolicyLongrunning(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeIamPolicyLongrunningMethod(), getCallOptions(), request); - } - - /** - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public com.google.cloud.asset.v1.AnalyzeMoveResponse analyzeMove(com.google.cloud.asset.v1.AnalyzeMoveRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeMoveMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1.SavedQuery createSavedQuery(com.google.cloud.asset.v1.CreateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSavedQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about a saved query.
-     * 
- */ - public com.google.cloud.asset.v1.SavedQuery getSavedQuery(com.google.cloud.asset.v1.GetSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSavedQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1.ListSavedQueriesResponse listSavedQueries(com.google.cloud.asset.v1.ListSavedQueriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSavedQueriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a saved query.
-     * 
- */ - public com.google.cloud.asset.v1.SavedQuery updateSavedQuery(com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSavedQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a saved query.
-     * 
- */ - public com.google.protobuf.Empty deleteSavedQuery(com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSavedQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse batchGetEffectiveIamPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetEffectiveIamPoliciesMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Exports assets with time and resource types to a given Cloud Storage
-     * location/BigQuery table. For Cloud Storage location destinations, the
-     * output format is newline-delimited JSON. Each line represents a
-     * [google.cloud.asset.v1.Asset][google.cloud.asset.v1.Asset] in the JSON
-     * format; for BigQuery table destinations, the output table stores the fields
-     * in asset Protobuf as columns. This API implements the
-     * [google.longrunning.Operation][google.longrunning.Operation] API, which
-     * allows you to keep track of the export. We recommend intervals of at least
-     * 2 seconds with exponential retry to poll the export operation result. For
-     * regular-size resource parent, the export operation usually finishes within
-     * 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportAssets( - com.google.cloud.asset.v1.ExportAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportAssetsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists assets with time and resource types and returns paged results in
-     * response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAssets( - com.google.cloud.asset.v1.ListAssetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAssetsMethod(), getCallOptions()), request); - } - - /** - *
-     * Batch gets the update history of assets that overlap a time window.
-     * For IAM_POLICY content, this API outputs history when the asset and its
-     * attached IAM POLICY both exist. This can create gaps in the output history.
-     * Otherwise, this API outputs history with asset in both non-delete or
-     * deleted status.
-     * If a specified asset does not exist, this API returns an INVALID_ARGUMENT
-     * error.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchGetAssetsHistory( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetAssetsHistoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createFeed( - com.google.cloud.asset.v1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFeed( - com.google.cloud.asset.v1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFeeds( - com.google.cloud.asset.v1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateFeed( - com.google.cloud.asset.v1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFeed( - com.google.cloud.asset.v1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches all Cloud resources within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllResources` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchAllResources( - com.google.cloud.asset.v1.SearchAllResourcesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchAllResourcesMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches all IAM policies within the specified scope, such as a project,
-     * folder, or organization. The caller must be granted the
-     * `cloudasset.assets.searchAllIamPolicies` permission on the desired scope,
-     * otherwise the request will be rejected.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchAllIamPolicies( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchAllIamPoliciesMethod(), getCallOptions()), request); - } - - /** - *
-     * Analyzes IAM policies to answer which identities have what accesses on
-     * which resources.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeIamPolicy( - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Analyzes IAM policies asynchronously to answer which identities have what
-     * accesses on which resources, and writes the analysis results to a Google
-     * Cloud Storage or a BigQuery destination. For Cloud Storage destination, the
-     * output format is the JSON format that represents a
-     * [AnalyzeIamPolicyResponse][google.cloud.asset.v1.AnalyzeIamPolicyResponse].
-     * This method implements the
-     * [google.longrunning.Operation][google.longrunning.Operation], which allows
-     * you to track the operation status. We recommend intervals of at least 2
-     * seconds with exponential backoff retry to poll the operation result. The
-     * metadata contains the metadata for the long-running operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeIamPolicyLongrunning( - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyLongrunningMethod(), getCallOptions()), request); - } - - /** - *
-     * Analyze moving a resource to a specified destination without kicking off
-     * the actual move. The analysis is best effort depending on the user's
-     * permissions of viewing different hierarchical policies and configurations.
-     * The policies and configuration are subject to change before the actual
-     * resource migration takes place.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeMove( - com.google.cloud.asset.v1.AnalyzeMoveRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeMoveMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a saved query in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSavedQuery( - com.google.cloud.asset.v1.CreateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSavedQueryMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about a saved query.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getSavedQuery( - com.google.cloud.asset.v1.GetSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSavedQueryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all saved queries in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSavedQueries( - com.google.cloud.asset.v1.ListSavedQueriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSavedQueriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a saved query.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateSavedQuery( - com.google.cloud.asset.v1.UpdateSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSavedQueryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a saved query.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteSavedQuery( - com.google.cloud.asset.v1.DeleteSavedQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSavedQueryMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets effective IAM policies for a batch of resources.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchGetEffectiveIamPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetEffectiveIamPoliciesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXPORT_ASSETS = 0; - private static final int METHODID_LIST_ASSETS = 1; - private static final int METHODID_BATCH_GET_ASSETS_HISTORY = 2; - private static final int METHODID_CREATE_FEED = 3; - private static final int METHODID_GET_FEED = 4; - private static final int METHODID_LIST_FEEDS = 5; - private static final int METHODID_UPDATE_FEED = 6; - private static final int METHODID_DELETE_FEED = 7; - private static final int METHODID_SEARCH_ALL_RESOURCES = 8; - private static final int METHODID_SEARCH_ALL_IAM_POLICIES = 9; - private static final int METHODID_ANALYZE_IAM_POLICY = 10; - private static final int METHODID_ANALYZE_IAM_POLICY_LONGRUNNING = 11; - private static final int METHODID_ANALYZE_MOVE = 12; - private static final int METHODID_CREATE_SAVED_QUERY = 13; - private static final int METHODID_GET_SAVED_QUERY = 14; - private static final int METHODID_LIST_SAVED_QUERIES = 15; - private static final int METHODID_UPDATE_SAVED_QUERY = 16; - private static final int METHODID_DELETE_SAVED_QUERY = 17; - private static final int METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES = 18; - - 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 AssetServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AssetServiceImplBase 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_EXPORT_ASSETS: - serviceImpl.exportAssets((com.google.cloud.asset.v1.ExportAssetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ASSETS: - serviceImpl.listAssets((com.google.cloud.asset.v1.ListAssetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_ASSETS_HISTORY: - serviceImpl.batchGetAssetsHistory((com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_FEED: - serviceImpl.createFeed((com.google.cloud.asset.v1.CreateFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FEED: - serviceImpl.getFeed((com.google.cloud.asset.v1.GetFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FEEDS: - serviceImpl.listFeeds((com.google.cloud.asset.v1.ListFeedsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_FEED: - serviceImpl.updateFeed((com.google.cloud.asset.v1.UpdateFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_FEED: - serviceImpl.deleteFeed((com.google.cloud.asset.v1.DeleteFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_ALL_RESOURCES: - serviceImpl.searchAllResources((com.google.cloud.asset.v1.SearchAllResourcesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_ALL_IAM_POLICIES: - serviceImpl.searchAllIamPolicies((com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ANALYZE_IAM_POLICY: - serviceImpl.analyzeIamPolicy((com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ANALYZE_IAM_POLICY_LONGRUNNING: - serviceImpl.analyzeIamPolicyLongrunning((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ANALYZE_MOVE: - serviceImpl.analyzeMove((com.google.cloud.asset.v1.AnalyzeMoveRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SAVED_QUERY: - serviceImpl.createSavedQuery((com.google.cloud.asset.v1.CreateSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SAVED_QUERY: - serviceImpl.getSavedQuery((com.google.cloud.asset.v1.GetSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SAVED_QUERIES: - serviceImpl.listSavedQueries((com.google.cloud.asset.v1.ListSavedQueriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SAVED_QUERY: - serviceImpl.updateSavedQuery((com.google.cloud.asset.v1.UpdateSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SAVED_QUERY: - serviceImpl.deleteSavedQuery((com.google.cloud.asset.v1.DeleteSavedQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_EFFECTIVE_IAM_POLICIES: - serviceImpl.batchGetEffectiveIamPolicies((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) 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 AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AssetServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AssetService"); - } - } - - private static final class AssetServiceFileDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier { - AssetServiceFileDescriptorSupplier() {} - } - - private static final class AssetServiceMethodDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getExportAssetsMethod()) - .addMethod(getListAssetsMethod()) - .addMethod(getBatchGetAssetsHistoryMethod()) - .addMethod(getCreateFeedMethod()) - .addMethod(getGetFeedMethod()) - .addMethod(getListFeedsMethod()) - .addMethod(getUpdateFeedMethod()) - .addMethod(getDeleteFeedMethod()) - .addMethod(getSearchAllResourcesMethod()) - .addMethod(getSearchAllIamPoliciesMethod()) - .addMethod(getAnalyzeIamPolicyMethod()) - .addMethod(getAnalyzeIamPolicyLongrunningMethod()) - .addMethod(getAnalyzeMoveMethod()) - .addMethod(getCreateSavedQueryMethod()) - .addMethod(getGetSavedQueryMethod()) - .addMethod(getListSavedQueriesMethod()) - .addMethod(getUpdateSavedQueryMethod()) - .addMethod(getDeleteSavedQueryMethod()) - .addMethod(getBatchGetEffectiveIamPoliciesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java deleted file mode 100644 index e2d8e4d00..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface AnalyzeIamPolicyLongrunningResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java deleted file mode 100644 index 15788a15d..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java +++ /dev/null @@ -1,504 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/assets.proto - -package com.google.cloud.asset.v1; - -public final class AssetProto { - private AssetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1_TemporalAsset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_TimeWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_Asset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedAssets_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedAsset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_VersionedResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AttachedResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedResources_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_RelatedResource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_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/asset/v1/assets.proto\022\025go" + - "ogle.cloud.asset.v1\032\037google/api/field_be" + - "havior.proto\032\031google/api/resource.proto\032" + - ")google/cloud/orgpolicy/v1/orgpolicy.pro" + - "to\032(google/cloud/osconfig/v1/inventory.p" + - "roto\032\032google/iam/v1/policy.proto\032:google" + - "/identity/accesscontextmanager/v1/access" + - "_level.proto\032;google/identity/accesscont" + - "extmanager/v1/access_policy.proto\032?googl" + - "e/identity/accesscontextmanager/v1/servi" + - "ce_perimeter.proto\032\034google/protobuf/stru" + - "ct.proto\032\037google/protobuf/timestamp.prot" + - "o\032\025google/rpc/code.proto\"\365\002\n\rTemporalAss" + - "et\0221\n\006window\030\001 \001(\0132!.google.cloud.asset." + - "v1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\022+\n\005asset\030" + - "\003 \001(\0132\034.google.cloud.asset.v1.Asset\022O\n\021p" + - "rior_asset_state\030\004 \001(\01624.google.cloud.as" + - "set.v1.TemporalAsset.PriorAssetState\0221\n\013" + - "prior_asset\030\005 \001(\0132\034.google.cloud.asset.v" + - "1.Asset\"o\n\017PriorAssetState\022!\n\035PRIOR_ASSE" + - "T_STATE_UNSPECIFIED\020\000\022\013\n\007PRESENT\020\001\022\013\n\007IN" + - "VALID\020\002\022\022\n\016DOES_NOT_EXIST\020\003\022\013\n\007DELETED\020\004" + - "\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + - "2\032.google.protobuf.Timestamp\"\363\005\n\005Asset\022/" + - "\n\013update_time\030\013 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" + - "\t\0221\n\010resource\030\003 \001(\0132\037.google.cloud.asset" + - ".v1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.googl" + - "e.iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.go" + - "ogle.cloud.orgpolicy.v1.Policy\022N\n\raccess" + - "_policy\030\007 \001(\01325.google.identity.accessco" + - "ntextmanager.v1.AccessPolicyH\000\022L\n\014access" + - "_level\030\010 \001(\01324.google.identity.accesscon" + - "textmanager.v1.AccessLevelH\000\022V\n\021service_" + - "perimeter\030\t \001(\01329.google.identity.access" + - "contextmanager.v1.ServicePerimeterH\000\0229\n\014" + - "os_inventory\030\014 \001(\0132#.google.cloud.osconf" + - "ig.v1.Inventory\022@\n\016related_assets\030\r \001(\0132" + - "$.google.cloud.asset.v1.RelatedAssetsB\002\030" + - "\001\022:\n\rrelated_asset\030\017 \001(\0132#.google.cloud." + - "asset.v1.RelatedAsset\022\021\n\tancestors\030\n \003(\t" + - ":\'\352A$\n\037cloudasset.googleapis.com/Asset\022\001" + - "*B\027\n\025access_context_policy\"\262\001\n\010Resource\022" + - "\017\n\007version\030\001 \001(\t\022\036\n\026discovery_document_u" + - "ri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014reso" + - "urce_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006" + - " \001(\0132\027.google.protobuf.Struct\022\020\n\010locatio" + - "n\030\010 \001(\t\"\230\001\n\rRelatedAssets\022N\n\027relationshi" + - "p_attributes\030\001 \001(\0132-.google.cloud.asset." + - "v1.RelationshipAttributes\0223\n\006assets\030\002 \003(" + - "\0132#.google.cloud.asset.v1.RelatedAsset:\002" + - "\030\001\"v\n\026RelationshipAttributes\022\014\n\004type\030\004 \001" + - "(\t\022\034\n\024source_resource_type\030\001 \001(\t\022\034\n\024targ" + - "et_resource_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t:\002" + - "\030\001\"\205\001\n\014RelatedAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n" + - "\037cloudasset.googleapis.com/Asset\022\022\n\nasse" + - "t_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\t\022\031\n\021relat" + - "ionship_type\030\004 \001(\t\"\262\007\n\024ResourceSearchRes" + - "ult\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n" + - "\007project\030\003 \001(\t\022\017\n\007folders\030\021 \003(\t\022\024\n\014organ" + - "ization\030\022 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013d" + - "escription\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\022G\n\006la" + - "bels\030\007 \003(\01327.google.cloud.asset.v1.Resou" + - "rceSearchResult.LabelsEntry\022\024\n\014network_t" + - "ags\030\010 \003(\t\022\017\n\007kms_key\030\n \001(\t\022/\n\013create_tim" + - "e\030\013 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" + - "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" + - "tamp\022\r\n\005state\030\r \001(\t\0226\n\025additional_attrib" + - "utes\030\t \001(\0132\027.google.protobuf.Struct\022!\n\031p" + - "arent_full_resource_name\030\023 \001(\t\022E\n\023versio" + - "ned_resources\030\020 \003(\0132(.google.cloud.asset" + - ".v1.VersionedResource\022C\n\022attached_resour" + - "ces\030\024 \003(\0132\'.google.cloud.asset.v1.Attach" + - "edResource\022U\n\rrelationships\030\025 \003(\0132>.goog" + - "le.cloud.asset.v1.ResourceSearchResult.R" + - "elationshipsEntry\022\020\n\010tag_keys\030\027 \003(\t\022\022\n\nt" + - "ag_values\030\031 \003(\t\022\025\n\rtag_value_ids\030\032 \003(\t\022\031" + - "\n\021parent_asset_type\030g \001(\t\032-\n\013LabelsEntry" + - "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032]\n\022Rela" + - "tionshipsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001" + - "(\0132\'.google.cloud.asset.v1.RelatedResour" + - "ces:\0028\001\"O\n\021VersionedResource\022\017\n\007version\030" + - "\001 \001(\t\022)\n\010resource\030\002 \001(\0132\027.google.protobu" + - "f.Struct\"m\n\020AttachedResource\022\022\n\nasset_ty" + - "pe\030\001 \001(\t\022E\n\023versioned_resources\030\003 \003(\0132(." + - "google.cloud.asset.v1.VersionedResource\"" + - "U\n\020RelatedResources\022A\n\021related_resources" + - "\030\001 \003(\0132&.google.cloud.asset.v1.RelatedRe" + - "source\"A\n\017RelatedResource\022\022\n\nasset_type\030" + - "\001 \001(\t\022\032\n\022full_resource_name\030\002 \001(\t\"\217\004\n\025Ia" + - "mPolicySearchResult\022\020\n\010resource\030\001 \001(\t\022\022\n" + - "\nasset_type\030\005 \001(\t\022\017\n\007project\030\002 \001(\t\022\017\n\007fo" + - "lders\030\006 \003(\t\022\024\n\014organization\030\007 \001(\t\022%\n\006pol" + - "icy\030\003 \001(\0132\025.google.iam.v1.Policy\022M\n\013expl" + - "anation\030\004 \001(\01328.google.cloud.asset.v1.Ia" + - "mPolicySearchResult.Explanation\032\241\002\n\013Expl" + - "anation\022m\n\023matched_permissions\030\001 \003(\0132P.g" + - "oogle.cloud.asset.v1.IamPolicySearchResu" + - "lt.Explanation.MatchedPermissionsEntry\032\"" + - "\n\013Permissions\022\023\n\013permissions\030\001 \003(\t\032\177\n\027Ma" + - "tchedPermissionsEntry\022\013\n\003key\030\001 \001(\t\022S\n\005va" + - "lue\030\002 \001(\0132D.google.cloud.asset.v1.IamPol" + - "icySearchResult.Explanation.Permissions:" + - "\0028\001\"G\n\026IamPolicyAnalysisState\022\036\n\004code\030\001 " + - "\001(\0162\020.google.rpc.Code\022\r\n\005cause\030\002 \001(\t\"\306\001\n" + - "\023ConditionEvaluation\022T\n\020evaluation_value" + - "\030\001 \001(\0162:.google.cloud.asset.v1.Condition" + - "Evaluation.EvaluationValue\"Y\n\017Evaluation" + - "Value\022 \n\034EVALUATION_VALUE_UNSPECIFIED\020\000\022" + - "\010\n\004TRUE\020\001\022\t\n\005FALSE\020\002\022\017\n\013CONDITIONAL\020\003\"\253\t" + - "\n\027IamPolicyAnalysisResult\022#\n\033attached_re" + - "source_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 " + - "\001(\0132\026.google.iam.v1.Binding\022^\n\024access_co" + - "ntrol_lists\030\003 \003(\0132@.google.cloud.asset.v" + - "1.IamPolicyAnalysisResult.AccessControlL" + - "ist\022R\n\ridentity_list\030\004 \001(\0132;.google.clou" + - "d.asset.v1.IamPolicyAnalysisResult.Ident" + - "ityList\022\026\n\016fully_explored\030\005 \001(\010\032m\n\010Resou" + - "rce\022\032\n\022full_resource_name\030\001 \001(\t\022E\n\016analy" + - "sis_state\030\002 \001(\0132-.google.cloud.asset.v1." + - "IamPolicyAnalysisState\032\205\001\n\006Access\022\016\n\004rol" + - "e\030\001 \001(\tH\000\022\024\n\npermission\030\002 \001(\tH\000\022E\n\016analy" + - "sis_state\030\003 \001(\0132-.google.cloud.asset.v1." + - "IamPolicyAnalysisStateB\016\n\014oneof_access\032_" + - "\n\010Identity\022\014\n\004name\030\001 \001(\t\022E\n\016analysis_sta" + - "te\030\002 \001(\0132-.google.cloud.asset.v1.IamPoli" + - "cyAnalysisState\0320\n\004Edge\022\023\n\013source_node\030\001" + - " \001(\t\022\023\n\013target_node\030\002 \001(\t\032\277\002\n\021AccessCont" + - "rolList\022J\n\tresources\030\001 \003(\01327.google.clou" + - "d.asset.v1.IamPolicyAnalysisResult.Resou" + - "rce\022G\n\010accesses\030\002 \003(\01325.google.cloud.ass" + - "et.v1.IamPolicyAnalysisResult.Access\022K\n\016" + - "resource_edges\030\003 \003(\01323.google.cloud.asse" + - "t.v1.IamPolicyAnalysisResult.Edge\022H\n\024con" + - "dition_evaluation\030\004 \001(\0132*.google.cloud.a" + - "sset.v1.ConditionEvaluation\032\245\001\n\014Identity" + - "List\022K\n\nidentities\030\001 \003(\01327.google.cloud." + - "asset.v1.IamPolicyAnalysisResult.Identit" + - "y\022H\n\013group_edges\030\002 \003(\01323.google.cloud.as" + - "set.v1.IamPolicyAnalysisResult.EdgeB\230\001\n\031" + - "com.google.cloud.asset.v1B\nAssetProtoP\001Z" + - ":google.golang.org/genproto/googleapis/c" + - "loud/asset/v1;asset\370\001\001\252\002\025Google.Cloud.As" + - "set.V1\312\002\025Google\\Cloud\\Asset\\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.orgpolicy.v1.OrgPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1.Inventories.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1_TemporalAsset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TemporalAsset_descriptor, - new java.lang.String[] { "Window", "Deleted", "Asset", "PriorAssetState", "PriorAsset", }); - internal_static_google_cloud_asset_v1_TimeWindow_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_TimeWindow_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_asset_v1_Asset_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Asset_descriptor, - new java.lang.String[] { "UpdateTime", "Name", "AssetType", "Resource", "IamPolicy", "OrgPolicy", "AccessPolicy", "AccessLevel", "ServicePerimeter", "OsInventory", "RelatedAssets", "RelatedAsset", "Ancestors", "AccessContextPolicy", }); - internal_static_google_cloud_asset_v1_Resource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Resource_descriptor, - new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", "Location", }); - internal_static_google_cloud_asset_v1_RelatedAssets_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedAssets_descriptor, - new java.lang.String[] { "RelationshipAttributes", "Assets", }); - internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor, - new java.lang.String[] { "Type", "SourceResourceType", "TargetResourceType", "Action", }); - internal_static_google_cloud_asset_v1_RelatedAsset_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedAsset_descriptor, - new java.lang.String[] { "Asset", "AssetType", "Ancestors", "RelationshipType", }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor, - new java.lang.String[] { "Name", "AssetType", "Project", "Folders", "Organization", "DisplayName", "Description", "Location", "Labels", "NetworkTags", "KmsKey", "CreateTime", "UpdateTime", "State", "AdditionalAttributes", "ParentFullResourceName", "VersionedResources", "AttachedResources", "Relationships", "TagKeys", "TagValues", "TagValueIds", "ParentAssetType", }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor = - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor = - internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1_VersionedResource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_VersionedResource_descriptor, - new java.lang.String[] { "Version", "Resource", }); - internal_static_google_cloud_asset_v1_AttachedResource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AttachedResource_descriptor, - new java.lang.String[] { "AssetType", "VersionedResources", }); - internal_static_google_cloud_asset_v1_RelatedResources_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedResources_descriptor, - new java.lang.String[] { "RelatedResources", }); - internal_static_google_cloud_asset_v1_RelatedResource_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_RelatedResource_descriptor, - new java.lang.String[] { "AssetType", "FullResourceName", }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor, - new java.lang.String[] { "Resource", "AssetType", "Project", "Folders", "Organization", "Policy", "Explanation", }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor = - internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor, - new java.lang.String[] { "MatchedPermissions", }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor = - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor, - new java.lang.String[] { "Permissions", }); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor, - new java.lang.String[] { "Code", "Cause", }); - internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor, - new java.lang.String[] { "EvaluationValue", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor, - new java.lang.String[] { "AttachedResourceFullName", "IamBinding", "AccessControlLists", "IdentityList", "FullyExplored", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor, - new java.lang.String[] { "FullResourceName", "AnalysisState", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor, - new java.lang.String[] { "Role", "Permission", "AnalysisState", "OneofAccess", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor, - new java.lang.String[] { "Name", "AnalysisState", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor, - new java.lang.String[] { "SourceNode", "TargetNode", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor, - new java.lang.String[] { "Resources", "Accesses", "ResourceEdges", "ConditionEvaluation", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor, - new java.lang.String[] { "Identities", "GroupEdges", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1.Inventories.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java deleted file mode 100644 index e3e388177..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java +++ /dev/null @@ -1,1034 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_OutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_OutputResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GcsDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_Feed_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SavedQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_MoveImpact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_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/asset/v1/asset_service.pr" + - "oto\022\025google.cloud.asset.v1\032\034google/api/a" + - "nnotations.proto\032\027google/api/client.prot" + - "o\032\037google/api/field_behavior.proto\032\031goog" + - "le/api/resource.proto\032\"google/cloud/asse" + - "t/v1/assets.proto\032\032google/iam/v1/policy." + - "proto\032#google/longrunning/operations.pro" + - "to\032\036google/protobuf/duration.proto\032\033goog" + - "le/protobuf/empty.proto\032 google/protobuf" + - "/field_mask.proto\032\037google/protobuf/times" + - "tamp.proto\032\027google/rpc/status.proto\032\026goo" + - "gle/type/expr.proto\"[\n#AnalyzeIamPolicyL" + - "ongrunningMetadata\0224\n\013create_time\030\001 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\"\251\002\n\023Exp" + - "ortAssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!" + - "\022\037cloudasset.googleapis.com/Asset\022-\n\trea" + - "d_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "\022\023\n\013asset_types\030\003 \003(\t\0228\n\014content_type\030\004 " + - "\001(\0162\".google.cloud.asset.v1.ContentType\022" + - "?\n\routput_config\030\005 \001(\0132#.google.cloud.as" + - "set.v1.OutputConfigB\003\340A\002\022\032\n\022relationship" + - "_types\030\006 \003(\t\"\275\001\n\024ExportAssetsResponse\022-\n" + - "\tread_time\030\001 \001(\0132\032.google.protobuf.Times" + - "tamp\022:\n\routput_config\030\002 \001(\0132#.google.clo" + - "ud.asset.v1.OutputConfig\022:\n\routput_resul" + - "t\030\003 \001(\0132#.google.cloud.asset.v1.OutputRe" + - "sult\"\215\002\n\021ListAssetsRequest\0227\n\006parent\030\001 \001" + - "(\tB\'\340A\002\372A!\022\037cloudasset.googleapis.com/As" + - "set\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf" + - ".Timestamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014conte" + - "nt_type\030\004 \001(\0162\".google.cloud.asset.v1.Co" + - "ntentType\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_tok" + - "en\030\006 \001(\t\022\032\n\022relationship_types\030\007 \003(\t\"\212\001\n" + - "\022ListAssetsResponse\022-\n\tread_time\030\001 \001(\0132\032" + - ".google.protobuf.Timestamp\022,\n\006assets\030\002 \003" + - "(\0132\034.google.cloud.asset.v1.Asset\022\027\n\017next" + - "_page_token\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHist" + - "oryRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037clou" + - "dasset.googleapis.com/Asset\022\023\n\013asset_nam" + - "es\030\002 \003(\t\022=\n\014content_type\030\003 \001(\0162\".google." + - "cloud.asset.v1.ContentTypeB\003\340A\001\022@\n\020read_" + - "time_window\030\004 \001(\0132!.google.cloud.asset.v" + - "1.TimeWindowB\003\340A\001\022\037\n\022relationship_types\030" + - "\005 \003(\tB\003\340A\001\"U\n\035BatchGetAssetsHistoryRespo" + - "nse\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset" + - ".v1.TemporalAsset\"n\n\021CreateFeedRequest\022\023" + - "\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A" + - "\002\022.\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1." + - "FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001(" + - "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" + - "d\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340" + - "A\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(\0132\033" + - ".google.cloud.asset.v1.Feed\"y\n\021UpdateFee" + - "dRequest\022.\n\004feed\030\001 \001(\0132\033.google.cloud.as" + - "set.v1.FeedB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032." + - "google.protobuf.FieldMaskB\003\340A\002\"I\n\021Delete" + - "FeedRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + - "asset.googleapis.com/Feed\"\253\001\n\014OutputConf" + - "ig\022@\n\017gcs_destination\030\001 \001(\0132%.google.clo" + - "ud.asset.v1.GcsDestinationH\000\022J\n\024bigquery" + - "_destination\030\002 \001(\0132*.google.cloud.asset." + - "v1.BigQueryDestinationH\000B\r\n\013destination\"" + - "V\n\014OutputResult\022<\n\ngcs_result\030\001 \001(\0132&.go" + - "ogle.cloud.asset.v1.GcsOutputResultH\000B\010\n" + - "\006result\"\037\n\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t" + - "\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri" + - "_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\264\001\n\023BigQue" + - "ryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005t" + - "able\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partit" + - "ion_spec\030\004 \001(\0132$.google.cloud.asset.v1.P" + - "artitionSpec\022&\n\036separate_tables_per_asse" + - "t_type\030\005 \001(\010\"\251\001\n\rPartitionSpec\022H\n\rpartit" + - "ion_key\030\001 \001(\01621.google.cloud.asset.v1.Pa" + - "rtitionSpec.PartitionKey\"N\n\014PartitionKey" + - "\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_" + - "TIME\020\001\022\020\n\014REQUEST_TIME\020\002\"\"\n\021PubsubDestin" + - "ation\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutputConfig" + - "\022F\n\022pubsub_destination\030\001 \001(\0132(.google.cl" + - "oud.asset.v1.PubsubDestinationH\000B\r\n\013dest" + - "ination\"\235\003\n\004Feed\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013a" + - "sset_names\030\002 \003(\t\022\023\n\013asset_types\030\003 \003(\t\0228\n" + - "\014content_type\030\004 \001(\0162\".google.cloud.asset" + - ".v1.ContentType\022H\n\022feed_output_config\030\005 " + - "\001(\0132\'.google.cloud.asset.v1.FeedOutputCo" + - "nfigB\003\340A\002\022$\n\tcondition\030\006 \001(\0132\021.google.ty" + - "pe.Expr\022\032\n\022relationship_types\030\007 \003(\t:\221\001\352A" + - "\215\001\n\036cloudasset.googleapis.com/Feed\022\037proj" + - "ects/{project}/feeds/{feed}\022\035folders/{fo" + - "lder}/feeds/{feed}\022)organizations/{organ" + - "ization}/feeds/{feed} \001\"\331\001\n\031SearchAllRes" + - "ourcesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005que" + - "ry\030\002 \001(\tB\003\340A\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022" + - "\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 " + - "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0222\n\tread_" + - "mask\030\010 \001(\0132\032.google.protobuf.FieldMaskB\003" + - "\340A\001\"s\n\032SearchAllResourcesResponse\022<\n\007res" + - "ults\030\001 \003(\0132+.google.cloud.asset.v1.Resou" + - "rceSearchResult\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\247\001\n\033SearchAllIamPoliciesRequest\022\022\n\005scop" + - "e\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage" + - "_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A" + - "\001\022\030\n\013asset_types\030\005 \003(\tB\003\340A\001\022\025\n\010order_by\030" + - "\007 \001(\tB\003\340A\001\"v\n\034SearchAllIamPoliciesRespon" + - "se\022=\n\007results\030\001 \003(\0132,.google.cloud.asset" + - ".v1.IamPolicySearchResult\022\027\n\017next_page_t" + - "oken\030\002 \001(\t\"\306\007\n\026IamPolicyAnalysisQuery\022\022\n" + - "\005scope\030\001 \001(\tB\003\340A\002\022^\n\021resource_selector\030\002" + - " \001(\0132>.google.cloud.asset.v1.IamPolicyAn" + - "alysisQuery.ResourceSelectorB\003\340A\001\022^\n\021ide" + - "ntity_selector\030\003 \001(\0132>.google.cloud.asse" + - "t.v1.IamPolicyAnalysisQuery.IdentitySele" + - "ctorB\003\340A\001\022Z\n\017access_selector\030\004 \001(\0132<.goo" + - "gle.cloud.asset.v1.IamPolicyAnalysisQuer" + - "y.AccessSelectorB\003\340A\001\022K\n\007options\030\005 \001(\01325" + - ".google.cloud.asset.v1.IamPolicyAnalysis" + - "Query.OptionsB\003\340A\001\022^\n\021condition_context\030" + - "\006 \001(\0132>.google.cloud.asset.v1.IamPolicyA" + - "nalysisQuery.ConditionContextB\003\340A\001\0323\n\020Re" + - "sourceSelector\022\037\n\022full_resource_name\030\001 \001" + - "(\tB\003\340A\002\032)\n\020IdentitySelector\022\025\n\010identity\030" + - "\001 \001(\tB\003\340A\002\032>\n\016AccessSelector\022\022\n\005roles\030\001 " + - "\003(\tB\003\340A\001\022\030\n\013permissions\030\002 \003(\tB\003\340A\001\032\330\001\n\007O" + - "ptions\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n\014ex" + - "pand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resource" + - "s\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges\030\004 " + - "\001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B\003\340A" + - "\001\0222\n%analyze_service_account_impersonati" + - "on\030\006 \001(\010B\003\340A\001\032T\n\020ConditionContext\0221\n\013acc" + - "ess_time\030\001 \001(\0132\032.google.protobuf.Timesta" + - "mpH\000B\r\n\013TimeContext\"\303\001\n\027AnalyzeIamPolicy" + - "Request\022J\n\016analysis_query\030\001 \001(\0132-.google" + - ".cloud.asset.v1.IamPolicyAnalysisQueryB\003" + - "\340A\002\022!\n\024saved_analysis_query\030\003 \001(\tB\003\340A\001\0229" + - "\n\021execution_timeout\030\002 \001(\0132\031.google.proto" + - "buf.DurationB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyRe" + - "sponse\022X\n\rmain_analysis\030\001 \001(\0132A.google.c" + - "loud.asset.v1.AnalyzeIamPolicyResponse.I" + - "amPolicyAnalysis\022q\n&service_account_impe" + - "rsonation_analysis\030\002 \003(\0132A.google.cloud." + - "asset.v1.AnalyzeIamPolicyResponse.IamPol" + - "icyAnalysis\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021" + - "IamPolicyAnalysis\022E\n\016analysis_query\030\001 \001(" + - "\0132-.google.cloud.asset.v1.IamPolicyAnaly" + - "sisQuery\022H\n\020analysis_results\030\002 \003(\0132..goo" + - "gle.cloud.asset.v1.IamPolicyAnalysisResu" + - "lt\022\026\n\016fully_explored\030\003 \001(\010\022J\n\023non_critic" + - "al_errors\030\005 \003(\0132-.google.cloud.asset.v1." + - "IamPolicyAnalysisState\"\264\004\n\035IamPolicyAnal" + - "ysisOutputConfig\022^\n\017gcs_destination\030\001 \001(" + - "\0132C.google.cloud.asset.v1.IamPolicyAnaly" + - "sisOutputConfig.GcsDestinationH\000\022h\n\024bigq" + - "uery_destination\030\002 \001(\0132H.google.cloud.as" + - "set.v1.IamPolicyAnalysisOutputConfig.Big" + - "QueryDestinationH\000\032\"\n\016GcsDestination\022\020\n\003" + - "uri\030\001 \001(\tB\003\340A\002\032\225\002\n\023BigQueryDestination\022\024" + - "\n\007dataset\030\001 \001(\tB\003\340A\002\022\031\n\014table_prefix\030\002 \001" + - "(\tB\003\340A\002\022l\n\rpartition_key\030\003 \001(\0162U.google." + - "cloud.asset.v1.IamPolicyAnalysisOutputCo" + - "nfig.BigQueryDestination.PartitionKey\022\036\n" + - "\021write_disposition\030\004 \001(\tB\003\340A\001\"?\n\014Partiti" + - "onKey\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014" + - "REQUEST_TIME\020\001B\r\n\013destination\"\345\001\n\"Analyz" + - "eIamPolicyLongrunningRequest\022J\n\016analysis" + - "_query\030\001 \001(\0132-.google.cloud.asset.v1.Iam" + - "PolicyAnalysisQueryB\003\340A\002\022!\n\024saved_analys" + - "is_query\030\003 \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001" + - "(\01324.google.cloud.asset.v1.IamPolicyAnal" + - "ysisOutputConfigB\003\340A\002\"%\n#AnalyzeIamPolic" + - "yLongrunningResponse\"\267\005\n\nSavedQuery\022\014\n\004n" + - "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\013create" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\022\024\n\007creator\030\004 \001(\tB\003\340A\003\0229\n\020last_updat" + - "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\003\022\031\n\014last_updater\030\006 \001(\tB\003\340A\003\022=\n\006labe" + - "ls\030\007 \003(\0132-.google.cloud.asset.v1.SavedQu" + - "ery.LabelsEntry\022?\n\007content\030\010 \001(\0132..googl" + - "e.cloud.asset.v1.SavedQuery.QueryContent" + - "\032s\n\014QueryContent\022R\n\031iam_policy_analysis_" + - "query\030\001 \001(\0132-.google.cloud.asset.v1.IamP" + - "olicyAnalysisQueryH\000B\017\n\rquery_content\032-\n" + - "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + - ":\0028\001:\277\001\352A\273\001\n$cloudasset.googleapis.com/S" + - "avedQuery\022-projects/{project}/savedQueri" + - "es/{saved_query}\022+folders/{folder}/saved" + - "Queries/{saved_query}\0227organizations/{or" + - "ganization}/savedQueries/{saved_query}\"\261" + - "\001\n\027CreateSavedQueryRequest\022<\n\006parent\030\001 \001" + - "(\tB,\340A\002\372A&\022$cloudasset.googleapis.com/Sa" + - "vedQuery\022;\n\013saved_query\030\002 \001(\0132!.google.c" + - "loud.asset.v1.SavedQueryB\003\340A\002\022\033\n\016saved_q" + - "uery_id\030\003 \001(\tB\003\340A\002\"R\n\024GetSavedQueryReque" + - "st\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.goo" + - "gleapis.com/SavedQuery\"\235\001\n\027ListSavedQuer" + - "iesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$clou" + - "dasset.googleapis.com/SavedQuery\022\023\n\006filt" + - "er\030\004 \001(\tB\003\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + - "\npage_token\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueri" + - "esResponse\0228\n\rsaved_queries\030\001 \003(\0132!.goog" + - "le.cloud.asset.v1.SavedQuery\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"\214\001\n\027UpdateSavedQueryReques" + - "t\022;\n\013saved_query\030\001 \001(\0132!.google.cloud.as" + - "set.v1.SavedQueryB\003\340A\002\0224\n\013update_mask\030\002 " + - "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"U\n\027" + - "DeleteSavedQueryRequest\022:\n\004name\030\001 \001(\tB,\340" + - "A\002\372A&\n$cloudasset.googleapis.com/SavedQu" + - "ery\"\326\001\n\022AnalyzeMoveRequest\022\025\n\010resource\030\001" + - " \001(\tB\003\340A\002\022\037\n\022destination_parent\030\002 \001(\tB\003\340" + - "A\002\022D\n\004view\030\003 \001(\01626.google.cloud.asset.v1" + - ".AnalyzeMoveRequest.AnalysisView\"B\n\014Anal" + - "ysisView\022\035\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022" + - "\010\n\004FULL\020\001\022\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveRespo" + - "nse\022:\n\rmove_analysis\030\001 \003(\0132#.google.clou" + - "d.asset.v1.MoveAnalysis\"\222\001\n\014MoveAnalysis" + - "\022\024\n\014display_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\013" + - "2).google.cloud.asset.v1.MoveAnalysisRes" + - "ultH\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.Status" + - "H\000B\010\n\006result\"~\n\022MoveAnalysisResult\0223\n\010bl" + - "ockers\030\001 \003(\0132!.google.cloud.asset.v1.Mov" + - "eImpact\0223\n\010warnings\030\002 \003(\0132!.google.cloud" + - ".asset.v1.MoveImpact\"\034\n\nMoveImpact\022\016\n\006de" + - "tail\030\001 \001(\t\"Y\n#BatchGetEffectiveIamPolici" + - "esRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022\030\n\005n" + - "ames\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEffect" + - "iveIamPoliciesResponse\022f\n\016policy_results" + - "\030\002 \003(\0132N.google.cloud.asset.v1.BatchGetE" + - "ffectiveIamPoliciesResponse.EffectiveIam" + - "Policy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022full_re" + - "source_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132Y.go" + - "ogle.cloud.asset.v1.BatchGetEffectiveIam" + - "PoliciesResponse.EffectiveIamPolicy.Poli" + - "cyInfo\032N\n\nPolicyInfo\022\031\n\021attached_resourc" + - "e\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam.v1." + - "Policy*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_U" + - "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" + - "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n" + - "\014OS_INVENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\213\032\n\014As" + - "setService\022\336\001\n\014ExportAssets\022*.google.clo" + - "ud.asset.v1.ExportAssetsRequest\032\035.google" + - ".longrunning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{pa" + - "rent=*/*}:exportAssets:\001*\312AW\n*google.clo" + - "ud.asset.v1.ExportAssetsResponse\022)google" + - ".cloud.asset.v1.ExportAssetsRequest\022\213\001\n\n" + - "ListAssets\022(.google.cloud.asset.v1.ListA" + - "ssetsRequest\032).google.cloud.asset.v1.Lis" + - "tAssetsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*" + - "}/assets\332A\006parent\022\262\001\n\025BatchGetAssetsHist" + - "ory\0223.google.cloud.asset.v1.BatchGetAsse" + - "tsHistoryRequest\0324.google.cloud.asset.v1" + - ".BatchGetAssetsHistoryResponse\".\202\323\344\223\002(\022&" + - "/v1/{parent=*/*}:batchGetAssetsHistory\022\177" + - "\n\nCreateFeed\022(.google.cloud.asset.v1.Cre" + - "ateFeedRequest\032\033.google.cloud.asset.v1.F" + - "eed\"*\202\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A" + - "\006parent\022t\n\007GetFeed\022%.google.cloud.asset." + - "v1.GetFeedRequest\032\033.google.cloud.asset.v" + - "1.Feed\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A" + - "\004name\022\207\001\n\tListFeeds\022\'.google.cloud.asset" + - ".v1.ListFeedsRequest\032(.google.cloud.asse" + - "t.v1.ListFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{par" + - "ent=*/*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(" + - ".google.cloud.asset.v1.UpdateFeedRequest" + - "\032\033.google.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/" + - "v1/{feed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\n" + - "DeleteFeed\022(.google.cloud.asset.v1.Delet" + - "eFeedRequest\032\026.google.protobuf.Empty\"%\202\323" + - "\344\223\002\030*\026/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022" + - "SearchAllResources\0220.google.cloud.asset." + - "v1.SearchAllResourcesRequest\0321.google.cl" + - "oud.asset.v1.SearchAllResourcesResponse\"" + - "D\202\323\344\223\002$\022\"/v1/{scope=*/*}:searchAllResour" + - "ces\332A\027scope,query,asset_types\022\273\001\n\024Search" + - "AllIamPolicies\0222.google.cloud.asset.v1.S" + - "earchAllIamPoliciesRequest\0323.google.clou" + - "d.asset.v1.SearchAllIamPoliciesResponse\"" + - ":\202\323\344\223\002&\022$/v1/{scope=*/*}:searchAllIamPol" + - "icies\332A\013scope,query\022\254\001\n\020AnalyzeIamPolicy" + - "\022..google.cloud.asset.v1.AnalyzeIamPolic" + - "yRequest\032/.google.cloud.asset.v1.Analyze" + - "IamPolicyResponse\"7\202\323\344\223\0021\022//v1/{analysis" + - "_query.scope=*/*}:analyzeIamPolicy\022\270\002\n\033A" + - "nalyzeIamPolicyLongrunning\0229.google.clou" + - "d.asset.v1.AnalyzeIamPolicyLongrunningRe" + - "quest\032\035.google.longrunning.Operation\"\276\001\202" + - "\323\344\223\002?\":/v1/{analysis_query.scope=*/*}:an" + - "alyzeIamPolicyLongrunning:\001*\312Av\n9google." + - "cloud.asset.v1.AnalyzeIamPolicyLongrunni" + - "ngResponse\0229google.cloud.asset.v1.Analyz" + - "eIamPolicyLongrunningMetadata\022\214\001\n\013Analyz" + - "eMove\022).google.cloud.asset.v1.AnalyzeMov" + - "eRequest\032*.google.cloud.asset.v1.Analyze" + - "MoveResponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}" + - ":analyzeMove\022\275\001\n\020CreateSavedQuery\022..goog" + - "le.cloud.asset.v1.CreateSavedQueryReques" + - "t\032!.google.cloud.asset.v1.SavedQuery\"V\202\323" + - "\344\223\002,\"\035/v1/{parent=*/*}/savedQueries:\013sav" + - "ed_query\332A!parent,saved_query,saved_quer" + - "y_id\022\215\001\n\rGetSavedQuery\022+.google.cloud.as" + - "set.v1.GetSavedQueryRequest\032!.google.clo" + - "ud.asset.v1.SavedQuery\",\202\323\344\223\002\037\022\035/v1/{nam" + - "e=*/*/savedQueries/*}\332A\004name\022\243\001\n\020ListSav" + - "edQueries\022..google.cloud.asset.v1.ListSa" + - "vedQueriesRequest\032/.google.cloud.asset.v" + - "1.ListSavedQueriesResponse\".\202\323\344\223\002\037\022\035/v1/" + - "{parent=*/*}/savedQueries\332A\006parent\022\277\001\n\020U" + - "pdateSavedQuery\022..google.cloud.asset.v1." + - "UpdateSavedQueryRequest\032!.google.cloud.a" + - "sset.v1.SavedQuery\"X\202\323\344\223\00282)/v1/{saved_q" + - "uery.name=*/*/savedQueries/*}:\013saved_que" + - "ry\332A\027saved_query,update_mask\022\210\001\n\020DeleteS" + - "avedQuery\022..google.cloud.asset.v1.Delete" + - "SavedQueryRequest\032\026.google.protobuf.Empt" + - "y\",\202\323\344\223\002\037*\035/v1/{name=*/*/savedQueries/*}" + - "\332A\004name\022\316\001\n\034BatchGetEffectiveIamPolicies" + - "\022:.google.cloud.asset.v1.BatchGetEffecti" + - "veIamPoliciesRequest\032;.google.cloud.asse" + - "t.v1.BatchGetEffectiveIamPoliciesRespons" + - "e\"5\202\323\344\223\002/\022-/v1/{scope=*/*}/effectiveIamP" + - "olicies:batchGet\032M\312A\031cloudasset.googleap" + - "is.com\322A.https://www.googleapis.com/auth" + - "/cloud-platformB\234\001\n\031com.google.cloud.ass" + - "et.v1B\021AssetServiceProtoP\001Z:google.golan" + - "g.org/genproto/googleapis/cloud/asset/v1" + - ";asset\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\" + - "Cloud\\Asset\\V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1.AssetProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.type.ExprProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor, - new java.lang.String[] { "CreateTime", }); - internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor, - new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "OutputConfig", "RelationshipTypes", }); - internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor, - new java.lang.String[] { "ReadTime", "OutputConfig", "OutputResult", }); - internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor, - new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "PageSize", "PageToken", "RelationshipTypes", }); - internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor, - new java.lang.String[] { "ReadTime", "Assets", "NextPageToken", }); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor, - new java.lang.String[] { "Parent", "AssetNames", "ContentType", "ReadTimeWindow", "RelationshipTypes", }); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor, - new java.lang.String[] { "Assets", }); - internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor, - new java.lang.String[] { "Parent", "FeedId", "Feed", }); - internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor, - new java.lang.String[] { "Feeds", }); - internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor, - new java.lang.String[] { "Feed", "UpdateMask", }); - internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_asset_v1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_OutputConfig_descriptor, - new java.lang.String[] { "GcsDestination", "BigqueryDestination", "Destination", }); - internal_static_google_cloud_asset_v1_OutputResult_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_OutputResult_descriptor, - new java.lang.String[] { "GcsResult", "Result", }); - internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor, - new java.lang.String[] { "Uris", }); - internal_static_google_cloud_asset_v1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GcsDestination_descriptor, - new java.lang.String[] { "Uri", "UriPrefix", "ObjectUri", }); - internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor, - new java.lang.String[] { "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", }); - internal_static_google_cloud_asset_v1_PartitionSpec_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_PartitionSpec_descriptor, - new java.lang.String[] { "PartitionKey", }); - internal_static_google_cloud_asset_v1_PubsubDestination_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_PubsubDestination_descriptor, - new java.lang.String[] { "Topic", }); - internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor, - new java.lang.String[] { "PubsubDestination", "Destination", }); - internal_static_google_cloud_asset_v1_Feed_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_Feed_descriptor, - new java.lang.String[] { "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", "Condition", "RelationshipTypes", }); - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", "ReadMask", }); - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor, - new java.lang.String[] { "Results", "NextPageToken", }); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", "AssetTypes", "OrderBy", }); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor, - new java.lang.String[] { "Results", "NextPageToken", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor, - new java.lang.String[] { "Scope", "ResourceSelector", "IdentitySelector", "AccessSelector", "Options", "ConditionContext", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor, - new java.lang.String[] { "FullResourceName", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor, - new java.lang.String[] { "Identity", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor, - new java.lang.String[] { "Roles", "Permissions", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor, - new java.lang.String[] { "ExpandGroups", "ExpandRoles", "ExpandResources", "OutputResourceEdges", "OutputGroupEdges", "AnalyzeServiceAccountImpersonation", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor, - new java.lang.String[] { "AccessTime", "TimeContext", }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor, - new java.lang.String[] { "AnalysisQuery", "SavedAnalysisQuery", "ExecutionTimeout", }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor, - new java.lang.String[] { "MainAnalysis", "ServiceAccountImpersonationAnalysis", "FullyExplored", }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor = - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor, - new java.lang.String[] { "AnalysisQuery", "AnalysisResults", "FullyExplored", "NonCriticalErrors", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor, - new java.lang.String[] { "GcsDestination", "BigqueryDestination", "Destination", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor, - new java.lang.String[] { "Uri", }); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor = - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor, - new java.lang.String[] { "Dataset", "TablePrefix", "PartitionKey", "WriteDisposition", }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor, - new java.lang.String[] { "AnalysisQuery", "SavedAnalysisQuery", "OutputConfig", }); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_asset_v1_SavedQuery_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SavedQuery_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "Creator", "LastUpdateTime", "LastUpdater", "Labels", "Content", }); - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor = - internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor, - new java.lang.String[] { "IamPolicyAnalysisQuery", "QueryContent", }); - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor = - internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor, - new java.lang.String[] { "Parent", "SavedQuery", "SavedQueryId", }); - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor, - new java.lang.String[] { "SavedQueries", "NextPageToken", }); - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor, - new java.lang.String[] { "SavedQuery", "UpdateMask", }); - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor, - new java.lang.String[] { "Resource", "DestinationParent", "View", }); - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor, - new java.lang.String[] { "MoveAnalysis", }); - internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor, - new java.lang.String[] { "DisplayName", "Analysis", "Error", "Result", }); - internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor, - new java.lang.String[] { "Blockers", "Warnings", }); - internal_static_google_cloud_asset_v1_MoveImpact_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_MoveImpact_descriptor, - new java.lang.String[] { "Detail", }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor, - new java.lang.String[] { "Scope", "Names", }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor, - new java.lang.String[] { "PolicyResults", }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor = - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor, - new java.lang.String[] { "FullResourceName", "Policies", }); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor = - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor, - new java.lang.String[] { "AttachedResource", "Policy", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1.AssetProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.type.ExprProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index cf666128a..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface DeleteFeedRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.DeleteFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java deleted file mode 100644 index fb82dab26..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface GetFeedRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java deleted file mode 100644 index 66de7ef84..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface GetSavedQueryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetSavedQueryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the saved query and it must be in the format of:
-   * * projects/project_number/savedQueries/saved_query_id
-   * * folders/folder_number/savedQueries/saved_query_id
-   * * organizations/organization_number/savedQueries/saved_query_id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the saved query and it must be in the format of:
-   * * projects/project_number/savedQueries/saved_query_id
-   * * folders/folder_number/savedQueries/saved_query_id
-   * * organizations/organization_number/savedQueries/saved_query_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/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java deleted file mode 100644 index d6416c941..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1/asset_service.proto - -package com.google.cloud.asset.v1; - -public interface MoveImpactOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveImpact) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * User friendly impact detail in a free form message.
-   * 
- * - * string detail = 1; - * @return The detail. - */ - java.lang.String getDetail(); - /** - *
-   * User friendly impact detail in a free form message.
-   * 
- * - * string detail = 1; - * @return The bytes for detail. - */ - com.google.protobuf.ByteString - getDetailBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java deleted file mode 100644 index 032e6dc27..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.asset.v1; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class ProjectName implements ResourceName { - private static final PathTemplate PROJECT = - PathTemplate.createWithoutUrlEncoding("projects/{project}"); - private volatile Map fieldValuesMap; - private final String project; - - @Deprecated - protected ProjectName() { - project = null; - } - - private ProjectName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - } - - public String getProject() { - return project; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static ProjectName of(String project) { - return newBuilder().setProject(project).build(); - } - - public static String format(String project) { - return newBuilder().setProject(project).build().toString(); - } - - public static ProjectName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PROJECT.validatedMatch( - formattedString, "ProjectName.parse: formattedString not in valid format"); - return of(matchMap.get("project")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (ProjectName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PROJECT.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (project != null) { - fieldMapBuilder.put("project", project); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PROJECT.instantiate("project", project); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - ProjectName that = ((ProjectName) o); - return Objects.equals(this.project, that.project); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(project); - return h; - } - - /** Builder for projects/{project}. */ - public static class Builder { - private String project; - - protected Builder() {} - - public String getProject() { - return project; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - private Builder(ProjectName projectName) { - this.project = projectName.project; - } - - public ProjectName build() { - return new ProjectName(this); - } - } -} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java deleted file mode 100644 index 2092b7aed..000000000 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java +++ /dev/null @@ -1,132 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p1beta1/assets.proto - -package com.google.cloud.asset.v1p1beta1; - -public final class AssetProto { - private AssetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p1beta1_StandardResourceMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_Permissions_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/asset/v1p1beta1/assets.pr" + - "oto\022\034google.cloud.asset.v1p1beta1\032\032googl" + - "e/iam/v1/policy.proto\032\034google/api/annota" + - "tions.proto\"\302\002\n\030StandardResourceMetadata" + - "\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007pr" + - "oject\030\003 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013des" + - "cription\030\005 \001(\t\022\035\n\025additional_attributes\030" + - "\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006labels\030\014 \003(\0132" + - "B.google.cloud.asset.v1p1beta1.StandardR" + - "esourceMetadata.LabelsEntry\022\024\n\014network_t" + - "ags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicySearchResu" + - "lt\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\003 \001(\t\022%\n" + - "\006policy\030\004 \001(\0132\025.google.iam.v1.Policy\022T\n\013" + - "explanation\030\005 \001(\0132?.google.cloud.asset.v" + - "1p1beta1.IamPolicySearchResult.Explanati" + - "on\032\351\001\n\013Explanation\022t\n\023matched_permission" + - "s\030\001 \003(\0132W.google.cloud.asset.v1p1beta1.I" + - "amPolicySearchResult.Explanation.Matched" + - "PermissionsEntry\032d\n\027MatchedPermissionsEn" + - "try\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google" + - ".cloud.asset.v1p1beta1.Permissions:\0028\001\"\"" + - "\n\013Permissions\022\023\n\013permissions\030\001 \003(\tB\264\001\n c" + - "om.google.cloud.asset.v1p1beta1B\nAssetPr" + - "otoP\001ZAgoogle.golang.org/genproto/google" + - "apis/cloud/asset/v1p1beta1;asset\370\001\001\252\002\034Go" + - "ogle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Clou" + - "d\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor, - new java.lang.String[] { "Name", "AssetType", "Project", "DisplayName", "Description", "AdditionalAttributes", "Location", "Labels", "NetworkTags", }); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor = - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor, - new java.lang.String[] { "Resource", "Project", "Policy", "Explanation", }); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor = - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor, - new java.lang.String[] { "MatchedPermissions", }); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor, - new java.lang.String[] { "Permissions", }); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java deleted file mode 100644 index 250866763..000000000 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java +++ /dev/null @@ -1,132 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p1beta1/asset_service.proto - -package com.google.cloud.asset.v1p1beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_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/asset/v1p1beta1/asset_ser" + - "vice.proto\022\034google.cloud.asset.v1p1beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032)google/cloud/asset/v1p1beta1/a" + - "ssets.proto\"\245\001\n\031SearchAllResourcesReques" + - "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A" + - "\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022\026\n\tpage_size" + - "\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\025\n\010" + - "order_by\030\n \001(\tB\003\340A\001\"~\n\032SearchAllResource" + - "sResponse\022G\n\007results\030\001 \003(\01326.google.clou" + - "d.asset.v1p1beta1.StandardResourceMetada" + - "ta\022\027\n\017next_page_token\030\002 \001(\t\"v\n\033SearchAll" + - "IamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022" + - "\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340" + - "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\"}\n\034SearchAll" + - "IamPoliciesResponse\022D\n\007results\030\001 \003(\01323.g" + - "oogle.cloud.asset.v1p1beta1.IamPolicySea" + - "rchResult\022\027\n\017next_page_token\030\002 \001(\t2\211\004\n\014A" + - "ssetService\022\325\001\n\022SearchAllResources\0227.goo" + - "gle.cloud.asset.v1p1beta1.SearchAllResou" + - "rcesRequest\0328.google.cloud.asset.v1p1bet" + - "a1.SearchAllResourcesResponse\"L\202\323\344\223\002,\022*/" + - "v1p1beta1/{scope=*/*}/resources:searchAl" + - "l\332A\027scope,query,asset_types\022\321\001\n\024SearchAl" + - "lIamPolicies\0229.google.cloud.asset.v1p1be" + - "ta1.SearchAllIamPoliciesRequest\032:.google" + - ".cloud.asset.v1p1beta1.SearchAllIamPolic" + - "iesResponse\"B\202\323\344\223\002.\022,/v1p1beta1/{scope=*" + - "/*}/iamPolicies:searchAll\332A\013scope,query\032" + - "M\312A\031cloudasset.googleapis.com\322A.https://" + - "www.googleapis.com/auth/cloud-platformB\270" + - "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" + - "etServiceProtoP\001ZAgoogle.golang.org/genp" + - "roto/googleapis/cloud/asset/v1p1beta1;as" + - "set\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goo" + - "gle\\Cloud\\Asset\\V1p1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor, - new java.lang.String[] { "Results", "NextPageToken", }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor, - new java.lang.String[] { "Scope", "Query", "PageSize", "PageToken", }); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor, - new java.lang.String[] { "Results", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java deleted file mode 100644 index 696a0aaaf..000000000 --- a/owl-bot-staging/v1p2beta1/grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java +++ /dev/null @@ -1,651 +0,0 @@ -package com.google.cloud.asset.v1p2beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Asset service definition.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/asset/v1p2beta1/asset_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AssetServiceGrpc { - - private AssetServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.asset.v1p2beta1.AssetService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFeed", - requestType = com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateFeedMethod() { - io.grpc.MethodDescriptor getCreateFeedMethod; - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getCreateFeedMethod = AssetServiceGrpc.getCreateFeedMethod) == null) { - AssetServiceGrpc.getCreateFeedMethod = getCreateFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("CreateFeed")) - .build(); - } - } - } - return getCreateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFeed", - requestType = com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFeedMethod() { - io.grpc.MethodDescriptor getGetFeedMethod; - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getGetFeedMethod = AssetServiceGrpc.getGetFeedMethod) == null) { - AssetServiceGrpc.getGetFeedMethod = getGetFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("GetFeed")) - .build(); - } - } - } - return getGetFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFeedsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFeeds", - requestType = com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFeedsMethod() { - io.grpc.MethodDescriptor getListFeedsMethod; - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getListFeedsMethod = AssetServiceGrpc.getListFeedsMethod) == null) { - AssetServiceGrpc.getListFeedsMethod = getListFeedsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFeeds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ListFeeds")) - .build(); - } - } - } - return getListFeedsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateFeed", - requestType = com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, - responseType = com.google.cloud.asset.v1p2beta1.Feed.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateFeedMethod() { - io.grpc.MethodDescriptor getUpdateFeedMethod; - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getUpdateFeedMethod = AssetServiceGrpc.getUpdateFeedMethod) == null) { - AssetServiceGrpc.getUpdateFeedMethod = getUpdateFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("UpdateFeed")) - .build(); - } - } - } - return getUpdateFeedMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteFeedMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteFeed", - requestType = com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteFeedMethod() { - io.grpc.MethodDescriptor getDeleteFeedMethod; - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getDeleteFeedMethod = AssetServiceGrpc.getDeleteFeedMethod) == null) { - AssetServiceGrpc.getDeleteFeedMethod = getDeleteFeedMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteFeed")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("DeleteFeed")) - .build(); - } - } - } - return getDeleteFeedMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AssetServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; - return AssetServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AssetServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; - return AssetServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AssetServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; - return AssetServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static abstract class AssetServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateFeedMethod(), responseObserver); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFeedMethod(), responseObserver); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFeedsMethod(), responseObserver); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFeedMethod(), responseObserver); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteFeedMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.CreateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>( - this, METHODID_CREATE_FEED))) - .addMethod( - getGetFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.GetFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>( - this, METHODID_GET_FEED))) - .addMethod( - getListFeedsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.ListFeedsRequest, - com.google.cloud.asset.v1p2beta1.ListFeedsResponse>( - this, METHODID_LIST_FEEDS))) - .addMethod( - getUpdateFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest, - com.google.cloud.asset.v1p2beta1.Feed>( - this, METHODID_UPDATE_FEED))) - .addMethod( - getDeleteFeedMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_FEED))) - .build(); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public void createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public void getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public void listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public void updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public void deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.Feed createFeed(com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.Feed getFeed(com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.ListFeedsResponse listFeeds(com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFeedsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.cloud.asset.v1p2beta1.Feed updateFeed(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateFeedMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.protobuf.Empty deleteFeed(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFeedMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a feed in a parent project/folder/organization to listen to its
-     * asset updates.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createFeed( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details about an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFeed( - com.google.cloud.asset.v1p2beta1.GetFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all asset feeds in a parent project/folder/organization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFeeds( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFeedsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an asset feed configuration.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateFeed( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateFeedMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an asset feed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteFeed( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteFeedMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_FEED = 0; - private static final int METHODID_GET_FEED = 1; - private static final int METHODID_LIST_FEEDS = 2; - private static final int METHODID_UPDATE_FEED = 3; - private static final int METHODID_DELETE_FEED = 4; - - 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 AssetServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AssetServiceImplBase 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_FEED: - serviceImpl.createFeed((com.google.cloud.asset.v1p2beta1.CreateFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FEED: - serviceImpl.getFeed((com.google.cloud.asset.v1p2beta1.GetFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FEEDS: - serviceImpl.listFeeds((com.google.cloud.asset.v1p2beta1.ListFeedsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_FEED: - serviceImpl.updateFeed((com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_FEED: - serviceImpl.deleteFeed((com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) 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 AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AssetServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AssetService"); - } - } - - private static final class AssetServiceFileDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier { - AssetServiceFileDescriptorSupplier() {} - } - - private static final class AssetServiceMethodDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getCreateFeedMethod()) - .addMethod(getGetFeedMethod()) - .addMethod(getListFeedsMethod()) - .addMethod(getUpdateFeedMethod()) - .addMethod(getDeleteFeedMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java deleted file mode 100644 index 90589ce11..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java +++ /dev/null @@ -1,113 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/assets.proto - -package com.google.cloud.asset.v1p2beta1; - -public final class AssetProto { - private AssetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p2beta1_TemporalAsset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/asset/v1p2beta1/assets.pr" + - "oto\022\034google.cloud.asset.v1p2beta1\032\034googl" + - "e/api/annotations.proto\032\032google/iam/v1/p" + - "olicy.proto\032\031google/protobuf/any.proto\032\034" + - "google/protobuf/struct.proto\032\037google/pro" + - "tobuf/timestamp.proto\"\216\001\n\rTemporalAsset\022" + - "8\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p" + - "2beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005as" + - "set\030\003 \001(\0132#.google.cloud.asset.v1p2beta1" + - ".Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\013" + - "2\032.google.protobuf.Timestamp\022,\n\010end_time" + - "\030\002 \001(\0132\032.google.protobuf.Timestamp\"\241\001\n\005A" + - "sset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228" + - "\n\010resource\030\003 \001(\0132&.google.cloud.asset.v1" + - "p2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.g" + - "oogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\"\240" + - "\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026discover" + - "y_document_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003" + - " \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001" + - "(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf.Struc" + - "tB\264\001\n com.google.cloud.asset.v1p2beta1B\n" + - "AssetProtoP\001ZAgoogle.golang.org/genproto" + - "/googleapis/cloud/asset/v1p2beta1;asset\370" + - "\001\001\252\002\034Google.Cloud.Asset.v1p2beta1\312\002\034Goog" + - "le\\Cloud\\Asset\\V1p2beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor, - new java.lang.String[] { "Window", "Deleted", "Asset", }); - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor, - new java.lang.String[] { "Name", "AssetType", "Resource", "IamPolicy", "Ancestors", }); - internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor, - new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", }); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java deleted file mode 100644 index 6581d8822..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java +++ /dev/null @@ -1,251 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package com.google.cloud.asset.v1p2beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p2beta1_CreateFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p2beta1_Feed_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/asset/v1p2beta1/asset_ser" + - "vice.proto\022\034google.cloud.asset.v1p2beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\032)goo" + - "gle/cloud/asset/v1p2beta1/assets.proto\032#" + - "google/longrunning/operations.proto\032\033goo" + - "gle/protobuf/empty.proto\032 google/protobu" + - "f/field_mask.proto\032\037google/protobuf/time" + - "stamp.proto\"u\n\021CreateFeedRequest\022\023\n\006pare" + - "nt\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A\002\0225\n\004f" + - "eed\030\003 \001(\0132\".google.cloud.asset.v1p2beta1" + - ".FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001" + - "(\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fe" + - "ed\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003" + - "\340A\002\"F\n\021ListFeedsResponse\0221\n\005feeds\030\001 \003(\0132" + - "\".google.cloud.asset.v1p2beta1.Feed\"\200\001\n\021" + - "UpdateFeedRequest\0225\n\004feed\030\001 \001(\0132\".google" + - ".cloud.asset.v1p2beta1.FeedB\003\340A\002\0224\n\013upda" + - "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "kB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n\004name\030\001 \001(" + - "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" + - "d\"f\n\014OutputConfig\022G\n\017gcs_destination\030\001 \001" + - "(\0132,.google.cloud.asset.v1p2beta1.GcsDes" + - "tinationH\000B\r\n\013destination\"-\n\016GcsDestinat" + - "ion\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri\"\"\n\021Pubs" + - "ubDestination\022\r\n\005topic\030\001 \001(\t\"p\n\020FeedOutp" + - "utConfig\022M\n\022pubsub_destination\030\001 \001(\0132/.g" + - "oogle.cloud.asset.v1p2beta1.PubsubDestin" + - "ationH\000B\r\n\013destination\"\351\002\n\004Feed\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset" + - "_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).goo" + - "gle.cloud.asset.v1p2beta1.ContentType\022O\n" + - "\022feed_output_config\030\005 \001(\0132..google.cloud" + - ".asset.v1p2beta1.FeedOutputConfigB\003\340A\002:\221" + - "\001\352A\215\001\n\036cloudasset.googleapis.com/Feed\022\037p" + - "rojects/{project}/feeds/{feed}\022\035folders/" + - "{folder}/feeds/{feed}\022)organizations/{or" + - "ganization}/feeds/{feed} \001*I\n\013ContentTyp" + - "e\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOU" + - "RCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014AssetService\022\224" + - "\001\n\nCreateFeed\022/.google.cloud.asset.v1p2b" + - "eta1.CreateFeedRequest\032\".google.cloud.as" + - "set.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v1p2beta1/{" + - "parent=*/*}/feeds:\001*\332A\006parent\022\211\001\n\007GetFee" + - "d\022,.google.cloud.asset.v1p2beta1.GetFeed" + - "Request\032\".google.cloud.asset.v1p2beta1.F" + - "eed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=*/*/feeds/" + - "*}\332A\004name\022\234\001\n\tListFeeds\022..google.cloud.a" + - "sset.v1p2beta1.ListFeedsRequest\032/.google" + - ".cloud.asset.v1p2beta1.ListFeedsResponse" + - "\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*/*}/feeds\332" + - "A\006parent\022\227\001\n\nUpdateFeed\022/.google.cloud.a" + - "sset.v1p2beta1.UpdateFeedRequest\032\".googl" + - "e.cloud.asset.v1p2beta1.Feed\"4\202\323\344\223\002\'2\"/v" + - "1p2beta1/{feed.name=*/*/feeds/*}:\001*\332A\004fe" + - "ed\022\203\001\n\nDeleteFeed\022/.google.cloud.asset.v" + - "1p2beta1.DeleteFeedRequest\032\026.google.prot" + - "obuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1/{name=*/*" + - "/feeds/*}\332A\004name\032M\312A\031cloudasset.googleap" + - "is.com\322A.https://www.googleapis.com/auth" + - "/cloud-platformB\270\001\n com.google.cloud.ass" + - "et.v1p2beta1B\021AssetServiceProtoP\001ZAgoogl" + - "e.golang.org/genproto/googleapis/cloud/a" + - "sset/v1p2beta1;asset\252\002\034Google.Cloud.Asse" + - "t.V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2bet" + - "a1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor, - new java.lang.String[] { "Parent", "FeedId", "Feed", }); - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor, - new java.lang.String[] { "Feeds", }); - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor, - new java.lang.String[] { "Feed", "UpdateMask", }); - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor, - new java.lang.String[] { "GcsDestination", "Destination", }); - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor, - new java.lang.String[] { "Uri", "ObjectUri", }); - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor, - new java.lang.String[] { "Topic", }); - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor, - new java.lang.String[] { "PubsubDestination", "Destination", }); - internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor, - new java.lang.String[] { "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java deleted file mode 100644 index 7e01ca30e..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package com.google.cloud.asset.v1p2beta1; - -public interface DeleteFeedRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.DeleteFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java deleted file mode 100644 index 1e57a7098..000000000 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p2beta1/asset_service.proto - -package com.google.cloud.asset.v1p2beta1; - -public interface GetFeedRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.GetFeedRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_id
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Feed and it must be in the format of:
-   * projects/project_number/feeds/feed_id
-   * folders/folder_number/feeds/feed_id
-   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java b/owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java deleted file mode 100644 index 39ea8fd80..000000000 --- a/owl-bot-staging/v1p4beta1/grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java +++ /dev/null @@ -1,405 +0,0 @@ -package com.google.cloud.asset.v1p4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Asset service definition.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/asset/v1p4beta1/asset_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AssetServiceGrpc { - - private AssetServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.asset.v1p4beta1.AssetService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "AnalyzeIamPolicy", - requestType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, - responseType = com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod() { - io.grpc.MethodDescriptor getAnalyzeIamPolicyMethod; - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getAnalyzeIamPolicyMethod = AssetServiceGrpc.getAnalyzeIamPolicyMethod) == null) { - AssetServiceGrpc.getAnalyzeIamPolicyMethod = getAnalyzeIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AnalyzeIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("AnalyzeIamPolicy")) - .build(); - } - } - } - return getAnalyzeIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getExportIamPolicyAnalysisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportIamPolicyAnalysis", - requestType = com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportIamPolicyAnalysisMethod() { - io.grpc.MethodDescriptor getExportIamPolicyAnalysisMethod; - if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) == null) { - synchronized (AssetServiceGrpc.class) { - if ((getExportIamPolicyAnalysisMethod = AssetServiceGrpc.getExportIamPolicyAnalysisMethod) == null) { - AssetServiceGrpc.getExportIamPolicyAnalysisMethod = getExportIamPolicyAnalysisMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportIamPolicyAnalysis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AssetServiceMethodDescriptorSupplier("ExportIamPolicyAnalysis")) - .build(); - } - } - } - return getExportIamPolicyAnalysisMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AssetServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - }; - return AssetServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AssetServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - }; - return AssetServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AssetServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AssetServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - }; - return AssetServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static abstract class AssetServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public void analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAnalyzeIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public void exportIamPolicyAnalysis(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportIamPolicyAnalysisMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getAnalyzeIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest, - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse>( - this, METHODID_ANALYZE_IAM_POLICY))) - .addMethod( - getExportIamPolicyAnalysisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest, - com.google.longrunning.Operation>( - this, METHODID_EXPORT_IAM_POLICY_ANALYSIS))) - .build(); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceStub extends io.grpc.stub.AbstractAsyncStub { - private AssetServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceStub(channel, callOptions); - } - - /** - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public void analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public void exportIamPolicyAnalysis(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private AssetServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse analyzeIamPolicy(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getAnalyzeIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public com.google.longrunning.Operation exportIamPolicyAnalysis(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportIamPolicyAnalysisMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Asset service definition.
-   * 
- */ - public static final class AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private AssetServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AssetServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AssetServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Analyzes IAM policies based on the specified request. Returns
-     * a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture analyzeIamPolicy( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getAnalyzeIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Exports IAM policy analysis based on the specified request. This API
-     * implements the [google.longrunning.Operation][google.longrunning.Operation] API allowing you to keep
-     * track of the export. The metadata contains the request to help callers to
-     * map responses to requests.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportIamPolicyAnalysis( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportIamPolicyAnalysisMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_ANALYZE_IAM_POLICY = 0; - private static final int METHODID_EXPORT_IAM_POLICY_ANALYSIS = 1; - - 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 AssetServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(AssetServiceImplBase 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_ANALYZE_IAM_POLICY: - serviceImpl.analyzeIamPolicy((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_EXPORT_IAM_POLICY_ANALYSIS: - serviceImpl.exportIamPolicyAnalysis((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) 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 AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AssetServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AssetService"); - } - } - - private static final class AssetServiceFileDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier { - AssetServiceFileDescriptorSupplier() {} - } - - private static final class AssetServiceMethodDescriptorSupplier - extends AssetServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - AssetServiceMethodDescriptorSupplier(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 (AssetServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AssetServiceFileDescriptorSupplier()) - .addMethod(getAnalyzeIamPolicyMethod()) - .addMethod(getExportIamPolicyAnalysisMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java deleted file mode 100644 index 6c3251a4e..000000000 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java +++ /dev/null @@ -1,63 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/asset_service.proto - -package com.google.cloud.asset.v1p4beta1; - -public interface AnalyzeIamPolicyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The request query.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the analysisQuery field is set. - */ - boolean hasAnalysisQuery(); - /** - *
-   * Required. The request query.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The analysisQuery. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); - /** - *
-   * Required. The request query.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); - - /** - *
-   * Optional. The request options.
-   * 
- * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the options field is set. - */ - boolean hasOptions(); - /** - *
-   * Optional. The request options.
-   * 
- * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The options. - */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions(); - /** - *
-   * Optional. The request options.
-   * 
- * - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder(); -} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java deleted file mode 100644 index 6f4e0a2ce..000000000 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java +++ /dev/null @@ -1,170 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/assets.proto - -package com.google.cloud.asset.v1p4beta1; - -public final class AssetProto { - private AssetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_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/asset/v1p4beta1/assets.pr" + - "oto\022\034google.cloud.asset.v1p4beta1\032\032googl" + - "e/iam/v1/policy.proto\032\025google/rpc/code.p" + - "roto\032\034google/api/annotations.proto\"\225\n\n\027I" + - "amPolicyAnalysisResult\022#\n\033attached_resou" + - "rce_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 \001(\013" + - "2\026.google.iam.v1.Binding\022e\n\024access_contr" + - "ol_lists\030\003 \003(\0132G.google.cloud.asset.v1p4" + - "beta1.IamPolicyAnalysisResult.AccessCont" + - "rolList\022Y\n\ridentity_list\030\004 \001(\0132B.google." + - "cloud.asset.v1p4beta1.IamPolicyAnalysisR" + - "esult.IdentityList\022\026\n\016fully_explored\030\005 \001" + - "(\010\032>\n\rAnalysisState\022\036\n\004code\030\001 \001(\0162\020.goog" + - "le.rpc.Code\022\r\n\005cause\030\002 \001(\t\032\203\001\n\010Resource\022" + - "\032\n\022full_resource_name\030\001 \001(\t\022[\n\016analysis_" + - "state\030\002 \001(\0132C.google.cloud.asset.v1p4bet" + - "a1.IamPolicyAnalysisResult.AnalysisState" + - "\032\233\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermissio" + - "n\030\002 \001(\tH\000\022[\n\016analysis_state\030\003 \001(\0132C.goog" + - "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + - "isResult.AnalysisStateB\016\n\014oneof_access\0320" + - "\n\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_no" + - "de\030\002 \001(\t\032u\n\010Identity\022\014\n\004name\030\001 \001(\t\022[\n\016an" + - "alysis_state\030\002 \001(\0132C.google.cloud.asset." + - "v1p4beta1.IamPolicyAnalysisResult.Analys" + - "isState\032\212\002\n\021AccessControlList\022Q\n\tresourc" + - "es\030\001 \003(\0132>.google.cloud.asset.v1p4beta1." + - "IamPolicyAnalysisResult.Resource\022N\n\010acce" + - "sses\030\002 \003(\0132<.google.cloud.asset.v1p4beta" + - "1.IamPolicyAnalysisResult.Access\022R\n\016reso" + - "urce_edges\030\003 \003(\0132:.google.cloud.asset.v1" + - "p4beta1.IamPolicyAnalysisResult.Edge\032\263\001\n" + - "\014IdentityList\022R\n\nidentities\030\001 \003(\0132>.goog" + - "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + - "isResult.Identity\022O\n\013group_edges\030\002 \003(\0132:" + - ".google.cloud.asset.v1p4beta1.IamPolicyA" + - "nalysisResult.EdgeB\264\001\n com.google.cloud." + - "asset.v1p4beta1B\nAssetProtoP\001ZAgoogle.go" + - "lang.org/genproto/googleapis/cloud/asset" + - "/v1p4beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" + - ".V1P4Beta1\312\002\034Google\\Cloud\\Asset\\V1p4beta" + - "1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.rpc.CodeProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor, - new java.lang.String[] { "AttachedResourceFullName", "IamBinding", "AccessControlLists", "IdentityList", "FullyExplored", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor, - new java.lang.String[] { "Code", "Cause", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor, - new java.lang.String[] { "FullResourceName", "AnalysisState", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor, - new java.lang.String[] { "Role", "Permission", "AnalysisState", "OneofAccess", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor, - new java.lang.String[] { "SourceNode", "TargetNode", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor, - new java.lang.String[] { "Name", "AnalysisState", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor, - new java.lang.String[] { "Resources", "Accesses", "ResourceEdges", }); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor = - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor, - new java.lang.String[] { "Identities", "GroupEdges", }); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.rpc.CodeProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java deleted file mode 100644 index fcdc60790..000000000 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java +++ /dev/null @@ -1,288 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/asset_service.proto - -package com.google.cloud.asset.v1p4beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_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/asset/v1p4beta1/asset_ser" + - "vice.proto\022\034google.cloud.asset.v1p4beta1" + - "\032\034google/api/annotations.proto\032\037google/a" + - "pi/field_behavior.proto\032)google/cloud/as" + - "set/v1p4beta1/assets.proto\032\032google/iam/v" + - "1/policy.proto\032#google/longrunning/opera" + - "tions.proto\032\036google/protobuf/duration.pr" + - "oto\032\027google/api/client.proto\"\376\003\n\026IamPoli" + - "cyAnalysisQuery\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022e\n\021" + - "resource_selector\030\002 \001(\0132E.google.cloud.a" + - "sset.v1p4beta1.IamPolicyAnalysisQuery.Re" + - "sourceSelectorB\003\340A\001\022e\n\021identity_selector" + - "\030\003 \001(\0132E.google.cloud.asset.v1p4beta1.Ia" + - "mPolicyAnalysisQuery.IdentitySelectorB\003\340" + - "A\001\022a\n\017access_selector\030\004 \001(\0132C.google.clo" + - "ud.asset.v1p4beta1.IamPolicyAnalysisQuer" + - "y.AccessSelectorB\003\340A\001\0323\n\020ResourceSelecto" + - "r\022\037\n\022full_resource_name\030\001 \001(\tB\003\340A\002\032)\n\020Id" + - "entitySelector\022\025\n\010identity\030\001 \001(\tB\003\340A\002\032>\n" + - "\016AccessSelector\022\022\n\005roles\030\001 \003(\tB\003\340A\001\022\030\n\013p" + - "ermissions\030\002 \003(\tB\003\340A\001\"\327\003\n\027AnalyzeIamPoli" + - "cyRequest\022Q\n\016analysis_query\030\001 \001(\01324.goog" + - "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + - "isQueryB\003\340A\002\022S\n\007options\030\002 \001(\0132=.google.c" + - "loud.asset.v1p4beta1.AnalyzeIamPolicyReq" + - "uest.OptionsB\003\340A\001\032\223\002\n\007Options\022\032\n\rexpand_" + - "groups\030\001 \001(\010B\003\340A\001\022\031\n\014expand_roles\030\002 \001(\010B" + - "\003\340A\001\022\035\n\020expand_resources\030\003 \001(\010B\003\340A\001\022\"\n\025o" + - "utput_resource_edges\030\004 \001(\010B\003\340A\001\022\037\n\022outpu" + - "t_group_edges\030\005 \001(\010B\003\340A\001\0222\n%analyze_serv" + - "ice_account_impersonation\030\006 \001(\010B\003\340A\001\0229\n\021" + - "execution_timeout\030\007 \001(\0132\031.google.protobu" + - "f.DurationB\003\340A\001\"\274\004\n\030AnalyzeIamPolicyResp" + - "onse\022_\n\rmain_analysis\030\001 \001(\0132H.google.clo" + - "ud.asset.v1p4beta1.AnalyzeIamPolicyRespo" + - "nse.IamPolicyAnalysis\022x\n&service_account" + - "_impersonation_analysis\030\002 \003(\0132H.google.c" + - "loud.asset.v1p4beta1.AnalyzeIamPolicyRes" + - "ponse.IamPolicyAnalysis\022\026\n\016fully_explore" + - "d\030\003 \001(\010\022`\n\023non_critical_errors\030\004 \003(\0132C.g" + - "oogle.cloud.asset.v1p4beta1.IamPolicyAna" + - "lysisResult.AnalysisState\032\312\001\n\021IamPolicyA" + - "nalysis\022L\n\016analysis_query\030\001 \001(\01324.google" + - ".cloud.asset.v1p4beta1.IamPolicyAnalysis" + - "Query\022O\n\020analysis_results\030\002 \003(\01325.google" + - ".cloud.asset.v1p4beta1.IamPolicyAnalysis" + - "Result\022\026\n\016fully_explored\030\003 \001(\010\"\271\001\n\035IamPo" + - "licyAnalysisOutputConfig\022e\n\017gcs_destinat" + - "ion\030\001 \001(\0132J.google.cloud.asset.v1p4beta1" + - ".IamPolicyAnalysisOutputConfig.GcsDestin" + - "ationH\000\032\"\n\016GcsDestination\022\020\n\003uri\030\001 \001(\tB\003" + - "\340A\002B\r\n\013destination\"\203\004\n\036ExportIamPolicyAn" + - "alysisRequest\022Q\n\016analysis_query\030\001 \001(\01324." + - "google.cloud.asset.v1p4beta1.IamPolicyAn" + - "alysisQueryB\003\340A\002\022Z\n\007options\030\002 \001(\0132D.goog" + - "le.cloud.asset.v1p4beta1.ExportIamPolicy" + - "AnalysisRequest.OptionsB\003\340A\001\022W\n\routput_c" + - "onfig\030\003 \001(\0132;.google.cloud.asset.v1p4bet" + - "a1.IamPolicyAnalysisOutputConfigB\003\340A\002\032\330\001" + - "\n\007Options\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n" + - "\014expand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resou" + - "rces\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges" + - "\030\004 \001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B" + - "\003\340A\001\0222\n%analyze_service_account_imperson" + - "ation\030\006 \001(\010B\003\340A\001\"u\n\037ExportIamPolicyAnaly" + - "sisResponse\022R\n\routput_config\030\001 \001(\0132;.goo" + - "gle.cloud.asset.v1p4beta1.IamPolicyAnaly" + - "sisOutputConfig2\345\004\n\014AssetService\022\302\001\n\020Ana" + - "lyzeIamPolicy\0225.google.cloud.asset.v1p4b" + - "eta1.AnalyzeIamPolicyRequest\0326.google.cl" + - "oud.asset.v1p4beta1.AnalyzeIamPolicyResp" + - "onse\"?\202\323\344\223\0029\0227/v1p4beta1/{analysis_query" + - ".parent=*/*}:analyzeIamPolicy\022\300\002\n\027Export" + - "IamPolicyAnalysis\022<.google.cloud.asset.v" + - "1p4beta1.ExportIamPolicyAnalysisRequest\032" + - "\035.google.longrunning.Operation\"\307\001\202\323\344\223\002C\"" + - ">/v1p4beta1/{analysis_query.parent=*/*}:" + - "exportIamPolicyAnalysis:\001*\312A{\n - * Required. The request query. - *
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the analysisQuery field is set. - */ - boolean hasAnalysisQuery(); - /** - *
-   * Required. The request query.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The analysisQuery. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); - /** - *
-   * Required. The request query.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); - - /** - *
-   * Optional. The request options.
-   * 
- * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the options field is set. - */ - boolean hasOptions(); - /** - *
-   * Optional. The request options.
-   * 
- * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The options. - */ - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions(); - /** - *
-   * Optional. The request options.
-   * 
- * - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder getOptionsOrBuilder(); - - /** - *
-   * Required. Output configuration indicating where the results will be output to.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the outputConfig field is set. - */ - boolean hasOutputConfig(); - /** - *
-   * Required. Output configuration indicating where the results will be output to.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return The outputConfig. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig(); - /** - *
-   * Required. Output configuration indicating where the results will be output to.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder(); -} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java b/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java deleted file mode 100644 index 3ffabef68..000000000 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p4beta1/asset_service.proto - -package com.google.cloud.asset.v1p4beta1; - -public interface IamPolicyAnalysisOutputConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Destination on Cloud Storage.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * @return Whether the gcsDestination field is set. - */ - boolean hasGcsDestination(); - /** - *
-   * Destination on Cloud Storage.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - * @return The gcsDestination. - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination(); - /** - *
-   * Destination on Cloud Storage.
-   * 
- * - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; - */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); - - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.DestinationCase getDestinationCase(); -} diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java deleted file mode 100644 index ed4e4aa79..000000000 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java +++ /dev/null @@ -1,116 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p5beta1/assets.proto - -package com.google.cloud.asset.v1p5beta1; - -public final class AssetProto { - private AssetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p5beta1_Asset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/asset/v1p5beta1/assets.pr" + - "oto\022\034google.cloud.asset.v1p5beta1\032\034googl" + - "e/api/annotations.proto\032\031google/api/reso" + - "urce.proto\032)google/cloud/orgpolicy/v1/or" + - "gpolicy.proto\032\032google/iam/v1/policy.prot" + - "o\032:google/identity/accesscontextmanager/" + - "v1/access_level.proto\032;google/identity/a" + - "ccesscontextmanager/v1/access_policy.pro" + - "to\032?google/identity/accesscontextmanager" + - "/v1/service_perimeter.proto\032\031google/prot" + - "obuf/any.proto\032\034google/protobuf/struct.p" + - "roto\032\037google/protobuf/timestamp.proto\"\220\004" + - "\n\005Asset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" + - "\t\0228\n\010resource\030\003 \001(\0132&.google.cloud.asset" + - ".v1p5beta1.Resource\022)\n\niam_policy\030\004 \001(\0132" + - "\025.google.iam.v1.Policy\0225\n\norg_policy\030\006 \003" + - "(\0132!.google.cloud.orgpolicy.v1.Policy\022N\n" + - "\raccess_policy\030\007 \001(\01325.google.identity.a" + - "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" + - "\014access_level\030\010 \001(\01324.google.identity.ac" + - "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" + - "ervice_perimeter\030\t \001(\01329.google.identity" + - ".accesscontextmanager.v1.ServicePerimete" + - "rH\000\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." + - "googleapis.com/Asset\022\001*B\027\n\025access_contex" + - "t_policy\"\240\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" + - "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" + - "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" + - "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" + - "obuf.StructB\264\001\n com.google.cloud.asset.v" + - "1p5beta1B\nAssetProtoP\001ZAgoogle.golang.or" + - "g/genproto/googleapis/cloud/asset/v1p5be" + - "ta1;asset\370\001\001\252\002\034Google.Cloud.Asset.V1p5Be" + - "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor, - new java.lang.String[] { "Name", "AssetType", "Resource", "IamPolicy", "OrgPolicy", "AccessPolicy", "AccessLevel", "ServicePerimeter", "Ancestors", "AccessContextPolicy", }); - internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor, - new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java deleted file mode 100644 index 444c8baba..000000000 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java +++ /dev/null @@ -1,104 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p5beta1/asset_service.proto - -package com.google.cloud.asset.v1p5beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p5beta1_ListAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_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/asset/v1p5beta1/asset_ser" + - "vice.proto\022\034google.cloud.asset.v1p5beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032)google/cloud/asset/v1p5beta1/a" + - "ssets.proto\032\037google/protobuf/timestamp.p" + - "roto\"\324\001\n\021ListAssetsRequest\022\023\n\006parent\030\001 \001" + - "(\tB\003\340A\002\022-\n\tread_time\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t\022?\n\014c" + - "ontent_type\030\004 \001(\0162).google.cloud.asset.v" + - "1p5beta1.ContentType\022\021\n\tpage_size\030\005 \001(\005\022" + - "\022\n\npage_token\030\006 \001(\t\"\221\001\n\022ListAssetsRespon" + - "se\022-\n\tread_time\030\001 \001(\0132\032.google.protobuf." + - "Timestamp\0223\n\006assets\030\002 \003(\0132#.google.cloud" + - ".asset.v1p5beta1.Asset\022\027\n\017next_page_toke" + - "n\030\003 \001(\t*l\n\013ContentType\022\034\n\030CONTENT_TYPE_U" + - "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" + - "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\0052\367\001" + - "\n\014AssetService\022\227\001\n\nListAssets\022/.google.c" + - "loud.asset.v1p5beta1.ListAssetsRequest\0320" + - ".google.cloud.asset.v1p5beta1.ListAssets" + - "Response\"&\202\323\344\223\002 \022\036/v1p5beta1/{parent=*/*" + - "}/assets\032M\312A\031cloudasset.googleapis.com\322A" + - ".https://www.googleapis.com/auth/cloud-p" + - "latformB\270\001\n com.google.cloud.asset.v1p5b" + - "eta1B\021AssetServiceProtoP\001ZAgoogle.golang" + - ".org/genproto/googleapis/cloud/asset/v1p" + - "5beta1;asset\252\002\034Google.Cloud.Asset.V1P5Be" + - "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor, - new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "PageSize", "PageToken", }); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor, - new java.lang.String[] { "ReadTime", "Assets", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java deleted file mode 100644 index 25a31b15c..000000000 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java +++ /dev/null @@ -1,166 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p7beta1/assets.proto - -package com.google.cloud.asset.v1p7beta1; - -public final class AssetProto { - private AssetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p7beta1_Asset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_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/asset/v1p7beta1/assets.pr" + - "oto\022\034google.cloud.asset.v1p7beta1\032\034googl" + - "e/api/annotations.proto\032\031google/api/reso" + - "urce.proto\032)google/cloud/orgpolicy/v1/or" + - "gpolicy.proto\032(google/cloud/osconfig/v1/" + - "inventory.proto\032\032google/iam/v1/policy.pr" + - "oto\032:google/identity/accesscontextmanage" + - "r/v1/access_level.proto\032;google/identity" + - "/accesscontextmanager/v1/access_policy.p" + - "roto\032?google/identity/accesscontextmanag" + - "er/v1/service_perimeter.proto\032\031google/pr" + - "otobuf/any.proto\032\034google/protobuf/struct" + - ".proto\032\037google/protobuf/timestamp.proto\"" + - "\206\005\n\005Asset\022/\n\013update_time\030\013 \001(\0132\032.google." + - "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasse" + - "t_type\030\002 \001(\t\0228\n\010resource\030\003 \001(\0132&.google." + - "cloud.asset.v1p7beta1.Resource\022)\n\niam_po" + - "licy\030\004 \001(\0132\025.google.iam.v1.Policy\0225\n\norg" + - "_policy\030\006 \003(\0132!.google.cloud.orgpolicy.v" + - "1.Policy\022N\n\raccess_policy\030\007 \001(\01325.google" + - ".identity.accesscontextmanager.v1.Access" + - "PolicyH\000\022L\n\014access_level\030\010 \001(\01324.google." + - "identity.accesscontextmanager.v1.AccessL" + - "evelH\000\022V\n\021service_perimeter\030\t \001(\01329.goog" + - "le.identity.accesscontextmanager.v1.Serv" + - "icePerimeterH\000\022C\n\016related_assets\030\r \001(\0132+" + - ".google.cloud.asset.v1p7beta1.RelatedAss" + - "ets\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." + - "googleapis.com/Asset\022\001*B\027\n\025access_contex" + - "t_policy\"\262\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" + - "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" + - "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" + - "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" + - "obuf.Struct\022\020\n\010location\030\010 \001(\t\"\242\001\n\rRelate" + - "dAssets\022U\n\027relationship_attributes\030\001 \001(\013" + - "24.google.cloud.asset.v1p7beta1.Relation" + - "shipAttributes\022:\n\006assets\030\002 \003(\0132*.google." + - "cloud.asset.v1p7beta1.RelatedAsset\"r\n\026Re" + - "lationshipAttributes\022\014\n\004type\030\004 \001(\t\022\034\n\024so" + - "urce_resource_type\030\001 \001(\t\022\034\n\024target_resou" + - "rce_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t\"j\n\014Relate" + - "dAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n\037cloudasset.g" + - "oogleapis.com/Asset\022\022\n\nasset_type\030\002 \001(\t\022" + - "\021\n\tancestors\030\003 \003(\tB\264\001\n com.google.cloud." + - "asset.v1p7beta1B\nAssetProtoP\001ZAgoogle.go" + - "lang.org/genproto/googleapis/cloud/asset" + - "/v1p7beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" + - ".V1P7Beta1\312\002\034Google\\Cloud\\Asset\\V1p7beta" + - "1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), - com.google.cloud.osconfig.v1.Inventories.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), - com.google.protobuf.AnyProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor, - new java.lang.String[] { "UpdateTime", "Name", "AssetType", "Resource", "IamPolicy", "OrgPolicy", "AccessPolicy", "AccessLevel", "ServicePerimeter", "RelatedAssets", "Ancestors", "AccessContextPolicy", }); - internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor, - new java.lang.String[] { "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", "Location", }); - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor, - new java.lang.String[] { "RelationshipAttributes", "Assets", }); - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor, - new java.lang.String[] { "Type", "SourceResourceType", "TargetResourceType", "Action", }); - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor, - new java.lang.String[] { "Asset", "AssetType", "Ancestors", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); - com.google.cloud.osconfig.v1.Inventories.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); - com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); - com.google.protobuf.AnyProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java deleted file mode 100644 index c48779c60..000000000 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/asset/v1p7beta1/asset_service.proto - -package com.google.cloud.asset.v1p7beta1; - -public final class AssetServiceProto { - private AssetServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_asset_v1p7beta1_ExportAssetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_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/asset/v1p7beta1/asset_ser" + - "vice.proto\022\034google.cloud.asset.v1p7beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\032)goo" + - "gle/cloud/asset/v1p7beta1/assets.proto\032#" + - "google/longrunning/operations.proto\032\033goo" + - "gle/protobuf/empty.proto\032 google/protobu" + - "f/field_mask.proto\032\037google/protobuf/time" + - "stamp.proto\"\267\002\n\023ExportAssetsRequest\0227\n\006p" + - "arent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.googleap" + - "is.com/Asset\022-\n\tread_time\030\002 \001(\0132\032.google" + - ".protobuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t" + - "\022?\n\014content_type\030\004 \001(\0162).google.cloud.as" + - "set.v1p7beta1.ContentType\022F\n\routput_conf" + - "ig\030\005 \001(\0132*.google.cloud.asset.v1p7beta1." + - "OutputConfigB\003\340A\002\022\032\n\022relationship_types\030" + - "\006 \003(\t\"\313\001\n\024ExportAssetsResponse\022-\n\tread_t" + - "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022A\n" + - "\routput_config\030\002 \001(\0132*.google.cloud.asse" + - "t.v1p7beta1.OutputConfig\022A\n\routput_resul" + - "t\030\003 \001(\0132*.google.cloud.asset.v1p7beta1.O" + - "utputResult\"\271\001\n\014OutputConfig\022G\n\017gcs_dest" + - "ination\030\001 \001(\0132,.google.cloud.asset.v1p7b" + - "eta1.GcsDestinationH\000\022Q\n\024bigquery_destin" + - "ation\030\002 \001(\01321.google.cloud.asset.v1p7bet" + - "a1.BigQueryDestinationH\000B\r\n\013destination\"" + - "]\n\014OutputResult\022C\n\ngcs_result\030\001 \001(\0132-.go" + - "ogle.cloud.asset.v1p7beta1.GcsOutputResu" + - "ltH\000B\010\n\006result\"\037\n\017GcsOutputResult\022\014\n\004uri" + - "s\030\001 \003(\t\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000" + - "\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\273\001\n" + - "\023BigQueryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340" + - "A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022C\n" + - "\016partition_spec\030\004 \001(\0132+.google.cloud.ass" + - "et.v1p7beta1.PartitionSpec\022&\n\036separate_t" + - "ables_per_asset_type\030\005 \001(\010\"\260\001\n\rPartition" + - "Spec\022O\n\rpartition_key\030\001 \001(\01628.google.clo" + - "ud.asset.v1p7beta1.PartitionSpec.Partiti" + - "onKey\"N\n\014PartitionKey\022\035\n\031PARTITION_KEY_U" + - "NSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014REQUEST_T" + - "IME\020\002*~\n\013ContentType\022\034\n\030CONTENT_TYPE_UNS" + - "PECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002" + - "\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014R" + - "ELATIONSHIP\020\0072\332\002\n\014AssetService\022\372\001\n\014Expor" + - "tAssets\0221.google.cloud.asset.v1p7beta1.E" + - "xportAssetsRequest\032\035.google.longrunning." + - "Operation\"\227\001\202\323\344\223\002)\"$/v1p7beta1/{parent=*" + - "/*}:exportAssets:\001*\312Ae\n1google.cloud.ass" + - "et.v1p7beta1.ExportAssetsResponse\0220googl" + - "e.cloud.asset.v1p7beta1.ExportAssetsRequ" + - "est\032M\312A\031cloudasset.googleapis.com\322A.http" + - "s://www.googleapis.com/auth/cloud-platfo" + - "rmB\270\001\n com.google.cloud.asset.v1p7beta1B" + - "\021AssetServiceProtoP\001ZAgoogle.golang.org/" + - "genproto/googleapis/cloud/asset/v1p7beta" + - "1;asset\252\002\034Google.Cloud.Asset.V1P7Beta1\312\002" + - "\034Google\\Cloud\\Asset\\V1p7beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor, - new java.lang.String[] { "Parent", "ReadTime", "AssetTypes", "ContentType", "OutputConfig", "RelationshipTypes", }); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor, - new java.lang.String[] { "ReadTime", "OutputConfig", "OutputResult", }); - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor, - new java.lang.String[] { "GcsDestination", "BigqueryDestination", "Destination", }); - internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor, - new java.lang.String[] { "GcsResult", "Result", }); - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor, - new java.lang.String[] { "Uris", }); - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor, - new java.lang.String[] { "Uri", "UriPrefix", "ObjectUri", }); - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor, - new java.lang.String[] { "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", }); - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor, - new java.lang.String[] { "PartitionKey", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java index 19ad39147..16e2935d0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Represents the metadata of the longrunning operation for the
  * AnalyzeIamPolicyLongrunning rpc.
@@ -11,30 +28,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata}
  */
-public final class AnalyzeIamPolicyLongrunningMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeIamPolicyLongrunningMetadata
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)
     AnalyzeIamPolicyLongrunningMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyLongrunningMetadata.newBuilder() to construct.
-  private AnalyzeIamPolicyLongrunningMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeIamPolicyLongrunningMetadata(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AnalyzeIamPolicyLongrunningMetadata() {
-  }
+
+  private AnalyzeIamPolicyLongrunningMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyLongrunningMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnalyzeIamPolicyLongrunningMetadata(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,26 +71,28 @@ private AnalyzeIamPolicyLongrunningMetadata(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -80,34 +100,40 @@ private AnalyzeIamPolicyLongrunningMetadata(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
   }
 
   public static final int CREATE_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -115,11 +141,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -127,11 +157,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -139,6 +172,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -165,8 +198,7 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -176,17 +208,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.asset.v1.AnalyzeIamPolicyLongrunningMetadata)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata other = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata other = + (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -209,96 +241,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - byte[] data, - com.google.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.AnalyzeIamPolicyLongrunningMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the longrunning operation for the
    * AnalyzeIamPolicyLongrunning rpc.
@@ -306,21 +346,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)
       com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.class,
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.newBuilder()
@@ -328,16 +370,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,13 +392,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.getDefaultInstance();
     }
 
@@ -372,7 +414,8 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(this);
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
       } else {
@@ -386,38 +429,39 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -425,7 +469,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata.getDefaultInstance())
+        return this;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -448,7 +494,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -460,39 +508,58 @@ public Builder mergeFrom(
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -508,14 +575,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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(); @@ -526,17 +596,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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; } @@ -548,11 +622,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -566,55 +644,71 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -624,12 +718,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) - private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata(); } @@ -638,16 +733,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyLongrunningMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyLongrunningMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyLongrunningMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,6 +757,4 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java index a60361292..5b3153957 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningMetadataOrBuilder.java @@ -1,36 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyLongrunningMetadataOrBuilder extends +public interface AnalyzeIamPolicyLongrunningMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java index 6a0c4fa5e..2cd68a884 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A request message for
  * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -11,31 +28,32 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest}
  */
-public final class AnalyzeIamPolicyLongrunningRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeIamPolicyLongrunningRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest)
     AnalyzeIamPolicyLongrunningRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyLongrunningRequest.newBuilder() to construct.
-  private AnalyzeIamPolicyLongrunningRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeIamPolicyLongrunningRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeIamPolicyLongrunningRequest() {
     savedAnalysisQuery_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyLongrunningRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnalyzeIamPolicyLongrunningRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,45 +72,53 @@ private AnalyzeIamPolicyLongrunningRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
-            if (analysisQuery_ != null) {
-              subBuilder = analysisQuery_.toBuilder();
-            }
-            analysisQuery_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(analysisQuery_);
-              analysisQuery_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
+              if (analysisQuery_ != null) {
+                subBuilder = analysisQuery_.toBuilder();
+              }
+              analysisQuery_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(analysisQuery_);
+                analysisQuery_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null;
-            if (outputConfig_ != null) {
-              subBuilder = outputConfig_.toBuilder();
-            }
-            outputConfig_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputConfig_);
-              outputConfig_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null;
+              if (outputConfig_ != null) {
+                subBuilder = outputConfig_.toBuilder();
+              }
+              outputConfig_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputConfig_);
+                outputConfig_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            savedAnalysisQuery_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              savedAnalysisQuery_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,34 +126,41 @@ private AnalyzeIamPolicyLongrunningRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
   }
 
   public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
   /**
+   *
+   *
    * 
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -135,23 +168,34 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { @@ -161,6 +205,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; private volatile java.lang.Object savedAnalysisQuery_; /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -178,6 +224,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The savedAnalysisQuery. */ @java.lang.Override @@ -186,14 +233,15 @@ public java.lang.String getSavedAnalysisQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; } } /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -211,16 +259,15 @@ public java.lang.String getSavedAnalysisQuery() {
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -231,12 +278,17 @@ public java.lang.String getSavedAnalysisQuery() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig outputConfig_; /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -244,32 +296,45 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { return getOutputConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,8 +346,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -302,12 +366,10 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(savedAnalysisQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, savedAnalysisQuery_); @@ -320,24 +382,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.asset.v1.AnalyzeIamPolicyLongrunningRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest other = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest other = + (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery() - .equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; } - if (!getSavedAnalysisQuery() - .equals(other.getSavedAnalysisQuery())) return false; + if (!getSavedAnalysisQuery().equals(other.getSavedAnalysisQuery())) return false; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig() - .equals(other.getOutputConfig())) return false; + if (!getOutputConfig().equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -366,96 +426,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - byte[] data, - com.google.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.AnalyzeIamPolicyLongrunningRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for
    * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -463,21 +531,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest)
       com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.class,
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.newBuilder()
@@ -485,16 +555,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -516,13 +585,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance();
     }
 
@@ -537,7 +607,8 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(this);
       if (analysisQueryBuilder_ == null) {
         result.analysisQuery_ = analysisQuery_;
       } else {
@@ -557,38 +628,39 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -596,7 +668,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest.getDefaultInstance())
+        return this;
       if (other.hasAnalysisQuery()) {
         mergeAnalysisQuery(other.getAnalysisQuery());
       }
@@ -626,7 +700,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -638,39 +713,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_;
+            com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
+            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
+            com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>
+        analysisQueryBuilder_;
     /**
+     *
+     *
      * 
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -686,11 +780,15 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -704,17 +802,23 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) + .mergeFrom(value) + .buildPartial(); } else { analysisQuery_ = value; } @@ -726,11 +830,15 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -744,48 +852,64 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), - getParentForChildren(), - isClean()); + analysisQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), getParentForChildren(), isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -793,6 +917,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer private java.lang.Object savedAnalysisQuery_ = ""; /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -810,13 +936,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The savedAnalysisQuery. */ public java.lang.String getSavedAnalysisQuery() { java.lang.Object ref = savedAnalysisQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; @@ -825,6 +951,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -842,15 +970,14 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ - public com.google.protobuf.ByteString - getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -858,6 +985,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -875,20 +1004,22 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQuery( - java.lang.String value) { + public Builder setSavedAnalysisQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + savedAnalysisQuery_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -906,15 +1037,18 @@ public Builder setSavedAnalysisQuery(
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { - + savedAnalysisQuery_ = getDefaultInstance().getSavedAnalysisQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -932,16 +1066,16 @@ public Builder clearSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + savedAnalysisQuery_ = value; onChanged(); return this; @@ -949,42 +1083,61 @@ public Builder setSavedAnalysisQueryBytes( private com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1000,12 +1153,16 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutput return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder builderForValue) { @@ -1019,18 +1176,25 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig value) { + public Builder mergeOutputConfig( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -1042,12 +1206,16 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.IamPolicyAnalysisOutp return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1061,58 +1229,76 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder + getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1122,12 +1308,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) - private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest(); } @@ -1136,16 +1323,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyLongrunningRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyLongrunningRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyLongrunningRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyLongrunningRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,6 +1347,4 @@ public com.google.protobuf.Parser getParserF public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java index 06cba9c7f..37d5b6114 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningRequestOrBuilder.java @@ -1,40 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyLongrunningRequestOrBuilder extends +public interface AnalyzeIamPolicyLongrunningRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery(); /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -52,10 +84,13 @@ public interface AnalyzeIamPolicyLongrunningRequestOrBuilder extends
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The savedAnalysisQuery. */ java.lang.String getSavedAnalysisQuery(); /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -73,38 +108,52 @@ public interface AnalyzeIamPolicyLongrunningRequestOrBuilder extends
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ - com.google.protobuf.ByteString - getSavedAnalysisQueryBytes(); + com.google.protobuf.ByteString getSavedAnalysisQueryBytes(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getOutputConfig(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java index 4c2c429c1..808bc307b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A response message for
  * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -11,30 +28,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse}
  */
-public final class AnalyzeIamPolicyLongrunningResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeIamPolicyLongrunningResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
     AnalyzeIamPolicyLongrunningResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyLongrunningResponse.newBuilder() to construct.
-  private AnalyzeIamPolicyLongrunningResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AnalyzeIamPolicyLongrunningResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AnalyzeIamPolicyLongrunningResponse() {
-  }
+
+  private AnalyzeIamPolicyLongrunningResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyLongrunningResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnalyzeIamPolicyLongrunningResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,13 +71,13 @@ private AnalyzeIamPolicyLongrunningResponse(
           case 0:
             done = true;
             break;
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -67,27 +85,30 @@ private AnalyzeIamPolicyLongrunningResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -99,8 +120,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -118,12 +138,13 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse other = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) obj;
+    com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse other =
+        (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) obj;
 
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -142,96 +163,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.nio.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.AnalyzeIamPolicyLongrunningResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A response message for
    * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].
@@ -239,21 +268,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
       com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.class,
+              com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.newBuilder()
@@ -261,16 +292,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -278,13 +308,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.getDefaultInstance();
     }
 
@@ -299,7 +330,8 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse result = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse(this);
       onBuilt();
       return result;
     }
@@ -308,38 +340,39 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -347,7 +380,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse.getDefaultInstance())
+        return this;
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -367,7 +402,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -376,9 +413,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);
     }
 
@@ -388,12 +425,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
-  private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse DEFAULT_INSTANCE;
+  private static final com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse();
   }
@@ -402,16 +440,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AnalyzeIamPolicyLongrunningResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AnalyzeIamPolicyLongrunningResponse(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AnalyzeIamPolicyLongrunningResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AnalyzeIamPolicyLongrunningResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -426,6 +464,4 @@ public com.google.protobuf.Parser getParser
   public com.google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java
new file mode 100644
index 000000000..6d3510e82
--- /dev/null
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyLongrunningResponseOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/asset/v1/asset_service.proto
+
+package com.google.cloud.asset.v1;
+
+public interface AnalyzeIamPolicyLongrunningResponseOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
index f0e5a529b..e0090b98f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * A request message for
  * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyRequest}
  */
-public final class AnalyzeIamPolicyRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyRequest)
     AnalyzeIamPolicyRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyRequest.newBuilder() to construct.
   private AnalyzeIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeIamPolicyRequest() {
     savedAnalysisQuery_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AnalyzeIamPolicyRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnalyzeIamPolicyRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,45 +71,51 @@ private AnalyzeIamPolicyRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
-            if (analysisQuery_ != null) {
-              subBuilder = analysisQuery_.toBuilder();
-            }
-            analysisQuery_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(analysisQuery_);
-              analysisQuery_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null;
+              if (analysisQuery_ != null) {
+                subBuilder = analysisQuery_.toBuilder();
+              }
+              analysisQuery_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(analysisQuery_);
+                analysisQuery_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (executionTimeout_ != null) {
-              subBuilder = executionTimeout_.toBuilder();
-            }
-            executionTimeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(executionTimeout_);
-              executionTimeout_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (executionTimeout_ != null) {
+                subBuilder = executionTimeout_.toBuilder();
+              }
+              executionTimeout_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(executionTimeout_);
+                executionTimeout_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            savedAnalysisQuery_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              savedAnalysisQuery_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,34 +123,41 @@ private AnalyzeIamPolicyRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
   }
 
   public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
   /**
+   *
+   *
    * 
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -135,23 +165,34 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { @@ -161,6 +202,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer public static final int SAVED_ANALYSIS_QUERY_FIELD_NUMBER = 3; private volatile java.lang.Object savedAnalysisQuery_; /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -178,6 +221,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The savedAnalysisQuery. */ @java.lang.Override @@ -186,14 +230,15 @@ public java.lang.String getSavedAnalysisQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; } } /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -211,16 +256,15 @@ public java.lang.String getSavedAnalysisQuery() {
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -231,6 +275,8 @@ public java.lang.String getSavedAnalysisQuery() { public static final int EXECUTION_TIMEOUT_FIELD_NUMBER = 2; private com.google.protobuf.Duration executionTimeout_; /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -243,7 +289,10 @@ public java.lang.String getSavedAnalysisQuery() {
    * Default is empty.
    * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ @java.lang.Override @@ -251,6 +300,8 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -263,14 +314,21 @@ public boolean hasExecutionTimeout() {
    * Default is empty.
    * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ @java.lang.Override public com.google.protobuf.Duration getExecutionTimeout() { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -283,7 +341,9 @@ public com.google.protobuf.Duration getExecutionTimeout() {
    * Default is empty.
    * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { @@ -291,6 +351,7 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,8 +363,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -323,12 +383,10 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); } if (executionTimeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExecutionTimeout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecutionTimeout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(savedAnalysisQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, savedAnalysisQuery_); @@ -341,24 +399,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.asset.v1.AnalyzeIamPolicyRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyRequest other = (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyRequest other = + (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery() - .equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; } - if (!getSavedAnalysisQuery() - .equals(other.getSavedAnalysisQuery())) return false; + if (!getSavedAnalysisQuery().equals(other.getSavedAnalysisQuery())) return false; if (hasExecutionTimeout() != other.hasExecutionTimeout()) return false; if (hasExecutionTimeout()) { - if (!getExecutionTimeout() - .equals(other.getExecutionTimeout())) return false; + if (!getExecutionTimeout().equals(other.getExecutionTimeout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -387,96 +443,103 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( - byte[] data, - com.google.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.asset.v1.AnalyzeIamPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for
    * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -484,21 +547,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyRequest)
       com.google.cloud.asset.v1.AnalyzeIamPolicyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.class,
+              com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.newBuilder()
@@ -506,16 +571,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -537,9 +601,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -558,7 +622,8 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result = new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyRequest result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(this);
       if (analysisQueryBuilder_ == null) {
         result.analysisQuery_ = analysisQuery_;
       } else {
@@ -578,38 +643,39 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyRequest)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -617,7 +683,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyRequest other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyRequest.getDefaultInstance())
+        return this;
       if (other.hasAnalysisQuery()) {
         mergeAnalysisQuery(other.getAnalysisQuery());
       }
@@ -647,7 +714,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -659,39 +727,58 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_;
+            com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
+            com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
+            com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>
+        analysisQueryBuilder_;
     /**
+     *
+     *
      * 
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -707,11 +794,15 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -725,17 +816,23 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) + .mergeFrom(value) + .buildPartial(); } else { analysisQuery_ = value; } @@ -747,11 +844,15 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -765,48 +866,64 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), - getParentForChildren(), - isClean()); + analysisQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), getParentForChildren(), isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -814,6 +931,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer private java.lang.Object savedAnalysisQuery_ = ""; /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -831,13 +950,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The savedAnalysisQuery. */ public java.lang.String getSavedAnalysisQuery() { java.lang.Object ref = savedAnalysisQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedAnalysisQuery_ = s; return s; @@ -846,6 +965,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -863,15 +984,14 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ - public com.google.protobuf.ByteString - getSavedAnalysisQueryBytes() { + public com.google.protobuf.ByteString getSavedAnalysisQueryBytes() { java.lang.Object ref = savedAnalysisQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedAnalysisQuery_ = b; return b; } else { @@ -879,6 +999,8 @@ public java.lang.String getSavedAnalysisQuery() { } } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -896,20 +1018,22 @@ public java.lang.String getSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQuery( - java.lang.String value) { + public Builder setSavedAnalysisQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + savedAnalysisQuery_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -927,15 +1051,18 @@ public Builder setSavedAnalysisQuery(
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSavedAnalysisQuery() { - + savedAnalysisQuery_ = getDefaultInstance().getSavedAnalysisQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The name of a saved query, which must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -953,16 +1080,16 @@ public Builder clearSavedAnalysisQuery() {
      * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for savedAnalysisQuery to set. * @return This builder for chaining. */ - public Builder setSavedAnalysisQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setSavedAnalysisQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + savedAnalysisQuery_ = value; onChanged(); return this; @@ -970,8 +1097,13 @@ public Builder setSavedAnalysisQueryBytes( private com.google.protobuf.Duration executionTimeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionTimeoutBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + executionTimeoutBuilder_; /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -984,13 +1116,18 @@ public Builder setSavedAnalysisQueryBytes(
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeoutBuilder_ != null || executionTimeout_ != null; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1003,17 +1140,24 @@ public boolean hasExecutionTimeout() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } else { return executionTimeoutBuilder_.getMessage(); } } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1026,7 +1170,9 @@ public com.google.protobuf.Duration getExecutionTimeout() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { @@ -1042,6 +1188,8 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1054,10 +1202,11 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setExecutionTimeout( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) { if (executionTimeoutBuilder_ == null) { executionTimeout_ = builderForValue.build(); onChanged(); @@ -1068,6 +1217,8 @@ public Builder setExecutionTimeout( return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1080,13 +1231,17 @@ public Builder setExecutionTimeout(
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { if (executionTimeout_ != null) { executionTimeout_ = - com.google.protobuf.Duration.newBuilder(executionTimeout_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(executionTimeout_) + .mergeFrom(value) + .buildPartial(); } else { executionTimeout_ = value; } @@ -1098,6 +1253,8 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1110,7 +1267,9 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExecutionTimeout() { if (executionTimeoutBuilder_ == null) { @@ -1124,6 +1283,8 @@ public Builder clearExecutionTimeout() { return this; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1136,14 +1297,18 @@ public Builder clearExecutionTimeout() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { - + onChanged(); return getExecutionTimeoutFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1156,17 +1321,22 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { if (executionTimeoutBuilder_ != null) { return executionTimeoutBuilder_.getMessageOrBuilder(); } else { - return executionTimeout_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON
      * representation of
@@ -1179,24 +1349,29 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getExecutionTimeoutFieldBuilder() { if (executionTimeoutBuilder_ == null) { - executionTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExecutionTimeout(), - getParentForChildren(), - isClean()); + executionTimeoutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getExecutionTimeout(), getParentForChildren(), isClean()); executionTimeout_ = null; } return executionTimeoutBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1206,12 +1381,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyRequest) private static final com.google.cloud.asset.v1.AnalyzeIamPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyRequest(); } @@ -1220,16 +1395,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,6 +1419,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java index 7a590165e..6c1c7d4ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyRequestOrBuilder.java @@ -1,40 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyRequestOrBuilder extends +public interface AnalyzeIamPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery(); /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -52,10 +84,13 @@ public interface AnalyzeIamPolicyRequestOrBuilder extends
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The savedAnalysisQuery. */ java.lang.String getSavedAnalysisQuery(); /** + * + * *
    * Optional. The name of a saved query, which must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -73,12 +108,14 @@ public interface AnalyzeIamPolicyRequestOrBuilder extends
    * 
* * string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for savedAnalysisQuery. */ - com.google.protobuf.ByteString - getSavedAnalysisQueryBytes(); + com.google.protobuf.ByteString getSavedAnalysisQueryBytes(); /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -91,11 +128,16 @@ public interface AnalyzeIamPolicyRequestOrBuilder extends
    * Default is empty.
    * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -108,11 +150,16 @@ public interface AnalyzeIamPolicyRequestOrBuilder extends
    * Default is empty.
    * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** + * + * *
    * Optional. Amount of time executable has to complete.  See JSON
    * representation of
@@ -125,7 +172,9 @@ public interface AnalyzeIamPolicyRequestOrBuilder extends
    * Default is empty.
    * 
* - * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java index 897d314ac..ded28a1b4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A response message for
  * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse}
  */
-public final class AnalyzeIamPolicyResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AnalyzeIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse)
     AnalyzeIamPolicyResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AnalyzeIamPolicyResponse.newBuilder() to construct.
   private AnalyzeIamPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AnalyzeIamPolicyResponse() {
     serviceAccountImpersonationAnalysis_ = 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 AnalyzeIamPolicyResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AnalyzeIamPolicyResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,40 +72,50 @@ private AnalyzeIamPolicyResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder subBuilder = null;
-            if (mainAnalysis_ != null) {
-              subBuilder = mainAnalysis_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
+                  subBuilder = null;
+              if (mainAnalysis_ != null) {
+                subBuilder = mainAnalysis_.toBuilder();
+              }
+              mainAnalysis_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(mainAnalysis_);
+                mainAnalysis_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            mainAnalysis_ = input.readMessage(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(mainAnalysis_);
-              mainAnalysis_ = subBuilder.buildPartial();
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                serviceAccountImpersonationAnalysis_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              serviceAccountImpersonationAnalysis_.add(
+                  input.readMessage(
+                      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(),
+                      extensionRegistry));
+              break;
             }
-
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              serviceAccountImpersonationAnalysis_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 24:
+            {
+              fullyExplored_ = input.readBool();
+              break;
             }
-            serviceAccountImpersonationAnalysis_.add(
-                input.readMessage(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry));
-            break;
-          }
-          case 24: {
-
-            fullyExplored_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -96,52 +123,64 @@ private AnalyzeIamPolicyResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
-        serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
+        serviceAccountImpersonationAnalysis_ =
+            java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
       }
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
   }
 
-  public interface IamPolicyAnalysisOrBuilder extends
+  public interface IamPolicyAnalysisOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return The analysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery(); /** + * + * *
      * The analysis query.
      * 
@@ -151,6 +190,8 @@ public interface IamPolicyAnalysisOrBuilder extends com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** + * + * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -159,9 +200,10 @@ public interface IamPolicyAnalysisOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
-    java.util.List 
-        getAnalysisResultsList();
+    java.util.List getAnalysisResultsList();
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -172,6 +214,8 @@ public interface IamPolicyAnalysisOrBuilder extends
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int index);
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -182,6 +226,8 @@ public interface IamPolicyAnalysisOrBuilder extends
      */
     int getAnalysisResultsCount();
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -190,9 +236,11 @@ public interface IamPolicyAnalysisOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
-    java.util.List 
+    java.util.List
         getAnalysisResultsOrBuilderList();
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -205,6 +253,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB
         int index);
 
     /**
+     *
+     *
      * 
      * Represents whether all entries in the
      * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -212,20 +262,24 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ boolean getFullyExplored(); /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
* * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - java.util.List - getNonCriticalErrorsList(); + java.util.List getNonCriticalErrorsList(); /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -234,6 +288,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB */ com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int index); /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -242,15 +298,19 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrB */ int getNonCriticalErrorsCount(); /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
* * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ - java.util.List + java.util.List getNonCriticalErrorsOrBuilderList(); /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -261,21 +321,24 @@ com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalErrorsOr int index); } /** + * + * *
    * An analysis message to group the query and results.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class IamPolicyAnalysis extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IamPolicyAnalysis extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) IamPolicyAnalysisOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysis.newBuilder() to construct. private IamPolicyAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IamPolicyAnalysis() { analysisResults_ = java.util.Collections.emptyList(); nonCriticalErrors_ = java.util.Collections.emptyList(); @@ -283,16 +346,15 @@ private IamPolicyAnalysis() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicyAnalysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicyAnalysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -312,49 +374,61 @@ private IamPolicyAnalysis( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); + case 10: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); + } + analysisQuery_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); + } + + break; } - analysisQuery_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analysisResults_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + analysisResults_.add( + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analysisResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 24: + { + fullyExplored_ = input.readBool(); + break; } - analysisResults_.add( - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.parser(), extensionRegistry)); - break; - } - case 24: { - - fullyExplored_ = input.readBool(); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 42: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + nonCriticalErrors_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + nonCriticalErrors_.add( + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), + extensionRegistry)); + break; } - nonCriticalErrors_.add( - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -362,8 +436,7 @@ private IamPolicyAnalysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { analysisResults_ = java.util.Collections.unmodifiableList(analysisResults_); @@ -375,27 +448,33 @@ private IamPolicyAnalysis( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_; /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -403,18 +482,25 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } /** + * + * *
      * The analysis query.
      * 
@@ -429,6 +515,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer public static final int ANALYSIS_RESULTS_FIELD_NUMBER = 2; private java.util.List analysisResults_; /** + * + * *
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -438,10 +526,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
     @java.lang.Override
-    public java.util.List getAnalysisResultsList() {
+    public java.util.List
+        getAnalysisResultsList() {
       return analysisResults_;
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -451,11 +542,13 @@ public java.util.List getAnal
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getAnalysisResultsOrBuilderList() {
       return analysisResults_;
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -469,6 +562,8 @@ public int getAnalysisResultsCount() {
       return analysisResults_.size();
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -482,6 +577,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
       return analysisResults_.get(index);
     }
     /**
+     *
+     *
      * 
      * A list of
      * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -499,6 +596,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
     public static final int FULLY_EXPLORED_FIELD_NUMBER = 3;
     private boolean fullyExplored_;
     /**
+     *
+     *
      * 
      * Represents whether all entries in the
      * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -506,6 +605,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -516,6 +616,8 @@ public boolean getFullyExplored() { public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER = 5; private java.util.List nonCriticalErrors_; /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -523,10 +625,13 @@ public boolean getFullyExplored() { * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ @java.lang.Override - public java.util.List getNonCriticalErrorsList() { + public java.util.List + getNonCriticalErrorsList() { return nonCriticalErrors_; } /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -534,11 +639,13 @@ public java.util.List getNonCr * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; */ @java.lang.Override - public java.util.List + public java.util.List getNonCriticalErrorsOrBuilderList() { return nonCriticalErrors_; } /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -550,6 +657,8 @@ public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -561,6 +670,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int return nonCriticalErrors_.get(index); } /** + * + * *
      * A list of non-critical errors happened during the query handling.
      * 
@@ -574,6 +685,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalE } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -585,8 +697,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -609,20 +720,18 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); } for (int i = 0; i < analysisResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, analysisResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, analysisResults_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); } for (int i = 0; i < nonCriticalErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, nonCriticalErrors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, nonCriticalErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -632,24 +741,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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = + (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery() - .equals(other.getAnalysisQuery())) return false; - } - if (!getAnalysisResultsList() - .equals(other.getAnalysisResultsList())) return false; - if (getFullyExplored() - != other.getFullyExplored()) return false; - if (!getNonCriticalErrorsList() - .equals(other.getNonCriticalErrorsList())) return false; + if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; + } + if (!getAnalysisResultsList().equals(other.getAnalysisResultsList())) return false; + if (getFullyExplored() != other.getFullyExplored()) return false; + if (!getNonCriticalErrorsList().equals(other.getNonCriticalErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -670,8 +776,7 @@ public int hashCode() { hash = (53 * hash) + getAnalysisResultsList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); if (getNonCriticalErrorsCount() > 0) { hash = (37 * hash) + NON_CRITICAL_ERRORS_FIELD_NUMBER; hash = (53 * hash) + getNonCriticalErrorsList().hashCode(); @@ -682,87 +787,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - byte[] data, - com.google.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom( - java.io.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseDelimitedFrom( + java.io.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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -772,46 +885,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An analysis message to group the query and results.
      * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); } - // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() + // Construct using + // com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAnalysisResultsFieldBuilder(); getNonCriticalErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -839,19 +958,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { - return com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance(); + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis build() { - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = buildPartial(); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -860,7 +982,8 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buil @java.lang.Override public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial() { - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = + new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); int from_bitField0_ = bitField0_; if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; @@ -894,46 +1017,53 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)other); + return mergeFrom( + (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { - if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { + if (other + == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()) return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -955,9 +1085,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamP analysisResultsBuilder_ = null; analysisResults_ = other.analysisResults_; bitField0_ = (bitField0_ & ~0x00000001); - analysisResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAnalysisResultsFieldBuilder() : null; + analysisResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAnalysisResultsFieldBuilder() + : null; } else { analysisResultsBuilder_.addAllMessages(other.analysisResults_); } @@ -984,9 +1115,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamP nonCriticalErrorsBuilder_ = null; nonCriticalErrors_ = other.nonCriticalErrors_; bitField0_ = (bitField0_ & ~0x00000002); - nonCriticalErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNonCriticalErrorsFieldBuilder() : null; + nonCriticalErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNonCriticalErrorsFieldBuilder() + : null; } else { nonCriticalErrorsBuilder_.addAllMessages(other.nonCriticalErrors_); } @@ -1011,7 +1143,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1020,38 +1154,52 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + analysisQueryBuilder_; /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return The analysisQuery. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** + * + * *
        * The analysis query.
        * 
@@ -1072,6 +1220,8 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1090,6 +1240,8 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1100,7 +1252,9 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) + .mergeFrom(value) + .buildPartial(); } else { analysisQuery_ = value; } @@ -1112,6 +1266,8 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQue return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1130,6 +1286,8 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
        * The analysis query.
        * 
@@ -1137,11 +1295,13 @@ public Builder clearAnalysisQuery() { * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis query.
        * 
@@ -1152,11 +1312,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } } /** + * + * *
        * The analysis query.
        * 
@@ -1164,32 +1327,43 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getAnalysisQuer * .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), - getParentForChildren(), - isClean()); + analysisQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), getParentForChildren(), isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; } private java.util.List analysisResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAnalysisResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - analysisResults_ = new java.util.ArrayList(analysisResults_); + analysisResults_ = + new java.util.ArrayList( + analysisResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder> analysisResultsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder> + analysisResultsBuilder_; /** + * + * *
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1198,7 +1372,8 @@ private void ensureAnalysisResultsIsMutable() {
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
-      public java.util.List getAnalysisResultsList() {
+      public java.util.List
+          getAnalysisResultsList() {
         if (analysisResultsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(analysisResults_);
         } else {
@@ -1206,6 +1381,8 @@ public java.util.List getAnal
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1222,6 +1399,8 @@ public int getAnalysisResultsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1238,6 +1417,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult getAnalysisResults(int
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1261,6 +1442,8 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1281,6 +1464,8 @@ public Builder setAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1303,6 +1488,8 @@ public Builder addAnalysisResults(com.google.cloud.asset.v1.IamPolicyAnalysisRes
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1326,6 +1513,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1346,6 +1535,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1366,6 +1557,8 @@ public Builder addAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1378,8 +1571,7 @@ public Builder addAllAnalysisResults(
           java.lang.Iterable values) {
         if (analysisResultsBuilder_ == null) {
           ensureAnalysisResultsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, analysisResults_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, analysisResults_);
           onChanged();
         } else {
           analysisResultsBuilder_.addAllMessages(values);
@@ -1387,6 +1579,8 @@ public Builder addAllAnalysisResults(
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1406,6 +1600,8 @@ public Builder clearAnalysisResults() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1425,6 +1621,8 @@ public Builder removeAnalysisResults(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1438,6 +1636,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
         return getAnalysisResultsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1449,11 +1649,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder getAnalysisResu
       public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder(
           int index) {
         if (analysisResultsBuilder_ == null) {
-          return analysisResults_.get(index);  } else {
+          return analysisResults_.get(index);
+        } else {
           return analysisResultsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1462,8 +1665,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
-      public java.util.List 
-           getAnalysisResultsOrBuilderList() {
+      public java.util.List
+          getAnalysisResultsOrBuilderList() {
         if (analysisResultsBuilder_ != null) {
           return analysisResultsBuilder_.getMessageOrBuilderList();
         } else {
@@ -1471,6 +1674,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
         }
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1480,10 +1685,12 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder getAnalysisRes
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder() {
-        return getAnalysisResultsFieldBuilder().addBuilder(
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
+        return getAnalysisResultsFieldBuilder()
+            .addBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1494,10 +1701,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder(
           int index) {
-        return getAnalysisResultsFieldBuilder().addBuilder(
-            index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
+        return getAnalysisResultsFieldBuilder()
+            .addBuilder(
+                index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * A list of
        * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
@@ -1506,16 +1716,22 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
        */
-      public java.util.List 
-           getAnalysisResultsBuilderList() {
+      public java.util.List
+          getAnalysisResultsBuilderList() {
         return getAnalysisResultsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder> 
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>
           getAnalysisResultsFieldBuilder() {
         if (analysisResultsBuilder_ == null) {
-          analysisResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>(
+          analysisResultsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder>(
                   analysisResults_,
                   ((bitField0_ & 0x00000001) != 0),
                   getParentForChildren(),
@@ -1525,8 +1741,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
         return analysisResultsBuilder_;
       }
 
-      private boolean fullyExplored_ ;
+      private boolean fullyExplored_;
       /**
+       *
+       *
        * 
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1534,6 +1752,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder addAnalysisResu
        * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1541,6 +1760,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1548,16 +1769,19 @@ public boolean getFullyExplored() {
        * 
* * bool fully_explored = 3; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** + * + * *
        * Represents whether all entries in the
        * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
@@ -1565,35 +1789,46 @@ public Builder setFullyExplored(boolean value) {
        * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = false; onChanged(); return this; } private java.util.List nonCriticalErrors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNonCriticalErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = new java.util.ArrayList(nonCriticalErrors_); + nonCriticalErrors_ = + new java.util.ArrayList( + nonCriticalErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> nonCriticalErrorsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + nonCriticalErrorsBuilder_; /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ - public java.util.List getNonCriticalErrorsList() { + public java.util.List + getNonCriticalErrorsList() { if (nonCriticalErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(nonCriticalErrors_); } else { @@ -1601,11 +1836,14 @@ public java.util.List getNonCr } } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public int getNonCriticalErrorsCount() { if (nonCriticalErrorsBuilder_ == null) { @@ -1615,11 +1853,14 @@ public int getNonCriticalErrorsCount() { } } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { @@ -1629,11 +1870,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState getNonCriticalErrors(int } } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder setNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState value) { @@ -1650,11 +1894,14 @@ public Builder setNonCriticalErrors( return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder setNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder builderForValue) { @@ -1668,11 +1915,14 @@ public Builder setNonCriticalErrors( return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder addNonCriticalErrors(com.google.cloud.asset.v1.IamPolicyAnalysisState value) { if (nonCriticalErrorsBuilder_ == null) { @@ -1688,11 +1938,14 @@ public Builder addNonCriticalErrors(com.google.cloud.asset.v1.IamPolicyAnalysisS return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder addNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState value) { @@ -1709,11 +1962,14 @@ public Builder addNonCriticalErrors( return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder addNonCriticalErrors( com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder builderForValue) { @@ -1727,11 +1983,14 @@ public Builder addNonCriticalErrors( return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder addNonCriticalErrors( int index, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder builderForValue) { @@ -1745,18 +2004,20 @@ public Builder addNonCriticalErrors( return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder addAllNonCriticalErrors( java.lang.Iterable values) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nonCriticalErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nonCriticalErrors_); onChanged(); } else { nonCriticalErrorsBuilder_.addAllMessages(values); @@ -1764,11 +2025,14 @@ public Builder addAllNonCriticalErrors( return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder clearNonCriticalErrors() { if (nonCriticalErrorsBuilder_ == null) { @@ -1781,11 +2045,14 @@ public Builder clearNonCriticalErrors() { return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public Builder removeNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { @@ -1798,39 +2065,49 @@ public Builder removeNonCriticalErrors(int index) { return this; } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getNonCriticalErrorsBuilder( int index) { return getNonCriticalErrorsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder + getNonCriticalErrorsOrBuilder(int index) { if (nonCriticalErrorsBuilder_ == null) { - return nonCriticalErrors_.get(index); } else { + return nonCriticalErrors_.get(index); + } else { return nonCriticalErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ - public java.util.List - getNonCriticalErrorsOrBuilderList() { + public java.util.List + getNonCriticalErrorsOrBuilderList() { if (nonCriticalErrorsBuilder_ != null) { return nonCriticalErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -1838,45 +2115,62 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getNonCriticalE } } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder addNonCriticalErrorsBuilder() { - return getNonCriticalErrorsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder + addNonCriticalErrorsBuilder() { + return getNonCriticalErrorsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder addNonCriticalErrorsBuilder( int index) { - return getNonCriticalErrorsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); + return getNonCriticalErrorsFieldBuilder() + .addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()); } /** + * + * *
        * A list of non-critical errors happened during the query handling.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5; + * */ - public java.util.List - getNonCriticalErrorsBuilderList() { + public java.util.List + getNonCriticalErrorsBuilderList() { return getNonCriticalErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getNonCriticalErrorsFieldBuilder() { if (nonCriticalErrorsBuilder_ == null) { - nonCriticalErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + nonCriticalErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( nonCriticalErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1885,6 +2179,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder addNonCriticalEr } return nonCriticalErrorsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1897,30 +2192,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - private static final com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); } - public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance() { + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysis parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysis(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1932,20 +2229,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int MAIN_ANALYSIS_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_; /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return Whether the mainAnalysis field is set. */ @java.lang.Override @@ -1953,102 +2254,138 @@ public boolean hasMainAnalysis() { return mainAnalysis_ != null; } /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return The mainAnalysis. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { - return mainAnalysis_ == null ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + return mainAnalysis_ == null + ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() + : mainAnalysis_; } /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder() { return getMainAnalysis(); } public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER = 2; - private java.util.List serviceAccountImpersonationAnalysis_; + private java.util.List + serviceAccountImpersonationAnalysis_; /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public java.util.List getServiceAccountImpersonationAnalysisList() { + public java.util.List + getServiceAccountImpersonationAnalysisList() { return serviceAccountImpersonationAnalysis_; } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList() { return serviceAccountImpersonationAnalysis_; } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override public int getServiceAccountImpersonationAnalysisCount() { return serviceAccountImpersonationAnalysis_.size(); } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getServiceAccountImpersonationAnalysis(int index) { return serviceAccountImpersonationAnalysis_.get(index); } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getServiceAccountImpersonationAnalysisOrBuilder(int index) { return serviceAccountImpersonationAnalysis_.get(index); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 3; private boolean fullyExplored_; /** + * + * *
    * Represents whether all entries in the
    * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2058,6 +2395,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBui
    * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -2066,6 +2404,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2077,8 +2416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (mainAnalysis_ != null) { output.writeMessage(1, getMainAnalysis()); } @@ -2098,16 +2436,15 @@ public int getSerializedSize() { size = 0; if (mainAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMainAnalysis()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMainAnalysis()); } for (int i = 0; i < serviceAccountImpersonationAnalysis_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, serviceAccountImpersonationAnalysis_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, serviceAccountImpersonationAnalysis_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2117,22 +2454,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.asset.v1.AnalyzeIamPolicyResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse other = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) obj; + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse other = + (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) obj; if (hasMainAnalysis() != other.hasMainAnalysis()) return false; if (hasMainAnalysis()) { - if (!getMainAnalysis() - .equals(other.getMainAnalysis())) return false; + if (!getMainAnalysis().equals(other.getMainAnalysis())) return false; } if (!getServiceAccountImpersonationAnalysisList() .equals(other.getServiceAccountImpersonationAnalysisList())) return false; - if (getFullyExplored() - != other.getFullyExplored()) return false; + if (getFullyExplored() != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2153,104 +2489,110 @@ public int hashCode() { hash = (53 * hash) + getServiceAccountImpersonationAnalysisList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.nio.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.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( - byte[] data, - com.google.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.asset.v1.AnalyzeIamPolicyResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeIamPolicyResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for
    * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].
@@ -2258,21 +2600,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AnalyzeIamPolicyResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeIamPolicyResponse)
       com.google.cloud.asset.v1.AnalyzeIamPolicyResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
+              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.class,
+              com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.newBuilder()
@@ -2280,17 +2624,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) {
         getServiceAccountImpersonationAnalysisFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2312,9 +2656,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor;
     }
 
     @java.lang.Override
@@ -2333,7 +2677,8 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse buildPartial() {
-      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse(this);
+      com.google.cloud.asset.v1.AnalyzeIamPolicyResponse result =
+          new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse(this);
       int from_bitField0_ = bitField0_;
       if (mainAnalysisBuilder_ == null) {
         result.mainAnalysis_ = mainAnalysis_;
@@ -2342,12 +2687,14 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse buildPartial() {
       }
       if (serviceAccountImpersonationAnalysisBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
-          serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
+          serviceAccountImpersonationAnalysis_ =
+              java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_);
           bitField0_ = (bitField0_ & ~0x00000001);
         }
         result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysis_;
       } else {
-        result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysisBuilder_.build();
+        result.serviceAccountImpersonationAnalysis_ =
+            serviceAccountImpersonationAnalysisBuilder_.build();
       }
       result.fullyExplored_ = fullyExplored_;
       onBuilt();
@@ -2358,38 +2705,39 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2397,7 +2745,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse other) {
-      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.getDefaultInstance())
+        return this;
       if (other.hasMainAnalysis()) {
         mergeMainAnalysis(other.getMainAnalysis());
       }
@@ -2419,11 +2768,13 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse othe
             serviceAccountImpersonationAnalysisBuilder_ = null;
             serviceAccountImpersonationAnalysis_ = other.serviceAccountImpersonationAnalysis_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            serviceAccountImpersonationAnalysisBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getServiceAccountImpersonationAnalysisFieldBuilder() : null;
+            serviceAccountImpersonationAnalysisBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getServiceAccountImpersonationAnalysisFieldBuilder()
+                    : null;
           } else {
-            serviceAccountImpersonationAnalysisBuilder_.addAllMessages(other.serviceAccountImpersonationAnalysis_);
+            serviceAccountImpersonationAnalysisBuilder_.addAllMessages(
+                other.serviceAccountImpersonationAnalysis_);
           }
         }
       }
@@ -2449,7 +2800,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2458,45 +2810,64 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> mainAnalysisBuilder_;
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder,
+            com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>
+        mainAnalysisBuilder_;
     /**
+     *
+     *
      * 
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return Whether the mainAnalysis field is set. */ public boolean hasMainAnalysis() { return mainAnalysisBuilder_ != null || mainAnalysis_ != null; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return The mainAnalysis. */ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { if (mainAnalysisBuilder_ == null) { - return mainAnalysis_ == null ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + return mainAnalysis_ == null + ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance() + : mainAnalysis_; } else { return mainAnalysisBuilder_.getMessage(); } } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public Builder setMainAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder setMainAnalysis( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2510,14 +2881,18 @@ public Builder setMainAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyRespons return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ public Builder setMainAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (mainAnalysisBuilder_ == null) { mainAnalysis_ = builderForValue.build(); onChanged(); @@ -2528,17 +2903,24 @@ public Builder setMainAnalysis( return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public Builder mergeMainAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder mergeMainAnalysis( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (mainAnalysis_ != null) { mainAnalysis_ = - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder(mainAnalysis_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder( + mainAnalysis_) + .mergeFrom(value) + .buildPartial(); } else { mainAnalysis_ = value; } @@ -2550,11 +2932,14 @@ public Builder mergeMainAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyRespo return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ public Builder clearMainAnalysis() { if (mainAnalysisBuilder_ == null) { @@ -2568,75 +2953,103 @@ public Builder clearMainAnalysis() { return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder() { - + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + getMainAnalysisBuilder() { + onChanged(); return getMainAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder() { if (mainAnalysisBuilder_ != null) { return mainAnalysisBuilder_.getMessageOrBuilder(); } else { - return mainAnalysis_ == null ? - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + return mainAnalysis_ == null + ? com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance() + : mainAnalysis_; } } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getMainAnalysisFieldBuilder() { if (mainAnalysisBuilder_ == null) { - mainAnalysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( - getMainAnalysis(), - getParentForChildren(), - isClean()); + mainAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( + getMainAnalysis(), getParentForChildren(), isClean()); mainAnalysis_ = null; } return mainAnalysisBuilder_; } - private java.util.List serviceAccountImpersonationAnalysis_ = - java.util.Collections.emptyList(); + private java.util.List + serviceAccountImpersonationAnalysis_ = java.util.Collections.emptyList(); + private void ensureServiceAccountImpersonationAnalysisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>( + serviceAccountImpersonationAnalysis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> serviceAccountImpersonationAnalysisBuilder_; + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + serviceAccountImpersonationAnalysisBuilder_; /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public java.util.List getServiceAccountImpersonationAnalysisList() { + public java.util.List + getServiceAccountImpersonationAnalysisList() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); } else { @@ -2644,13 +3057,17 @@ public java.util.List * The service account impersonation analysis if * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is * enabled. *
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public int getServiceAccountImpersonationAnalysisCount() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2660,15 +3077,20 @@ public int getServiceAccountImpersonationAnalysisCount() { } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return serviceAccountImpersonationAnalysis_.get(index); } else { @@ -2676,13 +3098,17 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getS } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder setServiceAccountImpersonationAnalysis( int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { @@ -2699,16 +3125,22 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder setServiceAccountImpersonationAnalysis( - int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.set(index, builderForValue.build()); @@ -2719,15 +3151,20 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public Builder addServiceAccountImpersonationAnalysis(com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder addServiceAccountImpersonationAnalysis( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2741,13 +3178,17 @@ public Builder addServiceAccountImpersonationAnalysis(com.google.cloud.asset.v1. return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addServiceAccountImpersonationAnalysis( int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { @@ -2764,16 +3205,21 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addServiceAccountImpersonationAnalysis( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(builderForValue.build()); @@ -2784,16 +3230,22 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addServiceAccountImpersonationAnalysis( - int index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(index, builderForValue.build()); @@ -2804,16 +3256,22 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addAllServiceAccountImpersonationAnalysis( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> + values) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -2825,13 +3283,17 @@ public Builder addAllServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder clearServiceAccountImpersonationAnalysis() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2844,13 +3306,17 @@ public Builder clearServiceAccountImpersonationAnalysis() { return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder removeServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2863,45 +3329,59 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + getServiceAccountImpersonationAnalysisBuilder(int index) { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilder(index); } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( - int index) { + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getServiceAccountImpersonationAnalysisOrBuilder(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - return serviceAccountImpersonationAnalysis_.get(index); } else { + return serviceAccountImpersonationAnalysis_.get(index); + } else { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public java.util.List - getServiceAccountImpersonationAnalysisOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + getServiceAccountImpersonationAnalysisOrBuilderList() { if (serviceAccountImpersonationAnalysisBuilder_ != null) { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilderList(); } else { @@ -2909,51 +3389,76 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBui } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder() { - return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + addServiceAccountImpersonationAnalysisBuilder() { + return getServiceAccountImpersonationAnalysisFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()); } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder( - int index) { - return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); + public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + addServiceAccountImpersonationAnalysisBuilder(int index) { + return getServiceAccountImpersonationAnalysisFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()); } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public java.util.List - getServiceAccountImpersonationAnalysisBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> + getServiceAccountImpersonationAnalysisBuilderList() { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisFieldBuilder() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - serviceAccountImpersonationAnalysisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( + serviceAccountImpersonationAnalysisBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( serviceAccountImpersonationAnalysis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2963,8 +3468,10 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Buil return serviceAccountImpersonationAnalysisBuilder_; } - private boolean fullyExplored_ ; + private boolean fullyExplored_; /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2974,6 +3481,7 @@ public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Buil
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -2981,6 +3489,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -2990,16 +3500,19 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 3; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** + * + * *
      * Represents whether all entries in the
      * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -3009,17 +3522,18 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = 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); } @@ -3029,12 +3543,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeIamPolicyResponse) private static final com.google.cloud.asset.v1.AnalyzeIamPolicyResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeIamPolicyResponse(); } @@ -3043,16 +3557,16 @@ public static com.google.cloud.asset.v1.AnalyzeIamPolicyResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3067,6 +3581,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java index 4eef1b0c3..6b26559c6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeIamPolicyResponseOrBuilder.java @@ -1,94 +1,146 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeIamPolicyResponseOrBuilder extends +public interface AnalyzeIamPolicyResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeIamPolicyResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return Whether the mainAnalysis field is set. */ boolean hasMainAnalysis(); /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return The mainAnalysis. */ com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis(); /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder(); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - java.util.List + java.util.List getServiceAccountImpersonationAnalysisList(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getServiceAccountImpersonationAnalysis(int index); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ int getServiceAccountImpersonationAnalysisCount(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( - int index); + com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getServiceAccountImpersonationAnalysisOrBuilder(int index); /** + * + * *
    * Represents whether all entries in the
    * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
@@ -98,6 +150,7 @@ com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder ge
    * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ boolean getFullyExplored(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java index 2f6d86eb8..19aa2c4bd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * The request message for performing resource move analysis.
  * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveRequest} */ -public final class AnalyzeMoveRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalyzeMoveRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeMoveRequest) AnalyzeMoveRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalyzeMoveRequest.newBuilder() to construct. private AnalyzeMoveRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnalyzeMoveRequest() { resource_ = ""; destinationParent_ = ""; @@ -27,16 +45,15 @@ private AnalyzeMoveRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalyzeMoveRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnalyzeMoveRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private AnalyzeMoveRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + resource_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - destinationParent_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + destinationParent_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,36 +107,41 @@ private AnalyzeMoveRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveRequest.class, com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveRequest.class, + com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); } /** + * + * *
    * View enum for supporting partial analysis responses.
    * 
* * Protobuf enum {@code google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView} */ - public enum AnalysisView - implements com.google.protobuf.ProtocolMessageEnum { + public enum AnalysisView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default/unset value.
      * The API will default to the FULL view.
@@ -126,6 +151,8 @@ public enum AnalysisView
      */
     ANALYSIS_VIEW_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Full analysis including all level of impacts of the specified resource
      * move.
@@ -135,6 +162,8 @@ public enum AnalysisView
      */
     FULL(1),
     /**
+     *
+     *
      * 
      * Basic analysis only including blockers which will prevent the specified
      * resource move at runtime.
@@ -147,6 +176,8 @@ public enum AnalysisView
     ;
 
     /**
+     *
+     *
      * 
      * The default/unset value.
      * The API will default to the FULL view.
@@ -156,6 +187,8 @@ public enum AnalysisView
      */
     public static final int ANALYSIS_VIEW_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Full analysis including all level of impacts of the specified resource
      * move.
@@ -165,6 +198,8 @@ public enum AnalysisView
      */
     public static final int FULL_VALUE = 1;
     /**
+     *
+     *
      * 
      * Basic analysis only including blockers which will prevent the specified
      * resource move at runtime.
@@ -174,7 +209,6 @@ public enum AnalysisView
      */
     public static final int BASIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -199,49 +233,49 @@ public static AnalysisView valueOf(int value) {
      */
     public static AnalysisView forNumber(int value) {
       switch (value) {
-        case 0: return ANALYSIS_VIEW_UNSPECIFIED;
-        case 1: return FULL;
-        case 2: return BASIC;
-        default: return null;
+        case 0:
+          return ANALYSIS_VIEW_UNSPECIFIED;
+        case 1:
+          return FULL;
+        case 2:
+          return BASIC;
+        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<
-        AnalysisView> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AnalysisView findValueByNumber(int number) {
-              return AnalysisView.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public AnalysisView findValueByNumber(int number) {
+            return AnalysisView.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.asset.v1.AnalyzeMoveRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final AnalysisView[] VALUES = values();
 
-    public static AnalysisView valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static AnalysisView 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;
@@ -261,6 +295,8 @@ private AnalysisView(int value) {
   public static final int RESOURCE_FIELD_NUMBER = 1;
   private volatile java.lang.Object resource_;
   /**
+   *
+   *
    * 
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -269,6 +305,7 @@ private AnalysisView(int value) {
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resource. */ @java.lang.Override @@ -277,14 +314,15 @@ 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; } } /** + * + * *
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -293,16 +331,15 @@ public java.lang.String getResource() {
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -313,6 +350,8 @@ public java.lang.String getResource() { public static final int DESTINATION_PARENT_FIELD_NUMBER = 2; private volatile java.lang.Object destinationParent_; /** + * + * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -322,6 +361,7 @@ public java.lang.String getResource() {
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationParent. */ @java.lang.Override @@ -330,14 +370,15 @@ public java.lang.String getDestinationParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationParent_ = s; return s; } } /** + * + * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -347,16 +388,15 @@ public java.lang.String getDestinationParent() {
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destinationParent. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationParentBytes() { + public com.google.protobuf.ByteString getDestinationParentBytes() { java.lang.Object ref = destinationParent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationParent_ = b; return b; } else { @@ -367,33 +407,45 @@ public java.lang.String getDestinationParent() { public static final int VIEW_FIELD_NUMBER = 3; private int view_; /** + * + * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return The view. */ - @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { + @java.lang.Override + public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); - return result == null ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED : result; + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); + return result == null + ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,15 +457,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(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationParent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationParent_); } - if (view_ != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(3, view_); } unknownFields.writeTo(output); @@ -431,9 +484,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationParent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationParent_); } - if (view_ != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, view_); + if (view_ + != com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.ANALYSIS_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -443,17 +497,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.asset.v1.AnalyzeMoveRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.AnalyzeMoveRequest other = (com.google.cloud.asset.v1.AnalyzeMoveRequest) obj; + com.google.cloud.asset.v1.AnalyzeMoveRequest other = + (com.google.cloud.asset.v1.AnalyzeMoveRequest) obj; - if (!getResource() - .equals(other.getResource())) return false; - if (!getDestinationParent() - .equals(other.getDestinationParent())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!getDestinationParent().equals(other.getDestinationParent())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -477,118 +530,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeMoveRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseFrom( - byte[] data, - com.google.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.asset.v1.AnalyzeMoveRequest 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.asset.v1.AnalyzeMoveRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeMoveRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.AnalyzeMoveRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.AnalyzeMoveRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.AnalyzeMoveRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeMoveRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request message for performing resource move analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeMoveRequest) com.google.cloud.asset.v1.AnalyzeMoveRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveRequest.class, com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveRequest.class, + com.google.cloud.asset.v1.AnalyzeMoveRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzeMoveRequest.newBuilder() @@ -596,16 +658,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -619,9 +680,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; } @java.lang.Override @@ -640,7 +701,8 @@ public com.google.cloud.asset.v1.AnalyzeMoveRequest build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest buildPartial() { - com.google.cloud.asset.v1.AnalyzeMoveRequest result = new com.google.cloud.asset.v1.AnalyzeMoveRequest(this); + com.google.cloud.asset.v1.AnalyzeMoveRequest result = + new com.google.cloud.asset.v1.AnalyzeMoveRequest(this); result.resource_ = resource_; result.destinationParent_ = destinationParent_; result.view_ = view_; @@ -652,38 +714,39 @@ public com.google.cloud.asset.v1.AnalyzeMoveRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeMoveRequest) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveRequest)other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveRequest) other); } else { super.mergeFrom(other); return this; @@ -734,6 +797,8 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -742,13 +807,13 @@ public Builder mergeFrom(
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -757,6 +822,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -765,15 +832,14 @@ public java.lang.String getResource() {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -781,6 +847,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -789,20 +857,22 @@ public java.lang.String getResource() {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -811,15 +881,18 @@ public Builder setResource(
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Required. Name of the resource to perform the analysis against.
      * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -828,16 +901,16 @@ public Builder clearResource() {
      * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -845,6 +918,8 @@ public Builder setResourceBytes( private java.lang.Object destinationParent_ = ""; /** + * + * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -854,13 +929,13 @@ public Builder setResourceBytes(
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationParent. */ public java.lang.String getDestinationParent() { java.lang.Object ref = destinationParent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationParent_ = s; return s; @@ -869,6 +944,8 @@ public java.lang.String getDestinationParent() { } } /** + * + * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -878,15 +955,14 @@ public java.lang.String getDestinationParent() {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destinationParent. */ - public com.google.protobuf.ByteString - getDestinationParentBytes() { + public com.google.protobuf.ByteString getDestinationParentBytes() { java.lang.Object ref = destinationParent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationParent_ = b; return b; } else { @@ -894,6 +970,8 @@ public java.lang.String getDestinationParent() { } } /** + * + * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -903,20 +981,22 @@ public java.lang.String getDestinationParent() {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The destinationParent to set. * @return This builder for chaining. */ - public Builder setDestinationParent( - java.lang.String value) { + public Builder setDestinationParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + destinationParent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -926,15 +1006,18 @@ public Builder setDestinationParent(
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDestinationParent() { - + destinationParent_ = getDefaultInstance().getDestinationParent(); onChanged(); return this; } /** + * + * *
      * Required. Name of the GCP Folder or Organization to reparent the target
      * resource. The analysis will be performed against hypothetically moving the
@@ -944,16 +1027,16 @@ public Builder clearDestinationParent() {
      * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for destinationParent to set. * @return This builder for chaining. */ - public Builder setDestinationParentBytes( - com.google.protobuf.ByteString value) { + public Builder setDestinationParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationParent_ = value; onChanged(); return this; @@ -961,55 +1044,71 @@ public Builder setDestinationParentBytes( private int view_ = 0; /** + * + * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return The view. */ @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); - return result == null ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED : result; + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView result = + com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.valueOf(view_); + return result == null + ? com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView.UNRECOGNIZED + : result; } /** + * + * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @param value The view to set. * @return This builder for chaining. */ @@ -1017,29 +1116,32 @@ public Builder setView(com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Analysis view indicating what information should be included in the
      * analysis response. If unspecified, the default view is FULL.
      * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +1151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeMoveRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeMoveRequest) private static final com.google.cloud.asset.v1.AnalyzeMoveRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeMoveRequest(); } @@ -1063,16 +1165,16 @@ public static com.google.cloud.asset.v1.AnalyzeMoveRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeMoveRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeMoveRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeMoveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeMoveRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1087,6 +1189,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.AnalyzeMoveRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java index 9823f3719..5b4a1f5fd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface AnalyzeMoveRequestOrBuilder extends +public interface AnalyzeMoveRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeMoveRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -16,10 +34,13 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Required. Name of the resource to perform the analysis against.
    * Only GCP Project are supported as of today. Hence, this can only be Project
@@ -28,12 +49,14 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * 
* * string resource = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -43,10 +66,13 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationParent. */ java.lang.String getDestinationParent(); /** + * + * *
    * Required. Name of the GCP Folder or Organization to reparent the target
    * resource. The analysis will be performed against hypothetically moving the
@@ -56,28 +82,34 @@ public interface AnalyzeMoveRequestOrBuilder extends
    * 
* * string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destinationParent. */ - com.google.protobuf.ByteString - getDestinationParentBytes(); + com.google.protobuf.ByteString getDestinationParentBytes(); /** + * + * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Analysis view indicating what information should be included in the
    * analysis response. If unspecified, the default view is FULL.
    * 
* * .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3; + * * @return The view. */ com.google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java index ae20bed35..5c684bd6a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * The response message for resource move analysis.
  * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveResponse} */ -public final class AnalyzeMoveResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalyzeMoveResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AnalyzeMoveResponse) AnalyzeMoveResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalyzeMoveResponse.newBuilder() to construct. private AnalyzeMoveResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnalyzeMoveResponse() { moveAnalysis_ = 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 AnalyzeMoveResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnalyzeMoveResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,24 @@ private AnalyzeMoveResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - moveAnalysis_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + moveAnalysis_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + moveAnalysis_.add( + input.readMessage( + com.google.cloud.asset.v1.MoveAnalysis.parser(), extensionRegistry)); + break; } - moveAnalysis_.add( - input.readMessage(com.google.cloud.asset.v1.MoveAnalysis.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +96,7 @@ private AnalyzeMoveResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { moveAnalysis_ = java.util.Collections.unmodifiableList(moveAnalysis_); @@ -87,22 +105,27 @@ private AnalyzeMoveResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveResponse.class, com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveResponse.class, + com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); } public static final int MOVE_ANALYSIS_FIELD_NUMBER = 1; private java.util.List moveAnalysis_; /** + * + * *
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -115,6 +138,8 @@ public java.util.List getMoveAnalysisLis
     return moveAnalysis_;
   }
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -123,11 +148,13 @@ public java.util.List getMoveAnalysisLis
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMoveAnalysisOrBuilderList() {
     return moveAnalysis_;
   }
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -140,6 +167,8 @@ public int getMoveAnalysisCount() {
     return moveAnalysis_.size();
   }
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -152,6 +181,8 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
     return moveAnalysis_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -160,12 +191,12 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(int index) {
     return moveAnalysis_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,8 +208,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < moveAnalysis_.size(); i++) {
       output.writeMessage(1, moveAnalysis_.get(i));
     }
@@ -192,8 +222,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < moveAnalysis_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, moveAnalysis_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, moveAnalysis_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -203,15 +232,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.asset.v1.AnalyzeMoveResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.AnalyzeMoveResponse other = (com.google.cloud.asset.v1.AnalyzeMoveResponse) obj;
+    com.google.cloud.asset.v1.AnalyzeMoveResponse other =
+        (com.google.cloud.asset.v1.AnalyzeMoveResponse) obj;
 
-    if (!getMoveAnalysisList()
-        .equals(other.getMoveAnalysisList())) return false;
+    if (!getMoveAnalysisList().equals(other.getMoveAnalysisList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -232,118 +261,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AnalyzeMoveResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.AnalyzeMoveResponse 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.asset.v1.AnalyzeMoveResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeMoveResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.AnalyzeMoveResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AnalyzeMoveResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.AnalyzeMoveResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.AnalyzeMoveResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response message for resource move analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.AnalyzeMoveResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AnalyzeMoveResponse) com.google.cloud.asset.v1.AnalyzeMoveResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.AnalyzeMoveResponse.class, com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); + com.google.cloud.asset.v1.AnalyzeMoveResponse.class, + com.google.cloud.asset.v1.AnalyzeMoveResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.AnalyzeMoveResponse.newBuilder() @@ -351,17 +389,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) { getMoveAnalysisFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; } @java.lang.Override @@ -396,7 +434,8 @@ public com.google.cloud.asset.v1.AnalyzeMoveResponse build() { @java.lang.Override public com.google.cloud.asset.v1.AnalyzeMoveResponse buildPartial() { - com.google.cloud.asset.v1.AnalyzeMoveResponse result = new com.google.cloud.asset.v1.AnalyzeMoveResponse(this); + com.google.cloud.asset.v1.AnalyzeMoveResponse result = + new com.google.cloud.asset.v1.AnalyzeMoveResponse(this); int from_bitField0_ = bitField0_; if (moveAnalysisBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -415,38 +454,39 @@ public com.google.cloud.asset.v1.AnalyzeMoveResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.AnalyzeMoveResponse) { - return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveResponse)other); + return mergeFrom((com.google.cloud.asset.v1.AnalyzeMoveResponse) other); } else { super.mergeFrom(other); return this; @@ -473,9 +513,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AnalyzeMoveResponse other) { moveAnalysisBuilder_ = null; moveAnalysis_ = other.moveAnalysis_; bitField0_ = (bitField0_ & ~0x00000001); - moveAnalysisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMoveAnalysisFieldBuilder() : null; + moveAnalysisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMoveAnalysisFieldBuilder() + : null; } else { moveAnalysisBuilder_.addAllMessages(other.moveAnalysis_); } @@ -509,21 +550,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List moveAnalysis_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMoveAnalysisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - moveAnalysis_ = new java.util.ArrayList(moveAnalysis_); + moveAnalysis_ = + new java.util.ArrayList(moveAnalysis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysis, com.google.cloud.asset.v1.MoveAnalysis.Builder, com.google.cloud.asset.v1.MoveAnalysisOrBuilder> moveAnalysisBuilder_; + com.google.cloud.asset.v1.MoveAnalysis, + com.google.cloud.asset.v1.MoveAnalysis.Builder, + com.google.cloud.asset.v1.MoveAnalysisOrBuilder> + moveAnalysisBuilder_; /** + * + * *
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -539,6 +588,8 @@ public java.util.List getMoveAnalysisLis
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -554,6 +605,8 @@ public int getMoveAnalysisCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -569,6 +622,8 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -576,8 +631,7 @@ public com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public Builder setMoveAnalysis(
-        int index, com.google.cloud.asset.v1.MoveAnalysis value) {
+    public Builder setMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis value) {
       if (moveAnalysisBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -591,6 +645,8 @@ public Builder setMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -610,6 +666,8 @@ public Builder setMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -631,6 +689,8 @@ public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -638,8 +698,7 @@ public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis value) {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public Builder addMoveAnalysis(
-        int index, com.google.cloud.asset.v1.MoveAnalysis value) {
+    public Builder addMoveAnalysis(int index, com.google.cloud.asset.v1.MoveAnalysis value) {
       if (moveAnalysisBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -653,6 +712,8 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -660,8 +721,7 @@ public Builder addMoveAnalysis(
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public Builder addMoveAnalysis(
-        com.google.cloud.asset.v1.MoveAnalysis.Builder builderForValue) {
+    public Builder addMoveAnalysis(com.google.cloud.asset.v1.MoveAnalysis.Builder builderForValue) {
       if (moveAnalysisBuilder_ == null) {
         ensureMoveAnalysisIsMutable();
         moveAnalysis_.add(builderForValue.build());
@@ -672,6 +732,8 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -691,6 +753,8 @@ public Builder addMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -702,8 +766,7 @@ public Builder addAllMoveAnalysis(
         java.lang.Iterable values) {
       if (moveAnalysisBuilder_ == null) {
         ensureMoveAnalysisIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, moveAnalysis_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, moveAnalysis_);
         onChanged();
       } else {
         moveAnalysisBuilder_.addAllMessages(values);
@@ -711,6 +774,8 @@ public Builder addAllMoveAnalysis(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -729,6 +794,8 @@ public Builder clearMoveAnalysis() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -747,6 +814,8 @@ public Builder removeMoveAnalysis(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -754,11 +823,12 @@ public Builder removeMoveAnalysis(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public com.google.cloud.asset.v1.MoveAnalysis.Builder getMoveAnalysisBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.MoveAnalysis.Builder getMoveAnalysisBuilder(int index) {
       return getMoveAnalysisFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -766,14 +836,16 @@ public com.google.cloud.asset.v1.MoveAnalysis.Builder getMoveAnalysisBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(int index) {
       if (moveAnalysisBuilder_ == null) {
-        return moveAnalysis_.get(index);  } else {
+        return moveAnalysis_.get(index);
+      } else {
         return moveAnalysisBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -781,8 +853,8 @@ public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public java.util.List 
-         getMoveAnalysisOrBuilderList() {
+    public java.util.List
+        getMoveAnalysisOrBuilderList() {
       if (moveAnalysisBuilder_ != null) {
         return moveAnalysisBuilder_.getMessageOrBuilderList();
       } else {
@@ -790,6 +862,8 @@ public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -798,10 +872,12 @@ public com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
     public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder() {
-      return getMoveAnalysisFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
+      return getMoveAnalysisFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -809,12 +885,13 @@ public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder() {
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder(
-        int index) {
-      return getMoveAnalysisFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
+    public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder(int index) {
+      return getMoveAnalysisFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.MoveAnalysis.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of analyses returned from performing the intended resource move
      * analysis. The analysis is grouped by different Cloud services.
@@ -822,27 +899,30 @@ public com.google.cloud.asset.v1.MoveAnalysis.Builder addMoveAnalysisBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
      */
-    public java.util.List 
-         getMoveAnalysisBuilderList() {
+    public java.util.List
+        getMoveAnalysisBuilderList() {
       return getMoveAnalysisFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.MoveAnalysis, com.google.cloud.asset.v1.MoveAnalysis.Builder, com.google.cloud.asset.v1.MoveAnalysisOrBuilder> 
+            com.google.cloud.asset.v1.MoveAnalysis,
+            com.google.cloud.asset.v1.MoveAnalysis.Builder,
+            com.google.cloud.asset.v1.MoveAnalysisOrBuilder>
         getMoveAnalysisFieldBuilder() {
       if (moveAnalysisBuilder_ == null) {
-        moveAnalysisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveAnalysis, com.google.cloud.asset.v1.MoveAnalysis.Builder, com.google.cloud.asset.v1.MoveAnalysisOrBuilder>(
-                moveAnalysis_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        moveAnalysisBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.MoveAnalysis,
+                com.google.cloud.asset.v1.MoveAnalysis.Builder,
+                com.google.cloud.asset.v1.MoveAnalysisOrBuilder>(
+                moveAnalysis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         moveAnalysis_ = null;
       }
       return moveAnalysisBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -852,12 +932,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AnalyzeMoveResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AnalyzeMoveResponse)
   private static final com.google.cloud.asset.v1.AnalyzeMoveResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AnalyzeMoveResponse();
   }
@@ -866,16 +946,16 @@ public static com.google.cloud.asset.v1.AnalyzeMoveResponse getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AnalyzeMoveResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AnalyzeMoveResponse(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AnalyzeMoveResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AnalyzeMoveResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -890,6 +970,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AnalyzeMoveResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
index 7fea545ce..ee10b893d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AnalyzeMoveResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface AnalyzeMoveResponseOrBuilder extends
+public interface AnalyzeMoveResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AnalyzeMoveResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -15,9 +33,10 @@ public interface AnalyzeMoveResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
-  java.util.List 
-      getMoveAnalysisList();
+  java.util.List getMoveAnalysisList();
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -27,6 +46,8 @@ public interface AnalyzeMoveResponseOrBuilder extends
    */
   com.google.cloud.asset.v1.MoveAnalysis getMoveAnalysis(int index);
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -36,6 +57,8 @@ public interface AnalyzeMoveResponseOrBuilder extends
    */
   int getMoveAnalysisCount();
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -43,9 +66,11 @@ public interface AnalyzeMoveResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
-  java.util.List 
+  java.util.List
       getMoveAnalysisOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of analyses returned from performing the intended resource move
    * analysis. The analysis is grouped by different Cloud services.
@@ -53,6 +78,5 @@ public interface AnalyzeMoveResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
    */
-  com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.MoveAnalysisOrBuilder getMoveAnalysisOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
similarity index 77%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
index 9a1451c2a..33e2a3092 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Asset.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * An asset in Google Cloud. An asset can be any resource in the Google Cloud
  * [resource
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.asset.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.asset.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_ = "";
     assetType_ = "";
@@ -36,16 +54,15 @@ 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)
@@ -65,163 +82,205 @@ 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;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1.Resource.Builder subBuilder = null;
-            if (resource_ != null) {
-              subBuilder = resource_.toBuilder();
-            }
-            resource_ = input.readMessage(com.google.cloud.asset.v1.Resource.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(resource_);
-              resource_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            com.google.iam.v1.Policy.Builder subBuilder = null;
-            if (iamPolicy_ != null) {
-              subBuilder = iamPolicy_.toBuilder();
-            }
-            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(iamPolicy_);
-              iamPolicy_ = subBuilder.buildPartial();
+              assetType_ = s;
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.asset.v1.Resource.Builder subBuilder = null;
+              if (resource_ != null) {
+                subBuilder = resource_.toBuilder();
+              }
+              resource_ =
+                  input.readMessage(com.google.cloud.asset.v1.Resource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(resource_);
+                resource_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              orgPolicy_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            orgPolicy_.add(
-                input.readMessage(com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 7) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_).toBuilder();
-            }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.iam.v1.Policy.Builder subBuilder = null;
+              if (iamPolicy_ != null) {
+                subBuilder = iamPolicy_.toBuilder();
+              }
+              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(iamPolicy_);
+                iamPolicy_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            accessContextPolicyCase_ = 7;
-            break;
-          }
-          case 66: {
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 8) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_).toBuilder();
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                orgPolicy_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              orgPolicy_.add(
+                  input.readMessage(
+                      com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessLevel.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
+              if (accessContextPolicyCase_ == 7) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                            accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                        accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 7;
+              break;
             }
-            accessContextPolicyCase_ = 8;
-            break;
-          }
-          case 74: {
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 9) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_).toBuilder();
+          case 66:
+            {
+              com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
+              if (accessContextPolicyCase_ == 8) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.AccessLevel.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 8;
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder =
+                  null;
+              if (accessContextPolicyCase_ == 9) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                            accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                        accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 9;
+              break;
             }
-            accessContextPolicyCase_ = 9;
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              ancestors_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
-            }
-            ancestors_.add(s);
-            break;
-          }
-          case 90: {
-            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 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                ancestors_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              ancestors_.add(s);
+              break;
             }
+          case 90:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 98: {
-            com.google.cloud.osconfig.v1.Inventory.Builder subBuilder = null;
-            if (osInventory_ != null) {
-              subBuilder = osInventory_.toBuilder();
-            }
-            osInventory_ = input.readMessage(com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(osInventory_);
-              osInventory_ = subBuilder.buildPartial();
+              break;
             }
+          case 98:
+            {
+              com.google.cloud.osconfig.v1.Inventory.Builder subBuilder = null;
+              if (osInventory_ != null) {
+                subBuilder = osInventory_.toBuilder();
+              }
+              osInventory_ =
+                  input.readMessage(
+                      com.google.cloud.osconfig.v1.Inventory.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(osInventory_);
+                osInventory_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 106: {
-            com.google.cloud.asset.v1.RelatedAssets.Builder subBuilder = null;
-            if (relatedAssets_ != null) {
-              subBuilder = relatedAssets_.toBuilder();
-            }
-            relatedAssets_ = input.readMessage(com.google.cloud.asset.v1.RelatedAssets.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(relatedAssets_);
-              relatedAssets_ = subBuilder.buildPartial();
+              break;
             }
+          case 106:
+            {
+              com.google.cloud.asset.v1.RelatedAssets.Builder subBuilder = null;
+              if (relatedAssets_ != null) {
+                subBuilder = relatedAssets_.toBuilder();
+              }
+              relatedAssets_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.RelatedAssets.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relatedAssets_);
+                relatedAssets_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 122: {
-            com.google.cloud.asset.v1.RelatedAsset.Builder subBuilder = null;
-            if (relatedAsset_ != null) {
-              subBuilder = relatedAsset_.toBuilder();
-            }
-            relatedAsset_ = input.readMessage(com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(relatedAsset_);
-              relatedAsset_ = subBuilder.buildPartial();
+              break;
             }
+          case 122:
+            {
+              com.google.cloud.asset.v1.RelatedAsset.Builder subBuilder = null;
+              if (relatedAsset_ != null) {
+                subBuilder = relatedAsset_.toBuilder();
+              }
+              relatedAsset_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relatedAsset_);
+                relatedAsset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -229,8 +288,7 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = java.util.Collections.unmodifiableList(orgPolicy_);
@@ -242,29 +300,34 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.asset.v1.Asset.class, com.google.cloud.asset.v1.Asset.Builder.class);
   }
 
   private int accessContextPolicyCase_ = 0;
   private java.lang.Object accessContextPolicy_;
+
   public enum AccessContextPolicyCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ACCESS_POLICY(7),
     ACCESS_LEVEL(8),
     SERVICE_PERIMETER(9),
     ACCESSCONTEXTPOLICY_NOT_SET(0);
     private final int value;
+
     private AccessContextPolicyCase(int value) {
       this.value = value;
     }
@@ -280,33 +343,40 @@ public static AccessContextPolicyCase valueOf(int value) {
 
     public static AccessContextPolicyCase forNumber(int value) {
       switch (value) {
-        case 7: return ACCESS_POLICY;
-        case 8: return ACCESS_LEVEL;
-        case 9: return SERVICE_PERIMETER;
-        case 0: return ACCESSCONTEXTPOLICY_NOT_SET;
-        default: return null;
+        case 7:
+          return ACCESS_POLICY;
+        case 8:
+          return ACCESS_LEVEL;
+        case 9:
+          return SERVICE_PERIMETER;
+        case 0:
+          return ACCESSCONTEXTPOLICY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AccessContextPolicyCase
-  getAccessContextPolicyCase() {
-    return AccessContextPolicyCase.forNumber(
-        accessContextPolicyCase_);
+  public AccessContextPolicyCase getAccessContextPolicyCase() {
+    return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
   }
 
   public static final int UPDATE_TIME_FIELD_NUMBER = 11;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -314,12 +384,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ @java.lang.Override @@ -327,6 +400,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -342,6 +417,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -351,6 +428,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -359,14 +437,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -376,16 +455,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -396,6 +474,8 @@ public java.lang.String getName() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -404,6 +484,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -412,14 +493,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -428,16 +510,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -448,11 +529,14 @@ public java.lang.String getAssetType() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.Resource resource_; /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -460,11 +544,14 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; + * * @return The resource. */ @java.lang.Override @@ -472,6 +559,8 @@ public com.google.cloud.asset.v1.Resource getResource() { return resource_ == null ? com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_; } /** + * + * *
    * A representation of the resource.
    * 
@@ -486,6 +575,8 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -499,6 +590,7 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -506,6 +598,8 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -519,6 +613,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -526,6 +621,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -548,6 +645,8 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
   private java.util.List orgPolicy_;
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -562,6 +661,8 @@ public java.util.List getOrgPolicyList() {
     return orgPolicy_;
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -572,11 +673,13 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOrgPolicyOrBuilderList() {
     return orgPolicy_;
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -591,6 +694,8 @@ public int getOrgPolicyCount() {
     return orgPolicy_.size();
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -605,6 +710,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
     return orgPolicy_.get(index);
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -615,19 +722,21 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index) {
+  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
     return orgPolicy_.get(index);
   }
 
   public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -635,22 +744,27 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return The accessPolicy. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() { if (accessContextPolicyCase_ == 7) { - return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance(); } /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -659,21 +773,25 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
+      getAccessPolicyOrBuilder() {
     if (accessContextPolicyCase_ == 7) {
-       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
 
   public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
   /**
+   *
+   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -681,22 +799,27 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return The accessLevel. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() { if (accessContextPolicyCase_ == 8) { - return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance(); } /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -705,21 +828,25 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
+      getAccessLevelOrBuilder() {
     if (accessContextPolicyCase_ == 8) {
-       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
 
   public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
   /**
+   *
+   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -727,22 +854,27 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -751,9 +883,10 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+      getServicePerimeterOrBuilder() {
     if (accessContextPolicyCase_ == 9) {
-       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -761,6 +894,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
   public static final int OS_INVENTORY_FIELD_NUMBER = 12;
   private com.google.cloud.osconfig.v1.Inventory osInventory_;
   /**
+   *
+   *
    * 
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -768,6 +903,7 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; + * * @return Whether the osInventory field is set. */ @java.lang.Override @@ -775,6 +911,8 @@ public boolean hasOsInventory() { return osInventory_ != null; } /** + * + * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -782,13 +920,18 @@ public boolean hasOsInventory() {
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; + * * @return The osInventory. */ @java.lang.Override public com.google.cloud.osconfig.v1.Inventory getOsInventory() { - return osInventory_ == null ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_; + return osInventory_ == null + ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() + : osInventory_; } /** + * + * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -805,6 +948,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
   public static final int RELATED_ASSETS_FIELD_NUMBER = 13;
   private com.google.cloud.asset.v1.RelatedAssets relatedAssets_;
   /**
+   *
+   *
    * 
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -814,15 +959,19 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. - * See google/cloud/asset/v1/assets.proto;l=167 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=167 * @return Whether the relatedAssets field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasRelatedAssets() { + @java.lang.Deprecated + public boolean hasRelatedAssets() { return relatedAssets_ != null; } /** + * + * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -832,15 +981,21 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. - * See google/cloud/asset/v1/assets.proto;l=167 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=167 * @return The relatedAssets. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { - return relatedAssets_ == null ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_; + @java.lang.Deprecated + public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { + return relatedAssets_ == null + ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() + : relatedAssets_; } /** + * + * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -852,18 +1007,22 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
    * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
+  @java.lang.Deprecated
+  public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
     return getRelatedAssets();
   }
 
   public static final int RELATED_ASSET_FIELD_NUMBER = 15;
   private com.google.cloud.asset.v1.RelatedAsset relatedAsset_;
   /**
+   *
+   *
    * 
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; + * * @return Whether the relatedAsset field is set. */ @java.lang.Override @@ -871,18 +1030,25 @@ public boolean hasRelatedAsset() { return relatedAsset_ != null; } /** + * + * *
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; + * * @return The relatedAsset. */ @java.lang.Override public com.google.cloud.asset.v1.RelatedAsset getRelatedAsset() { - return relatedAsset_ == null ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; + return relatedAsset_ == null + ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() + : relatedAsset_; } /** + * + * *
    * One related asset of the current asset.
    * 
@@ -897,6 +1063,8 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( public static final int ANCESTORS_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList ancestors_; /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -908,13 +1076,15 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -926,12 +1096,15 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -943,6 +1116,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -950,6 +1124,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -961,15 +1137,16 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -981,8 +1158,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -999,13 +1175,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - output.writeMessage(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + output.writeMessage( + 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - output.writeMessage(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + output.writeMessage( + 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - output.writeMessage(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + output.writeMessage( + 9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i)); @@ -1038,28 +1217,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); } for (int i = 0; i < orgPolicy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, orgPolicy_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } { int dataSize = 0; @@ -1070,20 +1250,16 @@ public int getSerializedSize() { size += 1 * getAncestorsList().size(); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } if (osInventory_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getOsInventory()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getOsInventory()); } if (relatedAssets_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getRelatedAssets()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getRelatedAssets()); } if (relatedAsset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getRelatedAsset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getRelatedAsset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1093,7 +1269,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.Asset)) { return super.equals(obj); @@ -1102,55 +1278,42 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getName() - .equals(other.getName())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) 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 (!getOrgPolicyList() - .equals(other.getOrgPolicyList())) return false; + if (!getOrgPolicyList().equals(other.getOrgPolicyList())) return false; if (hasOsInventory() != other.hasOsInventory()) return false; if (hasOsInventory()) { - if (!getOsInventory() - .equals(other.getOsInventory())) return false; + if (!getOsInventory().equals(other.getOsInventory())) return false; } if (hasRelatedAssets() != other.hasRelatedAssets()) return false; if (hasRelatedAssets()) { - if (!getRelatedAssets() - .equals(other.getRelatedAssets())) return false; + if (!getRelatedAssets().equals(other.getRelatedAssets())) return false; } if (hasRelatedAsset() != other.hasRelatedAsset()) return false; if (hasRelatedAsset()) { - if (!getRelatedAsset() - .equals(other.getRelatedAsset())) return false; + if (!getRelatedAsset().equals(other.getRelatedAsset())) return false; } - if (!getAncestorsList() - .equals(other.getAncestorsList())) return false; + if (!getAncestorsList().equals(other.getAncestorsList())) return false; if (!getAccessContextPolicyCase().equals(other.getAccessContextPolicyCase())) return false; switch (accessContextPolicyCase_) { case 7: - if (!getAccessPolicy() - .equals(other.getAccessPolicy())) return false; + if (!getAccessPolicy().equals(other.getAccessPolicy())) return false; break; case 8: - if (!getAccessLevel() - .equals(other.getAccessLevel())) return false; + if (!getAccessLevel().equals(other.getAccessLevel())) return false; break; case 9: - if (!getServicePerimeter() - .equals(other.getServicePerimeter())) return false; + if (!getServicePerimeter().equals(other.getServicePerimeter())) return false; break; case 0: default: @@ -1223,97 +1386,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Asset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Asset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.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.asset.v1.Asset parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.Asset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.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.asset.v1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.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.asset.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.asset.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.asset.v1.Asset 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.asset.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.asset.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.asset.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.asset.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; } /** + * + * *
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -1328,19 +1497,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.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.asset.v1.Asset)
       com.google.cloud.asset.v1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.asset.v1.Asset.class, com.google.cloud.asset.v1.Asset.Builder.class);
     }
@@ -1350,17 +1520,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) {
         getOrgPolicyFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1418,9 +1588,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -1517,38 +1687,39 @@ public com.google.cloud.asset.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.asset.v1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1.Asset)other);
+        return mergeFrom((com.google.cloud.asset.v1.Asset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1592,9 +1763,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1620,21 +1792,25 @@ public Builder mergeFrom(com.google.cloud.asset.v1.Asset other) {
         onChanged();
       }
       switch (other.getAccessContextPolicyCase()) {
-        case ACCESS_POLICY: {
-          mergeAccessPolicy(other.getAccessPolicy());
-          break;
-        }
-        case ACCESS_LEVEL: {
-          mergeAccessLevel(other.getAccessLevel());
-          break;
-        }
-        case SERVICE_PERIMETER: {
-          mergeServicePerimeter(other.getServicePerimeter());
-          break;
-        }
-        case ACCESSCONTEXTPOLICY_NOT_SET: {
-          break;
-        }
+        case ACCESS_POLICY:
+          {
+            mergeAccessPolicy(other.getAccessPolicy());
+            break;
+          }
+        case ACCESS_LEVEL:
+          {
+            mergeAccessLevel(other.getAccessLevel());
+            break;
+          }
+        case SERVICE_PERIMETER:
+          {
+            mergeServicePerimeter(other.getServicePerimeter());
+            break;
+          }
+        case ACCESSCONTEXTPOLICY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1664,12 +1840,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int accessContextPolicyCase_ = 0;
     private java.lang.Object accessContextPolicy_;
-    public AccessContextPolicyCase
-        getAccessContextPolicyCase() {
-      return AccessContextPolicyCase.forNumber(
-          accessContextPolicyCase_);
+
+    public AccessContextPolicyCase getAccessContextPolicyCase() {
+      return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
     }
 
     public Builder clearAccessContextPolicy() {
@@ -1683,36 +1859,49 @@ public Builder clearAccessContextPolicy() {
 
     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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; + * * @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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1734,6 +1923,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1741,8 +1932,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 11;
      */
-    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();
@@ -1753,6 +1943,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1764,7 +1956,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;
         }
@@ -1776,6 +1968,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1795,6 +1989,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1803,11 +1999,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1819,11 +2017,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1832,14 +2033,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     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_;
@@ -1847,6 +2051,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1856,13 +2062,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * 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; @@ -1871,6 +2077,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1880,15 +2088,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1896,6 +2103,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1905,20 +2114,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1928,15 +2139,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1946,16 +2160,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; @@ -1963,6 +2177,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1971,13 +2187,13 @@ public Builder setNameBytes(
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1986,6 +2202,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1994,15 +2212,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -2010,6 +2227,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2018,20 +2237,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2040,15 +2261,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -2057,16 +2281,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -2074,34 +2298,47 @@ public Builder setAssetTypeBytes( private com.google.cloud.asset.v1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Resource, com.google.cloud.asset.v1.Resource.Builder, com.google.cloud.asset.v1.ResourceOrBuilder> resourceBuilder_; + com.google.cloud.asset.v1.Resource, + com.google.cloud.asset.v1.Resource.Builder, + com.google.cloud.asset.v1.ResourceOrBuilder> + resourceBuilder_; /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1.Resource resource = 3; + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1.Resource resource = 3; + * * @return The resource. */ public com.google.cloud.asset.v1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1.Resource.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * A representation of the resource.
      * 
@@ -2122,14 +2359,15 @@ public Builder setResource(com.google.cloud.asset.v1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1.Resource resource = 3; */ - public Builder setResource( - com.google.cloud.asset.v1.Resource.Builder builderForValue) { + public Builder setResource(com.google.cloud.asset.v1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -2140,6 +2378,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2150,7 +2390,9 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.Resource.newBuilder(resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -2162,6 +2404,8 @@ public Builder mergeResource(com.google.cloud.asset.v1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2180,6 +2424,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2187,11 +2433,13 @@ public Builder clearResource() { * .google.cloud.asset.v1.Resource resource = 3; */ public com.google.cloud.asset.v1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -2202,11 +2450,14 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.asset.v1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1.Resource.getDefaultInstance() + : resource_; } } /** + * + * *
      * A representation of the resource.
      * 
@@ -2214,14 +2465,17 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { * .google.cloud.asset.v1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Resource, com.google.cloud.asset.v1.Resource.Builder, com.google.cloud.asset.v1.ResourceOrBuilder> + com.google.cloud.asset.v1.Resource, + com.google.cloud.asset.v1.Resource.Builder, + com.google.cloud.asset.v1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Resource, com.google.cloud.asset.v1.Resource.Builder, com.google.cloud.asset.v1.ResourceOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.Resource, + com.google.cloud.asset.v1.Resource.Builder, + com.google.cloud.asset.v1.ResourceOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; @@ -2229,8 +2483,13 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() { private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + iamPolicyBuilder_; /** + * + * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2244,12 +2503,15 @@ public com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** + * + * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2263,6 +2525,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2273,6 +2536,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2301,6 +2566,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2315,8 +2582,7 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -2327,6 +2593,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2345,7 +2613,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -2357,6 +2625,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2383,6 +2653,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2398,11 +2670,13 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-      
+
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2421,11 +2695,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2441,32 +2716,41 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(),
-                getParentForChildren(),
-                isClean());
+        iamPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(), getParentForChildren(), isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
     private java.util.List orgPolicy_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> orgPolicyBuilder_;
+            com.google.cloud.orgpolicy.v1.Policy,
+            com.google.cloud.orgpolicy.v1.Policy.Builder,
+            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
+        orgPolicyBuilder_;
 
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2484,6 +2768,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2501,6 +2787,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2518,6 +2806,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2527,8 +2817,7 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder setOrgPolicy(
-        int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2542,6 +2831,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2563,6 +2854,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2586,6 +2879,8 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2595,8 +2890,7 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(
-        int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2610,6 +2904,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2619,8 +2915,7 @@ public Builder addOrgPolicy(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(
-        com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
+    public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
         orgPolicy_.add(builderForValue.build());
@@ -2631,6 +2926,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2652,6 +2949,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2665,8 +2964,7 @@ public Builder addAllOrgPolicy(
         java.lang.Iterable values) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, orgPolicy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicy_);
         onChanged();
       } else {
         orgPolicyBuilder_.addAllMessages(values);
@@ -2674,6 +2972,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2694,6 +2994,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2714,6 +3016,8 @@ public Builder removeOrgPolicy(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2723,11 +3027,12 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
-        int index) {
+    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int index) {
       return getOrgPolicyFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2737,14 +3042,16 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-        int index) {
+    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
       if (orgPolicyBuilder_ == null) {
-        return orgPolicy_.get(index);  } else {
+        return orgPolicy_.get(index);
+      } else {
         return orgPolicyBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2754,8 +3061,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List 
-         getOrgPolicyOrBuilderList() {
+    public java.util.List
+        getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -2763,6 +3070,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2773,10 +3082,12 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
     public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
-      return getOrgPolicyFieldBuilder().addBuilder(
-          com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+      return getOrgPolicyFieldBuilder()
+          .addBuilder(com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2786,12 +3097,13 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
-        int index) {
-      return getOrgPolicyFieldBuilder().addBuilder(
-          index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int index) {
+      return getOrgPolicyFieldBuilder()
+          .addBuilder(index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2801,34 +3113,42 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List 
-         getOrgPolicyBuilderList() {
+    public java.util.List getOrgPolicyBuilderList() {
       return getOrgPolicyFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 
+            com.google.cloud.orgpolicy.v1.Policy,
+            com.google.cloud.orgpolicy.v1.Policy.Builder,
+            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
         getOrgPolicyFieldBuilder() {
       if (orgPolicyBuilder_ == null) {
-        orgPolicyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
-                orgPolicy_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        orgPolicyBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.orgpolicy.v1.Policy,
+                com.google.cloud.orgpolicy.v1.Policy.Builder,
+                com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
+                orgPolicy_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> accessPolicyBuilder_;
+            com.google.identity.accesscontextmanager.v1.AccessPolicy,
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
+        accessPolicyBuilder_;
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -2836,12 +3156,15 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** + * + * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return The accessPolicy. */ @java.lang.Override @@ -2859,6 +3182,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy( } } /** + * + * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2880,6 +3205,8 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2899,6 +3226,8 @@ public Builder setAccessPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2906,12 +3235,18 @@ public Builder setAccessPolicy(
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
+    public Builder mergeAccessPolicy(
+        com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
-        if (accessContextPolicyCase_ == 7 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 7
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2927,6 +3262,8 @@ public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.Acc
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2951,6 +3288,8 @@ public Builder clearAccessPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2958,10 +3297,13 @@ public Builder clearAccessPolicy() {
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
+        getAccessPolicyBuilder() {
       return getAccessPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2970,7 +3312,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAcces
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
+        getAccessPolicyOrBuilder() {
       if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
         return accessPolicyBuilder_.getMessageOrBuilder();
       } else {
@@ -2981,6 +3324,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
       }
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2989,33 +3334,46 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.AccessPolicy,
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
         getAccessPolicyFieldBuilder() {
       if (accessPolicyBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 7)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
         }
-        accessPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
+        accessPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.AccessPolicy,
+                com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+                com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 7;
-      onChanged();;
+      onChanged();
+      ;
       return accessPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> accessLevelBuilder_;
+            com.google.identity.accesscontextmanager.v1.AccessLevel,
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
+        accessLevelBuilder_;
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -3023,12 +3381,15 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** + * + * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return The accessLevel. */ @java.lang.Override @@ -3046,6 +3407,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() } } /** + * + * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3067,6 +3430,8 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3086,6 +3451,8 @@ public Builder setAccessLevel(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3095,10 +3462,15 @@ public Builder setAccessLevel(
      */
     public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
-        if (accessContextPolicyCase_ == 8 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 8
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.AccessLevel)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3114,6 +3486,8 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3138,6 +3512,8 @@ public Builder clearAccessLevel() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3149,6 +3525,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       return getAccessLevelFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3157,7 +3535,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
+        getAccessLevelOrBuilder() {
       if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
         return accessLevelBuilder_.getMessageOrBuilder();
       } else {
@@ -3168,6 +3547,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
       }
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -3176,33 +3557,46 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.AccessLevel,
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
         getAccessLevelFieldBuilder() {
       if (accessLevelBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 8)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
         }
-        accessLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
+        accessLevelBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.AccessLevel,
+                com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+                com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 8;
-      onChanged();;
+      onChanged();
+      ;
       return accessLevelBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> servicePerimeterBuilder_;
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
+        servicePerimeterBuilder_;
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -3210,19 +3604,23 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** + * + * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (servicePerimeterBuilder_ == null) { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) + accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } else { @@ -3233,6 +3631,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe } } /** + * + * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3240,7 +3640,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder setServicePerimeter(
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3254,6 +3655,8 @@ public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.S
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3273,6 +3676,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3280,12 +3685,19 @@ public Builder setServicePerimeter(
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder mergeServicePerimeter(
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
-        if (accessContextPolicyCase_ == 9 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 9
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.ServicePerimeter
+                    .getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3301,6 +3713,8 @@ public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3325,6 +3739,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3332,10 +3748,13 @@ public Builder clearServicePerimeter() {
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
+        getServicePerimeterBuilder() {
       return getServicePerimeterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3344,17 +3763,21 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getS
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+        getServicePerimeterOrBuilder() {
       if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
         return servicePerimeterBuilder_.getMessageOrBuilder();
       } else {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+              accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       }
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3363,28 +3786,40 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
         getServicePerimeterFieldBuilder() {
       if (servicePerimeterBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 9)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
         }
-        servicePerimeterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
+        servicePerimeterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+                com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+                com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 9;
-      onChanged();;
+      onChanged();
+      ;
       return servicePerimeterBuilder_;
     }
 
     private com.google.cloud.osconfig.v1.Inventory osInventory_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> osInventoryBuilder_;
+            com.google.cloud.osconfig.v1.Inventory,
+            com.google.cloud.osconfig.v1.Inventory.Builder,
+            com.google.cloud.osconfig.v1.InventoryOrBuilder>
+        osInventoryBuilder_;
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3392,12 +3827,15 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
      * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; + * * @return Whether the osInventory field is set. */ public boolean hasOsInventory() { return osInventoryBuilder_ != null || osInventory_ != null; } /** + * + * *
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3405,16 +3843,21 @@ public boolean hasOsInventory() {
      * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; + * * @return The osInventory. */ public com.google.cloud.osconfig.v1.Inventory getOsInventory() { if (osInventoryBuilder_ == null) { - return osInventory_ == null ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_; + return osInventory_ == null + ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() + : osInventory_; } else { return osInventoryBuilder_.getMessage(); } } /** + * + * *
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3437,6 +3880,8 @@ public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3445,8 +3890,7 @@ public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
      *
      * .google.cloud.osconfig.v1.Inventory os_inventory = 12;
      */
-    public Builder setOsInventory(
-        com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) {
+    public Builder setOsInventory(com.google.cloud.osconfig.v1.Inventory.Builder builderForValue) {
       if (osInventoryBuilder_ == null) {
         osInventory_ = builderForValue.build();
         onChanged();
@@ -3457,6 +3901,8 @@ public Builder setOsInventory(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3469,7 +3915,9 @@ public Builder mergeOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       if (osInventoryBuilder_ == null) {
         if (osInventory_ != null) {
           osInventory_ =
-            com.google.cloud.osconfig.v1.Inventory.newBuilder(osInventory_).mergeFrom(value).buildPartial();
+              com.google.cloud.osconfig.v1.Inventory.newBuilder(osInventory_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           osInventory_ = value;
         }
@@ -3481,6 +3929,8 @@ public Builder mergeOsInventory(com.google.cloud.osconfig.v1.Inventory value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3501,6 +3951,8 @@ public Builder clearOsInventory() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3510,11 +3962,13 @@ public Builder clearOsInventory() {
      * .google.cloud.osconfig.v1.Inventory os_inventory = 12;
      */
     public com.google.cloud.osconfig.v1.Inventory.Builder getOsInventoryBuilder() {
-      
+
       onChanged();
       return getOsInventoryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3527,11 +3981,14 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
       if (osInventoryBuilder_ != null) {
         return osInventoryBuilder_.getMessageOrBuilder();
       } else {
-        return osInventory_ == null ?
-            com.google.cloud.osconfig.v1.Inventory.getDefaultInstance() : osInventory_;
+        return osInventory_ == null
+            ? com.google.cloud.osconfig.v1.Inventory.getDefaultInstance()
+            : osInventory_;
       }
     }
     /**
+     *
+     *
      * 
      * A representation of runtime OS Inventory information. See [this
      * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -3541,14 +3998,17 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      * .google.cloud.osconfig.v1.Inventory os_inventory = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder> 
+            com.google.cloud.osconfig.v1.Inventory,
+            com.google.cloud.osconfig.v1.Inventory.Builder,
+            com.google.cloud.osconfig.v1.InventoryOrBuilder>
         getOsInventoryFieldBuilder() {
       if (osInventoryBuilder_ == null) {
-        osInventoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.osconfig.v1.Inventory, com.google.cloud.osconfig.v1.Inventory.Builder, com.google.cloud.osconfig.v1.InventoryOrBuilder>(
-                getOsInventory(),
-                getParentForChildren(),
-                isClean());
+        osInventoryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.osconfig.v1.Inventory,
+                com.google.cloud.osconfig.v1.Inventory.Builder,
+                com.google.cloud.osconfig.v1.InventoryOrBuilder>(
+                getOsInventory(), getParentForChildren(), isClean());
         osInventory_ = null;
       }
       return osInventoryBuilder_;
@@ -3556,8 +4016,13 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
 
     private com.google.cloud.asset.v1.RelatedAssets relatedAssets_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.RelatedAssets, com.google.cloud.asset.v1.RelatedAssets.Builder, com.google.cloud.asset.v1.RelatedAssetsOrBuilder> relatedAssetsBuilder_;
+            com.google.cloud.asset.v1.RelatedAssets,
+            com.google.cloud.asset.v1.RelatedAssets.Builder,
+            com.google.cloud.asset.v1.RelatedAssetsOrBuilder>
+        relatedAssetsBuilder_;
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3567,14 +4032,18 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. - * See google/cloud/asset/v1/assets.proto;l=167 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=167 * @return Whether the relatedAssets field is set. */ - @java.lang.Deprecated public boolean hasRelatedAssets() { + @java.lang.Deprecated + public boolean hasRelatedAssets() { return relatedAssetsBuilder_ != null || relatedAssets_ != null; } /** + * + * *
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3584,18 +4053,24 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. - * See google/cloud/asset/v1/assets.proto;l=167 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=167 * @return The relatedAssets. */ - @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { + @java.lang.Deprecated + public com.google.cloud.asset.v1.RelatedAssets getRelatedAssets() { if (relatedAssetsBuilder_ == null) { - return relatedAssets_ == null ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_; + return relatedAssets_ == null + ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() + : relatedAssets_; } else { return relatedAssetsBuilder_.getMessage(); } } /** + * + * *
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3606,7 +4081,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
+    @java.lang.Deprecated
+    public Builder setRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
       if (relatedAssetsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3620,6 +4096,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3630,7 +4108,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setRelatedAssets(
+    @java.lang.Deprecated
+    public Builder setRelatedAssets(
         com.google.cloud.asset.v1.RelatedAssets.Builder builderForValue) {
       if (relatedAssetsBuilder_ == null) {
         relatedAssets_ = builderForValue.build();
@@ -3642,6 +4121,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3652,11 +4133,14 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder mergeRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
+    @java.lang.Deprecated
+    public Builder mergeRelatedAssets(com.google.cloud.asset.v1.RelatedAssets value) {
       if (relatedAssetsBuilder_ == null) {
         if (relatedAssets_ != null) {
           relatedAssets_ =
-            com.google.cloud.asset.v1.RelatedAssets.newBuilder(relatedAssets_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1.RelatedAssets.newBuilder(relatedAssets_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           relatedAssets_ = value;
         }
@@ -3668,6 +4152,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3678,7 +4164,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder clearRelatedAssets() {
+    @java.lang.Deprecated
+    public Builder clearRelatedAssets() {
       if (relatedAssetsBuilder_ == null) {
         relatedAssets_ = null;
         onChanged();
@@ -3690,6 +4177,8 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
       return this;
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3700,12 +4189,15 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssets.Builder getRelatedAssetsBuilder() {
-      
+    @java.lang.Deprecated
+    public com.google.cloud.asset.v1.RelatedAssets.Builder getRelatedAssetsBuilder() {
+
       onChanged();
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3716,15 +4208,19 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      *
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
+    @java.lang.Deprecated
+    public com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder() {
       if (relatedAssetsBuilder_ != null) {
         return relatedAssetsBuilder_.getMessageOrBuilder();
       } else {
-        return relatedAssets_ == null ?
-            com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance() : relatedAssets_;
+        return relatedAssets_ == null
+            ? com.google.cloud.asset.v1.RelatedAssets.getDefaultInstance()
+            : relatedAssets_;
       }
     }
     /**
+     *
+     *
      * 
      * DEPRECATED. This field only presents for the purpose of
      * backward-compatibility. The server will never generate responses with this
@@ -3736,14 +4232,17 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
      * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.RelatedAssets, com.google.cloud.asset.v1.RelatedAssets.Builder, com.google.cloud.asset.v1.RelatedAssetsOrBuilder> 
+            com.google.cloud.asset.v1.RelatedAssets,
+            com.google.cloud.asset.v1.RelatedAssets.Builder,
+            com.google.cloud.asset.v1.RelatedAssetsOrBuilder>
         getRelatedAssetsFieldBuilder() {
       if (relatedAssetsBuilder_ == null) {
-        relatedAssetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.RelatedAssets, com.google.cloud.asset.v1.RelatedAssets.Builder, com.google.cloud.asset.v1.RelatedAssetsOrBuilder>(
-                getRelatedAssets(),
-                getParentForChildren(),
-                isClean());
+        relatedAssetsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.RelatedAssets,
+                com.google.cloud.asset.v1.RelatedAssets.Builder,
+                com.google.cloud.asset.v1.RelatedAssetsOrBuilder>(
+                getRelatedAssets(), getParentForChildren(), isClean());
         relatedAssets_ = null;
       }
       return relatedAssetsBuilder_;
@@ -3751,34 +4250,47 @@ public com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder()
 
     private com.google.cloud.asset.v1.RelatedAsset relatedAsset_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> relatedAssetBuilder_;
+            com.google.cloud.asset.v1.RelatedAsset,
+            com.google.cloud.asset.v1.RelatedAsset.Builder,
+            com.google.cloud.asset.v1.RelatedAssetOrBuilder>
+        relatedAssetBuilder_;
     /**
+     *
+     *
      * 
      * One related asset of the current asset.
      * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; + * * @return Whether the relatedAsset field is set. */ public boolean hasRelatedAsset() { return relatedAssetBuilder_ != null || relatedAsset_ != null; } /** + * + * *
      * One related asset of the current asset.
      * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; + * * @return The relatedAsset. */ public com.google.cloud.asset.v1.RelatedAsset getRelatedAsset() { if (relatedAssetBuilder_ == null) { - return relatedAsset_ == null ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; + return relatedAsset_ == null + ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() + : relatedAsset_; } else { return relatedAssetBuilder_.getMessage(); } } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3799,14 +4311,15 @@ public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; */ - public Builder setRelatedAsset( - com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { + public Builder setRelatedAsset(com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { if (relatedAssetBuilder_ == null) { relatedAsset_ = builderForValue.build(); onChanged(); @@ -3817,6 +4330,8 @@ public Builder setRelatedAsset( return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3827,7 +4342,9 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { if (relatedAssetBuilder_ == null) { if (relatedAsset_ != null) { relatedAsset_ = - com.google.cloud.asset.v1.RelatedAsset.newBuilder(relatedAsset_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.RelatedAsset.newBuilder(relatedAsset_) + .mergeFrom(value) + .buildPartial(); } else { relatedAsset_ = value; } @@ -3839,6 +4356,8 @@ public Builder mergeRelatedAsset(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3857,6 +4376,8 @@ public Builder clearRelatedAsset() { return this; } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3864,11 +4385,13 @@ public Builder clearRelatedAsset() { * .google.cloud.asset.v1.RelatedAsset related_asset = 15; */ public com.google.cloud.asset.v1.RelatedAsset.Builder getRelatedAssetBuilder() { - + onChanged(); return getRelatedAssetFieldBuilder().getBuilder(); } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3879,11 +4402,14 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( if (relatedAssetBuilder_ != null) { return relatedAssetBuilder_.getMessageOrBuilder(); } else { - return relatedAsset_ == null ? - com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() : relatedAsset_; + return relatedAsset_ == null + ? com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance() + : relatedAsset_; } } /** + * + * *
      * One related asset of the current asset.
      * 
@@ -3891,27 +4417,34 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder( * .google.cloud.asset.v1.RelatedAsset related_asset = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> + com.google.cloud.asset.v1.RelatedAsset, + com.google.cloud.asset.v1.RelatedAsset.Builder, + com.google.cloud.asset.v1.RelatedAssetOrBuilder> getRelatedAssetFieldBuilder() { if (relatedAssetBuilder_ == null) { - relatedAssetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder>( - getRelatedAsset(), - getParentForChildren(), - isClean()); + relatedAssetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.RelatedAsset, + com.google.cloud.asset.v1.RelatedAsset.Builder, + com.google.cloud.asset.v1.RelatedAssetOrBuilder>( + getRelatedAsset(), getParentForChildren(), isClean()); relatedAsset_ = null; } return relatedAssetBuilder_; } - private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ancestors_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3923,13 +4456,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3941,12 +4476,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3958,6 +4496,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3965,6 +4504,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3976,14 +4517,16 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3995,21 +4538,23 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; + * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors( - int index, java.lang.String value) { + public Builder setAncestors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4021,20 +4566,22 @@ public Builder setAncestors(
      * 
* * repeated string ancestors = 10; + * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors( - java.lang.String value) { + public Builder addAncestors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4046,18 +4593,19 @@ public Builder addAncestors(
      * 
* * repeated string ancestors = 10; + * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors( - java.lang.Iterable values) { + public Builder addAllAncestors(java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4069,6 +4617,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -4078,6 +4627,8 @@ public Builder clearAncestors() { return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -4089,23 +4640,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 10; + * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -4115,12 +4666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Asset) private static final com.google.cloud.asset.v1.Asset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Asset(); } @@ -4129,16 +4680,16 @@ public static com.google.cloud.asset.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; @@ -4153,6 +4704,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java similarity index 89% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java index a4ba89c43..5ec771a28 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface AssetOrBuilder extends +public interface AssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Asset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -38,6 +62,8 @@ public interface AssetOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -47,10 +73,13 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -60,12 +89,14 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -74,10 +105,13 @@ public interface AssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -86,30 +120,38 @@ public interface AssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1.Resource resource = 3; + * * @return The resource. */ com.google.cloud.asset.v1.Resource getResource(); /** + * + * *
    * A representation of the resource.
    * 
@@ -119,6 +161,8 @@ public interface AssetOrBuilder extends com.google.cloud.asset.v1.ResourceOrBuilder getResourceOrBuilder(); /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -132,10 +176,13 @@ public interface AssetOrBuilder extends
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -149,10 +196,13 @@ public interface AssetOrBuilder extends
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -170,6 +220,8 @@ public interface AssetOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -179,9 +231,10 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List 
-      getOrgPolicyList();
+  java.util.List getOrgPolicyList();
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -193,6 +246,8 @@ public interface AssetOrBuilder extends
    */
   com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index);
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -204,6 +259,8 @@ public interface AssetOrBuilder extends
    */
   int getOrgPolicyCount();
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -213,9 +270,11 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List 
+  java.util.List
       getOrgPolicyOrBuilderList();
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -225,30 +284,37 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return Whether the accessPolicy field is set. */ boolean hasAccessPolicy(); /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return The accessPolicy. */ com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(); /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -259,26 +325,34 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return Whether the accessLevel field is set. */ boolean hasAccessLevel(); /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return The accessLevel. */ com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel(); /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -289,26 +363,34 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
+   *
+   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return Whether the servicePerimeter field is set. */ boolean hasServicePerimeter(); /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return The servicePerimeter. */ com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter(); /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -316,9 +398,12 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    *
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
-  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder();
+  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+      getServicePerimeterOrBuilder();
 
   /**
+   *
+   *
    * 
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -326,10 +411,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; + * * @return Whether the osInventory field is set. */ boolean hasOsInventory(); /** + * + * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -337,10 +425,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * .google.cloud.osconfig.v1.Inventory os_inventory = 12; + * * @return The osInventory. */ com.google.cloud.osconfig.v1.Inventory getOsInventory(); /** + * + * *
    * A representation of runtime OS Inventory information. See [this
    * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
@@ -352,6 +443,8 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.cloud.osconfig.v1.InventoryOrBuilder getOsInventoryOrBuilder();
 
   /**
+   *
+   *
    * 
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -361,12 +454,16 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. - * See google/cloud/asset/v1/assets.proto;l=167 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=167 * @return Whether the relatedAssets field is set. */ - @java.lang.Deprecated boolean hasRelatedAssets(); + @java.lang.Deprecated + boolean hasRelatedAssets(); /** + * + * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -376,12 +473,16 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; - * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. - * See google/cloud/asset/v1/assets.proto;l=167 + * + * @deprecated google.cloud.asset.v1.Asset.related_assets is deprecated. See + * google/cloud/asset/v1/assets.proto;l=167 * @return The relatedAssets. */ - @java.lang.Deprecated com.google.cloud.asset.v1.RelatedAssets getRelatedAssets(); + @java.lang.Deprecated + com.google.cloud.asset.v1.RelatedAssets getRelatedAssets(); /** + * + * *
    * DEPRECATED. This field only presents for the purpose of
    * backward-compatibility. The server will never generate responses with this
@@ -392,27 +493,36 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    *
    * .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
    */
-  @java.lang.Deprecated com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder();
+  @java.lang.Deprecated
+  com.google.cloud.asset.v1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder();
 
   /**
+   *
+   *
    * 
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; + * * @return Whether the relatedAsset field is set. */ boolean hasRelatedAsset(); /** + * + * *
    * One related asset of the current asset.
    * 
* * .google.cloud.asset.v1.RelatedAsset related_asset = 15; + * * @return The relatedAsset. */ com.google.cloud.asset.v1.RelatedAsset getRelatedAsset(); /** + * + * *
    * One related asset of the current asset.
    * 
@@ -422,6 +532,8 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder( com.google.cloud.asset.v1.RelatedAssetOrBuilder getRelatedAssetOrBuilder(); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -433,11 +545,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - java.util.List - getAncestorsList(); + java.util.List getAncestorsList(); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -449,10 +563,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ int getAncestorsCount(); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -464,11 +581,14 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -480,11 +600,11 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString - getAncestorsBytes(int index); + com.google.protobuf.ByteString getAncestorsBytes(int index); public com.google.cloud.asset.v1.Asset.AccessContextPolicyCase getAccessContextPolicyCase(); } diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java new file mode 100644 index 000000000..575d30ee0 --- /dev/null +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java @@ -0,0 +1,618 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/assets.proto + +package com.google.cloud.asset.v1; + +public final class AssetProto { + private AssetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1_TemporalAsset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_Asset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedAssets_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedAsset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_VersionedResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AttachedResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_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/asset/v1/assets.proto\022\025go" + + "ogle.cloud.asset.v1\032\037google/api/field_be" + + "havior.proto\032\031google/api/resource.proto\032" + + ")google/cloud/orgpolicy/v1/orgpolicy.pro" + + "to\032(google/cloud/osconfig/v1/inventory.p" + + "roto\032\032google/iam/v1/policy.proto\032:google" + + "/identity/accesscontextmanager/v1/access" + + "_level.proto\032;google/identity/accesscont" + + "extmanager/v1/access_policy.proto\032?googl" + + "e/identity/accesscontextmanager/v1/servi" + + "ce_perimeter.proto\032\034google/protobuf/stru" + + "ct.proto\032\037google/protobuf/timestamp.prot" + + "o\032\025google/rpc/code.proto\"\365\002\n\rTemporalAss" + + "et\0221\n\006window\030\001 \001(\0132!.google.cloud.asset." + + "v1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\022+\n\005asset\030" + + "\003 \001(\0132\034.google.cloud.asset.v1.Asset\022O\n\021p" + + "rior_asset_state\030\004 \001(\01624.google.cloud.as" + + "set.v1.TemporalAsset.PriorAssetState\0221\n\013" + + "prior_asset\030\005 \001(\0132\034.google.cloud.asset.v" + + "1.Asset\"o\n\017PriorAssetState\022!\n\035PRIOR_ASSE" + + "T_STATE_UNSPECIFIED\020\000\022\013\n\007PRESENT\020\001\022\013\n\007IN" + + "VALID\020\002\022\022\n\016DOES_NOT_EXIST\020\003\022\013\n\007DELETED\020\004" + + "\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\"\363\005\n\005Asset\022/" + + "\n\013update_time\030\013 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" + + "\t\0221\n\010resource\030\003 \001(\0132\037.google.cloud.asset" + + ".v1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.googl" + + "e.iam.v1.Policy\0225\n\norg_policy\030\006 \003(\0132!.go" + + "ogle.cloud.orgpolicy.v1.Policy\022N\n\raccess" + + "_policy\030\007 \001(\01325.google.identity.accessco" + + "ntextmanager.v1.AccessPolicyH\000\022L\n\014access" + + "_level\030\010 \001(\01324.google.identity.accesscon" + + "textmanager.v1.AccessLevelH\000\022V\n\021service_" + + "perimeter\030\t \001(\01329.google.identity.access" + + "contextmanager.v1.ServicePerimeterH\000\0229\n\014" + + "os_inventory\030\014 \001(\0132#.google.cloud.osconf" + + "ig.v1.Inventory\022@\n\016related_assets\030\r \001(\0132" + + "$.google.cloud.asset.v1.RelatedAssetsB\002\030" + + "\001\022:\n\rrelated_asset\030\017 \001(\0132#.google.cloud." + + "asset.v1.RelatedAsset\022\021\n\tancestors\030\n \003(\t" + + ":\'\352A$\n\037cloudasset.googleapis.com/Asset\022\001" + + "*B\027\n\025access_context_policy\"\262\001\n\010Resource\022" + + "\017\n\007version\030\001 \001(\t\022\036\n\026discovery_document_u" + + "ri\030\002 \001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014reso" + + "urce_url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006" + + " \001(\0132\027.google.protobuf.Struct\022\020\n\010locatio" + + "n\030\010 \001(\t\"\230\001\n\rRelatedAssets\022N\n\027relationshi" + + "p_attributes\030\001 \001(\0132-.google.cloud.asset." + + "v1.RelationshipAttributes\0223\n\006assets\030\002 \003(" + + "\0132#.google.cloud.asset.v1.RelatedAsset:\002" + + "\030\001\"v\n\026RelationshipAttributes\022\014\n\004type\030\004 \001" + + "(\t\022\034\n\024source_resource_type\030\001 \001(\t\022\034\n\024targ" + + "et_resource_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t:\002" + + "\030\001\"\205\001\n\014RelatedAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n" + + "\037cloudasset.googleapis.com/Asset\022\022\n\nasse" + + "t_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\t\022\031\n\021relat" + + "ionship_type\030\004 \001(\t\"\262\007\n\024ResourceSearchRes" + + "ult\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n" + + "\007project\030\003 \001(\t\022\017\n\007folders\030\021 \003(\t\022\024\n\014organ" + + "ization\030\022 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013d" + + "escription\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\022G\n\006la" + + "bels\030\007 \003(\01327.google.cloud.asset.v1.Resou" + + "rceSearchResult.LabelsEntry\022\024\n\014network_t" + + "ags\030\010 \003(\t\022\017\n\007kms_key\030\n \001(\t\022/\n\013create_tim" + + "e\030\013 \001(\0132\032.google.protobuf.Timestamp\022/\n\013u" + + "pdate_time\030\014 \001(\0132\032.google.protobuf.Times" + + "tamp\022\r\n\005state\030\r \001(\t\0226\n\025additional_attrib" + + "utes\030\t \001(\0132\027.google.protobuf.Struct\022!\n\031p" + + "arent_full_resource_name\030\023 \001(\t\022E\n\023versio" + + "ned_resources\030\020 \003(\0132(.google.cloud.asset" + + ".v1.VersionedResource\022C\n\022attached_resour" + + "ces\030\024 \003(\0132\'.google.cloud.asset.v1.Attach" + + "edResource\022U\n\rrelationships\030\025 \003(\0132>.goog" + + "le.cloud.asset.v1.ResourceSearchResult.R" + + "elationshipsEntry\022\020\n\010tag_keys\030\027 \003(\t\022\022\n\nt" + + "ag_values\030\031 \003(\t\022\025\n\rtag_value_ids\030\032 \003(\t\022\031" + + "\n\021parent_asset_type\030g \001(\t\032-\n\013LabelsEntry" + + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032]\n\022Rela" + + "tionshipsEntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001" + + "(\0132\'.google.cloud.asset.v1.RelatedResour" + + "ces:\0028\001\"O\n\021VersionedResource\022\017\n\007version\030" + + "\001 \001(\t\022)\n\010resource\030\002 \001(\0132\027.google.protobu" + + "f.Struct\"m\n\020AttachedResource\022\022\n\nasset_ty" + + "pe\030\001 \001(\t\022E\n\023versioned_resources\030\003 \003(\0132(." + + "google.cloud.asset.v1.VersionedResource\"" + + "U\n\020RelatedResources\022A\n\021related_resources" + + "\030\001 \003(\0132&.google.cloud.asset.v1.RelatedRe" + + "source\"A\n\017RelatedResource\022\022\n\nasset_type\030" + + "\001 \001(\t\022\032\n\022full_resource_name\030\002 \001(\t\"\217\004\n\025Ia" + + "mPolicySearchResult\022\020\n\010resource\030\001 \001(\t\022\022\n" + + "\nasset_type\030\005 \001(\t\022\017\n\007project\030\002 \001(\t\022\017\n\007fo" + + "lders\030\006 \003(\t\022\024\n\014organization\030\007 \001(\t\022%\n\006pol" + + "icy\030\003 \001(\0132\025.google.iam.v1.Policy\022M\n\013expl" + + "anation\030\004 \001(\01328.google.cloud.asset.v1.Ia" + + "mPolicySearchResult.Explanation\032\241\002\n\013Expl" + + "anation\022m\n\023matched_permissions\030\001 \003(\0132P.g" + + "oogle.cloud.asset.v1.IamPolicySearchResu" + + "lt.Explanation.MatchedPermissionsEntry\032\"" + + "\n\013Permissions\022\023\n\013permissions\030\001 \003(\t\032\177\n\027Ma" + + "tchedPermissionsEntry\022\013\n\003key\030\001 \001(\t\022S\n\005va" + + "lue\030\002 \001(\0132D.google.cloud.asset.v1.IamPol" + + "icySearchResult.Explanation.Permissions:" + + "\0028\001\"G\n\026IamPolicyAnalysisState\022\036\n\004code\030\001 " + + "\001(\0162\020.google.rpc.Code\022\r\n\005cause\030\002 \001(\t\"\306\001\n" + + "\023ConditionEvaluation\022T\n\020evaluation_value" + + "\030\001 \001(\0162:.google.cloud.asset.v1.Condition" + + "Evaluation.EvaluationValue\"Y\n\017Evaluation" + + "Value\022 \n\034EVALUATION_VALUE_UNSPECIFIED\020\000\022" + + "\010\n\004TRUE\020\001\022\t\n\005FALSE\020\002\022\017\n\013CONDITIONAL\020\003\"\253\t" + + "\n\027IamPolicyAnalysisResult\022#\n\033attached_re" + + "source_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 " + + "\001(\0132\026.google.iam.v1.Binding\022^\n\024access_co" + + "ntrol_lists\030\003 \003(\0132@.google.cloud.asset.v" + + "1.IamPolicyAnalysisResult.AccessControlL" + + "ist\022R\n\ridentity_list\030\004 \001(\0132;.google.clou" + + "d.asset.v1.IamPolicyAnalysisResult.Ident" + + "ityList\022\026\n\016fully_explored\030\005 \001(\010\032m\n\010Resou" + + "rce\022\032\n\022full_resource_name\030\001 \001(\t\022E\n\016analy" + + "sis_state\030\002 \001(\0132-.google.cloud.asset.v1." + + "IamPolicyAnalysisState\032\205\001\n\006Access\022\016\n\004rol" + + "e\030\001 \001(\tH\000\022\024\n\npermission\030\002 \001(\tH\000\022E\n\016analy" + + "sis_state\030\003 \001(\0132-.google.cloud.asset.v1." + + "IamPolicyAnalysisStateB\016\n\014oneof_access\032_" + + "\n\010Identity\022\014\n\004name\030\001 \001(\t\022E\n\016analysis_sta" + + "te\030\002 \001(\0132-.google.cloud.asset.v1.IamPoli" + + "cyAnalysisState\0320\n\004Edge\022\023\n\013source_node\030\001" + + " \001(\t\022\023\n\013target_node\030\002 \001(\t\032\277\002\n\021AccessCont" + + "rolList\022J\n\tresources\030\001 \003(\01327.google.clou" + + "d.asset.v1.IamPolicyAnalysisResult.Resou" + + "rce\022G\n\010accesses\030\002 \003(\01325.google.cloud.ass" + + "et.v1.IamPolicyAnalysisResult.Access\022K\n\016" + + "resource_edges\030\003 \003(\01323.google.cloud.asse" + + "t.v1.IamPolicyAnalysisResult.Edge\022H\n\024con" + + "dition_evaluation\030\004 \001(\0132*.google.cloud.a" + + "sset.v1.ConditionEvaluation\032\245\001\n\014Identity" + + "List\022K\n\nidentities\030\001 \003(\01327.google.cloud." + + "asset.v1.IamPolicyAnalysisResult.Identit" + + "y\022H\n\013group_edges\030\002 \003(\01323.google.cloud.as" + + "set.v1.IamPolicyAnalysisResult.EdgeB\230\001\n\031" + + "com.google.cloud.asset.v1B\nAssetProtoP\001Z" + + ":google.golang.org/genproto/googleapis/c" + + "loud/asset/v1;asset\370\001\001\252\002\025Google.Cloud.As" + + "set.V1\312\002\025Google\\Cloud\\Asset\\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.orgpolicy.v1.OrgPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1.Inventories.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.CodeProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1_TemporalAsset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TemporalAsset_descriptor, + new java.lang.String[] { + "Window", "Deleted", "Asset", "PriorAssetState", "PriorAsset", + }); + internal_static_google_cloud_asset_v1_TimeWindow_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_TimeWindow_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_asset_v1_Asset_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1_Asset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Asset_descriptor, + new java.lang.String[] { + "UpdateTime", + "Name", + "AssetType", + "Resource", + "IamPolicy", + "OrgPolicy", + "AccessPolicy", + "AccessLevel", + "ServicePerimeter", + "OsInventory", + "RelatedAssets", + "RelatedAsset", + "Ancestors", + "AccessContextPolicy", + }); + internal_static_google_cloud_asset_v1_Resource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Resource_descriptor, + new java.lang.String[] { + "Version", + "DiscoveryDocumentUri", + "DiscoveryName", + "ResourceUrl", + "Parent", + "Data", + "Location", + }); + internal_static_google_cloud_asset_v1_RelatedAssets_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedAssets_descriptor, + new java.lang.String[] { + "RelationshipAttributes", "Assets", + }); + internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor, + new java.lang.String[] { + "Type", "SourceResourceType", "TargetResourceType", "Action", + }); + internal_static_google_cloud_asset_v1_RelatedAsset_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedAsset_descriptor, + new java.lang.String[] { + "Asset", "AssetType", "Ancestors", "RelationshipType", + }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor, + new java.lang.String[] { + "Name", + "AssetType", + "Project", + "Folders", + "Organization", + "DisplayName", + "Description", + "Location", + "Labels", + "NetworkTags", + "KmsKey", + "CreateTime", + "UpdateTime", + "State", + "AdditionalAttributes", + "ParentFullResourceName", + "VersionedResources", + "AttachedResources", + "Relationships", + "TagKeys", + "TagValues", + "TagValueIds", + "ParentAssetType", + }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor = + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor = + internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_asset_v1_VersionedResource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_VersionedResource_descriptor, + new java.lang.String[] { + "Version", "Resource", + }); + internal_static_google_cloud_asset_v1_AttachedResource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AttachedResource_descriptor, + new java.lang.String[] { + "AssetType", "VersionedResources", + }); + internal_static_google_cloud_asset_v1_RelatedResources_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedResources_descriptor, + new java.lang.String[] { + "RelatedResources", + }); + internal_static_google_cloud_asset_v1_RelatedResource_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_RelatedResource_descriptor, + new java.lang.String[] { + "AssetType", "FullResourceName", + }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor, + new java.lang.String[] { + "Resource", + "AssetType", + "Project", + "Folders", + "Organization", + "Policy", + "Explanation", + }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor = + internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor, + new java.lang.String[] { + "MatchedPermissions", + }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor = + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor, + new java.lang.String[] { + "Permissions", + }); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor = + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor, + new java.lang.String[] { + "Code", "Cause", + }); + internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor, + new java.lang.String[] { + "EvaluationValue", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor, + new java.lang.String[] { + "AttachedResourceFullName", + "IamBinding", + "AccessControlLists", + "IdentityList", + "FullyExplored", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor, + new java.lang.String[] { + "FullResourceName", "AnalysisState", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor, + new java.lang.String[] { + "Role", "Permission", "AnalysisState", "OneofAccess", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor, + new java.lang.String[] { + "Name", "AnalysisState", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor, + new java.lang.String[] { + "SourceNode", "TargetNode", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor, + new java.lang.String[] { + "Resources", "Accesses", "ResourceEdges", "ConditionEvaluation", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor, + new java.lang.String[] { + "Identities", "GroupEdges", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1.Inventories.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.CodeProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java new file mode 100644 index 000000000..3513ae205 --- /dev/null +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java @@ -0,0 +1,1158 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_OutputResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_Feed_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_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/asset/v1/asset_service.pr" + + "oto\022\025google.cloud.asset.v1\032\034google/api/a" + + "nnotations.proto\032\027google/api/client.prot" + + "o\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032\"google/cloud/asse" + + "t/v1/assets.proto\032\032google/iam/v1/policy." + + "proto\032#google/longrunning/operations.pro" + + "to\032\036google/protobuf/duration.proto\032\033goog" + + "le/protobuf/empty.proto\032 google/protobuf" + + "/field_mask.proto\032\037google/protobuf/times" + + "tamp.proto\032\027google/rpc/status.proto\032\026goo" + + "gle/type/expr.proto\"[\n#AnalyzeIamPolicyL" + + "ongrunningMetadata\0224\n\013create_time\030\001 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\"\251\002\n\023Exp" + + "ortAssetsRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!" + + "\022\037cloudasset.googleapis.com/Asset\022-\n\trea" + + "d_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022\023\n\013asset_types\030\003 \003(\t\0228\n\014content_type\030\004 " + + "\001(\0162\".google.cloud.asset.v1.ContentType\022" + + "?\n\routput_config\030\005 \001(\0132#.google.cloud.as" + + "set.v1.OutputConfigB\003\340A\002\022\032\n\022relationship" + + "_types\030\006 \003(\t\"\275\001\n\024ExportAssetsResponse\022-\n" + + "\tread_time\030\001 \001(\0132\032.google.protobuf.Times" + + "tamp\022:\n\routput_config\030\002 \001(\0132#.google.clo" + + "ud.asset.v1.OutputConfig\022:\n\routput_resul" + + "t\030\003 \001(\0132#.google.cloud.asset.v1.OutputRe" + + "sult\"\215\002\n\021ListAssetsRequest\0227\n\006parent\030\001 \001" + + "(\tB\'\340A\002\372A!\022\037cloudasset.googleapis.com/As" + + "set\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022\023\n\013asset_types\030\003 \003(\t\0228\n\014conte" + + "nt_type\030\004 \001(\0162\".google.cloud.asset.v1.Co" + + "ntentType\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_tok" + + "en\030\006 \001(\t\022\032\n\022relationship_types\030\007 \003(\t\"\212\001\n" + + "\022ListAssetsResponse\022-\n\tread_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\006assets\030\002 \003" + + "(\0132\034.google.cloud.asset.v1.Asset\022\027\n\017next" + + "_page_token\030\003 \001(\t\"\216\002\n\034BatchGetAssetsHist" + + "oryRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037clou" + + "dasset.googleapis.com/Asset\022\023\n\013asset_nam" + + "es\030\002 \003(\t\022=\n\014content_type\030\003 \001(\0162\".google." + + "cloud.asset.v1.ContentTypeB\003\340A\001\022@\n\020read_" + + "time_window\030\004 \001(\0132!.google.cloud.asset.v" + + "1.TimeWindowB\003\340A\001\022\037\n\022relationship_types\030" + + "\005 \003(\tB\003\340A\001\"U\n\035BatchGetAssetsHistoryRespo" + + "nse\0224\n\006assets\030\001 \003(\0132$.google.cloud.asset" + + ".v1.TemporalAsset\"n\n\021CreateFeedRequest\022\023" + + "\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A" + + "\002\022.\n\004feed\030\003 \001(\0132\033.google.cloud.asset.v1." + + "FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001(" + + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" + + "d\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003\340" + + "A\002\"?\n\021ListFeedsResponse\022*\n\005feeds\030\001 \003(\0132\033" + + ".google.cloud.asset.v1.Feed\"y\n\021UpdateFee" + + "dRequest\022.\n\004feed\030\001 \001(\0132\033.google.cloud.as" + + "set.v1.FeedB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032." + + "google.protobuf.FieldMaskB\003\340A\002\"I\n\021Delete" + + "FeedRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036cloud" + + "asset.googleapis.com/Feed\"\253\001\n\014OutputConf" + + "ig\022@\n\017gcs_destination\030\001 \001(\0132%.google.clo" + + "ud.asset.v1.GcsDestinationH\000\022J\n\024bigquery" + + "_destination\030\002 \001(\0132*.google.cloud.asset." + + "v1.BigQueryDestinationH\000B\r\n\013destination\"" + + "V\n\014OutputResult\022<\n\ngcs_result\030\001 \001(\0132&.go" + + "ogle.cloud.asset.v1.GcsOutputResultH\000B\010\n" + + "\006result\"\037\n\017GcsOutputResult\022\014\n\004uris\030\001 \003(\t" + + "\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000\022\024\n\nuri" + + "_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\264\001\n\023BigQue" + + "ryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\022\n\005t" + + "able\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022<\n\016partit" + + "ion_spec\030\004 \001(\0132$.google.cloud.asset.v1.P" + + "artitionSpec\022&\n\036separate_tables_per_asse" + + "t_type\030\005 \001(\010\"\251\001\n\rPartitionSpec\022H\n\rpartit" + + "ion_key\030\001 \001(\01621.google.cloud.asset.v1.Pa" + + "rtitionSpec.PartitionKey\"N\n\014PartitionKey" + + "\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\r\n\tREAD_" + + "TIME\020\001\022\020\n\014REQUEST_TIME\020\002\"\"\n\021PubsubDestin" + + "ation\022\r\n\005topic\030\001 \001(\t\"i\n\020FeedOutputConfig" + + "\022F\n\022pubsub_destination\030\001 \001(\0132(.google.cl" + + "oud.asset.v1.PubsubDestinationH\000B\r\n\013dest" + + "ination\"\235\003\n\004Feed\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\023\n\013a" + + "sset_names\030\002 \003(\t\022\023\n\013asset_types\030\003 \003(\t\0228\n" + + "\014content_type\030\004 \001(\0162\".google.cloud.asset" + + ".v1.ContentType\022H\n\022feed_output_config\030\005 " + + "\001(\0132\'.google.cloud.asset.v1.FeedOutputCo" + + "nfigB\003\340A\002\022$\n\tcondition\030\006 \001(\0132\021.google.ty" + + "pe.Expr\022\032\n\022relationship_types\030\007 \003(\t:\221\001\352A" + + "\215\001\n\036cloudasset.googleapis.com/Feed\022\037proj" + + "ects/{project}/feeds/{feed}\022\035folders/{fo" + + "lder}/feeds/{feed}\022)organizations/{organ" + + "ization}/feeds/{feed} \001\"\331\001\n\031SearchAllRes" + + "ourcesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005que" + + "ry\030\002 \001(\tB\003\340A\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022" + + "\026\n\tpage_size\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 " + + "\001(\tB\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0222\n\tread_" + + "mask\030\010 \001(\0132\032.google.protobuf.FieldMaskB\003" + + "\340A\001\"s\n\032SearchAllResourcesResponse\022<\n\007res" + + "ults\030\001 \003(\0132+.google.cloud.asset.v1.Resou" + + "rceSearchResult\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\247\001\n\033SearchAllIamPoliciesRequest\022\022\n\005scop" + + "e\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage" + + "_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A" + + "\001\022\030\n\013asset_types\030\005 \003(\tB\003\340A\001\022\025\n\010order_by\030" + + "\007 \001(\tB\003\340A\001\"v\n\034SearchAllIamPoliciesRespon" + + "se\022=\n\007results\030\001 \003(\0132,.google.cloud.asset" + + ".v1.IamPolicySearchResult\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"\306\007\n\026IamPolicyAnalysisQuery\022\022\n" + + "\005scope\030\001 \001(\tB\003\340A\002\022^\n\021resource_selector\030\002" + + " \001(\0132>.google.cloud.asset.v1.IamPolicyAn" + + "alysisQuery.ResourceSelectorB\003\340A\001\022^\n\021ide" + + "ntity_selector\030\003 \001(\0132>.google.cloud.asse" + + "t.v1.IamPolicyAnalysisQuery.IdentitySele" + + "ctorB\003\340A\001\022Z\n\017access_selector\030\004 \001(\0132<.goo" + + "gle.cloud.asset.v1.IamPolicyAnalysisQuer" + + "y.AccessSelectorB\003\340A\001\022K\n\007options\030\005 \001(\01325" + + ".google.cloud.asset.v1.IamPolicyAnalysis" + + "Query.OptionsB\003\340A\001\022^\n\021condition_context\030" + + "\006 \001(\0132>.google.cloud.asset.v1.IamPolicyA" + + "nalysisQuery.ConditionContextB\003\340A\001\0323\n\020Re" + + "sourceSelector\022\037\n\022full_resource_name\030\001 \001" + + "(\tB\003\340A\002\032)\n\020IdentitySelector\022\025\n\010identity\030" + + "\001 \001(\tB\003\340A\002\032>\n\016AccessSelector\022\022\n\005roles\030\001 " + + "\003(\tB\003\340A\001\022\030\n\013permissions\030\002 \003(\tB\003\340A\001\032\330\001\n\007O" + + "ptions\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n\014ex" + + "pand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resource" + + "s\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges\030\004 " + + "\001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B\003\340A" + + "\001\0222\n%analyze_service_account_impersonati" + + "on\030\006 \001(\010B\003\340A\001\032T\n\020ConditionContext\0221\n\013acc" + + "ess_time\030\001 \001(\0132\032.google.protobuf.Timesta" + + "mpH\000B\r\n\013TimeContext\"\303\001\n\027AnalyzeIamPolicy" + + "Request\022J\n\016analysis_query\030\001 \001(\0132-.google" + + ".cloud.asset.v1.IamPolicyAnalysisQueryB\003" + + "\340A\002\022!\n\024saved_analysis_query\030\003 \001(\tB\003\340A\001\0229" + + "\n\021execution_timeout\030\002 \001(\0132\031.google.proto" + + "buf.DurationB\003\340A\001\"\212\004\n\030AnalyzeIamPolicyRe" + + "sponse\022X\n\rmain_analysis\030\001 \001(\0132A.google.c" + + "loud.asset.v1.AnalyzeIamPolicyResponse.I" + + "amPolicyAnalysis\022q\n&service_account_impe" + + "rsonation_analysis\030\002 \003(\0132A.google.cloud." + + "asset.v1.AnalyzeIamPolicyResponse.IamPol" + + "icyAnalysis\022\026\n\016fully_explored\030\003 \001(\010\032\210\002\n\021" + + "IamPolicyAnalysis\022E\n\016analysis_query\030\001 \001(" + + "\0132-.google.cloud.asset.v1.IamPolicyAnaly" + + "sisQuery\022H\n\020analysis_results\030\002 \003(\0132..goo" + + "gle.cloud.asset.v1.IamPolicyAnalysisResu" + + "lt\022\026\n\016fully_explored\030\003 \001(\010\022J\n\023non_critic" + + "al_errors\030\005 \003(\0132-.google.cloud.asset.v1." + + "IamPolicyAnalysisState\"\264\004\n\035IamPolicyAnal" + + "ysisOutputConfig\022^\n\017gcs_destination\030\001 \001(" + + "\0132C.google.cloud.asset.v1.IamPolicyAnaly" + + "sisOutputConfig.GcsDestinationH\000\022h\n\024bigq" + + "uery_destination\030\002 \001(\0132H.google.cloud.as" + + "set.v1.IamPolicyAnalysisOutputConfig.Big" + + "QueryDestinationH\000\032\"\n\016GcsDestination\022\020\n\003" + + "uri\030\001 \001(\tB\003\340A\002\032\225\002\n\023BigQueryDestination\022\024" + + "\n\007dataset\030\001 \001(\tB\003\340A\002\022\031\n\014table_prefix\030\002 \001" + + "(\tB\003\340A\002\022l\n\rpartition_key\030\003 \001(\0162U.google." + + "cloud.asset.v1.IamPolicyAnalysisOutputCo" + + "nfig.BigQueryDestination.PartitionKey\022\036\n" + + "\021write_disposition\030\004 \001(\tB\003\340A\001\"?\n\014Partiti" + + "onKey\022\035\n\031PARTITION_KEY_UNSPECIFIED\020\000\022\020\n\014" + + "REQUEST_TIME\020\001B\r\n\013destination\"\345\001\n\"Analyz" + + "eIamPolicyLongrunningRequest\022J\n\016analysis" + + "_query\030\001 \001(\0132-.google.cloud.asset.v1.Iam" + + "PolicyAnalysisQueryB\003\340A\002\022!\n\024saved_analys" + + "is_query\030\003 \001(\tB\003\340A\001\022P\n\routput_config\030\002 \001" + + "(\01324.google.cloud.asset.v1.IamPolicyAnal" + + "ysisOutputConfigB\003\340A\002\"%\n#AnalyzeIamPolic" + + "yLongrunningResponse\"\267\005\n\nSavedQuery\022\014\n\004n" + + "ame\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0224\n\013create" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022\024\n\007creator\030\004 \001(\tB\003\340A\003\0229\n\020last_updat" + + "e_time\030\005 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\022\031\n\014last_updater\030\006 \001(\tB\003\340A\003\022=\n\006labe" + + "ls\030\007 \003(\0132-.google.cloud.asset.v1.SavedQu" + + "ery.LabelsEntry\022?\n\007content\030\010 \001(\0132..googl" + + "e.cloud.asset.v1.SavedQuery.QueryContent" + + "\032s\n\014QueryContent\022R\n\031iam_policy_analysis_" + + "query\030\001 \001(\0132-.google.cloud.asset.v1.IamP" + + "olicyAnalysisQueryH\000B\017\n\rquery_content\032-\n" + + "\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001:\277\001\352A\273\001\n$cloudasset.googleapis.com/S" + + "avedQuery\022-projects/{project}/savedQueri" + + "es/{saved_query}\022+folders/{folder}/saved" + + "Queries/{saved_query}\0227organizations/{or" + + "ganization}/savedQueries/{saved_query}\"\261" + + "\001\n\027CreateSavedQueryRequest\022<\n\006parent\030\001 \001" + + "(\tB,\340A\002\372A&\022$cloudasset.googleapis.com/Sa" + + "vedQuery\022;\n\013saved_query\030\002 \001(\0132!.google.c" + + "loud.asset.v1.SavedQueryB\003\340A\002\022\033\n\016saved_q" + + "uery_id\030\003 \001(\tB\003\340A\002\"R\n\024GetSavedQueryReque" + + "st\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$cloudasset.goo" + + "gleapis.com/SavedQuery\"\235\001\n\027ListSavedQuer" + + "iesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$clou" + + "dasset.googleapis.com/SavedQuery\022\023\n\006filt" + + "er\030\004 \001(\tB\003\340A\001\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\003 \001(\tB\003\340A\001\"m\n\030ListSavedQueri" + + "esResponse\0228\n\rsaved_queries\030\001 \003(\0132!.goog" + + "le.cloud.asset.v1.SavedQuery\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\214\001\n\027UpdateSavedQueryReques" + + "t\022;\n\013saved_query\030\001 \001(\0132!.google.cloud.as" + + "set.v1.SavedQueryB\003\340A\002\0224\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"U\n\027" + + "DeleteSavedQueryRequest\022:\n\004name\030\001 \001(\tB,\340" + + "A\002\372A&\n$cloudasset.googleapis.com/SavedQu" + + "ery\"\326\001\n\022AnalyzeMoveRequest\022\025\n\010resource\030\001" + + " \001(\tB\003\340A\002\022\037\n\022destination_parent\030\002 \001(\tB\003\340" + + "A\002\022D\n\004view\030\003 \001(\01626.google.cloud.asset.v1" + + ".AnalyzeMoveRequest.AnalysisView\"B\n\014Anal" + + "ysisView\022\035\n\031ANALYSIS_VIEW_UNSPECIFIED\020\000\022" + + "\010\n\004FULL\020\001\022\t\n\005BASIC\020\002\"Q\n\023AnalyzeMoveRespo" + + "nse\022:\n\rmove_analysis\030\001 \003(\0132#.google.clou" + + "d.asset.v1.MoveAnalysis\"\222\001\n\014MoveAnalysis" + + "\022\024\n\014display_name\030\001 \001(\t\022=\n\010analysis\030\002 \001(\013" + + "2).google.cloud.asset.v1.MoveAnalysisRes" + + "ultH\000\022#\n\005error\030\003 \001(\0132\022.google.rpc.Status" + + "H\000B\010\n\006result\"~\n\022MoveAnalysisResult\0223\n\010bl" + + "ockers\030\001 \003(\0132!.google.cloud.asset.v1.Mov" + + "eImpact\0223\n\010warnings\030\002 \003(\0132!.google.cloud" + + ".asset.v1.MoveImpact\"\034\n\nMoveImpact\022\016\n\006de" + + "tail\030\001 \001(\t\"Y\n#BatchGetEffectiveIamPolici" + + "esRequest\022\030\n\005scope\030\001 \001(\tB\t\340A\002\372A\003\022\001*\022\030\n\005n" + + "ames\030\003 \003(\tB\t\340A\002\372A\003\n\001*\"\376\002\n$BatchGetEffect" + + "iveIamPoliciesResponse\022f\n\016policy_results" + + "\030\002 \003(\0132N.google.cloud.asset.v1.BatchGetE" + + "ffectiveIamPoliciesResponse.EffectiveIam" + + "Policy\032\355\001\n\022EffectiveIamPolicy\022\032\n\022full_re" + + "source_name\030\001 \001(\t\022k\n\010policies\030\002 \003(\0132Y.go" + + "ogle.cloud.asset.v1.BatchGetEffectiveIam" + + "PoliciesResponse.EffectiveIamPolicy.Poli" + + "cyInfo\032N\n\nPolicyInfo\022\031\n\021attached_resourc" + + "e\030\001 \001(\t\022%\n\006policy\030\002 \001(\0132\025.google.iam.v1." + + "Policy*\220\001\n\013ContentType\022\034\n\030CONTENT_TYPE_U" + + "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" + + "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n" + + "\014OS_INVENTORY\020\006\022\020\n\014RELATIONSHIP\020\0072\213\032\n\014As" + + "setService\022\336\001\n\014ExportAssets\022*.google.clo" + + "ud.asset.v1.ExportAssetsRequest\032\035.google" + + ".longrunning.Operation\"\202\001\202\323\344\223\002\"\"\035/v1/{pa" + + "rent=*/*}:exportAssets:\001*\312AW\n*google.clo" + + "ud.asset.v1.ExportAssetsResponse\022)google" + + ".cloud.asset.v1.ExportAssetsRequest\022\213\001\n\n" + + "ListAssets\022(.google.cloud.asset.v1.ListA" + + "ssetsRequest\032).google.cloud.asset.v1.Lis" + + "tAssetsResponse\"(\202\323\344\223\002\031\022\027/v1/{parent=*/*" + + "}/assets\332A\006parent\022\262\001\n\025BatchGetAssetsHist" + + "ory\0223.google.cloud.asset.v1.BatchGetAsse" + + "tsHistoryRequest\0324.google.cloud.asset.v1" + + ".BatchGetAssetsHistoryResponse\".\202\323\344\223\002(\022&" + + "/v1/{parent=*/*}:batchGetAssetsHistory\022\177" + + "\n\nCreateFeed\022(.google.cloud.asset.v1.Cre" + + "ateFeedRequest\032\033.google.cloud.asset.v1.F" + + "eed\"*\202\323\344\223\002\033\"\026/v1/{parent=*/*}/feeds:\001*\332A" + + "\006parent\022t\n\007GetFeed\022%.google.cloud.asset." + + "v1.GetFeedRequest\032\033.google.cloud.asset.v" + + "1.Feed\"%\202\323\344\223\002\030\022\026/v1/{name=*/*/feeds/*}\332A" + + "\004name\022\207\001\n\tListFeeds\022\'.google.cloud.asset" + + ".v1.ListFeedsRequest\032(.google.cloud.asse" + + "t.v1.ListFeedsResponse\"\'\202\323\344\223\002\030\022\026/v1/{par" + + "ent=*/*}/feeds\332A\006parent\022\202\001\n\nUpdateFeed\022(" + + ".google.cloud.asset.v1.UpdateFeedRequest" + + "\032\033.google.cloud.asset.v1.Feed\"-\202\323\344\223\002 2\033/" + + "v1/{feed.name=*/*/feeds/*}:\001*\332A\004feed\022u\n\n" + + "DeleteFeed\022(.google.cloud.asset.v1.Delet" + + "eFeedRequest\032\026.google.protobuf.Empty\"%\202\323" + + "\344\223\002\030*\026/v1/{name=*/*/feeds/*}\332A\004name\022\277\001\n\022" + + "SearchAllResources\0220.google.cloud.asset." + + "v1.SearchAllResourcesRequest\0321.google.cl" + + "oud.asset.v1.SearchAllResourcesResponse\"" + + "D\202\323\344\223\002$\022\"/v1/{scope=*/*}:searchAllResour" + + "ces\332A\027scope,query,asset_types\022\273\001\n\024Search" + + "AllIamPolicies\0222.google.cloud.asset.v1.S" + + "earchAllIamPoliciesRequest\0323.google.clou" + + "d.asset.v1.SearchAllIamPoliciesResponse\"" + + ":\202\323\344\223\002&\022$/v1/{scope=*/*}:searchAllIamPol" + + "icies\332A\013scope,query\022\254\001\n\020AnalyzeIamPolicy" + + "\022..google.cloud.asset.v1.AnalyzeIamPolic" + + "yRequest\032/.google.cloud.asset.v1.Analyze" + + "IamPolicyResponse\"7\202\323\344\223\0021\022//v1/{analysis" + + "_query.scope=*/*}:analyzeIamPolicy\022\270\002\n\033A" + + "nalyzeIamPolicyLongrunning\0229.google.clou" + + "d.asset.v1.AnalyzeIamPolicyLongrunningRe" + + "quest\032\035.google.longrunning.Operation\"\276\001\202" + + "\323\344\223\002?\":/v1/{analysis_query.scope=*/*}:an" + + "alyzeIamPolicyLongrunning:\001*\312Av\n9google." + + "cloud.asset.v1.AnalyzeIamPolicyLongrunni" + + "ngResponse\0229google.cloud.asset.v1.Analyz" + + "eIamPolicyLongrunningMetadata\022\214\001\n\013Analyz" + + "eMove\022).google.cloud.asset.v1.AnalyzeMov" + + "eRequest\032*.google.cloud.asset.v1.Analyze" + + "MoveResponse\"&\202\323\344\223\002 \022\036/v1/{resource=*/*}" + + ":analyzeMove\022\275\001\n\020CreateSavedQuery\022..goog" + + "le.cloud.asset.v1.CreateSavedQueryReques" + + "t\032!.google.cloud.asset.v1.SavedQuery\"V\202\323" + + "\344\223\002,\"\035/v1/{parent=*/*}/savedQueries:\013sav" + + "ed_query\332A!parent,saved_query,saved_quer" + + "y_id\022\215\001\n\rGetSavedQuery\022+.google.cloud.as" + + "set.v1.GetSavedQueryRequest\032!.google.clo" + + "ud.asset.v1.SavedQuery\",\202\323\344\223\002\037\022\035/v1/{nam" + + "e=*/*/savedQueries/*}\332A\004name\022\243\001\n\020ListSav" + + "edQueries\022..google.cloud.asset.v1.ListSa" + + "vedQueriesRequest\032/.google.cloud.asset.v" + + "1.ListSavedQueriesResponse\".\202\323\344\223\002\037\022\035/v1/" + + "{parent=*/*}/savedQueries\332A\006parent\022\277\001\n\020U" + + "pdateSavedQuery\022..google.cloud.asset.v1." + + "UpdateSavedQueryRequest\032!.google.cloud.a" + + "sset.v1.SavedQuery\"X\202\323\344\223\00282)/v1/{saved_q" + + "uery.name=*/*/savedQueries/*}:\013saved_que" + + "ry\332A\027saved_query,update_mask\022\210\001\n\020DeleteS" + + "avedQuery\022..google.cloud.asset.v1.Delete" + + "SavedQueryRequest\032\026.google.protobuf.Empt" + + "y\",\202\323\344\223\002\037*\035/v1/{name=*/*/savedQueries/*}" + + "\332A\004name\022\316\001\n\034BatchGetEffectiveIamPolicies" + + "\022:.google.cloud.asset.v1.BatchGetEffecti" + + "veIamPoliciesRequest\032;.google.cloud.asse" + + "t.v1.BatchGetEffectiveIamPoliciesRespons" + + "e\"5\202\323\344\223\002/\022-/v1/{scope=*/*}/effectiveIamP" + + "olicies:batchGet\032M\312A\031cloudasset.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\234\001\n\031com.google.cloud.ass" + + "et.v1B\021AssetServiceProtoP\001Z:google.golan" + + "g.org/genproto/googleapis/cloud/asset/v1" + + ";asset\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\" + + "Cloud\\Asset\\V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1.AssetProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + com.google.type.ExprProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + }); + internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor, + new java.lang.String[] { + "Parent", + "ReadTime", + "AssetTypes", + "ContentType", + "OutputConfig", + "RelationshipTypes", + }); + internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor, + new java.lang.String[] { + "ReadTime", "OutputConfig", "OutputResult", + }); + internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor, + new java.lang.String[] { + "Parent", + "ReadTime", + "AssetTypes", + "ContentType", + "PageSize", + "PageToken", + "RelationshipTypes", + }); + internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor, + new java.lang.String[] { + "ReadTime", "Assets", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor, + new java.lang.String[] { + "Parent", "AssetNames", "ContentType", "ReadTimeWindow", "RelationshipTypes", + }); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor, + new java.lang.String[] { + "Assets", + }); + internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor, + new java.lang.String[] { + "Parent", "FeedId", "Feed", + }); + internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor, + new java.lang.String[] { + "Parent", + }); + internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor, + new java.lang.String[] { + "Feeds", + }); + internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor, + new java.lang.String[] { + "Feed", "UpdateMask", + }); + internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_asset_v1_OutputConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_OutputConfig_descriptor, + new java.lang.String[] { + "GcsDestination", "BigqueryDestination", "Destination", + }); + internal_static_google_cloud_asset_v1_OutputResult_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_OutputResult_descriptor, + new java.lang.String[] { + "GcsResult", "Result", + }); + internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor, + new java.lang.String[] { + "Uris", + }); + internal_static_google_cloud_asset_v1_GcsDestination_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GcsDestination_descriptor, + new java.lang.String[] { + "Uri", "UriPrefix", "ObjectUri", + }); + internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor, + new java.lang.String[] { + "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", + }); + internal_static_google_cloud_asset_v1_PartitionSpec_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_PartitionSpec_descriptor, + new java.lang.String[] { + "PartitionKey", + }); + internal_static_google_cloud_asset_v1_PubsubDestination_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_PubsubDestination_descriptor, + new java.lang.String[] { + "Topic", + }); + internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor, + new java.lang.String[] { + "PubsubDestination", "Destination", + }); + internal_static_google_cloud_asset_v1_Feed_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_Feed_descriptor, + new java.lang.String[] { + "Name", + "AssetNames", + "AssetTypes", + "ContentType", + "FeedOutputConfig", + "Condition", + "RelationshipTypes", + }); + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor, + new java.lang.String[] { + "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy", "ReadMask", + }); + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor, + new java.lang.String[] { + "Results", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor, + new java.lang.String[] { + "Scope", "Query", "PageSize", "PageToken", "AssetTypes", "OrderBy", + }); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor, + new java.lang.String[] { + "Results", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor, + new java.lang.String[] { + "Scope", + "ResourceSelector", + "IdentitySelector", + "AccessSelector", + "Options", + "ConditionContext", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor, + new java.lang.String[] { + "FullResourceName", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor, + new java.lang.String[] { + "Identity", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor, + new java.lang.String[] { + "Roles", "Permissions", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor, + new java.lang.String[] { + "ExpandGroups", + "ExpandRoles", + "ExpandResources", + "OutputResourceEdges", + "OutputGroupEdges", + "AnalyzeServiceAccountImpersonation", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor, + new java.lang.String[] { + "AccessTime", "TimeContext", + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyRequest_descriptor, + new java.lang.String[] { + "AnalysisQuery", "SavedAnalysisQuery", "ExecutionTimeout", + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor, + new java.lang.String[] { + "MainAnalysis", "ServiceAccountImpersonationAnalysis", "FullyExplored", + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor = + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor, + new java.lang.String[] { + "AnalysisQuery", "AnalysisResults", "FullyExplored", "NonCriticalErrors", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor, + new java.lang.String[] { + "GcsDestination", "BigqueryDestination", "Destination", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor, + new java.lang.String[] { + "Uri", + }); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor = + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor, + new java.lang.String[] { + "Dataset", "TablePrefix", "PartitionKey", "WriteDisposition", + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningRequest_descriptor, + new java.lang.String[] { + "AnalysisQuery", "SavedAnalysisQuery", "OutputConfig", + }); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeIamPolicyLongrunningResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_asset_v1_SavedQuery_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SavedQuery_descriptor, + new java.lang.String[] { + "Name", + "Description", + "CreateTime", + "Creator", + "LastUpdateTime", + "LastUpdater", + "Labels", + "Content", + }); + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor = + internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor, + new java.lang.String[] { + "IamPolicyAnalysisQuery", "QueryContent", + }); + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor = + internal_static_google_cloud_asset_v1_SavedQuery_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor, + new java.lang.String[] { + "Parent", "SavedQuery", "SavedQueryId", + }); + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor, + new java.lang.String[] { + "SavedQueries", "NextPageToken", + }); + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor, + new java.lang.String[] { + "SavedQuery", "UpdateMask", + }); + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeMoveRequest_descriptor, + new java.lang.String[] { + "Resource", "DestinationParent", "View", + }); + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_AnalyzeMoveResponse_descriptor, + new java.lang.String[] { + "MoveAnalysis", + }); + internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor, + new java.lang.String[] { + "DisplayName", "Analysis", "Error", "Result", + }); + internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor, + new java.lang.String[] { + "Blockers", "Warnings", + }); + internal_static_google_cloud_asset_v1_MoveImpact_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_MoveImpact_descriptor, + new java.lang.String[] { + "Detail", + }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor, + new java.lang.String[] { + "Scope", "Names", + }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor, + new java.lang.String[] { + "PolicyResults", + }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor = + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor, + new java.lang.String[] { + "FullResourceName", "Policies", + }); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor = + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor, + new java.lang.String[] { + "AttachedResource", "Policy", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1.AssetProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + com.google.type.ExprProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java index 554af654c..35e4ee101 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResource.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * Attached resource representation, which is defined by the corresponding
  * service provider. It represents an attached resource's payload.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.AttachedResource}
  */
-public final class AttachedResource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AttachedResource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.AttachedResource)
     AttachedResourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AttachedResource.newBuilder() to construct.
   private AttachedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AttachedResource() {
     assetType_ = "";
     versionedResources_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private AttachedResource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttachedResource();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AttachedResource(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +73,32 @@ private AttachedResource(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              versionedResources_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              assetType_ = s;
+              break;
             }
-            versionedResources_.add(
-                input.readMessage(com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                versionedResources_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              versionedResources_.add(
+                  input.readMessage(
+                      com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,8 +106,7 @@ private AttachedResource(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         versionedResources_ = java.util.Collections.unmodifiableList(versionedResources_);
@@ -95,22 +115,27 @@ private AttachedResource(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.AttachedResource.class, com.google.cloud.asset.v1.AttachedResource.Builder.class);
+            com.google.cloud.asset.v1.AttachedResource.class,
+            com.google.cloud.asset.v1.AttachedResource.Builder.class);
   }
 
   public static final int ASSET_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object assetType_;
   /**
+   *
+   *
    * 
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -120,6 +145,7 @@ private AttachedResource(
    * 
* * string asset_type = 1; + * * @return The assetType. */ @java.lang.Override @@ -128,14 +154,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -145,16 +172,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 1; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -165,6 +191,8 @@ public java.lang.String getAssetType() { public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 3; private java.util.List versionedResources_; /** + * + * *
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -178,6 +206,8 @@ public java.util.List getVersionedR
     return versionedResources_;
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -187,11 +217,13 @@ public java.util.List getVersionedR
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getVersionedResourcesOrBuilderList() {
     return versionedResources_;
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -205,6 +237,8 @@ public int getVersionedResourcesCount() {
     return versionedResources_.size();
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -218,6 +252,8 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
     return versionedResources_.get(index);
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -233,6 +269,7 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,8 +281,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetType_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assetType_);
     }
@@ -265,8 +301,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, assetType_);
     }
     for (int i = 0; i < versionedResources_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, versionedResources_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(3, versionedResources_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -276,17 +312,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.asset.v1.AttachedResource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.AttachedResource other = (com.google.cloud.asset.v1.AttachedResource) obj;
+    com.google.cloud.asset.v1.AttachedResource other =
+        (com.google.cloud.asset.v1.AttachedResource) obj;
 
-    if (!getAssetType()
-        .equals(other.getAssetType())) return false;
-    if (!getVersionedResourcesList()
-        .equals(other.getVersionedResourcesList())) return false;
+    if (!getAssetType().equals(other.getAssetType())) return false;
+    if (!getVersionedResourcesList().equals(other.getVersionedResourcesList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -309,97 +344,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.AttachedResource parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.AttachedResource parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.AttachedResource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.AttachedResource parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.AttachedResource 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.asset.v1.AttachedResource parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AttachedResource parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.AttachedResource parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.AttachedResource parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.AttachedResource parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.AttachedResource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.AttachedResource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Attached resource representation, which is defined by the corresponding
    * service provider. It represents an attached resource's payload.
@@ -407,21 +449,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.AttachedResource}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.AttachedResource)
       com.google.cloud.asset.v1.AttachedResourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_AttachedResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.AttachedResource.class, com.google.cloud.asset.v1.AttachedResource.Builder.class);
+              com.google.cloud.asset.v1.AttachedResource.class,
+              com.google.cloud.asset.v1.AttachedResource.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.AttachedResource.newBuilder()
@@ -429,17 +473,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) {
         getVersionedResourcesFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,9 +499,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_AttachedResource_descriptor;
     }
 
     @java.lang.Override
@@ -476,7 +520,8 @@ public com.google.cloud.asset.v1.AttachedResource build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.AttachedResource buildPartial() {
-      com.google.cloud.asset.v1.AttachedResource result = new com.google.cloud.asset.v1.AttachedResource(this);
+      com.google.cloud.asset.v1.AttachedResource result =
+          new com.google.cloud.asset.v1.AttachedResource(this);
       int from_bitField0_ = bitField0_;
       result.assetType_ = assetType_;
       if (versionedResourcesBuilder_ == null) {
@@ -496,38 +541,39 @@ public com.google.cloud.asset.v1.AttachedResource buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.AttachedResource) {
-        return mergeFrom((com.google.cloud.asset.v1.AttachedResource)other);
+        return mergeFrom((com.google.cloud.asset.v1.AttachedResource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,9 +604,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.AttachedResource other) {
             versionedResourcesBuilder_ = null;
             versionedResources_ = other.versionedResources_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            versionedResourcesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getVersionedResourcesFieldBuilder() : null;
+            versionedResourcesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getVersionedResourcesFieldBuilder()
+                    : null;
           } else {
             versionedResourcesBuilder_.addAllMessages(other.versionedResources_);
           }
@@ -594,10 +641,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object assetType_ = "";
     /**
+     *
+     *
      * 
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -607,13 +657,13 @@ public Builder mergeFrom(
      * 
* * string asset_type = 1; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -622,6 +672,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -631,15 +683,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 1; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -647,6 +698,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -656,20 +709,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 1; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -679,15 +734,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 1; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of this attached resource.
      * Example: `osconfig.googleapis.com/Inventory`
@@ -697,34 +755,42 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 1; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versionedResources_ = new java.util.ArrayList(versionedResources_); + versionedResources_ = + new java.util.ArrayList( + versionedResources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> versionedResourcesBuilder_; + com.google.cloud.asset.v1.VersionedResource, + com.google.cloud.asset.v1.VersionedResource.Builder, + com.google.cloud.asset.v1.VersionedResourceOrBuilder> + versionedResourcesBuilder_; /** + * + * *
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -741,6 +807,8 @@ public java.util.List getVersionedR
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -757,6 +825,8 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -773,6 +843,8 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -796,6 +868,8 @@ public Builder setVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -816,6 +890,8 @@ public Builder setVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -838,6 +914,8 @@ public Builder addVersionedResources(com.google.cloud.asset.v1.VersionedResource
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -861,6 +939,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -881,6 +961,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -901,6 +983,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -913,8 +997,7 @@ public Builder addAllVersionedResources(
         java.lang.Iterable values) {
       if (versionedResourcesBuilder_ == null) {
         ensureVersionedResourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, versionedResources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versionedResources_);
         onChanged();
       } else {
         versionedResourcesBuilder_.addAllMessages(values);
@@ -922,6 +1005,8 @@ public Builder addAllVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -941,6 +1026,8 @@ public Builder clearVersionedResources() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -960,6 +1047,8 @@ public Builder removeVersionedResources(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -973,6 +1062,8 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
       return getVersionedResourcesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -984,11 +1075,14 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
     public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
         int index) {
       if (versionedResourcesBuilder_ == null) {
-        return versionedResources_.get(index);  } else {
+        return versionedResources_.get(index);
+      } else {
         return versionedResourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -997,8 +1091,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
      */
-    public java.util.List 
-         getVersionedResourcesOrBuilderList() {
+    public java.util.List
+        getVersionedResourcesOrBuilderList() {
       if (versionedResourcesBuilder_ != null) {
         return versionedResourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1006,6 +1100,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1015,10 +1111,12 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder() {
-      return getVersionedResourcesFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1029,10 +1127,12 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder(
         int index) {
-      return getVersionedResourcesFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this attached resource. This is
      * repeated because there could be multiple versions of the attached resource
@@ -1041,16 +1141,22 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
      */
-    public java.util.List 
-         getVersionedResourcesBuilderList() {
+    public java.util.List
+        getVersionedResourcesBuilderList() {
       return getVersionedResourcesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> 
+            com.google.cloud.asset.v1.VersionedResource,
+            com.google.cloud.asset.v1.VersionedResource.Builder,
+            com.google.cloud.asset.v1.VersionedResourceOrBuilder>
         getVersionedResourcesFieldBuilder() {
       if (versionedResourcesBuilder_ == null) {
-        versionedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
+        versionedResourcesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.VersionedResource,
+                com.google.cloud.asset.v1.VersionedResource.Builder,
+                com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
                 versionedResources_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1059,9 +1165,9 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
       }
       return versionedResourcesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1071,12 +1177,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.AttachedResource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.AttachedResource)
   private static final com.google.cloud.asset.v1.AttachedResource DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.AttachedResource();
   }
@@ -1085,16 +1191,16 @@ public static com.google.cloud.asset.v1.AttachedResource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AttachedResource parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new AttachedResource(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttachedResource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new AttachedResource(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1109,6 +1215,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.AttachedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
index 15fc2826e..3b927c873 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AttachedResourceOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface AttachedResourceOrBuilder extends
+public interface AttachedResourceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.AttachedResource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -17,10 +35,13 @@ public interface AttachedResourceOrBuilder extends
    * 
* * string asset_type = 1; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of this attached resource.
    * Example: `osconfig.googleapis.com/Inventory`
@@ -30,12 +51,14 @@ public interface AttachedResourceOrBuilder extends
    * 
* * string asset_type = 1; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -44,9 +67,10 @@ public interface AttachedResourceOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
-  java.util.List 
-      getVersionedResourcesList();
+  java.util.List getVersionedResourcesList();
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -57,6 +81,8 @@ public interface AttachedResourceOrBuilder extends
    */
   com.google.cloud.asset.v1.VersionedResource getVersionedResources(int index);
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -67,6 +93,8 @@ public interface AttachedResourceOrBuilder extends
    */
   int getVersionedResourcesCount();
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -75,9 +103,11 @@ public interface AttachedResourceOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
-  java.util.List 
+  java.util.List
       getVersionedResourcesOrBuilderList();
   /**
+   *
+   *
    * 
    * Versioned resource representations of this attached resource. This is
    * repeated because there could be multiple versions of the attached resource
@@ -86,6 +116,5 @@ public interface AttachedResourceOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
    */
-  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
index c8b5b27bb..6ea0ce8d5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * Batch get assets history request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryRequest} */ -public final class BatchGetAssetsHistoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetAssetsHistoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) BatchGetAssetsHistoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetAssetsHistoryRequest.newBuilder() to construct. private BatchGetAssetsHistoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetAssetsHistoryRequest() { parent_ = ""; assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -28,16 +46,15 @@ private BatchGetAssetsHistoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetAssetsHistoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchGetAssetsHistoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,56 +74,63 @@ private BatchGetAssetsHistoryRequest( 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(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - assetNames_.add(s); - break; - } - case 24: { - int rawValue = input.readEnum(); - - contentType_ = rawValue; - break; - } - case 34: { - com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null; - if (readTimeWindow_ != null) { - subBuilder = readTimeWindow_.toBuilder(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetNames_.add(s); + break; } - readTimeWindow_ = input.readMessage(com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTimeWindow_); - readTimeWindow_ = subBuilder.buildPartial(); + case 24: + { + int rawValue = input.readEnum(); + + contentType_ = rawValue; + break; } + case 34: + { + com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null; + if (readTimeWindow_ != null) { + subBuilder = readTimeWindow_.toBuilder(); + } + readTimeWindow_ = + input.readMessage( + com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readTimeWindow_); + readTimeWindow_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - relationshipTypes_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + relationshipTypes_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,8 +138,7 @@ private BatchGetAssetsHistoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetNames_ = assetNames_.getUnmodifiableView(); @@ -127,29 +150,37 @@ private BatchGetAssetsHistoryRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -158,31 +189,33 @@ 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 relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * string parent = 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,6 +226,8 @@ public java.lang.String getParent() { public static final int ASSET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assetNames_; /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -203,13 +238,15 @@ public java.lang.String getParent() {
    * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList - getAssetNamesList() { + public com.google.protobuf.ProtocolStringList getAssetNamesList() { return assetNames_; } /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -220,12 +257,15 @@ public java.lang.String getParent() {
    * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -236,6 +276,7 @@ public int getAssetNamesCount() {
    * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -243,6 +284,8 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -253,44 +296,59 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString - getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 3; private int contentType_; /** + * + * *
    * Optional. The content type.
    * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Optional. The content type.
    * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int READ_TIME_WINDOW_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.TimeWindow readTimeWindow_; /** + * + * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -300,7 +358,10 @@ public java.lang.String getAssetNames(int index) {
    * window overlap with read_time_window.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTimeWindow field is set. */ @java.lang.Override @@ -308,6 +369,8 @@ public boolean hasReadTimeWindow() { return readTimeWindow_ != null; } /** + * + * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -317,14 +380,21 @@ public boolean hasReadTimeWindow() {
    * window overlap with read_time_window.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTimeWindow. */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { - return readTimeWindow_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; + return readTimeWindow_ == null + ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() + : readTimeWindow_; } /** + * + * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -334,7 +404,9 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() {
    * window overlap with read_time_window.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { @@ -344,6 +416,8 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder( public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList relationshipTypes_; /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -364,13 +438,15 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_; } /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -391,12 +467,15 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -417,6 +496,7 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -424,6 +504,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -444,15 +526,16 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -464,15 +547,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } for (int i = 0; i < assetNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, assetNames_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, contentType_); } if (readTimeWindow_ != null) { @@ -501,13 +584,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetNamesList().size(); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, contentType_); + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, contentType_); } if (readTimeWindow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getReadTimeWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTimeWindow()); } { int dataSize = 0; @@ -525,25 +607,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.asset.v1.BatchGetAssetsHistoryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest other = (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) obj; + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest other = + (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getAssetNamesList() - .equals(other.getAssetNamesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getAssetNamesList().equals(other.getAssetNamesList())) return false; if (contentType_ != other.contentType_) return false; if (hasReadTimeWindow() != other.hasReadTimeWindow()) return false; if (hasReadTimeWindow()) { - if (!getReadTimeWindow() - .equals(other.getReadTimeWindow())) return false; + if (!getReadTimeWindow().equals(other.getReadTimeWindow())) return false; } - if (!getRelationshipTypesList() - .equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -577,117 +656,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.nio.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - byte[] data, - com.google.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.BatchGetAssetsHistoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Batch get assets history request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) com.google.cloud.asset.v1.BatchGetAssetsHistoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.class, + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.newBuilder() @@ -695,16 +784,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -726,9 +814,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryRequest_descriptor; } @java.lang.Override @@ -747,7 +835,8 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest buildPartial() { - com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result = new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(this); + com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest result = + new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -774,38 +863,39 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) { - return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest)other); + return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) other); } else { super.mergeFrom(other); return this; @@ -813,7 +903,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest other) { - if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -863,7 +954,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -872,24 +964,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * string parent = 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; @@ -898,22 +995,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * string parent = 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 { @@ -921,73 +1021,90 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * 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 relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * string 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 relative name of the root asset. It can only be an
      * organization number (such as "organizations/123"), a project ID (such as
      * "projects/my-project-id")", or a project number (such as "projects/12345").
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -998,13 +1115,15 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList - getAssetNamesList() { + public com.google.protobuf.ProtocolStringList getAssetNamesList() { return assetNames_.getUnmodifiableView(); } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1015,12 +1134,15 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1031,6 +1153,7 @@ public int getAssetNamesCount() {
      * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -1038,6 +1161,8 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1048,14 +1173,16 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString - getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1066,21 +1193,23 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; + * * @param index The index to set the value at. * @param value The assetNames to set. * @return This builder for chaining. */ - public Builder setAssetNames( - int index, java.lang.String value) { + public Builder setAssetNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1091,20 +1220,22 @@ public Builder setAssetNames(
      * 
* * repeated string asset_names = 2; + * * @param value The assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNames( - java.lang.String value) { + public Builder addAssetNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1115,18 +1246,19 @@ public Builder addAssetNames(
      * 
* * repeated string asset_names = 2; + * * @param values The assetNames to add. * @return This builder for chaining. */ - public Builder addAllAssetNames( - java.lang.Iterable values) { + public Builder addAllAssetNames(java.lang.Iterable values) { ensureAssetNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetNames_); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1137,6 +1269,7 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1146,6 +1279,8 @@ public Builder clearAssetNames() { return this; } /** + * + * *
      * A list of the full names of the assets.
      * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -1156,15 +1291,15 @@ public Builder clearAssetNames() {
      * 
* * repeated string asset_names = 2; + * * @param value The bytes of the assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); @@ -1173,51 +1308,73 @@ public Builder addAssetNamesBytes( private int contentType_ = 0; /** + * + * *
      * Optional. The content type.
      * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Optional. The content type.
      * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The content type.
      * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The content type.
      * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1225,21 +1382,26 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Optional. The content type.
      * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1247,8 +1409,13 @@ public Builder clearContentType() { private com.google.cloud.asset.v1.TimeWindow readTimeWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> readTimeWindowBuilder_; + com.google.cloud.asset.v1.TimeWindow, + com.google.cloud.asset.v1.TimeWindow.Builder, + com.google.cloud.asset.v1.TimeWindowOrBuilder> + readTimeWindowBuilder_; /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1258,13 +1425,18 @@ public Builder clearContentType() {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTimeWindow field is set. */ public boolean hasReadTimeWindow() { return readTimeWindowBuilder_ != null || readTimeWindow_ != null; } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1274,17 +1446,24 @@ public boolean hasReadTimeWindow() {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTimeWindow. */ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() { if (readTimeWindowBuilder_ == null) { - return readTimeWindow_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; + return readTimeWindow_ == null + ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() + : readTimeWindow_; } else { return readTimeWindowBuilder_.getMessage(); } } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1294,7 +1473,9 @@ public com.google.cloud.asset.v1.TimeWindow getReadTimeWindow() {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { @@ -1310,6 +1491,8 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1319,10 +1502,11 @@ public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadTimeWindow( - com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { + public Builder setReadTimeWindow(com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { if (readTimeWindowBuilder_ == null) { readTimeWindow_ = builderForValue.build(); onChanged(); @@ -1333,6 +1517,8 @@ public Builder setReadTimeWindow( return this; } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1342,13 +1528,17 @@ public Builder setReadTimeWindow(
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (readTimeWindowBuilder_ == null) { if (readTimeWindow_ != null) { readTimeWindow_ = - com.google.cloud.asset.v1.TimeWindow.newBuilder(readTimeWindow_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.TimeWindow.newBuilder(readTimeWindow_) + .mergeFrom(value) + .buildPartial(); } else { readTimeWindow_ = value; } @@ -1360,6 +1550,8 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1369,7 +1561,9 @@ public Builder mergeReadTimeWindow(com.google.cloud.asset.v1.TimeWindow value) {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadTimeWindow() { if (readTimeWindowBuilder_ == null) { @@ -1383,6 +1577,8 @@ public Builder clearReadTimeWindow() { return this; } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1392,14 +1588,18 @@ public Builder clearReadTimeWindow() {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() { - + onChanged(); return getReadTimeWindowFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1409,17 +1609,22 @@ public com.google.cloud.asset.v1.TimeWindow.Builder getReadTimeWindowBuilder() {
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder() { if (readTimeWindowBuilder_ != null) { return readTimeWindowBuilder_.getMessageOrBuilder(); } else { - return readTimeWindow_ == null ? - com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : readTimeWindow_; + return readTimeWindow_ == null + ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() + : readTimeWindow_; } } /** + * + * *
      * Optional. The time window for the asset history. Both start_time and
      * end_time are optional and if set, it must be after the current time minus
@@ -1429,30 +1634,39 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(
      * window overlap with read_time_window.
      * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> + com.google.cloud.asset.v1.TimeWindow, + com.google.cloud.asset.v1.TimeWindow.Builder, + com.google.cloud.asset.v1.TimeWindowOrBuilder> getReadTimeWindowFieldBuilder() { if (readTimeWindowBuilder_ == null) { - readTimeWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder>( - getReadTimeWindow(), - getParentForChildren(), - isClean()); + readTimeWindowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.TimeWindow, + com.google.cloud.asset.v1.TimeWindow.Builder, + com.google.cloud.asset.v1.TimeWindowOrBuilder>( + getReadTimeWindow(), getParentForChildren(), isClean()); readTimeWindow_ = null; } return readTimeWindowBuilder_; } - private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList relationshipTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1472,14 +1686,17 @@ private void ensureRelationshipTypesIsMutable() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1499,13 +1716,17 @@ private void ensureRelationshipTypesIsMutable() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1525,7 +1746,9 @@ public int getRelationshipTypesCount() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -1533,6 +1756,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1552,15 +1777,18 @@ public java.lang.String getRelationshipTypes(int index) {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1580,22 +1808,25 @@ public java.lang.String getRelationshipTypes(int index) {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes( - int index, java.lang.String value) { + public Builder setRelationshipTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1615,21 +1846,24 @@ public Builder setRelationshipTypes(
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes( - java.lang.String value) { + public Builder addRelationshipTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1649,19 +1883,21 @@ public Builder addRelationshipTypes(
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes( - java.lang.Iterable values) { + public Builder addAllRelationshipTypes(java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); onChanged(); return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1681,7 +1917,9 @@ public Builder addAllRelationshipTypes(
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -1691,6 +1929,8 @@ public Builder clearRelationshipTypes() { return this; } /** + * + * *
      * Optional. A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1710,24 +1950,25 @@ public Builder clearRelationshipTypes() {
      * supported asset types and relationship types.
      * 
* - * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -1737,12 +1978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) private static final com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest(); } @@ -1751,16 +1992,16 @@ public static com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetAssetsHistoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetAssetsHistoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetAssetsHistoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1775,6 +2016,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.BatchGetAssetsHistoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java index cfc137961..eec143169 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryRequestOrBuilder.java @@ -1,37 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetAssetsHistoryRequestOrBuilder extends +public interface BatchGetAssetsHistoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetAssetsHistoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * string parent = 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 relative name of the root asset. It can only be an
    * organization number (such as "organizations/123"), a project ID (such as
    * "projects/my-project-id")", or a project number (such as "projects/12345").
    * 
* - * string parent = 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(); /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -42,11 +69,13 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - java.util.List - getAssetNamesList(); + java.util.List getAssetNamesList(); /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -57,10 +86,13 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ int getAssetNamesCount(); /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -71,11 +103,14 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ java.lang.String getAssetNames(int index); /** + * + * *
    * A list of the full names of the assets.
    * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
@@ -86,32 +121,44 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - com.google.protobuf.ByteString - getAssetNamesBytes(int index); + com.google.protobuf.ByteString getAssetNamesBytes(int index); /** + * + * *
    * Optional. The content type.
    * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Optional. The content type.
    * 
* - * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** + * + * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -121,11 +168,16 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * window overlap with read_time_window.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readTimeWindow field is set. */ boolean hasReadTimeWindow(); /** + * + * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -135,11 +187,16 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * window overlap with read_time_window.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readTimeWindow. */ com.google.cloud.asset.v1.TimeWindow getReadTimeWindow(); /** + * + * *
    * Optional. The time window for the asset history. Both start_time and
    * end_time are optional and if set, it must be after the current time minus
@@ -149,11 +206,15 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * window overlap with read_time_window.
    * 
* - * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.asset.v1.TimeWindowOrBuilder getReadTimeWindowOrBuilder(); /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -174,11 +235,13 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the relationshipTypes. */ - java.util.List - getRelationshipTypesList(); + java.util.List getRelationshipTypesList(); /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -199,10 +262,13 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -223,11 +289,14 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** + * + * *
    * Optional. A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -248,9 +317,9 @@ public interface BatchGetAssetsHistoryRequestOrBuilder extends
    * 
* * repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString - getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString getRelationshipTypesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java index 149893295..eae14325c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Batch get assets history response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryResponse} */ -public final class BatchGetAssetsHistoryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetAssetsHistoryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) BatchGetAssetsHistoryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetAssetsHistoryResponse.newBuilder() to construct. private BatchGetAssetsHistoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetAssetsHistoryResponse() { assets_ = 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 BatchGetAssetsHistoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchGetAssetsHistoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,24 @@ private BatchGetAssetsHistoryResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assets_.add( + input.readMessage( + com.google.cloud.asset.v1.TemporalAsset.parser(), extensionRegistry)); + break; } - assets_.add( - input.readMessage(com.google.cloud.asset.v1.TemporalAsset.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +96,7 @@ private BatchGetAssetsHistoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -87,22 +105,27 @@ private BatchGetAssetsHistoryResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); } public static final int ASSETS_FIELD_NUMBER = 1; private java.util.List assets_; /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -114,6 +137,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -121,11 +146,13 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -137,6 +164,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -148,6 +177,8 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -155,12 +186,12 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < assets_.size(); i++) { output.writeMessage(1, assets_.get(i)); } @@ -187,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, assets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +227,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.asset.v1.BatchGetAssetsHistoryResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse other = (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) obj; + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse other = + (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) obj; - if (!getAssetsList() - .equals(other.getAssetsList())) return false; + if (!getAssetsList().equals(other.getAssetsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +257,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.nio.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - byte[] data, - com.google.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.BatchGetAssetsHistoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Batch get assets history response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.BatchGetAssetsHistoryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) com.google.cloud.asset.v1.BatchGetAssetsHistoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.class, + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.newBuilder() @@ -346,17 +385,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) { getAssetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetAssetsHistoryResponse_descriptor; } @java.lang.Override @@ -391,7 +430,8 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse build() { @java.lang.Override public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse buildPartial() { - com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result = new com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse(this); + com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse result = + new com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse(this); int from_bitField0_ = bitField0_; if (assetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +450,39 @@ public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) { - return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse)other); + return mergeFrom((com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) other); } else { super.mergeFrom(other); return this; @@ -449,7 +490,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse other) { - if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse.getDefaultInstance()) + return this; if (assetsBuilder_ == null) { if (!other.assets_.isEmpty()) { if (assets_.isEmpty()) { @@ -468,9 +510,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -495,7 +538,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +548,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List assets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TemporalAsset, com.google.cloud.asset.v1.TemporalAsset.Builder, com.google.cloud.asset.v1.TemporalAssetOrBuilder> assetsBuilder_; + com.google.cloud.asset.v1.TemporalAsset, + com.google.cloud.asset.v1.TemporalAsset.Builder, + com.google.cloud.asset.v1.TemporalAssetOrBuilder> + assetsBuilder_; /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -533,6 +584,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -547,6 +600,8 @@ public int getAssetsCount() { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -561,14 +616,15 @@ public com.google.cloud.asset.v1.TemporalAsset getAssets(int index) { } } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1.TemporalAsset value) { + public Builder setAssets(int index, com.google.cloud.asset.v1.TemporalAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +638,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -600,6 +658,8 @@ public Builder setAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -620,14 +680,15 @@ public Builder addAssets(com.google.cloud.asset.v1.TemporalAsset value) { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1.TemporalAsset value) { + public Builder addAssets(int index, com.google.cloud.asset.v1.TemporalAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,14 +702,15 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public Builder addAssets( - com.google.cloud.asset.v1.TemporalAsset.Builder builderForValue) { + public Builder addAssets(com.google.cloud.asset.v1.TemporalAsset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -659,6 +721,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -677,6 +741,8 @@ public Builder addAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -687,8 +753,7 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -696,6 +761,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -713,6 +780,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -730,39 +799,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1.TemporalAsset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.asset.v1.TemporalAsset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index) { if (assetsBuilder_ == null) { - return assets_.get(index); } else { + return assets_.get(index); + } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +844,8 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * A list of assets with valid time windows.
      * 
@@ -777,49 +853,54 @@ public com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ public com.google.cloud.asset.v1.TemporalAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public com.google.cloud.asset.v1.TemporalAsset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); + public com.google.cloud.asset.v1.TemporalAsset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.TemporalAsset.getDefaultInstance()); } /** + * + * *
      * A list of assets with valid time windows.
      * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TemporalAsset, com.google.cloud.asset.v1.TemporalAsset.Builder, com.google.cloud.asset.v1.TemporalAssetOrBuilder> + com.google.cloud.asset.v1.TemporalAsset, + com.google.cloud.asset.v1.TemporalAsset.Builder, + com.google.cloud.asset.v1.TemporalAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.TemporalAsset, com.google.cloud.asset.v1.TemporalAsset.Builder, com.google.cloud.asset.v1.TemporalAssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.TemporalAsset, + com.google.cloud.asset.v1.TemporalAsset.Builder, + com.google.cloud.asset.v1.TemporalAssetOrBuilder>( + assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) private static final com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse(); } @@ -843,16 +924,16 @@ public static com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetAssetsHistoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetAssetsHistoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAssetsHistoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetAssetsHistoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +948,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.BatchGetAssetsHistoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java index 70e9d55a2..22976e616 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetAssetsHistoryResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetAssetsHistoryResponseOrBuilder extends +public interface BatchGetAssetsHistoryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetAssetsHistoryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - java.util.List - getAssetsList(); + java.util.List getAssetsList(); /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -25,6 +44,8 @@ public interface BatchGetAssetsHistoryResponseOrBuilder extends */ com.google.cloud.asset.v1.TemporalAsset getAssets(int index); /** + * + * *
    * A list of assets with valid time windows.
    * 
@@ -33,21 +54,24 @@ public interface BatchGetAssetsHistoryResponseOrBuilder extends */ int getAssetsCount(); /** + * + * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * A list of assets with valid time windows.
    * 
* * repeated .google.cloud.asset.v1.TemporalAsset assets = 1; */ - com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.asset.v1.TemporalAssetOrBuilder getAssetsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java index 3acec1606..13901f543 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A request message for
  * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest}
  */
-public final class BatchGetEffectiveIamPoliciesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchGetEffectiveIamPoliciesRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)
     BatchGetEffectiveIamPoliciesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchGetEffectiveIamPoliciesRequest.newBuilder() to construct.
-  private BatchGetEffectiveIamPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private BatchGetEffectiveIamPoliciesRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchGetEffectiveIamPoliciesRequest() {
     scope_ = "";
     names_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -27,16 +47,15 @@ private BatchGetEffectiveIamPoliciesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchGetEffectiveIamPoliciesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private BatchGetEffectiveIamPoliciesRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,28 +75,30 @@ private BatchGetEffectiveIamPoliciesRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              names_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              scope_ = s;
+              break;
             }
-            names_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                names_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              names_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,8 +106,7 @@ private BatchGetEffectiveIamPoliciesRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         names_ = names_.getUnmodifiableView();
@@ -95,22 +115,27 @@ private BatchGetEffectiveIamPoliciesRequest(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class,
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
   }
 
   public static final int SCOPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object scope_;
   /**
+   *
+   *
    * 
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -122,7 +147,10 @@ private BatchGetEffectiveIamPoliciesRequest(
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The scope. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -150,17 +179,18 @@ public java.lang.String getScope() {
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -171,6 +201,8 @@ public java.lang.String getScope() { public static final int NAMES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList names_; /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -179,14 +211,18 @@ public java.lang.String getScope() {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -195,13 +231,18 @@ public java.lang.String getScope() {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -210,7 +251,10 @@ public int getNamesCount() {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -218,6 +262,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -226,16 +272,19 @@ public java.lang.String getNames(int index) {
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +296,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -283,17 +331,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) obj; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest other = + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) obj; - if (!getScope() - .equals(other.getScope())) return false; - if (!getNamesList() - .equals(other.getNamesList())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getNamesList().equals(other.getNamesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -317,96 +364,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.nio.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - byte[] data, - com.google.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.BatchGetEffectiveIamPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for
    * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -414,21 +469,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)
       com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.class,
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.newBuilder()
@@ -436,16 +493,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,13 +513,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance();
     }
 
@@ -478,7 +535,8 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest buildPartial() {
-      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(this);
+      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest result =
+          new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(this);
       int from_bitField0_ = bitField0_;
       result.scope_ = scope_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -494,38 +552,39 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) {
-        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)other);
+        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,7 +592,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest other) {
-      if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.getDefaultInstance())
+        return this;
       if (!other.getScope().isEmpty()) {
         scope_ = other.scope_;
         onChanged();
@@ -567,7 +628,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -576,10 +639,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object scope_ = "";
     /**
+     *
+     *
      * 
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -591,14 +657,16 @@ public Builder mergeFrom(
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -607,6 +675,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -618,16 +688,17 @@ public java.lang.String getScope() {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -635,6 +706,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -646,21 +719,25 @@ public java.lang.String getScope() {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -672,16 +749,21 @@ public Builder setScope(
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * Required. Only IAM policies on or below the scope will be returned.
      * This can only be an organization number (such as "organizations/123"), a
@@ -693,30 +775,36 @@ public Builder clearScope() {
      * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
      * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList names_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -725,14 +813,18 @@ private void ensureNamesIsMutable() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_.getUnmodifiableView(); } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -741,13 +833,18 @@ private void ensureNamesIsMutable() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -756,7 +853,10 @@ public int getNamesCount() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -764,6 +864,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -772,15 +874,19 @@ public java.lang.String getNames(int index) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -789,22 +895,26 @@ public java.lang.String getNames(int index) {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames( - int index, java.lang.String value) { + public Builder setNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -813,21 +923,25 @@ public Builder setNames(
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames( - java.lang.String value) { + public Builder addNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -836,19 +950,22 @@ public Builder addNames(
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames( - java.lang.Iterable values) { + public Builder addAllNames(java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); onChanged(); return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -857,7 +974,10 @@ public Builder addAllNames(
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNames() { @@ -867,6 +987,8 @@ public Builder clearNames() { return this; } /** + * + * *
      * Required. The names refer to the [full_resource_names]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -875,24 +997,26 @@ public Builder clearNames() {
      * A maximum of 20 resources' effective policies can be retrieved in a batch.
      * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.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); } @@ -902,12 +1026,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) - private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest(); } @@ -916,16 +1041,16 @@ public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetEffectiveIamPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetEffectiveIamPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetEffectiveIamPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -940,6 +1065,4 @@ public com.google.protobuf.Parser getParser public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java index f75a8b07c..90bbc28f3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends +public interface BatchGetEffectiveIamPoliciesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -19,11 +37,16 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. Only IAM policies on or below the scope will be returned.
    * This can only be an organization number (such as "organizations/123"), a
@@ -35,13 +58,17 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends
    * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
    * 
* - * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -50,12 +77,16 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the names. */ - java.util.List - getNamesList(); + java.util.List getNamesList(); /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -64,11 +95,16 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The count of names. */ int getNamesCount(); /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -77,12 +113,17 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** + * + * *
    * Required. The names refer to the [full_resource_names]
    * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -91,10 +132,12 @@ public interface BatchGetEffectiveIamPoliciesRequestOrBuilder extends
    * A maximum of 20 resources' effective policies can be retrieved in a batch.
    * 
* - * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString - getNamesBytes(int index); + com.google.protobuf.ByteString getNamesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java index 1cc8063e3..a0e086b23 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A response message for
  * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -11,31 +28,33 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse}
  */
-public final class BatchGetEffectiveIamPoliciesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchGetEffectiveIamPoliciesResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)
     BatchGetEffectiveIamPoliciesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchGetEffectiveIamPoliciesResponse.newBuilder() to construct.
-  private BatchGetEffectiveIamPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private BatchGetEffectiveIamPoliciesResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchGetEffectiveIamPoliciesResponse() {
     policyResults_ = 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 BatchGetEffectiveIamPoliciesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private BatchGetEffectiveIamPoliciesResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,22 +74,29 @@ private BatchGetEffectiveIamPoliciesResponse(
           case 0:
             done = true;
             break;
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              policyResults_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                policyResults_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+                            .EffectiveIamPolicy>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              policyResults_.add(
+                  input.readMessage(
+                      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+                          .EffectiveIamPolicy.parser(),
+                      extensionRegistry));
+              break;
             }
-            policyResults_.add(
-                input.readMessage(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -78,8 +104,7 @@ private BatchGetEffectiveIamPoliciesResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         policyResults_ = java.util.Collections.unmodifiableList(policyResults_);
@@ -88,24 +113,30 @@ private BatchGetEffectiveIamPoliciesResponse(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class,
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
   }
 
-  public interface EffectiveIamPolicyOrBuilder extends
+  public interface EffectiveIamPolicyOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -117,10 +148,13 @@ public interface EffectiveIamPolicyOrBuilder extends
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -132,12 +166,14 @@ public interface EffectiveIamPolicyOrBuilder extends
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -159,11 +195,17 @@ public interface EffectiveIamPolicyOrBuilder extends
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - java.util.List + java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo> getPoliciesList(); /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -185,10 +227,15 @@ public interface EffectiveIamPolicyOrBuilder extends
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo + getPolicies(int index); /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -210,10 +257,14 @@ public interface EffectiveIamPolicyOrBuilder extends
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ int getPoliciesCount(); /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -235,11 +286,18 @@ public interface EffectiveIamPolicyOrBuilder extends
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder> getPoliciesOrBuilderList(); /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -261,27 +319,34 @@ public interface EffectiveIamPolicyOrBuilder extends
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder( - int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder + getPoliciesOrBuilder(int index); } /** + * + * *
    * The effective IAM policies on one resource.
    * 
* - * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} + * Protobuf type {@code + * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} */ - public static final class EffectiveIamPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class EffectiveIamPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) EffectiveIamPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EffectiveIamPolicy.newBuilder() to construct. private EffectiveIamPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EffectiveIamPolicy() { fullResourceName_ = ""; policies_ = java.util.Collections.emptyList(); @@ -289,16 +354,15 @@ private EffectiveIamPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EffectiveIamPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private EffectiveIamPolicy( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -318,28 +382,36 @@ private EffectiveIamPolicy( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + fullResourceName_ = s; + break; } - policies_.add( - input.readMessage(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy.PolicyInfo>(); + mutable_bitField0_ |= 0x00000001; + } + policies_.add( + input.readMessage( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy.PolicyInfo.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -347,8 +419,7 @@ private EffectiveIamPolicy( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { policies_ = java.util.Collections.unmodifiableList(policies_); @@ -357,24 +428,32 @@ private EffectiveIamPolicy( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .class, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .Builder.class); } - public interface PolicyInfoOrBuilder extends + public interface PolicyInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -382,10 +461,13 @@ public interface PolicyInfoOrBuilder extends
        * 
* * string attached_resource = 1; + * * @return The attachedResource. */ java.lang.String getAttachedResource(); /** + * + * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -393,32 +475,40 @@ public interface PolicyInfoOrBuilder extends
        * 
* * string attached_resource = 1; + * * @return The bytes for attachedResource. */ - com.google.protobuf.ByteString - getAttachedResourceBytes(); + com.google.protobuf.ByteString getAttachedResourceBytes(); /** + * + * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; + * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** + * + * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -429,37 +519,40 @@ public interface PolicyInfoOrBuilder extends
       com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
     }
     /**
+     *
+     *
      * 
      * The IAM policy and its attached resource.
      * 
* - * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} + * Protobuf type {@code + * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} */ - public static final class PolicyInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PolicyInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) PolicyInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PolicyInfo.newBuilder() to construct. private PolicyInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PolicyInfo() { attachedResource_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PolicyInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PolicyInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -478,32 +571,34 @@ private PolicyInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - attachedResource_ = s; - break; - } - case 18: { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); + attachedResource_ = s; + break; } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); + case 18: + { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -511,29 +606,36 @@ private PolicyInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.class, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder.class); } public static final int ATTACHED_RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object attachedResource_; /** + * + * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -541,6 +643,7 @@ private PolicyInfo(
        * 
* * string attached_resource = 1; + * * @return The attachedResource. */ @java.lang.Override @@ -549,14 +652,15 @@ public java.lang.String getAttachedResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResource_ = s; return s; } } /** + * + * *
        * The full resource name the
        * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -564,16 +668,15 @@ public java.lang.String getAttachedResource() {
        * 
* * string attached_resource = 1; + * * @return The bytes for attachedResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttachedResourceBytes() { + public com.google.protobuf.ByteString getAttachedResourceBytes() { java.lang.Object ref = attachedResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedResource_ = b; return b; } else { @@ -584,12 +687,15 @@ public java.lang.String getAttachedResource() { public static final int POLICY_FIELD_NUMBER = 2; private com.google.iam.v1.Policy policy_; /** + * + * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -597,12 +703,15 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
        * 
* * .google.iam.v1.Policy policy = 2; + * * @return The policy. */ @java.lang.Override @@ -610,6 +719,8 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** + * + * *
        * The IAM policy that's directly attached to the
        * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -623,6 +734,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       }
 
       private byte memoizedIsInitialized = -1;
+
       @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
@@ -634,8 +746,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public void writeTo(com.google.protobuf.CodedOutputStream output)
-                          throws java.io.IOException {
+      public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResource_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResource_);
         }
@@ -655,8 +766,7 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResource_);
         }
         if (policy_ != null) {
-          size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(2, getPolicy());
+          size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
@@ -666,19 +776,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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)) {
+        if (!(obj
+            instanceof
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                .PolicyInfo)) {
           return super.equals(obj);
         }
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) obj;
+        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
+            other =
+                (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                        .PolicyInfo)
+                    obj;
 
-        if (!getAttachedResource()
-            .equals(other.getAttachedResource())) return false;
+        if (!getAttachedResource().equals(other.getAttachedResource())) return false;
         if (hasPolicy() != other.hasPolicy()) return false;
         if (hasPolicy()) {
-          if (!getPolicy()
-              .equals(other.getPolicy())) return false;
+          if (!getPolicy().equals(other.getPolicy())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
@@ -702,88 +817,117 @@ public int hashCode() {
         return hash;
       }
 
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
-          java.nio.ByteBuffer data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(java.nio.ByteBuffer data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
-          java.nio.ByteBuffer data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
-          com.google.protobuf.ByteString data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(com.google.protobuf.ByteString data)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
-          com.google.protobuf.ByteString data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(
+              com.google.protobuf.ByteString data,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(byte[] data)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
-          byte[] data,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo 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.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(java.io.InputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseDelimitedWithIOException(PARSER, input);
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseDelimitedFrom(
-          java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseDelimitedFrom(
+              java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parseFrom(
-          com.google.protobuf.CodedInputStream input)
-          throws java.io.IOException {
-        return com.google.protobuf.GeneratedMessageV3
-            .parseWithIOException(PARSER, input);
+
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo 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.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo prototype) {
+
+      public static Builder newBuilder(
+          com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                  .PolicyInfo
+              prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
+
       @java.lang.Override
       public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
-            ? new Builder() : new Builder().mergeFrom(this);
+        return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
 
       @java.lang.Override
@@ -793,44 +937,53 @@ protected Builder newBuilderForType(
         return builder;
       }
       /**
+       *
+       *
        * 
        * The IAM policy and its attached resource.
        * 
* - * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} + * Protobuf type {@code + * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.class, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder.class); } - // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.newBuilder() + // Construct using + // com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -846,19 +999,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType() { - return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo build() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo result = buildPartial(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + build() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -866,8 +1026,14 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo buildPartial() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo(this); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + buildPartial() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + result = + new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy.PolicyInfo(this); result.attachedResource_ = attachedResource_; if (policyBuilder_ == null) { result.policy_ = policy_; @@ -882,46 +1048,60 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) { - return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)other); + if (other + instanceof + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo) { + return mergeFrom( + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo other) { - if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + other) { + if (other + == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.getDefaultInstance()) return this; if (!other.getAttachedResource().isEmpty()) { attachedResource_ = other.attachedResource_; onChanged(); @@ -944,11 +1124,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo parsedMessage = null; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -960,6 +1145,8 @@ public Builder mergeFrom( private java.lang.Object attachedResource_ = ""; /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -967,13 +1154,13 @@ public Builder mergeFrom(
          * 
* * string attached_resource = 1; + * * @return The attachedResource. */ public java.lang.String getAttachedResource() { java.lang.Object ref = attachedResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResource_ = s; return s; @@ -982,6 +1169,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -989,15 +1178,14 @@ public java.lang.String getAttachedResource() {
          * 
* * string attached_resource = 1; + * * @return The bytes for attachedResource. */ - public com.google.protobuf.ByteString - getAttachedResourceBytes() { + public com.google.protobuf.ByteString getAttachedResourceBytes() { java.lang.Object ref = attachedResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedResource_ = b; return b; } else { @@ -1005,6 +1193,8 @@ public java.lang.String getAttachedResource() { } } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1012,20 +1202,22 @@ public java.lang.String getAttachedResource() {
          * 
* * string attached_resource = 1; + * * @param value The attachedResource to set. * @return This builder for chaining. */ - public Builder setAttachedResource( - java.lang.String value) { + public Builder setAttachedResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attachedResource_ = value; onChanged(); return this; } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1033,15 +1225,18 @@ public Builder setAttachedResource(
          * 
* * string attached_resource = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResource() { - + attachedResource_ = getDefaultInstance().getAttachedResource(); onChanged(); return this; } /** + * + * *
          * The full resource name the
          * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
@@ -1049,16 +1244,16 @@ public Builder clearAttachedResource() {
          * 
* * string attached_resource = 1; + * * @param value The bytes for attachedResource to set. * @return This builder for chaining. */ - public Builder setAttachedResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setAttachedResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attachedResource_ = value; onChanged(); return this; @@ -1066,26 +1261,35 @@ public Builder setAttachedResourceBytes( private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + policyBuilder_; /** + * + * *
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
          * 
* * .google.iam.v1.Policy policy = 2; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** + * + * *
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
          * 
* * .google.iam.v1.Policy policy = 2; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -1096,6 +1300,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1117,6 +1323,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1124,8 +1332,7 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
          *
          * .google.iam.v1.Policy policy = 2;
          */
-        public Builder setPolicy(
-            com.google.iam.v1.Policy.Builder builderForValue) {
+        public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
           if (policyBuilder_ == null) {
             policy_ = builderForValue.build();
             onChanged();
@@ -1136,6 +1343,8 @@ public Builder setPolicy(
           return this;
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1147,7 +1356,7 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
           if (policyBuilder_ == null) {
             if (policy_ != null) {
               policy_ =
-                com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+                  com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
             } else {
               policy_ = value;
             }
@@ -1159,6 +1368,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
           return this;
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1178,6 +1389,8 @@ public Builder clearPolicy() {
           return this;
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1186,11 +1399,13 @@ public Builder clearPolicy() {
          * .google.iam.v1.Policy policy = 2;
          */
         public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-          
+
           onChanged();
           return getPolicyFieldBuilder().getBuilder();
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1202,11 +1417,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
           if (policyBuilder_ != null) {
             return policyBuilder_.getMessageOrBuilder();
           } else {
-            return policy_ == null ?
-                com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+            return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
           }
         }
         /**
+         *
+         *
          * 
          * The IAM policy that's directly attached to the
          * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
@@ -1215,18 +1431,22 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
          * .google.iam.v1.Policy policy = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>
             getPolicyFieldBuilder() {
           if (policyBuilder_ == null) {
-            policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                    getPolicy(),
-                    getParentForChildren(),
-                    isClean());
+            policyBuilder_ =
+                new com.google.protobuf.SingleFieldBuilderV3<
+                    com.google.iam.v1.Policy,
+                    com.google.iam.v1.Policy.Builder,
+                    com.google.iam.v1.PolicyOrBuilder>(
+                    getPolicy(), getParentForChildren(), isClean());
             policy_ = null;
           }
           return policyBuilder_;
         }
+
         @java.lang.Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1239,30 +1459,36 @@ public final Builder mergeUnknownFields(
           return super.mergeUnknownFields(unknownFields);
         }
 
-
         // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)
       }
 
       // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo)
-      private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo DEFAULT_INSTANCE;
+      private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          DEFAULT_INSTANCE;
+
       static {
-        DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo();
+        DEFAULT_INSTANCE =
+            new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                .PolicyInfo();
       }
 
-      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstance() {
+      public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+              .EffectiveIamPolicy.PolicyInfo
+          getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
 
-      private static final com.google.protobuf.Parser
-          PARSER = new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PolicyInfo parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new PolicyInfo(input, extensionRegistry);
-        }
-      };
+      private static final com.google.protobuf.Parser PARSER =
+          new com.google.protobuf.AbstractParser() {
+            @java.lang.Override
+            public PolicyInfo parsePartialFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return new PolicyInfo(input, extensionRegistry);
+            }
+          };
 
       public static com.google.protobuf.Parser parser() {
         return PARSER;
@@ -1274,15 +1500,18 @@ public com.google.protobuf.Parser getParserForType() {
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType() {
+      public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+              .PolicyInfo
+          getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
-
     }
 
     public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object fullResourceName_;
     /**
+     *
+     *
      * 
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1294,6 +1523,7 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -1302,14 +1532,15 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
      * The [full_resource_name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1321,16 +1552,15 @@ public java.lang.String getFullResourceName() {
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1339,8 +1569,13 @@ public java.lang.String getFullResourceName() { } public static final int POLICIES_FIELD_NUMBER = 2; - private java.util.List policies_; + private java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo> + policies_; /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1362,13 +1597,20 @@ public java.lang.String getFullResourceName() {
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ @java.lang.Override - public java.util.List getPoliciesList() { + public java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo> + getPoliciesList() { return policies_; } /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1390,14 +1632,21 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+     * 
+     * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends
+                com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                    .PolicyInfoOrBuilder>
         getPoliciesOrBuilderList() {
       return policies_;
     }
     /**
+     *
+     *
      * 
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1419,13 +1668,17 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+     * 
+     * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+     * 
      */
     @java.lang.Override
     public int getPoliciesCount() {
       return policies_.size();
     }
     /**
+     *
+     *
      * 
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1447,13 +1700,19 @@ public int getPoliciesCount() {
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + getPolicies(int index) { return policies_.get(index); } /** + * + * *
      * The effective policies for the
      * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -1475,15 +1734,19 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * if policies[i+1] exists.
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder( - int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder + getPoliciesOrBuilder(int index) { return policies_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1495,8 +1758,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -1516,8 +1778,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullResourceName_); } for (int i = 0; i < policies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, policies_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, policies_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1527,17 +1788,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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)) { + if (!(obj + instanceof + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) obj; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other = + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) obj; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; - if (!getPoliciesList() - .equals(other.getPoliciesList())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; + if (!getPoliciesList().equals(other.getPoliciesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1560,88 +1822,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseDelimitedFrom( - java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseDelimitedFrom( + java.io.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + 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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1651,45 +1927,54 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The effective IAM policies on one resource.
      * 
* - * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} + * Protobuf type {@code + * google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder.class); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .class, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .Builder.class); } - // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.newBuilder() + // Construct using + // com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPoliciesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1705,19 +1990,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType() { - return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy build() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = buildPartial(); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + build() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1725,8 +2014,11 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy buildPartial() { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy(this); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + buildPartial() { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy result = + new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy( + this); int from_bitField0_ = bitField0_; result.fullResourceName_ = fullResourceName_; if (policiesBuilder_ == null) { @@ -1746,46 +2038,56 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) { - return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy)other); + if (other + instanceof + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) { + return mergeFrom( + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other) { - if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other) { + if (other + == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; onChanged(); @@ -1808,9 +2110,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesR policiesBuilder_ = null; policies_ = other.policies_; bitField0_ = (bitField0_ & ~0x00000001); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPoliciesFieldBuilder() : null; + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPoliciesFieldBuilder() + : null; } else { policiesBuilder_.addAllMessages(other.policies_); } @@ -1831,11 +2134,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy parsedMessage = null; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1844,10 +2150,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object fullResourceName_ = ""; /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1859,13 +2168,13 @@ public Builder mergeFrom(
        * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -1874,6 +2183,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1885,15 +2196,14 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1901,6 +2211,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1912,20 +2224,22 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { + public Builder setFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1937,15 +2251,18 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** + * + * *
        * The [full_resource_name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -1957,34 +2274,48 @@ public Builder clearFullResourceName() {
        * 
* * string full_resource_name = 1; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } - private java.util.List policies_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo> + policies_ = java.util.Collections.emptyList(); + private void ensurePoliciesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(policies_); + policies_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo>(policies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> policiesBuilder_; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder> + policiesBuilder_; /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2006,9 +2337,14 @@ private void ensurePoliciesIsMutable() {
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public java.util.List getPoliciesList() { + public java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo> + getPoliciesList() { if (policiesBuilder_ == null) { return java.util.Collections.unmodifiableList(policies_); } else { @@ -2016,6 +2352,8 @@ public java.util.List * The effective policies for the * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]. @@ -2037,7 +2375,9 @@ public java.util.List * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public int getPoliciesCount() { if (policiesBuilder_ == null) { @@ -2047,6 +2387,8 @@ public int getPoliciesCount() { } } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2068,9 +2410,13 @@ public int getPoliciesCount() {
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + getPolicies(int index) { if (policiesBuilder_ == null) { return policies_.get(index); } else { @@ -2078,6 +2424,8 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2099,10 +2447,15 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder setPolicies( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + value) { if (policiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2116,6 +2469,8 @@ public Builder setPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2137,10 +2492,15 @@ public Builder setPolicies(
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder setPolicies( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder + builderForValue) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); policies_.set(index, builderForValue.build()); @@ -2151,6 +2511,8 @@ public Builder setPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2172,9 +2534,14 @@ public Builder setPolicies(
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public Builder addPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value) { + public Builder addPolicies( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + value) { if (policiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2188,6 +2555,8 @@ public Builder addPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPolicie return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2209,10 +2578,15 @@ public Builder addPolicies(com.google.cloud.asset.v1.BatchGetEffectiveIamPolicie
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder addPolicies( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo + value) { if (policiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2226,6 +2600,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2247,10 +2623,14 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder addPolicies( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue) { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder + builderForValue) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); policies_.add(builderForValue.build()); @@ -2261,6 +2641,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2282,10 +2664,15 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder addPolicies( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder + builderForValue) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); policies_.add(index, builderForValue.build()); @@ -2296,6 +2683,8 @@ public Builder addPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2317,14 +2706,19 @@ public Builder addPolicies(
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder addAllPolicies( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy.PolicyInfo> + values) { if (policiesBuilder_ == null) { ensurePoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, policies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); onChanged(); } else { policiesBuilder_.addAllMessages(values); @@ -2332,6 +2726,8 @@ public Builder addAllPolicies( return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2353,7 +2749,9 @@ public Builder addAllPolicies(
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder clearPolicies() { if (policiesBuilder_ == null) { @@ -2366,6 +2764,8 @@ public Builder clearPolicies() { return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2387,7 +2787,9 @@ public Builder clearPolicies() {
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ public Builder removePolicies(int index) { if (policiesBuilder_ == null) { @@ -2400,6 +2802,8 @@ public Builder removePolicies(int index) { return this; } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2421,13 +2825,18 @@ public Builder removePolicies(int index) {
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder getPoliciesBuilder( - int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder + getPoliciesBuilder(int index) { return getPoliciesFieldBuilder().getBuilder(index); } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2449,16 +2858,22 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder( - int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder + getPoliciesOrBuilder(int index) { if (policiesBuilder_ == null) { - return policies_.get(index); } else { + return policies_.get(index); + } else { return policiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2480,10 +2895,15 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public java.util.List - getPoliciesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder> + getPoliciesOrBuilderList() { if (policiesBuilder_ != null) { return policiesBuilder_.getMessageOrBuilderList(); } else { @@ -2491,6 +2911,8 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2512,13 +2934,21 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder() { - return getPoliciesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder + addPoliciesBuilder() { + return getPoliciesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.getDefaultInstance()); } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2540,14 +2970,22 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder( - int index) { - return getPoliciesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder + addPoliciesBuilder(int index) { + return getPoliciesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.getDefaultInstance()); } /** + * + * *
        * The effective policies for the
        * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
@@ -2569,26 +3007,40 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
        * if policies[i+1] exists.
        * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2; + * */ - public java.util.List - getPoliciesBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder> + getPoliciesBuilderList() { return getPoliciesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder> getPoliciesFieldBuilder() { if (policiesBuilder_ == null) { - policiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder>( - policies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + policiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfo.Builder, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .PolicyInfoOrBuilder>( + policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); policies_ = null; } return policiesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2601,30 +3053,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy) - private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy(); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstance() { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EffectiveIamPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EffectiveIamPolicy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EffectiveIamPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EffectiveIamPolicy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2636,15 +3092,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType() { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int POLICY_RESULTS_FIELD_NUMBER = 2; - private java.util.List policyResults_; + private java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> + policyResults_; /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -2654,13 +3114,19 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ @java.lang.Override - public java.util.List getPolicyResultsList() { + public java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> + getPolicyResultsList() { return policyResults_; } /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -2670,14 +3136,21 @@ public java.util.List
    *
-   * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+   * 
+   * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+                  .EffectiveIamPolicyOrBuilder>
       getPolicyResultsOrBuilderList() {
     return policyResults_;
   }
   /**
+   *
+   *
    * 
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -2687,13 +3160,17 @@ public java.util.List
    *
-   * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+   * 
+   * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+   * 
    */
   @java.lang.Override
   public int getPolicyResultsCount() {
     return policyResults_.size();
   }
   /**
+   *
+   *
    * 
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -2703,13 +3180,18 @@ public int getPolicyResultsCount() {
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + getPolicyResults(int index) { return policyResults_.get(index); } /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -2719,15 +3201,18 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder( - int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder + getPolicyResultsOrBuilder(int index) { return policyResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2739,8 +3224,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < policyResults_.size(); i++) { output.writeMessage(2, policyResults_.get(i)); } @@ -2754,8 +3238,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < policyResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, policyResults_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, policyResults_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2765,15 +3248,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.asset.v1.BatchGetEffectiveIamPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse other = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) obj; + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse other = + (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) obj; - if (!getPolicyResultsList() - .equals(other.getPolicyResultsList())) return false; + if (!getPolicyResultsList().equals(other.getPolicyResultsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2795,96 +3278,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.nio.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - byte[] data, - com.google.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.BatchGetEffectiveIamPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for
    * [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
@@ -2892,21 +3383,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)
       com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.class,
+              com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.newBuilder()
@@ -2914,17 +3407,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) {
         getPolicyResultsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2938,13 +3431,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_BatchGetEffectiveIamPoliciesResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance();
     }
 
@@ -2959,7 +3453,8 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse buildPartial() {
-      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse(this);
+      com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse result =
+          new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse(this);
       int from_bitField0_ = bitField0_;
       if (policyResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -2978,38 +3473,39 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse 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.asset.v1.BatchGetEffectiveIamPoliciesResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3017,7 +3513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse other) {
-      if (other == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.getDefaultInstance())
+        return this;
       if (policyResultsBuilder_ == null) {
         if (!other.policyResults_.isEmpty()) {
           if (policyResults_.isEmpty()) {
@@ -3036,9 +3534,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesR
             policyResultsBuilder_ = null;
             policyResults_ = other.policyResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            policyResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPolicyResultsFieldBuilder() : null;
+            policyResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPolicyResultsFieldBuilder()
+                    : null;
           } else {
             policyResultsBuilder_.addAllMessages(other.policyResults_);
           }
@@ -3063,7 +3562,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -3072,21 +3573,34 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List policyResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List<
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy>
+        policyResults_ = java.util.Collections.emptyList();
+
     private void ensurePolicyResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        policyResults_ = new java.util.ArrayList(policyResults_);
+        policyResults_ =
+            new java.util.ArrayList<
+                com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy>(
+                policyResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> policyResultsBuilder_;
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy,
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+                .Builder,
+            com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
+                .EffectiveIamPolicyOrBuilder>
+        policyResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3096,9 +3610,13 @@ private void ensurePolicyResultsIsMutable() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public java.util.List getPolicyResultsList() { + public java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> + getPolicyResultsList() { if (policyResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(policyResults_); } else { @@ -3106,6 +3624,8 @@ public java.util.List * The effective policies for a batch of resources. Note that the results * order is the same as the order of @@ -3115,7 +3635,9 @@ public java.util.List * - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public int getPolicyResultsCount() { if (policyResultsBuilder_ == null) { @@ -3125,6 +3647,8 @@ public int getPolicyResultsCount() { } } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3134,9 +3658,12 @@ public int getPolicyResultsCount() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + getPolicyResults(int index) { if (policyResultsBuilder_ == null) { return policyResults_.get(index); } else { @@ -3144,6 +3671,8 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3153,10 +3682,13 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder setPolicyResults( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { if (policyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3170,6 +3702,8 @@ public Builder setPolicyResults( return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3179,10 +3713,14 @@ public Builder setPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder setPolicyResults( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder + builderForValue) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); policyResults_.set(index, builderForValue.build()); @@ -3193,6 +3731,8 @@ public Builder setPolicyResults( return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3202,9 +3742,12 @@ public Builder setPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public Builder addPolicyResults(com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { + public Builder addPolicyResults( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { if (policyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3218,6 +3761,8 @@ public Builder addPolicyResults(com.google.cloud.asset.v1.BatchGetEffectiveIamPo return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3227,10 +3772,13 @@ public Builder addPolicyResults(com.google.cloud.asset.v1.BatchGetEffectiveIamPo
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder addPolicyResults( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) { if (policyResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3244,6 +3792,8 @@ public Builder addPolicyResults( return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3253,10 +3803,13 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder addPolicyResults( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) { + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder + builderForValue) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); policyResults_.add(builderForValue.build()); @@ -3267,6 +3820,8 @@ public Builder addPolicyResults( return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3276,10 +3831,14 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder addPolicyResults( - int index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder + builderForValue) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); policyResults_.add(index, builderForValue.build()); @@ -3290,6 +3849,8 @@ public Builder addPolicyResults( return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3299,14 +3860,19 @@ public Builder addPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder addAllPolicyResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicy> + values) { if (policyResultsBuilder_ == null) { ensurePolicyResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, policyResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyResults_); onChanged(); } else { policyResultsBuilder_.addAllMessages(values); @@ -3314,6 +3880,8 @@ public Builder addAllPolicyResults( return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3323,7 +3891,9 @@ public Builder addAllPolicyResults(
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder clearPolicyResults() { if (policyResultsBuilder_ == null) { @@ -3336,6 +3906,8 @@ public Builder clearPolicyResults() { return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3345,7 +3917,9 @@ public Builder clearPolicyResults() {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ public Builder removePolicyResults(int index) { if (policyResultsBuilder_ == null) { @@ -3358,6 +3932,8 @@ public Builder removePolicyResults(int index) { return this; } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3367,13 +3943,17 @@ public Builder removePolicyResults(int index) {
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder getPolicyResultsBuilder( - int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder + getPolicyResultsBuilder(int index) { return getPolicyResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3383,16 +3963,22 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder( - int index) { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicyOrBuilder + getPolicyResultsOrBuilder(int index) { if (policyResultsBuilder_ == null) { - return policyResults_.get(index); } else { + return policyResults_.get(index); + } else { return policyResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3402,10 +3988,15 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public java.util.List - getPolicyResultsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicyOrBuilder> + getPolicyResultsOrBuilderList() { if (policyResultsBuilder_ != null) { return policyResultsBuilder_.getMessageOrBuilderList(); } else { @@ -3413,6 +4004,8 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3422,13 +4015,20 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicyResultsBuilder() { - return getPolicyResultsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder + addPolicyResultsBuilder() { + return getPolicyResultsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .getDefaultInstance()); } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3438,14 +4038,21 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicyResultsBuilder( - int index) { - return getPolicyResultsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.getDefaultInstance()); + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder + addPolicyResultsBuilder(int index) { + return getPolicyResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .getDefaultInstance()); } /** + * + * *
      * The effective policies for a batch of resources. Note that the results
      * order is the same as the order of
@@ -3455,18 +4062,32 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI
      * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
      * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - public java.util.List - getPolicyResultsBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .Builder> + getPolicyResultsBuilderList() { return getPolicyResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .Builder, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicyOrBuilder> getPolicyResultsFieldBuilder() { if (policyResultsBuilder_ == null) { - policyResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder, com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder>( + policyResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + .Builder, + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicyOrBuilder>( policyResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3475,9 +4096,9 @@ public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveI } return policyResultsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3487,30 +4108,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) - private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse(); } - public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstance() { + public static com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetEffectiveIamPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BatchGetEffectiveIamPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetEffectiveIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BatchGetEffectiveIamPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3522,9 +4145,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java index 55cd6994a..8a5e5c254 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BatchGetEffectiveIamPoliciesResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends +public interface BatchGetEffectiveIamPoliciesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -17,11 +35,15 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - java.util.List + java.util.List getPolicyResultsList(); /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -31,10 +53,15 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy + getPolicyResults(int index); /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -44,10 +71,14 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ int getPolicyResultsCount(); /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -57,11 +88,18 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse + .EffectiveIamPolicyOrBuilder> getPolicyResultsOrBuilderList(); /** + * + * *
    * The effective policies for a batch of resources. Note that the results
    * order is the same as the order of
@@ -71,8 +109,10 @@ public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends
    * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
    * 
* - * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * + * repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; + * */ - com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder( - int index); + com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder + getPolicyResultsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java index f21e8c3b0..d3db2835d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestination.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A BigQuery destination for exporting assets to.
  * 
* * Protobuf type {@code google.cloud.asset.v1.BigQueryDestination} */ -public final class BigQueryDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.BigQueryDestination) BigQueryDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryDestination() { dataset_ = ""; table_ = ""; @@ -26,16 +44,15 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,48 +71,53 @@ private BigQueryDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - dataset_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 24: { + dataset_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - case 34: { - com.google.cloud.asset.v1.PartitionSpec.Builder subBuilder = null; - if (partitionSpec_ != null) { - subBuilder = partitionSpec_.toBuilder(); + table_ = s; + break; } - partitionSpec_ = input.readMessage(com.google.cloud.asset.v1.PartitionSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitionSpec_); - partitionSpec_ = subBuilder.buildPartial(); + case 24: + { + force_ = input.readBool(); + break; } + case 34: + { + com.google.cloud.asset.v1.PartitionSpec.Builder subBuilder = null; + if (partitionSpec_ != null) { + subBuilder = partitionSpec_.toBuilder(); + } + partitionSpec_ = + input.readMessage( + com.google.cloud.asset.v1.PartitionSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionSpec_); + partitionSpec_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - - separateTablesPerAssetType_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 40: + { + separateTablesPerAssetType_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,29 +125,33 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BigQueryDestination.class, com.google.cloud.asset.v1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.BigQueryDestination.class, + com.google.cloud.asset.v1.BigQueryDestination.Builder.class); } public static final int DATASET_FIELD_NUMBER = 1; private volatile java.lang.Object dataset_; /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -138,6 +164,7 @@ private BigQueryDestination(
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -146,14 +173,15 @@ 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; } } /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -166,16 +194,15 @@ public java.lang.String getDataset() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -186,6 +213,8 @@ public java.lang.String getDataset() { public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -193,6 +222,7 @@ public java.lang.String getDataset() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -201,14 +231,15 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -216,16 +247,15 @@ public java.lang.String getTable() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -236,6 +266,8 @@ public java.lang.String getTable() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** + * + * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -244,6 +276,7 @@ public java.lang.String getTable() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -254,6 +287,8 @@ public boolean getForce() { public static final int PARTITION_SPEC_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.PartitionSpec partitionSpec_; /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -273,6 +308,7 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -280,6 +316,8 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -299,13 +337,18 @@ public boolean hasPartitionSpec() {
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return The partitionSpec. */ @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec getPartitionSpec() { - return partitionSpec_ == null ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_; + return partitionSpec_ == null + ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() + : partitionSpec_; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -334,6 +377,8 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_;
   /**
+   *
+   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -362,6 +407,7 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -370,6 +416,7 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,8 +428,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -414,16 +460,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); } if (partitionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPartitionSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPartitionSpec()); } if (separateTablesPerAssetType_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, separateTablesPerAssetType_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, separateTablesPerAssetType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -433,26 +476,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.asset.v1.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.BigQueryDestination other = (com.google.cloud.asset.v1.BigQueryDestination) obj; + com.google.cloud.asset.v1.BigQueryDestination other = + (com.google.cloud.asset.v1.BigQueryDestination) obj; - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTable() - .equals(other.getTable())) return false; - if (getForce() - != other.getForce()) return false; + if (!getDataset().equals(other.getDataset())) return false; + if (!getTable().equals(other.getTable())) return false; + if (getForce() != other.getForce()) return false; if (hasPartitionSpec() != other.hasPartitionSpec()) return false; if (hasPartitionSpec()) { - if (!getPartitionSpec() - .equals(other.getPartitionSpec())) return false; + if (!getPartitionSpec().equals(other.getPartitionSpec())) return false; } - if (getSeparateTablesPerAssetType() - != other.getSeparateTablesPerAssetType()) return false; + if (getSeparateTablesPerAssetType() != other.getSeparateTablesPerAssetType()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -469,132 +508,139 @@ public int hashCode() { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); if (hasPartitionSpec()) { hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); } hash = (37 * hash) + SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSeparateTablesPerAssetType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSeparateTablesPerAssetType()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.BigQueryDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.BigQueryDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.BigQueryDestination parseFrom( - byte[] data, - com.google.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.asset.v1.BigQueryDestination 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.asset.v1.BigQueryDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.BigQueryDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.BigQueryDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A BigQuery destination for exporting assets to.
    * 
* * Protobuf type {@code google.cloud.asset.v1.BigQueryDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.BigQueryDestination) com.google.cloud.asset.v1.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.BigQueryDestination.class, com.google.cloud.asset.v1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.BigQueryDestination.class, + com.google.cloud.asset.v1.BigQueryDestination.Builder.class); } // Construct using com.google.cloud.asset.v1.BigQueryDestination.newBuilder() @@ -602,16 +648,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +678,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_BigQueryDestination_descriptor; } @java.lang.Override @@ -654,7 +699,8 @@ public com.google.cloud.asset.v1.BigQueryDestination build() { @java.lang.Override public com.google.cloud.asset.v1.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1.BigQueryDestination result = new com.google.cloud.asset.v1.BigQueryDestination(this); + com.google.cloud.asset.v1.BigQueryDestination result = + new com.google.cloud.asset.v1.BigQueryDestination(this); result.dataset_ = dataset_; result.table_ = table_; result.force_ = force_; @@ -672,38 +718,39 @@ public com.google.cloud.asset.v1.BigQueryDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.BigQueryDestination) { - return mergeFrom((com.google.cloud.asset.v1.BigQueryDestination)other); + return mergeFrom((com.google.cloud.asset.v1.BigQueryDestination) other); } else { super.mergeFrom(other); return this; @@ -760,6 +807,8 @@ public Builder mergeFrom( private java.lang.Object dataset_ = ""; /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -772,13 +821,13 @@ public Builder mergeFrom(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -787,6 +836,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -799,15 +850,14 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -815,6 +865,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -827,20 +879,22 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -853,15 +907,18 @@ public Builder setDataset(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -874,16 +931,16 @@ public Builder clearDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -891,6 +948,8 @@ public Builder setDatasetBytes( private java.lang.Object table_ = ""; /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -898,13 +957,13 @@ public Builder setDatasetBytes(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -913,6 +972,8 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -920,15 +981,14 @@ public java.lang.String getTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -936,6 +996,8 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -943,20 +1005,22 @@ public java.lang.String getTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -964,15 +1028,18 @@ public Builder setTable(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -980,23 +1047,25 @@ public Builder clearTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1005,6 +1074,7 @@ public Builder setTableBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -1012,6 +1082,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1020,16 +1092,19 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1038,10 +1113,11 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; @@ -1049,8 +1125,13 @@ public Builder clearForce() { private com.google.cloud.asset.v1.PartitionSpec partitionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PartitionSpec, com.google.cloud.asset.v1.PartitionSpec.Builder, com.google.cloud.asset.v1.PartitionSpecOrBuilder> partitionSpecBuilder_; + com.google.cloud.asset.v1.PartitionSpec, + com.google.cloud.asset.v1.PartitionSpec.Builder, + com.google.cloud.asset.v1.PartitionSpecOrBuilder> + partitionSpecBuilder_; /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1070,12 +1151,15 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return partitionSpecBuilder_ != null || partitionSpec_ != null; } /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1095,16 +1179,21 @@ public boolean hasPartitionSpec() {
      * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return The partitionSpec. */ public com.google.cloud.asset.v1.PartitionSpec getPartitionSpec() { if (partitionSpecBuilder_ == null) { - return partitionSpec_ == null ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_; + return partitionSpec_ == null + ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() + : partitionSpec_; } else { return partitionSpecBuilder_.getMessage(); } } /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1139,6 +1228,8 @@ public Builder setPartitionSpec(com.google.cloud.asset.v1.PartitionSpec value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1171,6 +1262,8 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1195,7 +1288,9 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1.PartitionSpec value)
       if (partitionSpecBuilder_ == null) {
         if (partitionSpec_ != null) {
           partitionSpec_ =
-            com.google.cloud.asset.v1.PartitionSpec.newBuilder(partitionSpec_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1.PartitionSpec.newBuilder(partitionSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           partitionSpec_ = value;
         }
@@ -1207,6 +1302,8 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1.PartitionSpec value)
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1239,6 +1336,8 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1260,11 +1359,13 @@ public Builder clearPartitionSpec() {
      * .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
      */
     public com.google.cloud.asset.v1.PartitionSpec.Builder getPartitionSpecBuilder() {
-      
+
       onChanged();
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1289,11 +1390,14 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
       if (partitionSpecBuilder_ != null) {
         return partitionSpecBuilder_.getMessageOrBuilder();
       } else {
-        return partitionSpec_ == null ?
-            com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance() : partitionSpec_;
+        return partitionSpec_ == null
+            ? com.google.cloud.asset.v1.PartitionSpec.getDefaultInstance()
+            : partitionSpec_;
       }
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1315,21 +1419,26 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.PartitionSpec, com.google.cloud.asset.v1.PartitionSpec.Builder, com.google.cloud.asset.v1.PartitionSpecOrBuilder> 
+            com.google.cloud.asset.v1.PartitionSpec,
+            com.google.cloud.asset.v1.PartitionSpec.Builder,
+            com.google.cloud.asset.v1.PartitionSpecOrBuilder>
         getPartitionSpecFieldBuilder() {
       if (partitionSpecBuilder_ == null) {
-        partitionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.PartitionSpec, com.google.cloud.asset.v1.PartitionSpec.Builder, com.google.cloud.asset.v1.PartitionSpecOrBuilder>(
-                getPartitionSpec(),
-                getParentForChildren(),
-                isClean());
+        partitionSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.PartitionSpec,
+                com.google.cloud.asset.v1.PartitionSpec.Builder,
+                com.google.cloud.asset.v1.PartitionSpecOrBuilder>(
+                getPartitionSpec(), getParentForChildren(), isClean());
         partitionSpec_ = null;
       }
       return partitionSpecBuilder_;
     }
 
-    private boolean separateTablesPerAssetType_ ;
+    private boolean separateTablesPerAssetType_;
     /**
+     *
+     *
      * 
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1358,6 +1467,7 @@ public com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilde
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1365,6 +1475,8 @@ public boolean getSeparateTablesPerAssetType() { return separateTablesPerAssetType_; } /** + * + * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1393,16 +1505,19 @@ public boolean getSeparateTablesPerAssetType() {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @param value The separateTablesPerAssetType to set. * @return This builder for chaining. */ public Builder setSeparateTablesPerAssetType(boolean value) { - + separateTablesPerAssetType_ = value; onChanged(); return this; } /** + * + * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1431,17 +1546,18 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { - + separateTablesPerAssetType_ = 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); } @@ -1451,12 +1567,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.BigQueryDestination) private static final com.google.cloud.asset.v1.BigQueryDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.BigQueryDestination(); } @@ -1465,16 +1581,16 @@ public static com.google.cloud.asset.v1.BigQueryDestination getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1489,6 +1605,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java similarity index 90% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java index 2b70f211f..b5571d295 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/BigQueryDestinationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface BigQueryDestinationOrBuilder extends +public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -20,10 +38,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -36,12 +57,14 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataset. */ - com.google.protobuf.ByteString - getDatasetBytes(); + com.google.protobuf.ByteString getDatasetBytes(); /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -49,10 +72,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -60,12 +86,14 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -74,11 +102,14 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * bool force = 3; + * * @return The force. */ boolean getForce(); /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -98,10 +129,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ boolean hasPartitionSpec(); /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -121,10 +155,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * .google.cloud.asset.v1.PartitionSpec partition_spec = 4; + * * @return The partitionSpec. */ com.google.cloud.asset.v1.PartitionSpec getPartitionSpec(); /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -148,6 +185,8 @@ public interface BigQueryDestinationOrBuilder extends
   com.google.cloud.asset.v1.PartitionSpecOrBuilder getPartitionSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -176,6 +215,7 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ boolean getSeparateTablesPerAssetType(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java index c3895147a..2d821fe3f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluation.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * The Condition evaluation.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ConditionEvaluation} */ -public final class ConditionEvaluation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConditionEvaluation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ConditionEvaluation) ConditionEvaluationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConditionEvaluation.newBuilder() to construct. private ConditionEvaluation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConditionEvaluation() { evaluationValue_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConditionEvaluation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConditionEvaluation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ConditionEvaluation( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - evaluationValue_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + evaluationValue_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,41 @@ private ConditionEvaluation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ConditionEvaluation.class, com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); + com.google.cloud.asset.v1.ConditionEvaluation.class, + com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); } /** + * + * *
    * Value of this expression.
    * 
* * Protobuf enum {@code google.cloud.asset.v1.ConditionEvaluation.EvaluationValue} */ - public enum EvaluationValue - implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationValue implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Reserved for future use.
      * 
@@ -111,6 +134,8 @@ public enum EvaluationValue */ EVALUATION_VALUE_UNSPECIFIED(0), /** + * + * *
      * The evaluation result is `true`.
      * 
@@ -119,6 +144,8 @@ public enum EvaluationValue */ TRUE(1), /** + * + * *
      * The evaluation result is `false`.
      * 
@@ -127,6 +154,8 @@ public enum EvaluationValue */ FALSE(2), /** + * + * *
      * The evaluation result is `conditional` when the condition expression
      * contains variables that are either missing input values or have not been
@@ -140,6 +169,8 @@ public enum EvaluationValue
     ;
 
     /**
+     *
+     *
      * 
      * Reserved for future use.
      * 
@@ -148,6 +179,8 @@ public enum EvaluationValue */ public static final int EVALUATION_VALUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The evaluation result is `true`.
      * 
@@ -156,6 +189,8 @@ public enum EvaluationValue */ public static final int TRUE_VALUE = 1; /** + * + * *
      * The evaluation result is `false`.
      * 
@@ -164,6 +199,8 @@ public enum EvaluationValue */ public static final int FALSE_VALUE = 2; /** + * + * *
      * The evaluation result is `conditional` when the condition expression
      * contains variables that are either missing input values or have not been
@@ -174,7 +211,6 @@ public enum EvaluationValue
      */
     public static final int CONDITIONAL_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -199,40 +235,44 @@ public static EvaluationValue valueOf(int value) {
      */
     public static EvaluationValue forNumber(int value) {
       switch (value) {
-        case 0: return EVALUATION_VALUE_UNSPECIFIED;
-        case 1: return TRUE;
-        case 2: return FALSE;
-        case 3: return CONDITIONAL;
-        default: return null;
+        case 0:
+          return EVALUATION_VALUE_UNSPECIFIED;
+        case 1:
+          return TRUE;
+        case 2:
+          return FALSE;
+        case 3:
+          return CONDITIONAL;
+        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<
-        EvaluationValue> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EvaluationValue findValueByNumber(int number) {
-              return EvaluationValue.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public EvaluationValue findValueByNumber(int number) {
+                return EvaluationValue.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.asset.v1.ConditionEvaluation.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -241,8 +281,7 @@ public EvaluationValue findValueByNumber(int number) {
     public static EvaluationValue valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -262,31 +301,43 @@ private EvaluationValue(int value) {
   public static final int EVALUATION_VALUE_FIELD_NUMBER = 1;
   private int evaluationValue_;
   /**
+   *
+   *
    * 
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return The enum numeric value on the wire for evaluationValue. */ - @java.lang.Override public int getEvaluationValueValue() { + @java.lang.Override + public int getEvaluationValueValue() { return evaluationValue_; } /** + * + * *
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return The evaluationValue. */ - @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { + @java.lang.Override + public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); - return result == null ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED : result; + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); + return result == null + ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +349,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (evaluationValue_ != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.EVALUATION_VALUE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (evaluationValue_ + != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue + .EVALUATION_VALUE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, evaluationValue_); } unknownFields.writeTo(output); @@ -312,9 +365,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationValue_ != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.EVALUATION_VALUE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, evaluationValue_); + if (evaluationValue_ + != com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue + .EVALUATION_VALUE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationValue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -324,12 +379,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ConditionEvaluation)) { return super.equals(obj); } - com.google.cloud.asset.v1.ConditionEvaluation other = (com.google.cloud.asset.v1.ConditionEvaluation) obj; + com.google.cloud.asset.v1.ConditionEvaluation other = + (com.google.cloud.asset.v1.ConditionEvaluation) obj; if (evaluationValue_ != other.evaluationValue_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -350,118 +406,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ConditionEvaluation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ConditionEvaluation parseFrom( - byte[] data, - com.google.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.asset.v1.ConditionEvaluation 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.asset.v1.ConditionEvaluation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ConditionEvaluation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ConditionEvaluation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ConditionEvaluation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ConditionEvaluation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ConditionEvaluation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ConditionEvaluation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Condition evaluation.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ConditionEvaluation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ConditionEvaluation) com.google.cloud.asset.v1.ConditionEvaluationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ConditionEvaluation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ConditionEvaluation.class, com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); + com.google.cloud.asset.v1.ConditionEvaluation.class, + com.google.cloud.asset.v1.ConditionEvaluation.Builder.class); } // Construct using com.google.cloud.asset.v1.ConditionEvaluation.newBuilder() @@ -469,16 +534,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +552,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ConditionEvaluation_descriptor; } @java.lang.Override @@ -509,7 +573,8 @@ public com.google.cloud.asset.v1.ConditionEvaluation build() { @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation buildPartial() { - com.google.cloud.asset.v1.ConditionEvaluation result = new com.google.cloud.asset.v1.ConditionEvaluation(this); + com.google.cloud.asset.v1.ConditionEvaluation result = + new com.google.cloud.asset.v1.ConditionEvaluation(this); result.evaluationValue_ = evaluationValue_; onBuilt(); return result; @@ -519,38 +584,39 @@ public com.google.cloud.asset.v1.ConditionEvaluation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ConditionEvaluation) { - return mergeFrom((com.google.cloud.asset.v1.ConditionEvaluation)other); + return mergeFrom((com.google.cloud.asset.v1.ConditionEvaluation) other); } else { super.mergeFrom(other); return this; @@ -593,80 +659,100 @@ public Builder mergeFrom( private int evaluationValue_ = 0; /** + * + * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return The enum numeric value on the wire for evaluationValue. */ - @java.lang.Override public int getEvaluationValueValue() { + @java.lang.Override + public int getEvaluationValueValue() { return evaluationValue_; } /** + * + * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @param value The enum numeric value on the wire for evaluationValue to set. * @return This builder for chaining. */ public Builder setEvaluationValueValue(int value) { - + evaluationValue_ = value; onChanged(); return this; } /** + * + * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return The evaluationValue. */ @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); - return result == null ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED : result; + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue result = + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.valueOf(evaluationValue_); + return result == null + ? com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue.UNRECOGNIZED + : result; } /** + * + * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @param value The evaluationValue to set. * @return This builder for chaining. */ - public Builder setEvaluationValue(com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue value) { + public Builder setEvaluationValue( + com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue value) { if (value == null) { throw new NullPointerException(); } - + evaluationValue_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The evaluation result.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return This builder for chaining. */ public Builder clearEvaluationValue() { - + evaluationValue_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ConditionEvaluation) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ConditionEvaluation) private static final com.google.cloud.asset.v1.ConditionEvaluation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ConditionEvaluation(); } @@ -690,16 +776,16 @@ public static com.google.cloud.asset.v1.ConditionEvaluation getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConditionEvaluation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConditionEvaluation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConditionEvaluation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConditionEvaluation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,6 +800,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ConditionEvaluation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java index 999084a21..316a06ba4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ConditionEvaluationOrBuilder.java @@ -1,27 +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/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface ConditionEvaluationOrBuilder extends +public interface ConditionEvaluationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ConditionEvaluation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return The enum numeric value on the wire for evaluationValue. */ int getEvaluationValueValue(); /** + * + * *
    * The evaluation result.
    * 
* * .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1; + * * @return The evaluationValue. */ com.google.cloud.asset.v1.ConditionEvaluation.EvaluationValue getEvaluationValue(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java index 9838b22f4..973207d89 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ContentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1.ContentType} */ -public enum ContentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified content type.
    * 
@@ -21,6 +39,8 @@ public enum ContentType */ CONTENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource metadata.
    * 
@@ -29,6 +49,8 @@ public enum ContentType */ RESOURCE(1), /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -37,6 +59,8 @@ public enum ContentType */ IAM_POLICY(2), /** + * + * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -45,6 +69,8 @@ public enum ContentType */ ORG_POLICY(4), /** + * + * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -53,6 +79,8 @@ public enum ContentType */ ACCESS_POLICY(5), /** + * + * *
    * The runtime OS Inventory information.
    * 
@@ -61,6 +89,8 @@ public enum ContentType */ OS_INVENTORY(6), /** + * + * *
    * The related resources.
    * 
@@ -72,6 +102,8 @@ public enum ContentType ; /** + * + * *
    * Unspecified content type.
    * 
@@ -80,6 +112,8 @@ public enum ContentType */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource metadata.
    * 
@@ -88,6 +122,8 @@ public enum ContentType */ public static final int RESOURCE_VALUE = 1; /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -96,6 +132,8 @@ public enum ContentType */ public static final int IAM_POLICY_VALUE = 2; /** + * + * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -104,6 +142,8 @@ public enum ContentType */ public static final int ORG_POLICY_VALUE = 4; /** + * + * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -112,6 +152,8 @@ public enum ContentType */ public static final int ACCESS_POLICY_VALUE = 5; /** + * + * *
    * The runtime OS Inventory information.
    * 
@@ -120,6 +162,8 @@ public enum ContentType */ public static final int OS_INVENTORY_VALUE = 6; /** + * + * *
    * The related resources.
    * 
@@ -128,7 +172,6 @@ public enum ContentType */ public static final int RELATIONSHIP_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -153,53 +196,57 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: return CONTENT_TYPE_UNSPECIFIED; - case 1: return RESOURCE; - case 2: return IAM_POLICY; - case 4: return ORG_POLICY; - case 5: return ACCESS_POLICY; - case 6: return OS_INVENTORY; - case 7: return RELATIONSHIP; - default: return null; + case 0: + return CONTENT_TYPE_UNSPECIFIED; + case 1: + return RESOURCE; + case 2: + return IAM_POLICY; + case 4: + return ORG_POLICY; + case 5: + return ACCESS_POLICY; + case 6: + return OS_INVENTORY; + case 7: + return RELATIONSHIP; + 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< - ContentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.asset.v1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -215,4 +262,3 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1.ContentType) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java index 25f55d41b..f05fab727 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Create asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.CreateFeedRequest} */ -public final class CreateFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.CreateFeedRequest) CreateFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateFeedRequest.newBuilder() to construct. private CreateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateFeedRequest() { parent_ = ""; feedId_ = ""; @@ -26,16 +44,15 @@ private CreateFeedRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,41 @@ private CreateFeedRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - feedId_ = s; - break; - } - case 26: { - com.google.cloud.asset.v1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); + parent_ = s; + break; } - feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + feedId_ = s; + break; } + case 26: + { + com.google.cloud.asset.v1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); + } + feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,29 +113,33 @@ private CreateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateFeedRequest.class, com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1.CreateFeedRequest.class, + com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -125,6 +149,7 @@ private CreateFeedRequest(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -133,14 +158,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -150,16 +176,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,12 +195,15 @@ public java.lang.String getParent() { public static final int FEED_ID_FIELD_NUMBER = 2; private volatile java.lang.Object feedId_; /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feedId. */ @java.lang.Override @@ -184,30 +212,30 @@ public java.lang.String getFeedId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; } } /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for feedId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFeedIdBytes() { + public com.google.protobuf.ByteString getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); feedId_ = b; return b; } else { @@ -218,6 +246,8 @@ public java.lang.String getFeedId() { public static final int FEED_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.Feed feed_; /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -226,6 +256,7 @@ public java.lang.String getFeedId() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ @java.lang.Override @@ -233,6 +264,8 @@ public boolean hasFeed() { return feed_ != null; } /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -241,6 +274,7 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ @java.lang.Override @@ -248,6 +282,8 @@ public com.google.cloud.asset.v1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_; } /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -263,6 +299,7 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -274,8 +311,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -301,8 +337,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, feedId_);
     }
     if (feed_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getFeed());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFeed());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -312,21 +347,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.asset.v1.CreateFeedRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.CreateFeedRequest other = (com.google.cloud.asset.v1.CreateFeedRequest) obj;
+    com.google.cloud.asset.v1.CreateFeedRequest other =
+        (com.google.cloud.asset.v1.CreateFeedRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getFeedId()
-        .equals(other.getFeedId())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getFeedId().equals(other.getFeedId())) return false;
     if (hasFeed() != other.hasFeed()) return false;
     if (hasFeed()) {
-      if (!getFeed()
-          .equals(other.getFeed())) return false;
+      if (!getFeed().equals(other.getFeed())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -352,118 +385,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.CreateFeedRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.CreateFeedRequest parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.CreateFeedRequest 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.asset.v1.CreateFeedRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.CreateFeedRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.CreateFeedRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.CreateFeedRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.CreateFeedRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.CreateFeedRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.CreateFeedRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Create asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.CreateFeedRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.CreateFeedRequest) com.google.cloud.asset.v1.CreateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateFeedRequest.class, com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1.CreateFeedRequest.class, + com.google.cloud.asset.v1.CreateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.CreateFeedRequest.newBuilder() @@ -471,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateFeedRequest_descriptor; } @java.lang.Override @@ -519,7 +560,8 @@ public com.google.cloud.asset.v1.CreateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.CreateFeedRequest buildPartial() { - com.google.cloud.asset.v1.CreateFeedRequest result = new com.google.cloud.asset.v1.CreateFeedRequest(this); + com.google.cloud.asset.v1.CreateFeedRequest result = + new com.google.cloud.asset.v1.CreateFeedRequest(this); result.parent_ = parent_; result.feedId_ = feedId_; if (feedBuilder_ == null) { @@ -535,38 +577,39 @@ public com.google.cloud.asset.v1.CreateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.CreateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.CreateFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1.CreateFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -617,6 +660,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -626,13 +671,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -641,6 +686,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -650,15 +697,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -666,6 +712,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -675,20 +723,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -698,15 +748,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -716,16 +769,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -733,19 +786,21 @@ public Builder setParentBytes( private java.lang.Object feedId_ = ""; /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feedId. */ public java.lang.String getFeedId() { java.lang.Object ref = feedId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; @@ -754,21 +809,22 @@ public java.lang.String getFeedId() { } } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for feedId. */ - public com.google.protobuf.ByteString - getFeedIdBytes() { + public com.google.protobuf.ByteString getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); feedId_ = b; return b; } else { @@ -776,57 +832,64 @@ public java.lang.String getFeedId() { } } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The feedId to set. * @return This builder for chaining. */ - public Builder setFeedId( - java.lang.String value) { + public Builder setFeedId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + feedId_ = value; onChanged(); return this; } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFeedId() { - + feedId_ = getDefaultInstance().getFeedId(); onChanged(); return this; } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for feedId to set. * @return This builder for chaining. */ - public Builder setFeedIdBytes( - com.google.protobuf.ByteString value) { + public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedId_ = value; onChanged(); return this; @@ -834,8 +897,13 @@ public Builder setFeedIdBytes( private com.google.cloud.asset.v1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> feedBuilder_; + com.google.cloud.asset.v1.Feed, + com.google.cloud.asset.v1.Feed.Builder, + com.google.cloud.asset.v1.FeedOrBuilder> + feedBuilder_; /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -844,12 +912,15 @@ public Builder setFeedIdBytes(
      * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -858,6 +929,7 @@ public boolean hasFeed() {
      * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ public com.google.cloud.asset.v1.Feed getFeed() { @@ -868,6 +940,8 @@ public com.google.cloud.asset.v1.Feed getFeed() { } } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -891,6 +965,8 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -900,8 +976,7 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
      *
      * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setFeed(
-        com.google.cloud.asset.v1.Feed.Builder builderForValue) {
+    public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
       if (feedBuilder_ == null) {
         feed_ = builderForValue.build();
         onChanged();
@@ -912,6 +987,8 @@ public Builder setFeed(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -924,8 +1001,7 @@ public Builder setFeed(
     public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       if (feedBuilder_ == null) {
         if (feed_ != null) {
-          feed_ =
-            com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
+          feed_ = com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
         } else {
           feed_ = value;
         }
@@ -937,6 +1013,8 @@ public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -958,6 +1036,8 @@ public Builder clearFeed() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -968,11 +1048,13 @@ public Builder clearFeed() {
      * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
-      
+
       onChanged();
       return getFeedFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -986,11 +1068,12 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
       if (feedBuilder_ != null) {
         return feedBuilder_.getMessageOrBuilder();
       } else {
-        return feed_ == null ?
-            com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
+        return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. The feed details. The field `name` must be empty and it will be
      * generated in the format of: projects/project_number/feeds/feed_id
@@ -1001,21 +1084,24 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
      * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> 
+            com.google.cloud.asset.v1.Feed,
+            com.google.cloud.asset.v1.Feed.Builder,
+            com.google.cloud.asset.v1.FeedOrBuilder>
         getFeedFieldBuilder() {
       if (feedBuilder_ == null) {
-        feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder>(
-                getFeed(),
-                getParentForChildren(),
-                isClean());
+        feedBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.Feed,
+                com.google.cloud.asset.v1.Feed.Builder,
+                com.google.cloud.asset.v1.FeedOrBuilder>(
+                getFeed(), getParentForChildren(), isClean());
         feed_ = null;
       }
       return feedBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1025,12 +1111,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.CreateFeedRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.CreateFeedRequest)
   private static final com.google.cloud.asset.v1.CreateFeedRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.CreateFeedRequest();
   }
@@ -1039,16 +1125,16 @@ public static com.google.cloud.asset.v1.CreateFeedRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CreateFeedRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new CreateFeedRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CreateFeedRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new CreateFeedRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1063,6 +1149,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.CreateFeedRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
index 23948980d..8b873ad91 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateFeedRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface CreateFeedRequestOrBuilder extends
+public interface CreateFeedRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.CreateFeedRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -17,10 +35,13 @@ public interface CreateFeedRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -30,34 +51,41 @@ public interface CreateFeedRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feedId. */ java.lang.String getFeedId(); /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for feedId. */ - com.google.protobuf.ByteString - getFeedIdBytes(); + com.google.protobuf.ByteString getFeedIdBytes(); /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -66,10 +94,13 @@ public interface CreateFeedRequestOrBuilder extends
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ boolean hasFeed(); /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
@@ -78,10 +109,13 @@ public interface CreateFeedRequestOrBuilder extends
    * 
* * .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ com.google.cloud.asset.v1.Feed getFeed(); /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be
    * generated in the format of: projects/project_number/feeds/feed_id
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
index ccbd50c72..7bb028864 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * Request to create a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.CreateSavedQueryRequest} */ -public final class CreateSavedQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.CreateSavedQueryRequest) CreateSavedQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSavedQueryRequest.newBuilder() to construct. private CreateSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSavedQueryRequest() { parent_ = ""; savedQueryId_ = ""; @@ -26,16 +44,15 @@ private CreateSavedQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateSavedQueryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; - if (savedQuery_ != null) { - subBuilder = savedQuery_.toBuilder(); - } - savedQuery_ = input.readMessage(com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(savedQuery_); - savedQuery_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; + if (savedQuery_ != null) { + subBuilder = savedQuery_.toBuilder(); + } + savedQuery_ = + input.readMessage( + com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(savedQuery_); + savedQuery_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - savedQueryId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + savedQueryId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,29 +115,33 @@ private CreateSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateSavedQueryRequest.class, com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.CreateSavedQueryRequest.class, + com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -124,7 +150,10 @@ private CreateSavedQueryRequest(
    * as "projects/12345").
    * 
* - * string parent = 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 @@ -133,14 +162,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -149,17 +179,18 @@ public java.lang.String getParent() {
    * as "projects/12345").
    * 
* - * string parent = 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 { @@ -170,12 +201,17 @@ public java.lang.String getParent() { public static final int SAVED_QUERY_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.SavedQuery savedQuery_; /** + * + * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the savedQuery field is set. */ @java.lang.Override @@ -183,25 +219,36 @@ public boolean hasSavedQuery() { return savedQuery_ != null; } /** + * + * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The savedQuery. */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { - return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } /** + * + * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { @@ -211,6 +258,8 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { public static final int SAVED_QUERY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object savedQueryId_; /** + * + * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -222,6 +271,7 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() {
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The savedQueryId. */ @java.lang.Override @@ -230,14 +280,15 @@ public java.lang.String getSavedQueryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedQueryId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -249,16 +300,15 @@ public java.lang.String getSavedQueryId() {
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for savedQueryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSavedQueryIdBytes() { + public com.google.protobuf.ByteString getSavedQueryIdBytes() { java.lang.Object ref = savedQueryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedQueryId_ = b; return b; } else { @@ -267,6 +317,7 @@ public java.lang.String getSavedQueryId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,8 +352,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (savedQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSavedQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSavedQuery()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(savedQueryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, savedQueryId_); @@ -316,22 +365,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.CreateSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.CreateSavedQueryRequest other = (com.google.cloud.asset.v1.CreateSavedQueryRequest) obj; + com.google.cloud.asset.v1.CreateSavedQueryRequest other = + (com.google.cloud.asset.v1.CreateSavedQueryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasSavedQuery() != other.hasSavedQuery()) return false; if (hasSavedQuery()) { - if (!getSavedQuery() - .equals(other.getSavedQuery())) return false; + if (!getSavedQuery().equals(other.getSavedQuery())) return false; } - if (!getSavedQueryId() - .equals(other.getSavedQueryId())) return false; + if (!getSavedQueryId().equals(other.getSavedQueryId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -357,117 +404,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( - java.nio.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.asset.v1.CreateSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.CreateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( - byte[] data, - com.google.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.asset.v1.CreateSavedQueryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.CreateSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.CreateSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.CreateSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.CreateSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.CreateSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.CreateSavedQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.CreateSavedQueryRequest) com.google.cloud.asset.v1.CreateSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.CreateSavedQueryRequest.class, com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.CreateSavedQueryRequest.class, + com.google.cloud.asset.v1.CreateSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.CreateSavedQueryRequest.newBuilder() @@ -475,16 +531,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_CreateSavedQueryRequest_descriptor; } @java.lang.Override @@ -523,7 +578,8 @@ public com.google.cloud.asset.v1.CreateSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.CreateSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.CreateSavedQueryRequest result = new com.google.cloud.asset.v1.CreateSavedQueryRequest(this); + com.google.cloud.asset.v1.CreateSavedQueryRequest result = + new com.google.cloud.asset.v1.CreateSavedQueryRequest(this); result.parent_ = parent_; if (savedQueryBuilder_ == null) { result.savedQuery_ = savedQuery_; @@ -539,38 +595,39 @@ public com.google.cloud.asset.v1.CreateSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.CreateSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.CreateSavedQueryRequest)other); + return mergeFrom((com.google.cloud.asset.v1.CreateSavedQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -578,7 +635,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.CreateSavedQueryRequest other) { - if (other == com.google.cloud.asset.v1.CreateSavedQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.CreateSavedQueryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -609,7 +667,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.CreateSavedQueryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.CreateSavedQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -621,6 +680,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -629,14 +690,16 @@ public Builder mergeFrom(
      * as "projects/12345").
      * 
* - * string parent = 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; @@ -645,6 +708,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -653,16 +718,17 @@ public java.lang.String getParent() {
      * as "projects/12345").
      * 
* - * string parent = 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 { @@ -670,6 +736,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -678,21 +746,25 @@ public java.lang.String getParent() {
      * as "projects/12345").
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -701,16 +773,21 @@ public Builder setParent(
      * as "projects/12345").
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this
      * saved_query should be created in. It can only be an organization number
@@ -719,17 +796,19 @@ public Builder clearParent() {
      * as "projects/12345").
      * 
* - * 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; @@ -737,42 +816,61 @@ public Builder setParentBytes( private com.google.cloud.asset.v1.SavedQuery savedQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> savedQueryBuilder_; + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder> + savedQueryBuilder_; /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the savedQuery field is set. */ public boolean hasSavedQuery() { return savedQueryBuilder_ != null || savedQuery_ != null; } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The savedQuery. */ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { if (savedQueryBuilder_ == null) { - return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } else { return savedQueryBuilder_.getMessage(); } } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { @@ -788,15 +886,18 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSavedQuery( - com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { + public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { if (savedQueryBuilder_ == null) { savedQuery_ = builderForValue.build(); onChanged(); @@ -807,18 +908,24 @@ public Builder setSavedQuery( return this; } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { if (savedQuery_ != null) { savedQuery_ = - com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_) + .mergeFrom(value) + .buildPartial(); } else { savedQuery_ = value; } @@ -830,12 +937,16 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSavedQuery() { if (savedQueryBuilder_ == null) { @@ -849,51 +960,67 @@ public Builder clearSavedQuery() { return this; } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { - + onChanged(); return getSavedQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { if (savedQueryBuilder_ != null) { return savedQueryBuilder_.getMessageOrBuilder(); } else { - return savedQuery_ == null ? - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } } /** + * + * *
      * Required. The saved_query details. The `name` field must be empty as it
      * will be generated based on the parent and saved_query_id.
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder> getSavedQueryFieldBuilder() { if (savedQueryBuilder_ == null) { - savedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder>( - getSavedQuery(), - getParentForChildren(), - isClean()); + savedQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder>( + getSavedQuery(), getParentForChildren(), isClean()); savedQuery_ = null; } return savedQueryBuilder_; @@ -901,6 +1028,8 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { private java.lang.Object savedQueryId_ = ""; /** + * + * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -912,13 +1041,13 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The savedQueryId. */ public java.lang.String getSavedQueryId() { java.lang.Object ref = savedQueryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); savedQueryId_ = s; return s; @@ -927,6 +1056,8 @@ public java.lang.String getSavedQueryId() { } } /** + * + * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -938,15 +1069,14 @@ public java.lang.String getSavedQueryId() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for savedQueryId. */ - public com.google.protobuf.ByteString - getSavedQueryIdBytes() { + public com.google.protobuf.ByteString getSavedQueryIdBytes() { java.lang.Object ref = savedQueryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); savedQueryId_ = b; return b; } else { @@ -954,6 +1084,8 @@ public java.lang.String getSavedQueryId() { } } /** + * + * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -965,20 +1097,22 @@ public java.lang.String getSavedQueryId() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The savedQueryId to set. * @return This builder for chaining. */ - public Builder setSavedQueryId( - java.lang.String value) { + public Builder setSavedQueryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + savedQueryId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -990,15 +1124,18 @@ public Builder setSavedQueryId(
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSavedQueryId() { - + savedQueryId_ = getDefaultInstance().getSavedQueryId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the saved query, which must be unique in the
      * specified parent. It will become the final component of the saved query's
@@ -1010,23 +1147,23 @@ public Builder clearSavedQueryId() {
      * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for savedQueryId to set. * @return This builder for chaining. */ - public Builder setSavedQueryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSavedQueryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + savedQueryId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1036,12 +1173,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.CreateSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.CreateSavedQueryRequest) private static final com.google.cloud.asset.v1.CreateSavedQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.CreateSavedQueryRequest(); } @@ -1050,16 +1187,16 @@ public static com.google.cloud.asset.v1.CreateSavedQueryRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,6 +1211,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.CreateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java index 4bba625d5..651097a14 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/CreateSavedQueryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface CreateSavedQueryRequestOrBuilder extends +public interface CreateSavedQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.CreateSavedQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -16,11 +34,16 @@ public interface CreateSavedQueryRequestOrBuilder extends
    * as "projects/12345").
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project/folder/organization where this
    * saved_query should be created in. It can only be an organization number
@@ -29,43 +52,61 @@ public interface CreateSavedQueryRequestOrBuilder extends
    * as "projects/12345").
    * 
* - * string parent = 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 saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the savedQuery field is set. */ boolean hasSavedQuery(); /** + * + * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The savedQuery. */ com.google.cloud.asset.v1.SavedQuery getSavedQuery(); /** + * + * *
    * Required. The saved_query details. The `name` field must be empty as it
    * will be generated based on the parent and saved_query_id.
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder(); /** + * + * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -77,10 +118,13 @@ public interface CreateSavedQueryRequestOrBuilder extends
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The savedQueryId. */ java.lang.String getSavedQueryId(); /** + * + * *
    * Required. The ID to use for the saved query, which must be unique in the
    * specified parent. It will become the final component of the saved query's
@@ -92,8 +136,8 @@ public interface CreateSavedQueryRequestOrBuilder extends
    * 
* * string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for savedQueryId. */ - com.google.protobuf.ByteString - getSavedQueryIdBytes(); + com.google.protobuf.ByteString getSavedQueryIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java index 952a6e51c..e8556cb77 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequest.java @@ -1,36 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -/** - * Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} - */ -public final class DeleteFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} */ +public final class DeleteFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.DeleteFeedRequest) DeleteFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFeedRequest.newBuilder() to construct. private DeleteFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -49,19 +62,20 @@ private DeleteFeedRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -69,29 +83,33 @@ private DeleteFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteFeedRequest.class, com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1.DeleteFeedRequest.class, + com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -99,7 +117,10 @@ private DeleteFeedRequest(
    * organizations/organization_number/feeds/feed_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 @@ -108,14 +129,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -123,17 +145,18 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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 { @@ -142,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +201,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.asset.v1.DeleteFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.DeleteFeedRequest other = (com.google.cloud.asset.v1.DeleteFeedRequest) obj; + com.google.cloud.asset.v1.DeleteFeedRequest other = + (com.google.cloud.asset.v1.DeleteFeedRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,114 +228,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.DeleteFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1.DeleteFeedRequest 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.asset.v1.DeleteFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.DeleteFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.DeleteFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.DeleteFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.DeleteFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.asset.v1.DeleteFeedRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.DeleteFeedRequest) com.google.cloud.asset.v1.DeleteFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteFeedRequest.class, com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1.DeleteFeedRequest.class, + com.google.cloud.asset.v1.DeleteFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.DeleteFeedRequest.newBuilder() @@ -320,16 +348,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +366,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteFeedRequest_descriptor; } @java.lang.Override @@ -360,7 +387,8 @@ public com.google.cloud.asset.v1.DeleteFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.DeleteFeedRequest buildPartial() { - com.google.cloud.asset.v1.DeleteFeedRequest result = new com.google.cloud.asset.v1.DeleteFeedRequest(this); + com.google.cloud.asset.v1.DeleteFeedRequest result = + new com.google.cloud.asset.v1.DeleteFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +398,39 @@ public com.google.cloud.asset.v1.DeleteFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.DeleteFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.DeleteFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1.DeleteFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -445,6 +474,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -452,14 +483,16 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -468,6 +501,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -475,16 +510,17 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -492,6 +528,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -499,21 +537,25 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -521,16 +563,21 @@ public Builder setName(
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -538,24 +585,26 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -565,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.DeleteFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.DeleteFeedRequest) private static final com.google.cloud.asset.v1.DeleteFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.DeleteFeedRequest(); } @@ -579,16 +628,16 @@ public static com.google.cloud.asset.v1.DeleteFeedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000..8212768a5 --- /dev/null +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteFeedRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface DeleteFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.DeleteFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java index a294340be..87acf06bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Request to delete a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.DeleteSavedQueryRequest} */ -public final class DeleteSavedQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.DeleteSavedQueryRequest) DeleteSavedQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteSavedQueryRequest.newBuilder() to construct. private DeleteSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteSavedQueryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteSavedQueryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private DeleteSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, + com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -104,7 +126,10 @@ private DeleteSavedQueryRequest(
    * * organizations/organization_number/savedQueries/saved_query_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 @@ -113,14 +138,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -129,17 +155,18 @@ public java.lang.String getName() {
    * * organizations/organization_number/savedQueries/saved_query_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 { @@ -148,6 +175,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -184,15 +211,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.asset.v1.DeleteSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.DeleteSavedQueryRequest other = (com.google.cloud.asset.v1.DeleteSavedQueryRequest) obj; + com.google.cloud.asset.v1.DeleteSavedQueryRequest other = + (com.google.cloud.asset.v1.DeleteSavedQueryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -212,117 +239,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( - java.nio.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.asset.v1.DeleteSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.DeleteSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( - byte[] data, - com.google.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.asset.v1.DeleteSavedQueryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.DeleteSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.DeleteSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.DeleteSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.DeleteSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.DeleteSavedQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.DeleteSavedQueryRequest) com.google.cloud.asset.v1.DeleteSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.DeleteSavedQueryRequest.class, + com.google.cloud.asset.v1.DeleteSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.DeleteSavedQueryRequest.newBuilder() @@ -330,16 +366,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_DeleteSavedQueryRequest_descriptor; } @java.lang.Override @@ -370,7 +405,8 @@ public com.google.cloud.asset.v1.DeleteSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.DeleteSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.DeleteSavedQueryRequest result = new com.google.cloud.asset.v1.DeleteSavedQueryRequest(this); + com.google.cloud.asset.v1.DeleteSavedQueryRequest result = + new com.google.cloud.asset.v1.DeleteSavedQueryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -380,38 +416,39 @@ public com.google.cloud.asset.v1.DeleteSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.DeleteSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.DeleteSavedQueryRequest)other); + return mergeFrom((com.google.cloud.asset.v1.DeleteSavedQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -419,7 +456,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.DeleteSavedQueryRequest other) { - if (other == com.google.cloud.asset.v1.DeleteSavedQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.DeleteSavedQueryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -443,7 +481,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.DeleteSavedQueryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.DeleteSavedQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -455,6 +494,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -463,14 +504,16 @@ public Builder mergeFrom(
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -479,6 +522,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -487,16 +532,17 @@ public java.lang.String getName() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -504,6 +550,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -512,21 +560,25 @@ public java.lang.String getName() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -535,16 +587,21 @@ public Builder setName(
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the saved query to delete. It must be in the format
      * of:
@@ -553,24 +610,26 @@ public Builder clearName() {
      * * organizations/organization_number/savedQueries/saved_query_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); } @@ -580,12 +639,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.DeleteSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.DeleteSavedQueryRequest) private static final com.google.cloud.asset.v1.DeleteSavedQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.DeleteSavedQueryRequest(); } @@ -594,16 +653,16 @@ public static com.google.cloud.asset.v1.DeleteSavedQueryRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,6 +677,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.DeleteSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java index 80e6bbfad..eba137a41 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/DeleteSavedQueryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface DeleteSavedQueryRequestOrBuilder extends +public interface DeleteSavedQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.DeleteSavedQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -16,11 +34,16 @@ public interface DeleteSavedQueryRequestOrBuilder extends
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the saved query to delete. It must be in the format
    * of:
@@ -29,9 +52,11 @@ public interface DeleteSavedQueryRequestOrBuilder extends
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java index b17dc8289..5d34a1eb0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Export asset request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ExportAssetsRequest} */ -public final class ExportAssetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportAssetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ExportAssetsRequest) ExportAssetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportAssetsRequest.newBuilder() to construct. private ExportAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -28,16 +46,15 @@ private ExportAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExportAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,69 +74,78 @@ private ExportAssetsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); + parent_ = s; + break; } - readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); + 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; } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; } - assetTypes_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 32: + { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; - } - case 42: { - com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null; - if (outputConfig_ != null) { - subBuilder = outputConfig_.toBuilder(); + contentType_ = rawValue; + break; } - outputConfig_ = input.readMessage(com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputConfig_); - outputConfig_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null; + if (outputConfig_ != null) { + subBuilder = outputConfig_.toBuilder(); + } + outputConfig_ = + input.readMessage( + com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputConfig_); + outputConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + relationshipTypes_.add(s); + break; } - relationshipTypes_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,8 +153,7 @@ private ExportAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -140,22 +165,27 @@ private ExportAssetsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ExportAssetsRequest.class, com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ExportAssetsRequest.class, + com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -163,7 +193,10 @@ private ExportAssetsRequest(
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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 @@ -172,14 +205,15 @@ 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 relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -187,17 +221,18 @@ public java.lang.String getParent() {
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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 { @@ -208,6 +243,8 @@ public java.lang.String getParent() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -217,6 +254,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -224,6 +262,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -233,6 +273,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -240,6 +281,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -258,6 +301,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -276,13 +321,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -301,12 +348,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -325,6 +375,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -332,6 +383,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -350,52 +403,66 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.OutputConfig outputConfig_; /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -403,25 +470,36 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -431,6 +509,8 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList relationshipTypes_; /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -450,13 +530,15 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
    * 
* * repeated string relationship_types = 6; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_; } /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -476,12 +558,15 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
    * 
* * repeated string relationship_types = 6; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -501,6 +586,7 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -508,6 +594,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -527,15 +615,16 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -547,8 +636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -558,7 +646,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (outputConfig_ != null) { @@ -580,8 +669,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -591,13 +679,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, contentType_); + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOutputConfig()); } { int dataSize = 0; @@ -615,30 +702,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ExportAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ExportAssetsRequest other = (com.google.cloud.asset.v1.ExportAssetsRequest) obj; + com.google.cloud.asset.v1.ExportAssetsRequest other = + (com.google.cloud.asset.v1.ExportAssetsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) 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 (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig() - .equals(other.getOutputConfig())) return false; + if (!getOutputConfig().equals(other.getOutputConfig())) return false; } - if (!getRelationshipTypesList() - .equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -675,118 +758,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ExportAssetsRequest parseFrom( - byte[] data, - com.google.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.asset.v1.ExportAssetsRequest 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.asset.v1.ExportAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ExportAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ExportAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ExportAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ExportAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ExportAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ExportAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Export asset request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ExportAssetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ExportAssetsRequest) com.google.cloud.asset.v1.ExportAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ExportAssetsRequest.class, com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ExportAssetsRequest.class, + com.google.cloud.asset.v1.ExportAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ExportAssetsRequest.newBuilder() @@ -794,16 +886,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -831,9 +922,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ExportAssetsRequest_descriptor; } @java.lang.Override @@ -852,7 +943,8 @@ public com.google.cloud.asset.v1.ExportAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ExportAssetsRequest buildPartial() { - com.google.cloud.asset.v1.ExportAssetsRequest result = new com.google.cloud.asset.v1.ExportAssetsRequest(this); + com.google.cloud.asset.v1.ExportAssetsRequest result = + new com.google.cloud.asset.v1.ExportAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -884,38 +976,39 @@ public com.google.cloud.asset.v1.ExportAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ExportAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1.ExportAssetsRequest)other); + return mergeFrom((com.google.cloud.asset.v1.ExportAssetsRequest) other); } else { super.mergeFrom(other); return this; @@ -985,10 +1078,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -996,14 +1092,16 @@ public Builder mergeFrom(
      * or a folder number (such as "folders/123").
      * 
* - * string parent = 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; @@ -1012,6 +1110,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1019,16 +1119,17 @@ public java.lang.String getParent() {
      * or a folder number (such as "folders/123").
      * 
* - * string parent = 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 { @@ -1036,6 +1137,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1043,21 +1146,25 @@ public java.lang.String getParent() {
      * or a folder number (such as "folders/123").
      * 
* - * 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1065,16 +1172,21 @@ public Builder setParent(
      * or a folder number (such as "folders/123").
      * 
* - * string 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1082,17 +1194,19 @@ public Builder clearParent() {
      * or a folder number (such as "folders/123").
      * 
* - * 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; @@ -1100,8 +1214,13 @@ public Builder setParentBytes( 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_; /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1111,12 +1230,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1126,6 +1248,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1136,6 +1259,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1160,6 +1285,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1170,8 +1297,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1182,6 +1308,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1196,7 +1324,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;
         }
@@ -1208,6 +1336,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1230,6 +1360,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1241,11 +1373,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1260,11 +1394,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1276,27 +1411,34 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList assetTypes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1315,13 +1457,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1340,12 +1484,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1364,6 +1511,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1371,6 +1519,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1389,14 +1539,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1415,21 +1567,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1448,20 +1602,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1480,18 +1636,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1510,6 +1667,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1519,6 +1677,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1537,15 +1697,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1554,55 +1714,69 @@ public Builder addAssetTypesBytes( private int contentType_ = 0; /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1610,22 +1784,25 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1633,42 +1810,61 @@ public Builder clearContentType() { private com.google.cloud.asset.v1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1.OutputConfig, + com.google.cloud.asset.v1.OutputConfig.Builder, + com.google.cloud.asset.v1.OutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1684,15 +1880,18 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOutputConfig( - com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { + public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { if (outputConfigBuilder_ == null) { outputConfig_ = builderForValue.build(); onChanged(); @@ -1703,18 +1902,24 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -1726,12 +1931,16 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1745,64 +1954,84 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> + com.google.cloud.asset.v1.OutputConfig, + com.google.cloud.asset.v1.OutputConfig.Builder, + com.google.cloud.asset.v1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.OutputConfig, + com.google.cloud.asset.v1.OutputConfig.Builder, + com.google.cloud.asset.v1.OutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList relationshipTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1822,13 +2051,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 6; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1848,12 +2079,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 6; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1873,6 +2107,7 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 6; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -1880,6 +2115,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1899,14 +2136,16 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 6; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1926,21 +2165,23 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 6; + * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes( - int index, java.lang.String value) { + public Builder setRelationshipTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1960,20 +2201,22 @@ public Builder setRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes( - java.lang.String value) { + public Builder addRelationshipTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1993,18 +2236,19 @@ public Builder addRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes( - java.lang.Iterable values) { + public Builder addAllRelationshipTypes(java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2024,6 +2268,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2033,6 +2278,8 @@ public Builder clearRelationshipTypes() { return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2052,23 +2299,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 6; + * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2078,12 +2325,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ExportAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ExportAssetsRequest) private static final com.google.cloud.asset.v1.ExportAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ExportAssetsRequest(); } @@ -2092,16 +2339,16 @@ public static com.google.cloud.asset.v1.ExportAssetsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2116,6 +2363,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java similarity index 87% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java index 46cabddf1..01284605a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ExportAssetsRequestOrBuilder extends +public interface ExportAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ExportAssetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -15,11 +33,16 @@ public interface ExportAssetsRequestOrBuilder extends
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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 relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -27,13 +50,17 @@ public interface ExportAssetsRequestOrBuilder extends
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -43,10 +70,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -56,10 +86,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -73,6 +106,8 @@ public interface ExportAssetsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -91,11 +126,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -114,10 +151,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -136,11 +176,14 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -159,64 +202,86 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ com.google.cloud.asset.v1.OutputConfig getOutputConfig(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -236,11 +301,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @return A list containing the relationshipTypes. */ - java.util.List - getRelationshipTypesList(); + java.util.List getRelationshipTypesList(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -260,10 +327,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -283,11 +353,14 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -307,9 +380,9 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString - getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString getRelationshipTypesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java index ea9e90077..871329111 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * The export asset response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.ExportAssetsResponse}
  */
-public final class ExportAssetsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportAssetsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ExportAssetsResponse)
     ExportAssetsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportAssetsResponse.newBuilder() to construct.
   private ExportAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ExportAssetsResponse() {
-  }
+
+  private ExportAssetsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportAssetsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExportAssetsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,52 +72,60 @@ private ExportAssetsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            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();
-            }
+          case 10:
+            {
+              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 18: {
-            com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null;
-            if (outputConfig_ != null) {
-              subBuilder = outputConfig_.toBuilder();
-            }
-            outputConfig_ = input.readMessage(com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputConfig_);
-              outputConfig_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.asset.v1.OutputConfig.Builder subBuilder = null;
+              if (outputConfig_ != null) {
+                subBuilder = outputConfig_.toBuilder();
+              }
+              outputConfig_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.OutputConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputConfig_);
+                outputConfig_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1.OutputResult.Builder subBuilder = null;
-            if (outputResult_ != null) {
-              subBuilder = outputResult_.toBuilder();
-            }
-            outputResult_ = input.readMessage(com.google.cloud.asset.v1.OutputResult.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputResult_);
-              outputResult_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.asset.v1.OutputResult.Builder subBuilder = null;
+              if (outputResult_ != null) {
+                subBuilder = outputResult_.toBuilder();
+              }
+              outputResult_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.OutputResult.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputResult_);
+                outputResult_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,34 +133,39 @@ private ExportAssetsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.ExportAssetsResponse.class, com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1.ExportAssetsResponse.class,
+            com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp readTime_;
   /**
+   *
+   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -144,11 +173,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -156,6 +188,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -170,11 +204,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.OutputConfig outputConfig_; /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -182,18 +219,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
@@ -208,6 +252,8 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( public static final int OUTPUT_RESULT_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.OutputResult outputResult_; /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -217,6 +263,7 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; + * * @return Whether the outputResult field is set. */ @java.lang.Override @@ -224,6 +271,8 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -233,13 +282,18 @@ public boolean hasOutputResult() {
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; + * * @return The outputResult. */ @java.lang.Override public com.google.cloud.asset.v1.OutputResult getOutputResult() { - return outputResult_ == null ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_; + return outputResult_ == null + ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() + : outputResult_; } /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -256,6 +310,7 @@ public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -267,8 +322,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (readTime_ != null) {
       output.writeMessage(1, getReadTime());
     }
@@ -288,16 +342,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime());
     }
     if (outputConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOutputConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig());
     }
     if (outputResult_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getOutputResult());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputResult());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -307,27 +358,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.ExportAssetsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.ExportAssetsResponse other = (com.google.cloud.asset.v1.ExportAssetsResponse) obj;
+    com.google.cloud.asset.v1.ExportAssetsResponse other =
+        (com.google.cloud.asset.v1.ExportAssetsResponse) obj;
 
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (hasOutputConfig() != other.hasOutputConfig()) return false;
     if (hasOutputConfig()) {
-      if (!getOutputConfig()
-          .equals(other.getOutputConfig())) return false;
+      if (!getOutputConfig().equals(other.getOutputConfig())) return false;
     }
     if (hasOutputResult() != other.hasOutputResult()) return false;
     if (hasOutputResult()) {
-      if (!getOutputResult()
-          .equals(other.getOutputResult())) return false;
+      if (!getOutputResult().equals(other.getOutputResult())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -357,97 +406,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.ExportAssetsResponse 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.asset.v1.ExportAssetsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.ExportAssetsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.ExportAssetsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.ExportAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.ExportAssetsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.ExportAssetsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.ExportAssetsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The export asset response. This message is returned by the
    * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -458,21 +514,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.ExportAssetsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ExportAssetsResponse)
       com.google.cloud.asset.v1.ExportAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_ExportAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.ExportAssetsResponse.class, com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1.ExportAssetsResponse.class,
+              com.google.cloud.asset.v1.ExportAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.ExportAssetsResponse.newBuilder()
@@ -480,16 +538,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -515,9 +572,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -536,7 +593,8 @@ public com.google.cloud.asset.v1.ExportAssetsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1.ExportAssetsResponse result = new com.google.cloud.asset.v1.ExportAssetsResponse(this);
+      com.google.cloud.asset.v1.ExportAssetsResponse result =
+          new com.google.cloud.asset.v1.ExportAssetsResponse(this);
       if (readTimeBuilder_ == null) {
         result.readTime_ = readTime_;
       } else {
@@ -560,38 +618,39 @@ public com.google.cloud.asset.v1.ExportAssetsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.ExportAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1.ExportAssetsResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1.ExportAssetsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -640,24 +699,33 @@ public Builder mergeFrom(
 
     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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -668,6 +736,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -688,14 +758,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -706,6 +777,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -716,7 +789,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; } @@ -728,6 +801,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -746,6 +821,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -753,11 +830,13 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -768,11 +847,12 @@ 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 the snapshot was taken.
      * 
@@ -780,14 +860,17 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -795,34 +878,47 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1.OutputConfig, + com.google.cloud.asset.v1.OutputConfig.Builder, + com.google.cloud.asset.v1.OutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; + * * @return The outputConfig. */ public com.google.cloud.asset.v1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -843,14 +939,15 @@ public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; */ - public Builder setOutputConfig( - com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { + public Builder setOutputConfig(com.google.cloud.asset.v1.OutputConfig.Builder builderForValue) { if (outputConfigBuilder_ == null) { outputConfig_ = builderForValue.build(); onChanged(); @@ -861,6 +958,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -871,7 +970,9 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.OutputConfig.newBuilder(outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -883,6 +984,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1.OutputConfig value) { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -901,6 +1004,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -908,11 +1013,13 @@ public Builder clearOutputConfig() { * .google.cloud.asset.v1.OutputConfig output_config = 2; */ public com.google.cloud.asset.v1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -923,11 +1030,14 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1.OutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -935,14 +1045,17 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( * .google.cloud.asset.v1.OutputConfig output_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder> + com.google.cloud.asset.v1.OutputConfig, + com.google.cloud.asset.v1.OutputConfig.Builder, + com.google.cloud.asset.v1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputConfig, com.google.cloud.asset.v1.OutputConfig.Builder, com.google.cloud.asset.v1.OutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.OutputConfig, + com.google.cloud.asset.v1.OutputConfig.Builder, + com.google.cloud.asset.v1.OutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; @@ -950,8 +1063,13 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder( private com.google.cloud.asset.v1.OutputResult outputResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.OutputResult, com.google.cloud.asset.v1.OutputResult.Builder, com.google.cloud.asset.v1.OutputResultOrBuilder> outputResultBuilder_; + com.google.cloud.asset.v1.OutputResult, + com.google.cloud.asset.v1.OutputResult.Builder, + com.google.cloud.asset.v1.OutputResultOrBuilder> + outputResultBuilder_; /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -961,12 +1079,15 @@ public com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(
      * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; + * * @return Whether the outputResult field is set. */ public boolean hasOutputResult() { return outputResultBuilder_ != null || outputResult_ != null; } /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -976,16 +1097,21 @@ public boolean hasOutputResult() {
      * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; + * * @return The outputResult. */ public com.google.cloud.asset.v1.OutputResult getOutputResult() { if (outputResultBuilder_ == null) { - return outputResult_ == null ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_; + return outputResult_ == null + ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance() + : outputResult_; } else { return outputResultBuilder_.getMessage(); } } /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1010,6 +1136,8 @@ public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1020,8 +1148,7 @@ public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult value) {
      *
      * .google.cloud.asset.v1.OutputResult output_result = 3;
      */
-    public Builder setOutputResult(
-        com.google.cloud.asset.v1.OutputResult.Builder builderForValue) {
+    public Builder setOutputResult(com.google.cloud.asset.v1.OutputResult.Builder builderForValue) {
       if (outputResultBuilder_ == null) {
         outputResult_ = builderForValue.build();
         onChanged();
@@ -1032,6 +1159,8 @@ public Builder setOutputResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1046,7 +1175,9 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       if (outputResultBuilder_ == null) {
         if (outputResult_ != null) {
           outputResult_ =
-            com.google.cloud.asset.v1.OutputResult.newBuilder(outputResult_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1.OutputResult.newBuilder(outputResult_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           outputResult_ = value;
         }
@@ -1058,6 +1189,8 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1.OutputResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1080,6 +1213,8 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1091,11 +1226,13 @@ public Builder clearOutputResult() {
      * .google.cloud.asset.v1.OutputResult output_result = 3;
      */
     public com.google.cloud.asset.v1.OutputResult.Builder getOutputResultBuilder() {
-      
+
       onChanged();
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1110,11 +1247,14 @@ public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder(
       if (outputResultBuilder_ != null) {
         return outputResultBuilder_.getMessageOrBuilder();
       } else {
-        return outputResult_ == null ?
-            com.google.cloud.asset.v1.OutputResult.getDefaultInstance() : outputResult_;
+        return outputResult_ == null
+            ? com.google.cloud.asset.v1.OutputResult.getDefaultInstance()
+            : outputResult_;
       }
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1126,21 +1266,24 @@ public com.google.cloud.asset.v1.OutputResultOrBuilder getOutputResultOrBuilder(
      * .google.cloud.asset.v1.OutputResult output_result = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.OutputResult, com.google.cloud.asset.v1.OutputResult.Builder, com.google.cloud.asset.v1.OutputResultOrBuilder> 
+            com.google.cloud.asset.v1.OutputResult,
+            com.google.cloud.asset.v1.OutputResult.Builder,
+            com.google.cloud.asset.v1.OutputResultOrBuilder>
         getOutputResultFieldBuilder() {
       if (outputResultBuilder_ == null) {
-        outputResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.OutputResult, com.google.cloud.asset.v1.OutputResult.Builder, com.google.cloud.asset.v1.OutputResultOrBuilder>(
-                getOutputResult(),
-                getParentForChildren(),
-                isClean());
+        outputResultBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.OutputResult,
+                com.google.cloud.asset.v1.OutputResult.Builder,
+                com.google.cloud.asset.v1.OutputResultOrBuilder>(
+                getOutputResult(), getParentForChildren(), isClean());
         outputResult_ = null;
       }
       return outputResultBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1150,12 +1293,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ExportAssetsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ExportAssetsResponse)
   private static final com.google.cloud.asset.v1.ExportAssetsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ExportAssetsResponse();
   }
@@ -1164,16 +1307,16 @@ public static com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExportAssetsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ExportAssetsResponse(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExportAssetsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ExportAssetsResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1188,6 +1331,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
index e3a7e5889..83e57dbaf 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ExportAssetsResponseOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface ExportAssetsResponseOrBuilder extends
+public interface ExportAssetsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ExportAssetsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -35,24 +59,32 @@ public interface ExportAssetsResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1.OutputConfig output_config = 2; + * * @return The outputConfig. */ com.google.cloud.asset.v1.OutputConfig getOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
@@ -62,6 +94,8 @@ public interface ExportAssetsResponseOrBuilder extends com.google.cloud.asset.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -71,10 +105,13 @@ public interface ExportAssetsResponseOrBuilder extends
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; + * * @return Whether the outputResult field is set. */ boolean hasOutputResult(); /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -84,10 +121,13 @@ public interface ExportAssetsResponseOrBuilder extends
    * 
* * .google.cloud.asset.v1.OutputResult output_result = 3; + * * @return The outputResult. */ com.google.cloud.asset.v1.OutputResult getOutputResult(); /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
index ae225896a..54f095768 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Feed.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * An asset feed used to export asset updates to a destinations.
  * An asset feed filter controls what updates are exported.
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.Feed}
  */
-public final class Feed extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Feed extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.Feed)
     FeedOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Feed.newBuilder() to construct.
   private Feed(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Feed() {
     name_ = "";
     assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -33,16 +51,15 @@ private Feed() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Feed();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Feed(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,78 +79,87 @@ private Feed(
           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)) {
-              assetNames_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            assetNames_.add(s);
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              assetTypes_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+              name_ = s;
+              break;
             }
-            assetTypes_.add(s);
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            contentType_ = rawValue;
-            break;
-          }
-          case 42: {
-            com.google.cloud.asset.v1.FeedOutputConfig.Builder subBuilder = null;
-            if (feedOutputConfig_ != null) {
-              subBuilder = feedOutputConfig_.toBuilder();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                assetNames_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              assetNames_.add(s);
+              break;
             }
-            feedOutputConfig_ = input.readMessage(com.google.cloud.asset.v1.FeedOutputConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(feedOutputConfig_);
-              feedOutputConfig_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                assetTypes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              assetTypes_.add(s);
+              break;
             }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 50: {
-            com.google.type.Expr.Builder subBuilder = null;
-            if (condition_ != null) {
-              subBuilder = condition_.toBuilder();
+              contentType_ = rawValue;
+              break;
             }
-            condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(condition_);
-              condition_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.asset.v1.FeedOutputConfig.Builder subBuilder = null;
+              if (feedOutputConfig_ != null) {
+                subBuilder = feedOutputConfig_.toBuilder();
+              }
+              feedOutputConfig_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.FeedOutputConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(feedOutputConfig_);
+                feedOutputConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-              relationshipTypes_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000004;
+          case 50:
+            {
+              com.google.type.Expr.Builder subBuilder = null;
+              if (condition_ != null) {
+                subBuilder = condition_.toBuilder();
+              }
+              condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(condition_);
+                condition_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relationshipTypes_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                relationshipTypes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000004;
+              }
+              relationshipTypes_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -141,8 +167,7 @@ private Feed(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         assetNames_ = assetNames_.getUnmodifiableView();
@@ -157,15 +182,17 @@ private Feed(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_Feed_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.asset.v1.Feed.class, com.google.cloud.asset.v1.Feed.Builder.class);
   }
@@ -173,6 +200,8 @@ private Feed(
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -183,6 +212,7 @@ private Feed(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -191,14 +221,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -209,16 +240,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -229,6 +259,8 @@ public java.lang.String getName() { public static final int ASSET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assetNames_; /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -240,13 +272,15 @@ public java.lang.String getName() {
    * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList - getAssetNamesList() { + public com.google.protobuf.ProtocolStringList getAssetNamesList() { return assetNames_; } /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -258,12 +292,15 @@ public java.lang.String getName() {
    * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -275,6 +312,7 @@ public int getAssetNamesCount() {
    * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -282,6 +320,8 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -293,17 +333,19 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString - getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -314,13 +356,15 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -331,12 +375,15 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -347,6 +394,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -354,6 +402,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -364,52 +414,66 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int FEED_OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.FeedOutputConfig feedOutputConfig_; /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feedOutputConfig field is set. */ @java.lang.Override @@ -417,25 +481,36 @@ public boolean hasFeedOutputConfig() { return feedOutputConfig_ != null; } /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feedOutputConfig. */ @java.lang.Override public com.google.cloud.asset.v1.FeedOutputConfig getFeedOutputConfig() { - return feedOutputConfig_ == null ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { @@ -445,6 +520,8 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr public static final int CONDITION_FIELD_NUMBER = 6; private com.google.type.Expr condition_; /** + * + * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -460,6 +537,7 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
    * 
* * .google.type.Expr condition = 6; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -467,6 +545,8 @@ public boolean hasCondition() { return condition_ != null; } /** + * + * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -482,6 +562,7 @@ public boolean hasCondition() {
    * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ @java.lang.Override @@ -489,6 +570,8 @@ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** + * + * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -513,6 +596,8 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
   public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7;
   private com.google.protobuf.LazyStringList relationshipTypes_;
   /**
+   *
+   *
    * 
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -533,13 +618,15 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
    * 
* * repeated string relationship_types = 7; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_; } /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -560,12 +647,15 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
    * 
* * repeated string relationship_types = 7; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -586,6 +676,7 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -593,6 +684,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -613,15 +706,16 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -633,8 +727,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -644,7 +737,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (feedOutputConfig_ != null) { @@ -684,17 +778,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, contentType_); + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); } if (feedOutputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFeedOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFeedOutputConfig()); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCondition()); } { int dataSize = 0; @@ -712,32 +804,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.Feed)) { return super.equals(obj); } com.google.cloud.asset.v1.Feed other = (com.google.cloud.asset.v1.Feed) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAssetNamesList() - .equals(other.getAssetNamesList())) return false; - if (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAssetNamesList().equals(other.getAssetNamesList())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasFeedOutputConfig() != other.hasFeedOutputConfig()) return false; if (hasFeedOutputConfig()) { - if (!getFeedOutputConfig() - .equals(other.getFeedOutputConfig())) return false; + if (!getFeedOutputConfig().equals(other.getFeedOutputConfig())) return false; } if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } - if (!getRelationshipTypesList() - .equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -778,97 +864,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Feed parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Feed parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Feed parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.Feed parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.Feed parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Feed parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.Feed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Feed parseFrom( - byte[] data, - com.google.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.asset.v1.Feed 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.asset.v1.Feed parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Feed 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.asset.v1.Feed parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Feed parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.asset.v1.Feed parseFrom(com.google.protobuf.CodedInputStream 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.asset.v1.Feed parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.Feed prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An asset feed used to export asset updates to a destinations.
    * An asset feed filter controls what updates are exported.
@@ -879,19 +971,20 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.Feed}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.Feed)
       com.google.cloud.asset.v1.FeedOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_Feed_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_Feed_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.asset.v1.Feed.class, com.google.cloud.asset.v1.Feed.Builder.class);
     }
@@ -901,16 +994,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -940,9 +1032,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_Feed_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_Feed_descriptor;
     }
 
     @java.lang.Override
@@ -998,38 +1090,39 @@ public com.google.cloud.asset.v1.Feed buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.Feed) {
-        return mergeFrom((com.google.cloud.asset.v1.Feed)other);
+        return mergeFrom((com.google.cloud.asset.v1.Feed) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1109,10 +1202,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1123,13 +1219,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1138,6 +1234,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1148,15 +1246,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1164,6 +1261,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1174,20 +1273,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1198,15 +1299,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -1217,29 +1321,33 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1251,13 +1359,15 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList - getAssetNamesList() { + public com.google.protobuf.ProtocolStringList getAssetNamesList() { return assetNames_.getUnmodifiableView(); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1269,12 +1379,15 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1286,6 +1399,7 @@ public int getAssetNamesCount() {
      * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -1293,6 +1407,8 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1304,14 +1420,16 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString - getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1323,21 +1441,23 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; + * * @param index The index to set the value at. * @param value The assetNames to set. * @return This builder for chaining. */ - public Builder setAssetNames( - int index, java.lang.String value) { + public Builder setAssetNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1349,20 +1469,22 @@ public Builder setAssetNames(
      * 
* * repeated string asset_names = 2; + * * @param value The assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNames( - java.lang.String value) { + public Builder addAssetNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1374,18 +1496,19 @@ public Builder addAssetNames(
      * 
* * repeated string asset_names = 2; + * * @param values The assetNames to add. * @return This builder for chaining. */ - public Builder addAllAssetNames( - java.lang.Iterable values) { + public Builder addAllAssetNames(java.lang.Iterable values) { ensureAssetNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetNames_); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1397,6 +1520,7 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1406,6 +1530,8 @@ public Builder clearAssetNames() { return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1417,29 +1543,33 @@ public Builder clearAssetNames() {
      * 
* * repeated string asset_names = 2; + * * @param value The bytes of the assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1450,13 +1580,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1467,12 +1599,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1483,6 +1618,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1490,6 +1626,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1500,14 +1638,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1518,21 +1658,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1543,20 +1685,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1567,18 +1711,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1589,6 +1734,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1598,6 +1744,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1608,15 +1756,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1625,55 +1773,69 @@ public Builder addAssetTypesBytes( private int contentType_ = 0; /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1681,22 +1843,25 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1704,42 +1869,61 @@ public Builder clearContentType() { private com.google.cloud.asset.v1.FeedOutputConfig feedOutputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.FeedOutputConfig, com.google.cloud.asset.v1.FeedOutputConfig.Builder, com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> feedOutputConfigBuilder_; + com.google.cloud.asset.v1.FeedOutputConfig, + com.google.cloud.asset.v1.FeedOutputConfig.Builder, + com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> + feedOutputConfigBuilder_; /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feedOutputConfig field is set. */ public boolean hasFeedOutputConfig() { return feedOutputConfigBuilder_ != null || feedOutputConfig_ != null; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feedOutputConfig. */ public com.google.cloud.asset.v1.FeedOutputConfig getFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { - return feedOutputConfig_ == null ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } else { return feedOutputConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { @@ -1755,12 +1939,16 @@ public Builder setFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig va return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeedOutputConfig( com.google.cloud.asset.v1.FeedOutputConfig.Builder builderForValue) { @@ -1774,18 +1962,24 @@ public Builder setFeedOutputConfig( return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { if (feedOutputConfig_ != null) { feedOutputConfig_ = - com.google.cloud.asset.v1.FeedOutputConfig.newBuilder(feedOutputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.FeedOutputConfig.newBuilder(feedOutputConfig_) + .mergeFrom(value) + .buildPartial(); } else { feedOutputConfig_ = value; } @@ -1797,12 +1991,16 @@ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1.FeedOutputConfig return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { @@ -1816,51 +2014,67 @@ public Builder clearFeedOutputConfig() { return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.FeedOutputConfig.Builder getFeedOutputConfigBuilder() { - + onChanged(); return getFeedOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { if (feedOutputConfigBuilder_ != null) { return feedOutputConfigBuilder_.getMessageOrBuilder(); } else { - return feedOutputConfig_ == null ? - com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.FeedOutputConfig, com.google.cloud.asset.v1.FeedOutputConfig.Builder, com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> + com.google.cloud.asset.v1.FeedOutputConfig, + com.google.cloud.asset.v1.FeedOutputConfig.Builder, + com.google.cloud.asset.v1.FeedOutputConfigOrBuilder> getFeedOutputConfigFieldBuilder() { if (feedOutputConfigBuilder_ == null) { - feedOutputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.FeedOutputConfig, com.google.cloud.asset.v1.FeedOutputConfig.Builder, com.google.cloud.asset.v1.FeedOutputConfigOrBuilder>( - getFeedOutputConfig(), - getParentForChildren(), - isClean()); + feedOutputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.FeedOutputConfig, + com.google.cloud.asset.v1.FeedOutputConfig.Builder, + com.google.cloud.asset.v1.FeedOutputConfigOrBuilder>( + getFeedOutputConfig(), getParentForChildren(), isClean()); feedOutputConfig_ = null; } return feedOutputConfigBuilder_; @@ -1868,8 +2082,11 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr private com.google.type.Expr condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> conditionBuilder_; + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + conditionBuilder_; /** + * + * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -1885,12 +2102,15 @@ public com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOr
      * 
* * .google.type.Expr condition = 6; + * * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** + * + * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -1906,6 +2126,7 @@ public boolean hasCondition() {
      * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ public com.google.type.Expr getCondition() { @@ -1916,6 +2137,8 @@ public com.google.type.Expr getCondition() { } } /** + * + * *
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -1946,6 +2169,8 @@ public Builder setCondition(com.google.type.Expr value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -1962,8 +2187,7 @@ public Builder setCondition(com.google.type.Expr value) {
      *
      * .google.type.Expr condition = 6;
      */
-    public Builder setCondition(
-        com.google.type.Expr.Builder builderForValue) {
+    public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
       if (conditionBuilder_ == null) {
         condition_ = builderForValue.build();
         onChanged();
@@ -1974,6 +2198,8 @@ public Builder setCondition(
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -1993,8 +2219,7 @@ public Builder setCondition(
     public Builder mergeCondition(com.google.type.Expr value) {
       if (conditionBuilder_ == null) {
         if (condition_ != null) {
-          condition_ =
-            com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
+          condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
         } else {
           condition_ = value;
         }
@@ -2006,6 +2231,8 @@ public Builder mergeCondition(com.google.type.Expr value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2034,6 +2261,8 @@ public Builder clearCondition() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2051,11 +2280,13 @@ public Builder clearCondition() {
      * .google.type.Expr condition = 6;
      */
     public com.google.type.Expr.Builder getConditionBuilder() {
-      
+
       onChanged();
       return getConditionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2076,11 +2307,12 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
       if (conditionBuilder_ != null) {
         return conditionBuilder_.getMessageOrBuilder();
       } else {
-        return condition_ == null ?
-            com.google.type.Expr.getDefaultInstance() : condition_;
+        return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_;
       }
     }
     /**
+     *
+     *
      * 
      * A condition which determines whether an asset update should be published.
      * If specified, an asset will be returned only when the expression evaluates
@@ -2098,27 +2330,30 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
      * .google.type.Expr condition = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> 
+            com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
-        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
-                getCondition(),
-                getParentForChildren(),
-                isClean());
+        conditionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
+                getCondition(), getParentForChildren(), isClean());
         condition_ = null;
       }
       return conditionBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList relationshipTypes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureRelationshipTypesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2139,13 +2374,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 7; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2166,12 +2403,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 7; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2192,6 +2432,7 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 7; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -2199,6 +2440,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2219,14 +2462,16 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 7; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2247,21 +2492,23 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 7; + * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes( - int index, java.lang.String value) { + public Builder setRelationshipTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2282,20 +2529,22 @@ public Builder setRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes( - java.lang.String value) { + public Builder addRelationshipTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2316,18 +2565,19 @@ public Builder addRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes( - java.lang.Iterable values) { + public Builder addAllRelationshipTypes(java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2348,6 +2598,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2357,6 +2608,8 @@ public Builder clearRelationshipTypes() { return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2377,23 +2630,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 7; + * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2403,12 +2656,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Feed) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Feed) private static final com.google.cloud.asset.v1.Feed DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Feed(); } @@ -2417,16 +2670,16 @@ public static com.google.cloud.asset.v1.Feed getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Feed parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Feed(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Feed(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2441,6 +2694,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java similarity index 89% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java index 1086910dc..3a9a8f7e2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface FeedOrBuilder extends +public interface FeedOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Feed) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -18,10 +36,13 @@ public interface FeedOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -32,12 +53,14 @@ public interface FeedOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -49,11 +72,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - java.util.List - getAssetNamesList(); + java.util.List getAssetNamesList(); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -65,10 +90,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ int getAssetNamesCount(); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -80,11 +108,14 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ java.lang.String getAssetNames(int index); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -96,13 +127,15 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - com.google.protobuf.ByteString - getAssetNamesBytes(int index); + com.google.protobuf.ByteString getAssetNamesBytes(int index); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -113,11 +146,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -128,10 +163,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -142,11 +180,14 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -157,64 +198,86 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feedOutputConfig field is set. */ boolean hasFeedOutputConfig(); /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feedOutputConfig. */ com.google.cloud.asset.v1.FeedOutputConfig getFeedOutputConfig(); /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder(); /** + * + * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -230,10 +293,13 @@ public interface FeedOrBuilder extends
    * 
* * .google.type.Expr condition = 6; + * * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -249,10 +315,13 @@ public interface FeedOrBuilder extends
    * 
* * .google.type.Expr condition = 6; + * * @return The condition. */ com.google.type.Expr getCondition(); /** + * + * *
    * A condition which determines whether an asset update should be published.
    * If specified, an asset will be returned only when the expression evaluates
@@ -272,6 +341,8 @@ public interface FeedOrBuilder extends
   com.google.type.ExprOrBuilder getConditionOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -292,11 +363,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @return A list containing the relationshipTypes. */ - java.util.List - getRelationshipTypesList(); + java.util.List getRelationshipTypesList(); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -317,10 +390,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -341,11 +417,14 @@ public interface FeedOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -366,9 +445,9 @@ public interface FeedOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString - getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString getRelationshipTypesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java index 3d2fbe6ed..b117cbc08 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Output configuration for asset feed destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.FeedOutputConfig} */ -public final class FeedOutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FeedOutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.FeedOutputConfig) FeedOutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FeedOutputConfig.newBuilder() to construct. private FeedOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FeedOutputConfig() { - } + + private FeedOutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FeedOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FeedOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,30 @@ private FeedOutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.PubsubDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.PubsubDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage(com.google.cloud.asset.v1.PubsubDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.PubsubDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.asset.v1.PubsubDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1.PubsubDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1.PubsubDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.PubsubDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destinationCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private FeedOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.FeedOutputConfig.class, com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1.FeedOutputConfig.class, + com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PUBSUB_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -123,29 +147,34 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return PUBSUB_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return PUBSUB_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int PUBSUB_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -153,21 +182,26 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ @java.lang.Override public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1.PubsubDestination) destination_; } return com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance(); } /** + * + * *
    * Destination on Pub/Sub.
    * 
@@ -177,12 +211,13 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { @java.lang.Override public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1.PubsubDestination) destination_; } return com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1.PubsubDestination) destination_); } @@ -209,8 +243,9 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1.PubsubDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.asset.v1.PubsubDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +255,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.asset.v1.FeedOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1.FeedOutputConfig other = (com.google.cloud.asset.v1.FeedOutputConfig) obj; + com.google.cloud.asset.v1.FeedOutputConfig other = + (com.google.cloud.asset.v1.FeedOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getPubsubDestination() - .equals(other.getPubsubDestination())) return false; + if (!getPubsubDestination().equals(other.getPubsubDestination())) return false; break; case 0: default: @@ -260,118 +295,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.FeedOutputConfig parseFrom( - byte[] data, - com.google.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.asset.v1.FeedOutputConfig 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.asset.v1.FeedOutputConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.FeedOutputConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.FeedOutputConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.FeedOutputConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.FeedOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.FeedOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.FeedOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output configuration for asset feed destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.FeedOutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.FeedOutputConfig) com.google.cloud.asset.v1.FeedOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.FeedOutputConfig.class, com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1.FeedOutputConfig.class, + com.google.cloud.asset.v1.FeedOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.FeedOutputConfig.newBuilder() @@ -379,16 +423,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_FeedOutputConfig_descriptor; } @java.lang.Override @@ -419,7 +462,8 @@ public com.google.cloud.asset.v1.FeedOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.FeedOutputConfig buildPartial() { - com.google.cloud.asset.v1.FeedOutputConfig result = new com.google.cloud.asset.v1.FeedOutputConfig(this); + com.google.cloud.asset.v1.FeedOutputConfig result = + new com.google.cloud.asset.v1.FeedOutputConfig(this); if (destinationCase_ == 1) { if (pubsubDestinationBuilder_ == null) { result.destination_ = destination_; @@ -436,38 +480,39 @@ public com.google.cloud.asset.v1.FeedOutputConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.FeedOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.FeedOutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1.FeedOutputConfig) other); } else { super.mergeFrom(other); return this; @@ -477,13 +522,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.FeedOutputConfig other) { if (other == com.google.cloud.asset.v1.FeedOutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case PUBSUB_DESTINATION: { - mergePubsubDestination(other.getPubsubDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case PUBSUB_DESTINATION: + { + mergePubsubDestination(other.getPubsubDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -513,12 +560,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -528,15 +575,20 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PubsubDestination, com.google.cloud.asset.v1.PubsubDestination.Builder, com.google.cloud.asset.v1.PubsubDestinationOrBuilder> pubsubDestinationBuilder_; + com.google.cloud.asset.v1.PubsubDestination, + com.google.cloud.asset.v1.PubsubDestination.Builder, + com.google.cloud.asset.v1.PubsubDestinationOrBuilder> + pubsubDestinationBuilder_; /** + * + * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -544,11 +596,14 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Pub/Sub.
      * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ @java.lang.Override @@ -566,6 +621,8 @@ public com.google.cloud.asset.v1.PubsubDestination getPubsubDestination() { } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -586,6 +643,8 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1.PubsubDestination return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -604,6 +663,8 @@ public Builder setPubsubDestination( return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -612,10 +673,13 @@ public Builder setPubsubDestination( */ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestination value) { if (pubsubDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1.PubsubDestination.newBuilder((com.google.cloud.asset.v1.PubsubDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ != com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1.PubsubDestination.newBuilder( + (com.google.cloud.asset.v1.PubsubDestination) destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -631,6 +695,8 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1.PubsubDestinatio return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -654,6 +720,8 @@ public Builder clearPubsubDestination() { return this; } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -664,6 +732,8 @@ public com.google.cloud.asset.v1.PubsubDestination.Builder getPubsubDestinationB return getPubsubDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -682,6 +752,8 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination } } /** + * + * *
      * Destination on Pub/Sub.
      * 
@@ -689,26 +761,32 @@ public com.google.cloud.asset.v1.PubsubDestinationOrBuilder getPubsubDestination * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PubsubDestination, com.google.cloud.asset.v1.PubsubDestination.Builder, com.google.cloud.asset.v1.PubsubDestinationOrBuilder> + com.google.cloud.asset.v1.PubsubDestination, + com.google.cloud.asset.v1.PubsubDestination.Builder, + com.google.cloud.asset.v1.PubsubDestinationOrBuilder> getPubsubDestinationFieldBuilder() { if (pubsubDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1.PubsubDestination.getDefaultInstance(); } - pubsubDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.PubsubDestination, com.google.cloud.asset.v1.PubsubDestination.Builder, com.google.cloud.asset.v1.PubsubDestinationOrBuilder>( + pubsubDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.PubsubDestination, + com.google.cloud.asset.v1.PubsubDestination.Builder, + com.google.cloud.asset.v1.PubsubDestinationOrBuilder>( (com.google.cloud.asset.v1.PubsubDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return pubsubDestinationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.FeedOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.FeedOutputConfig) private static final com.google.cloud.asset.v1.FeedOutputConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.FeedOutputConfig(); } @@ -732,16 +810,16 @@ public static com.google.cloud.asset.v1.FeedOutputConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeedOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FeedOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FeedOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +834,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java index ac8bae633..4d58fa3e4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FeedOutputConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface FeedOutputConfigOrBuilder extends +public interface FeedOutputConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.FeedOutputConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ boolean hasPubsubDestination(); /** + * + * *
    * Destination on Pub/Sub.
    * 
* * .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ com.google.cloud.asset.v1.PubsubDestination getPubsubDestination(); /** + * + * *
    * Destination on Pub/Sub.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/FolderName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java index be616ac0a..1dce75f52 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestination.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GcsDestination} */ -public final class GcsDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GcsDestination) GcsDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestination() { - } + + private GcsDestination() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,25 +68,27 @@ private GcsDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,35 +96,40 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsDestination.class, com.google.cloud.asset.v1.GcsDestination.Builder.class); + com.google.cloud.asset.v1.GcsDestination.class, + com.google.cloud.asset.v1.GcsDestination.Builder.class); } private int objectUriCase_ = 0; private java.lang.Object objectUri_; + public enum ObjectUriCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { URI(1), URI_PREFIX(2), OBJECTURI_NOT_SET(0); private final int value; + private ObjectUriCase(int value) { this.value = value; } @@ -122,25 +145,30 @@ public static ObjectUriCase valueOf(int value) { public static ObjectUriCase forNumber(int value) { switch (value) { - case 1: return URI; - case 2: return URI_PREFIX; - case 0: return OBJECTURI_NOT_SET; - default: return null; + case 1: + return URI; + case 2: + return URI_PREFIX; + case 0: + return OBJECTURI_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ObjectUriCase - getObjectUriCase() { - return ObjectUriCase.forNumber( - objectUriCase_); + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); } public static final int URI_FIELD_NUMBER = 1; /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -153,12 +181,15 @@ public int getNumber() {
    * 
* * string uri = 1; + * * @return Whether the uri field is set. */ public boolean hasUri() { return objectUriCase_ == 1; } /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -171,6 +202,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -181,8 +213,7 @@ 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(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -191,6 +222,8 @@ public java.lang.String getUri() { } } /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -203,18 +236,17 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -226,6 +258,8 @@ public java.lang.String getUri() { public static final int URI_PREFIX_FIELD_NUMBER = 2; /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -239,12 +273,15 @@ public java.lang.String getUri() {
    * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -258,6 +295,7 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -268,8 +306,7 @@ public java.lang.String getUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -278,6 +315,8 @@ public java.lang.String getUriPrefix() { } } /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -291,18 +330,17 @@ public java.lang.String getUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ - public com.google.protobuf.ByteString - getUriPrefixBytes() { + public com.google.protobuf.ByteString getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -313,6 +351,7 @@ public java.lang.String getUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,8 +363,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -355,7 +393,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.GcsDestination)) { return super.equals(obj); @@ -365,12 +403,10 @@ public boolean equals(final java.lang.Object obj) { if (!getObjectUriCase().equals(other.getObjectUriCase())) return false; switch (objectUriCase_) { case 1: - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; break; case 2: - if (!getUriPrefix() - .equals(other.getUriPrefix())) return false; + if (!getUriPrefix().equals(other.getUriPrefix())) return false; break; case 0: default: @@ -403,118 +439,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GcsDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GcsDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GcsDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.GcsDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GcsDestination parseFrom( - byte[] data, - com.google.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.asset.v1.GcsDestination 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.asset.v1.GcsDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.GcsDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.GcsDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GcsDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GcsDestination) com.google.cloud.asset.v1.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsDestination.class, com.google.cloud.asset.v1.GcsDestination.Builder.class); + com.google.cloud.asset.v1.GcsDestination.class, + com.google.cloud.asset.v1.GcsDestination.Builder.class); } // Construct using com.google.cloud.asset.v1.GcsDestination.newBuilder() @@ -522,16 +567,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsDestination_descriptor; } @java.lang.Override @@ -562,7 +606,8 @@ public com.google.cloud.asset.v1.GcsDestination build() { @java.lang.Override public com.google.cloud.asset.v1.GcsDestination buildPartial() { - com.google.cloud.asset.v1.GcsDestination result = new com.google.cloud.asset.v1.GcsDestination(this); + com.google.cloud.asset.v1.GcsDestination result = + new com.google.cloud.asset.v1.GcsDestination(this); if (objectUriCase_ == 1) { result.objectUri_ = objectUri_; } @@ -578,38 +623,39 @@ public com.google.cloud.asset.v1.GcsDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1.GcsDestination)other); + return mergeFrom((com.google.cloud.asset.v1.GcsDestination) other); } else { super.mergeFrom(other); return this; @@ -619,21 +665,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.GcsDestination other) { if (other == com.google.cloud.asset.v1.GcsDestination.getDefaultInstance()) return this; switch (other.getObjectUriCase()) { - case URI: { - objectUriCase_ = 1; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case URI_PREFIX: { - objectUriCase_ = 2; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case OBJECTURI_NOT_SET: { - break; - } + case URI: + { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case URI_PREFIX: + { + objectUriCase_ = 2; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -663,12 +712,12 @@ public Builder mergeFrom( } return this; } + private int objectUriCase_ = 0; private java.lang.Object objectUri_; - public ObjectUriCase - getObjectUriCase() { - return ObjectUriCase.forNumber( - objectUriCase_); + + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); } public Builder clearObjectUri() { @@ -678,8 +727,9 @@ public Builder clearObjectUri() { return this; } - /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -692,6 +742,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -699,6 +750,8 @@ public boolean hasUri() { return objectUriCase_ == 1; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -711,6 +764,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -720,8 +774,7 @@ public java.lang.String getUri() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -732,6 +785,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -744,19 +799,18 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -766,6 +820,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -778,20 +834,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @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(); - } - objectUriCase_ = 1; + throw new NullPointerException(); + } + objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -804,6 +862,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -815,6 +874,8 @@ public Builder clearUri() { return this; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -827,15 +888,15 @@ public Builder clearUri() {
      * 
* * string uri = 1; + * * @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); objectUriCase_ = 1; objectUri_ = value; onChanged(); @@ -843,6 +904,8 @@ public Builder setUriBytes( } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -856,6 +919,7 @@ public Builder setUriBytes(
      * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -863,6 +927,8 @@ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -876,6 +942,7 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ @java.lang.Override @@ -885,8 +952,7 @@ public java.lang.String getUriPrefix() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -897,6 +963,8 @@ public java.lang.String getUriPrefix() { } } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -910,19 +978,18 @@ public java.lang.String getUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriPrefixBytes() { + public com.google.protobuf.ByteString getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -932,6 +999,8 @@ public java.lang.String getUriPrefix() { } } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -945,20 +1014,22 @@ public java.lang.String getUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @param value The uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefix( - java.lang.String value) { + public Builder setUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - objectUriCase_ = 2; + throw new NullPointerException(); + } + objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -972,6 +1043,7 @@ public Builder setUriPrefix(
      * 
* * string uri_prefix = 2; + * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -983,6 +1055,8 @@ public Builder clearUriPrefix() { return this; } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -996,23 +1070,23 @@ public Builder clearUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @param value The bytes for uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1022,12 +1096,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GcsDestination) private static final com.google.cloud.asset.v1.GcsDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GcsDestination(); } @@ -1036,16 +1110,16 @@ public static com.google.cloud.asset.v1.GcsDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,6 +1134,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java index 7fef46dc7..99805d341 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsDestinationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface GcsDestinationOrBuilder extends +public interface GcsDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GcsDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -20,10 +38,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return Whether the uri field is set. */ boolean hasUri(); /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -36,10 +57,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -52,12 +76,14 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -71,10 +97,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ boolean hasUriPrefix(); /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -88,10 +117,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ java.lang.String getUriPrefix(); /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -105,10 +137,10 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ - com.google.protobuf.ByteString - getUriPrefixBytes(); + com.google.protobuf.ByteString getUriPrefixBytes(); public com.google.cloud.asset.v1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java index 42618d6dd..0aa88585c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResult.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A Cloud Storage output result.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GcsOutputResult} */ -public final class GcsOutputResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsOutputResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GcsOutputResult) GcsOutputResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsOutputResult.newBuilder() to construct. private GcsOutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsOutputResult() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsOutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsOutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private GcsOutputResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private GcsOutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -87,53 +104,64 @@ private GcsOutputResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsOutputResult.class, com.google.cloud.asset.v1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1.GcsOutputResult.class, + com.google.cloud.asset.v1.GcsOutputResult.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -141,21 +169,24 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -197,15 +227,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.asset.v1.GcsOutputResult)) { return super.equals(obj); } - com.google.cloud.asset.v1.GcsOutputResult other = (com.google.cloud.asset.v1.GcsOutputResult) obj; + com.google.cloud.asset.v1.GcsOutputResult other = + (com.google.cloud.asset.v1.GcsOutputResult) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,118 +256,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GcsOutputResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.GcsOutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GcsOutputResult parseFrom( - byte[] data, - com.google.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.asset.v1.GcsOutputResult 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.asset.v1.GcsOutputResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsOutputResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.GcsOutputResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.GcsOutputResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GcsOutputResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.GcsOutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.GcsOutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Storage output result.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GcsOutputResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GcsOutputResult) com.google.cloud.asset.v1.GcsOutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GcsOutputResult.class, com.google.cloud.asset.v1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1.GcsOutputResult.class, + com.google.cloud.asset.v1.GcsOutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1.GcsOutputResult.newBuilder() @@ -345,16 +384,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GcsOutputResult_descriptor; } @java.lang.Override @@ -385,7 +423,8 @@ public com.google.cloud.asset.v1.GcsOutputResult build() { @java.lang.Override public com.google.cloud.asset.v1.GcsOutputResult buildPartial() { - com.google.cloud.asset.v1.GcsOutputResult result = new com.google.cloud.asset.v1.GcsOutputResult(this); + com.google.cloud.asset.v1.GcsOutputResult result = + new com.google.cloud.asset.v1.GcsOutputResult(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -400,38 +439,39 @@ public com.google.cloud.asset.v1.GcsOutputResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GcsOutputResult) { - return mergeFrom((com.google.cloud.asset.v1.GcsOutputResult)other); + return mergeFrom((com.google.cloud.asset.v1.GcsOutputResult) other); } else { super.mergeFrom(other); return this; @@ -478,47 +518,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -526,85 +577,95 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -614,29 +675,31 @@ public Builder clearUris() { return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -646,12 +709,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GcsOutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GcsOutputResult) private static final com.google.cloud.asset.v1.GcsOutputResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GcsOutputResult(); } @@ -660,16 +723,16 @@ public static com.google.cloud.asset.v1.GcsOutputResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsOutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsOutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsOutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,6 +747,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java index bff599adb..b5ed3e0d7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GcsOutputResultOrBuilder.java @@ -1,54 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface GcsOutputResultOrBuilder extends +public interface GcsOutputResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GcsOutputResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java index 5d64a43ee..c99beadb0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Get asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GetFeedRequest} */ -public final class GetFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GetFeedRequest) GetFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFeedRequest.newBuilder() to construct. private GetFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFeedRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetFeedRequest.class, com.google.cloud.asset.v1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1.GetFeedRequest.class, + com.google.cloud.asset.v1.GetFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -103,7 +125,10 @@ private GetFeedRequest(
    * organizations/organization_number/feeds/feed_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 @@ -112,14 +137,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -127,17 +153,18 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -182,15 +209,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.GetFeedRequest)) { return super.equals(obj); } com.google.cloud.asset.v1.GetFeedRequest other = (com.google.cloud.asset.v1.GetFeedRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,118 +235,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GetFeedRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.GetFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GetFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1.GetFeedRequest 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.asset.v1.GetFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.GetFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.GetFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.GetFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.GetFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GetFeedRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GetFeedRequest) com.google.cloud.asset.v1.GetFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetFeedRequest.class, com.google.cloud.asset.v1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1.GetFeedRequest.class, + com.google.cloud.asset.v1.GetFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.GetFeedRequest.newBuilder() @@ -328,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetFeedRequest_descriptor; } @java.lang.Override @@ -368,7 +402,8 @@ public com.google.cloud.asset.v1.GetFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.GetFeedRequest buildPartial() { - com.google.cloud.asset.v1.GetFeedRequest result = new com.google.cloud.asset.v1.GetFeedRequest(this); + com.google.cloud.asset.v1.GetFeedRequest result = + new com.google.cloud.asset.v1.GetFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,38 +413,39 @@ public com.google.cloud.asset.v1.GetFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GetFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.GetFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1.GetFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -453,6 +489,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -460,14 +498,16 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -476,6 +516,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -483,16 +525,17 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -500,6 +543,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -507,21 +552,25 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -529,16 +578,21 @@ public Builder setName(
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -546,24 +600,26 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -573,12 +629,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GetFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GetFeedRequest) private static final com.google.cloud.asset.v1.GetFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GetFeedRequest(); } @@ -587,16 +643,16 @@ public static com.google.cloud.asset.v1.GetFeedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -611,6 +667,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000..4ed4a5584 --- /dev/null +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetFeedRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface GetFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java index 9a63451d7..98ae2dbb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Request to get a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.GetSavedQueryRequest} */ -public final class GetSavedQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.GetSavedQueryRequest) GetSavedQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSavedQueryRequest.newBuilder() to construct. private GetSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSavedQueryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetSavedQueryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetSavedQueryRequest.class, com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.GetSavedQueryRequest.class, + com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the saved query and it must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -103,7 +125,10 @@ private GetSavedQueryRequest(
    * * organizations/organization_number/savedQueries/saved_query_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 @@ -112,14 +137,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the saved query and it must be in the format of:
    * * projects/project_number/savedQueries/saved_query_id
@@ -127,17 +153,18 @@ public java.lang.String getName() {
    * * organizations/organization_number/savedQueries/saved_query_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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -182,15 +209,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.GetSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.GetSavedQueryRequest other = (com.google.cloud.asset.v1.GetSavedQueryRequest) obj; + com.google.cloud.asset.v1.GetSavedQueryRequest other = + (com.google.cloud.asset.v1.GetSavedQueryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,118 +236,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.GetSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseFrom( - byte[] data, - com.google.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.asset.v1.GetSavedQueryRequest 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.asset.v1.GetSavedQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.GetSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.GetSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.GetSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.GetSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to get a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.GetSavedQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.GetSavedQueryRequest) com.google.cloud.asset.v1.GetSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.GetSavedQueryRequest.class, com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.GetSavedQueryRequest.class, + com.google.cloud.asset.v1.GetSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.GetSavedQueryRequest.newBuilder() @@ -328,16 +364,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_GetSavedQueryRequest_descriptor; } @java.lang.Override @@ -368,7 +403,8 @@ public com.google.cloud.asset.v1.GetSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.GetSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.GetSavedQueryRequest result = new com.google.cloud.asset.v1.GetSavedQueryRequest(this); + com.google.cloud.asset.v1.GetSavedQueryRequest result = + new com.google.cloud.asset.v1.GetSavedQueryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,38 +414,39 @@ public com.google.cloud.asset.v1.GetSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.GetSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.GetSavedQueryRequest)other); + return mergeFrom((com.google.cloud.asset.v1.GetSavedQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -453,6 +490,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -460,14 +499,16 @@ public Builder mergeFrom(
      * * organizations/organization_number/savedQueries/saved_query_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; @@ -476,6 +517,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -483,16 +526,17 @@ public java.lang.String getName() {
      * * organizations/organization_number/savedQueries/saved_query_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 { @@ -500,6 +544,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -507,21 +553,25 @@ public java.lang.String getName() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -529,16 +579,21 @@ public Builder setName(
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the saved query and it must be in the format of:
      * * projects/project_number/savedQueries/saved_query_id
@@ -546,24 +601,26 @@ public Builder clearName() {
      * * organizations/organization_number/savedQueries/saved_query_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); } @@ -573,12 +630,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.GetSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.GetSavedQueryRequest) private static final com.google.cloud.asset.v1.GetSavedQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.GetSavedQueryRequest(); } @@ -587,16 +644,16 @@ public static com.google.cloud.asset.v1.GetSavedQueryRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -611,6 +668,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.GetSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java new file mode 100644 index 000000000..d22338aac --- /dev/null +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/GetSavedQueryRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface GetSavedQueryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GetSavedQueryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the saved query and it must be in the format of:
+   * * projects/project_number/savedQueries/saved_query_id
+   * * folders/folder_number/savedQueries/saved_query_id
+   * * organizations/organization_number/savedQueries/saved_query_id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the saved query and it must be in the format of:
+   * * projects/project_number/savedQueries/saved_query_id
+   * * folders/folder_number/savedQueries/saved_query_id
+   * * organizations/organization_number/savedQueries/saved_query_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/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java index c398706d6..a222d55a9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Output configuration for export IAM policy analysis destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig} */ -public final class IamPolicyAnalysisOutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IamPolicyAnalysisOutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) IamPolicyAnalysisOutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisOutputConfig.newBuilder() to construct. private IamPolicyAnalysisOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicyAnalysisOutputConfig() { - } + + private IamPolicyAnalysisOutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicyAnalysisOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicyAnalysisOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,41 +68,61 @@ private IamPolicyAnalysisOutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 1; - break; - } - case 18: { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_).toBuilder(); + case 10: + { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_) + .toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destination_ = - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder + subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = + ((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_) + .toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 2; + break; } - destinationCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,31 +130,36 @@ private IamPolicyAnalysisOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); } - public interface GcsDestinationOrBuilder extends + public interface GcsDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -131,10 +172,13 @@ public interface GcsDestinationOrBuilder extends
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -147,43 +191,45 @@ public interface GcsDestinationOrBuilder extends
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); } /** + * + * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class GcsDestination extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsDestination() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -202,19 +248,20 @@ private GcsDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + uri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -222,29 +269,33 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -257,6 +308,7 @@ private GcsDestination(
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -265,14 +317,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is
      * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -285,16 +338,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -303,6 +355,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +367,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -339,15 +391,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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination)) { + if (!(obj + instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other = + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,87 +420,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -457,44 +518,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A Cloud Storage location.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.class, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + .class); } - // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() + // Construct using + // com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -504,19 +571,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination build() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -525,7 +595,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination bu @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(this); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination result = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(this); result.uri_ = uri_; onBuilt(); return result; @@ -535,46 +606,54 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination)other); + if (other + instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) { + return mergeFrom( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination other) { + if (other + == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -598,7 +677,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,6 +691,8 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -622,13 +705,13 @@ public Builder mergeFrom(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -637,6 +720,8 @@ public java.lang.String getUri() { } } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -649,15 +734,14 @@ public java.lang.String getUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -665,6 +749,8 @@ public java.lang.String getUri() { } } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -677,20 +763,22 @@ public java.lang.String getUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -703,15 +791,18 @@ public Builder setUri(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is
        * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -724,20 +815,21 @@ public Builder clearUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -750,30 +842,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -785,17 +880,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface BigQueryDestinationOrBuilder extends + public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -804,10 +902,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -816,12 +917,14 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataset. */ - com.google.protobuf.ByteString - getDatasetBytes(); + com.google.protobuf.ByteString getDatasetBytes(); /** + * + * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -834,10 +937,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** + * + * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -850,31 +956,44 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString - getTablePrefixBytes(); + com.google.protobuf.ByteString getTablePrefixBytes(); /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return The enum numeric value on the wire for partitionKey. */ int getPartitionKeyValue(); /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return The partitionKey. */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + getPartitionKey(); /** + * + * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -890,10 +1009,13 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The writeDisposition. */ java.lang.String getWriteDisposition(); /** + * + * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -909,27 +1031,30 @@ public interface BigQueryDestinationOrBuilder extends
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for writeDisposition. */ - com.google.protobuf.ByteString - getWriteDispositionBytes(); + com.google.protobuf.ByteString getWriteDispositionBytes(); } /** + * + * *
    * A BigQuery destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination} */ - public static final class BigQueryDestination extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryDestination() { dataset_ = ""; tablePrefix_ = ""; @@ -939,16 +1064,15 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -967,37 +1091,41 @@ private BigQueryDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - tablePrefix_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + tablePrefix_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - partitionKey_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + partitionKey_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - writeDisposition_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + writeDisposition_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1005,27 +1133,32 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder + .class); } /** + * + * *
      * This enum determines the partition key column for the bigquery tables.
      * Partitioning can improve query performance and reduce query cost by
@@ -1033,11 +1166,13 @@ private BigQueryDestination(
      * https://cloud.google.com/bigquery/docs/partitioned-tables for details.
      * 
* - * Protobuf enum {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey} + * Protobuf enum {@code + * google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey} */ - public enum PartitionKey - implements com.google.protobuf.ProtocolMessageEnum { + public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -1047,6 +1182,8 @@ public enum PartitionKey
        */
       PARTITION_KEY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * The time when the request is received. If specified as partition key,
        * the result table(s) is partitoned by the RequestTime column, an
@@ -1060,6 +1197,8 @@ public enum PartitionKey
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified partition key. Tables won't be partitioned using this
        * option.
@@ -1069,6 +1208,8 @@ public enum PartitionKey
        */
       public static final int PARTITION_KEY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * The time when the request is received. If specified as partition key,
        * the result table(s) is partitoned by the RequestTime column, an
@@ -1079,7 +1220,6 @@ public enum PartitionKey
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1104,48 +1244,50 @@ public static PartitionKey valueOf(int value) {
        */
       public static PartitionKey forNumber(int value) {
         switch (value) {
-          case 0: return PARTITION_KEY_UNSPECIFIED;
-          case 1: return REQUEST_TIME;
-          default: return null;
+          case 0:
+            return PARTITION_KEY_UNSPECIFIED;
+          case 1:
+            return REQUEST_TIME;
+          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<
-          PartitionKey> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public PartitionKey findValueByNumber(int number) {
-                return PartitionKey.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public PartitionKey findValueByNumber(int number) {
+              return PartitionKey.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination
+            .getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final PartitionKey[] VALUES = values();
 
-      public static PartitionKey valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static PartitionKey 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;
@@ -1165,6 +1307,8 @@ private PartitionKey(int value) {
     public static final int DATASET_FIELD_NUMBER = 1;
     private volatile java.lang.Object dataset_;
     /**
+     *
+     *
      * 
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1173,6 +1317,7 @@ private PartitionKey(int value) {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -1181,14 +1326,15 @@ 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; } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1197,16 +1343,15 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1217,6 +1362,8 @@ public java.lang.String getDataset() { public static final int TABLE_PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object tablePrefix_; /** + * + * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -1229,6 +1376,7 @@ public java.lang.String getDataset() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tablePrefix. */ @java.lang.Override @@ -1237,14 +1385,15 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** + * + * *
      * Required. The prefix of the BigQuery tables to which the analysis results
      * will be written. Tables will be created based on this table_prefix if not
@@ -1257,16 +1406,15 @@ public java.lang.String getTablePrefix() {
      * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -1277,33 +1425,54 @@ public java.lang.String getTablePrefix() { public static final int PARTITION_KEY_FIELD_NUMBER = 3; private int partitionKey_; /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override public int getPartitionKeyValue() { + @java.lang.Override + public int getPartitionKeyValue() { return partitionKey_; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return The partitionKey. */ - @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { + @java.lang.Override + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.valueOf(partitionKey_); - return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + result = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.valueOf(partitionKey_); + return result == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + .UNRECOGNIZED + : result; } public static final int WRITE_DISPOSITION_FIELD_NUMBER = 4; private volatile java.lang.Object writeDisposition_; /** + * + * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -1319,6 +1488,7 @@ public java.lang.String getTablePrefix() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The writeDisposition. */ @java.lang.Override @@ -1327,14 +1497,15 @@ public java.lang.String getWriteDisposition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeDisposition_ = s; return s; } } /** + * + * *
      * Optional. Specifies the action that occurs if the destination table or
      * partition already exists. The following values are supported:
@@ -1350,16 +1521,15 @@ public java.lang.String getWriteDisposition() {
      * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for writeDisposition. */ @java.lang.Override - public com.google.protobuf.ByteString - getWriteDispositionBytes() { + public com.google.protobuf.ByteString getWriteDispositionBytes() { java.lang.Object ref = writeDisposition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeDisposition_ = b; return b; } else { @@ -1368,6 +1538,7 @@ public java.lang.String getWriteDisposition() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1379,15 +1550,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tablePrefix_); } - if (partitionKey_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { + if (partitionKey_ + != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.PARTITION_KEY_UNSPECIFIED + .getNumber()) { output.writeEnum(3, partitionKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeDisposition_)) { @@ -1408,9 +1581,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tablePrefix_); } - if (partitionKey_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, partitionKey_); + if (partitionKey_ + != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.PARTITION_KEY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, partitionKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeDisposition_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, writeDisposition_); @@ -1423,20 +1598,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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination)) { + if (!(obj + instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other = + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) obj; - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTablePrefix() - .equals(other.getTablePrefix())) return false; + if (!getDataset().equals(other.getDataset())) return false; + if (!getTablePrefix().equals(other.getTablePrefix())) return false; if (partitionKey_ != other.partitionKey_) return false; - if (!getWriteDisposition() - .equals(other.getWriteDisposition())) return false; + if (!getWriteDisposition().equals(other.getWriteDisposition())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1461,88 +1635,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + 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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1552,44 +1739,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A BigQuery destination.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.class, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder + .class); } - // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder() + // Construct using + // com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1605,19 +1798,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination build() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1625,8 +1821,10 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinati } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(this); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + buildPartial() { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination result = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(this); result.dataset_ = dataset_; result.tablePrefix_ = tablePrefix_; result.partitionKey_ = partitionKey_; @@ -1639,46 +1837,55 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinati public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination)other); + if (other + instanceof + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) { + return mergeFrom( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination other) { + if (other + == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance()) return this; if (!other.getDataset().isEmpty()) { dataset_ = other.dataset_; onChanged(); @@ -1709,11 +1916,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parsedMessage = null; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1725,6 +1935,8 @@ public Builder mergeFrom( private java.lang.Object dataset_ = ""; /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1733,13 +1945,13 @@ public Builder mergeFrom(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1748,6 +1960,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1756,15 +1970,14 @@ public java.lang.String getDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -1772,6 +1985,8 @@ public java.lang.String getDataset() { } } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1780,20 +1995,22 @@ public java.lang.String getDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1802,15 +2019,18 @@ public Builder setDataset(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** + * + * *
        * Required. The BigQuery dataset in format
        * "projects/projectId/datasets/datasetId", to which the analysis results
@@ -1819,16 +2039,16 @@ public Builder clearDataset() {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -1836,6 +2056,8 @@ public Builder setDatasetBytes( private java.lang.Object tablePrefix_ = ""; /** + * + * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -1848,13 +2070,13 @@ public Builder setDatasetBytes(
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -1863,6 +2085,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -1875,15 +2099,14 @@ public java.lang.String getTablePrefix() {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -1891,6 +2114,8 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -1903,20 +2128,22 @@ public java.lang.String getTablePrefix() {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix( - java.lang.String value) { + public Builder setTablePrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** + * + * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -1929,15 +2156,18 @@ public Builder setTablePrefix(
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** + * + * *
        * Required. The prefix of the BigQuery tables to which the analysis results
        * will be written. Tables will be created based on this table_prefix if not
@@ -1950,16 +2180,16 @@ public Builder clearTablePrefix() {
        * 
* * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); return this; @@ -1967,73 +2197,109 @@ public Builder setTablePrefixBytes( private int partitionKey_ = 0; /** + * + * *
        * The partition key for BigQuery partitioned table.
        * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override public int getPartitionKeyValue() { + @java.lang.Override + public int getPartitionKeyValue() { return partitionKey_; } /** + * + * *
        * The partition key for BigQuery partitioned table.
        * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @param value The enum numeric value on the wire for partitionKey to set. * @return This builder for chaining. */ public Builder setPartitionKeyValue(int value) { - + partitionKey_ = value; onChanged(); return this; } /** + * + * *
        * The partition key for BigQuery partitioned table.
        * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return The partitionKey. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey getPartitionKey() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey + getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey result = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.valueOf(partitionKey_); - return result == null ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey.UNRECOGNIZED : result; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + result = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.valueOf(partitionKey_); + return result == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .PartitionKey.UNRECOGNIZED + : result; } /** + * + * *
        * The partition key for BigQuery partitioned table.
        * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @param value The partitionKey to set. * @return This builder for chaining. */ - public Builder setPartitionKey(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey value) { + public Builder setPartitionKey( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey + value) { if (value == null) { throw new NullPointerException(); } - + partitionKey_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The partition key for BigQuery partitioned table.
        * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3; + * + * * @return This builder for chaining. */ public Builder clearPartitionKey() { - + partitionKey_ = 0; onChanged(); return this; @@ -2041,6 +2307,8 @@ public Builder clearPartitionKey() { private java.lang.Object writeDisposition_ = ""; /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2056,13 +2324,13 @@ public Builder clearPartitionKey() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The writeDisposition. */ public java.lang.String getWriteDisposition() { java.lang.Object ref = writeDisposition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeDisposition_ = s; return s; @@ -2071,6 +2339,8 @@ public java.lang.String getWriteDisposition() { } } /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2086,15 +2356,14 @@ public java.lang.String getWriteDisposition() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for writeDisposition. */ - public com.google.protobuf.ByteString - getWriteDispositionBytes() { + public com.google.protobuf.ByteString getWriteDispositionBytes() { java.lang.Object ref = writeDisposition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); writeDisposition_ = b; return b; } else { @@ -2102,6 +2371,8 @@ public java.lang.String getWriteDisposition() { } } /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2117,20 +2388,22 @@ public java.lang.String getWriteDisposition() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDisposition( - java.lang.String value) { + public Builder setWriteDisposition(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + writeDisposition_ = value; onChanged(); return this; } /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2146,15 +2419,18 @@ public Builder setWriteDisposition(
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearWriteDisposition() { - + writeDisposition_ = getDefaultInstance().getWriteDisposition(); onChanged(); return this; } /** + * + * *
        * Optional. Specifies the action that occurs if the destination table or
        * partition already exists. The following values are supported:
@@ -2170,20 +2446,21 @@ public Builder clearWriteDisposition() {
        * 
* * string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for writeDisposition to set. * @return This builder for chaining. */ - public Builder setWriteDispositionBytes( - com.google.protobuf.ByteString value) { + public Builder setWriteDispositionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + writeDisposition_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2196,30 +2473,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2231,21 +2511,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), BIGQUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -2261,30 +2544,37 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return GCS_DESTINATION; - case 2: return BIGQUERY_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return GCS_DESTINATION; + case 2: + return BIGQUERY_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -2292,42 +2582,58 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder + getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 2; /** + * + * *
    * Destination on BigQuery.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -2335,36 +2641,52 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** + * + * *
    * Destination on BigQuery.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * * @return The bigqueryDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getBigqueryDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + getBigqueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } /** + * + * *
    * Destination on BigQuery.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2376,13 +2698,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 (destinationCase_ == 1) { - output.writeMessage(1, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + output.writeMessage( + 1, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); } if (destinationCase_ == 2) { - output.writeMessage(2, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_); + output.writeMessage( + 2, + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_); } unknownFields.writeTo(output); } @@ -2394,12 +2719,18 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_); } if (destinationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2409,22 +2740,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.asset.v1.IamPolicyAnalysisOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig other = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig other = + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getGcsDestination() - .equals(other.getGcsDestination())) return false; + if (!getGcsDestination().equals(other.getGcsDestination())) return false; break; case 2: - if (!getBigqueryDestination() - .equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; break; case 0: default: @@ -2458,117 +2788,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisOutputConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output configuration for export IAM policy analysis destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisOutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.class, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.newBuilder() @@ -2576,16 +2916,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2595,9 +2934,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override @@ -2616,7 +2955,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(this); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig result = + new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -2640,38 +2980,39 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) other); } else { super.mergeFrom(other); return this; @@ -2679,19 +3020,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) + return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case BIGQUERY_DESTINATION: { - mergeBigqueryDestination(other.getBigqueryDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case GCS_DESTINATION: + { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case BIGQUERY_DESTINATION: + { + mergeBigqueryDestination(other.getBigqueryDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2712,7 +3057,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2721,12 +3067,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -2736,15 +3082,22 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> gcsDestinationBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> + gcsDestinationBuilder_; /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -2752,35 +3105,49 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + getGcsDestination() { if (gcsDestinationBuilder_ == null) { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } else { if (destinationCase_ == 1) { return gcsDestinationBuilder_.getMessage(); } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - public Builder setGcsDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder setGcsDestination( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2794,14 +3161,19 @@ public Builder setGcsDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutp return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ public Builder setGcsDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder builderForValue) { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + builderForValue) { if (gcsDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -2812,18 +3184,29 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - public Builder mergeGcsDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder mergeGcsDestination( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ + != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -2839,11 +3222,15 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOu return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ public Builder clearGcsDestination() { if (gcsDestinationBuilder_ == null) { @@ -2862,67 +3249,100 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder getGcsDestinationBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + getGcsDestinationBuilder() { return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder + getGcsDestinationOrBuilder() { if ((destinationCase_ == 1) && (gcsDestinationBuilder_ != null)) { return gcsDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { - destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + destination_ = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } - gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder>( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_, + gcsDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder>( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return gcsDestinationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -2930,35 +3350,49 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * * @return The bigqueryDestination. */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getBigqueryDestination() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } else { if (destinationCase_ == 2) { return bigqueryDestinationBuilder_.getMessage(); } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ - public Builder setBigqueryDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { + public Builder setBigqueryDestination( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2972,14 +3406,19 @@ public Builder setBigqueryDestination(com.google.cloud.asset.v1.IamPolicyAnalysi return this; } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ public Builder setBigqueryDestination( - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder builderForValue) { + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder + builderForValue) { if (bigqueryDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -2990,18 +3429,30 @@ public Builder setBigqueryDestination( return this; } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ - public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination( + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { - if (destinationCase_ == 2 && - destination_ != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.newBuilder((com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 2 + && destination_ + != com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .newBuilder( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -3017,11 +3468,15 @@ public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.IamPolicyAnaly return this; } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ public Builder clearBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { @@ -3040,61 +3495,87 @@ public Builder clearBigqueryDestination() { return this; } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder + getBigqueryDestinationBuilder() { return getBigqueryDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { if ((destinationCase_ == 2) && (bigqueryDestinationBuilder_ != null)) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_; } - return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + return com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } } /** + * + * *
      * Destination on BigQuery.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { if (!(destinationCase_ == 2)) { - destination_ = com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.getDefaultInstance(); + destination_ = + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + .getDefaultInstance(); } - bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder>( - (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) destination_, + bigqueryDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig + .BigQueryDestinationOrBuilder>( + (com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination) + destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 2; - onChanged();; + onChanged(); + ; return bigqueryDestinationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3104,12 +3585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) private static final com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig(); } @@ -3118,16 +3599,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3142,6 +3623,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java index 044214c54..0e02268b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisOutputConfigOrBuilder.java @@ -1,65 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisOutputConfigOrBuilder extends +public interface IamPolicyAnalysisOutputConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisOutputConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return The gcsDestination. */ com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder + getGcsDestinationOrBuilder(); /** + * + * *
    * Destination on BigQuery.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** + * + * *
    * Destination on BigQuery.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * * @return The bigqueryDestination. */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination getBigqueryDestination(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination + getBigqueryDestination(); /** + * + * *
    * Destination on BigQuery.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * + * .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder(); - public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.DestinationCase getDestinationCase(); + public com.google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.DestinationCase + getDestinationCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java index ae9b40063..4e7987d6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQuery.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * IAM policy analysis query message.
  * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery} */ -public final class IamPolicyAnalysisQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IamPolicyAnalysisQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery) IamPolicyAnalysisQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisQuery.newBuilder() to construct. private IamPolicyAnalysisQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IamPolicyAnalysisQuery() { scope_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicyAnalysisQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicyAnalysisQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,84 +70,109 @@ private IamPolicyAnalysisQuery( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder subBuilder = null; - if (resourceSelector_ != null) { - subBuilder = resourceSelector_.toBuilder(); - } - resourceSelector_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceSelector_); - resourceSelector_ = subBuilder.buildPartial(); + scope_ = s; + break; } + case 18: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder subBuilder = + null; + if (resourceSelector_ != null) { + subBuilder = resourceSelector_.toBuilder(); + } + resourceSelector_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceSelector_); + resourceSelector_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder subBuilder = null; - if (identitySelector_ != null) { - subBuilder = identitySelector_.toBuilder(); - } - identitySelector_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(identitySelector_); - identitySelector_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder subBuilder = + null; + if (identitySelector_ != null) { + subBuilder = identitySelector_.toBuilder(); + } + identitySelector_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identitySelector_); + identitySelector_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder subBuilder = null; - if (accessSelector_ != null) { - subBuilder = accessSelector_.toBuilder(); - } - accessSelector_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(accessSelector_); - accessSelector_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder subBuilder = + null; + if (accessSelector_ != null) { + subBuilder = accessSelector_.toBuilder(); + } + accessSelector_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(accessSelector_); + accessSelector_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder subBuilder = null; - if (conditionContext_ != null) { - subBuilder = conditionContext_.toBuilder(); - } - conditionContext_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conditionContext_); - conditionContext_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder subBuilder = + null; + if (conditionContext_ != null) { + subBuilder = conditionContext_.toBuilder(); + } + conditionContext_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conditionContext_); + conditionContext_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -138,31 +180,36 @@ private IamPolicyAnalysisQuery( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); } - public interface ResourceSelectorOrBuilder extends + public interface ResourceSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -171,10 +218,13 @@ public interface ResourceSelectorOrBuilder extends
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -183,12 +233,14 @@ public interface ResourceSelectorOrBuilder extends
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); } /** + * + * *
    * Specifies the resource to analyze for access policies, which may be set
    * directly on the resource, or on ancestors such as organizations, folders or
@@ -197,31 +249,31 @@ public interface ResourceSelectorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector}
    */
-  public static final class ResourceSelector extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ResourceSelector extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)
       ResourceSelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ResourceSelector.newBuilder() to construct.
     private ResourceSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ResourceSelector() {
       fullResourceName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ResourceSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ResourceSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -240,19 +292,20 @@ private ResourceSelector(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              fullResourceName_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                fullResourceName_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -260,29 +313,33 @@ private ResourceSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class,
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
     }
 
     public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object fullResourceName_;
     /**
+     *
+     *
      * 
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -291,6 +348,7 @@ private ResourceSelector(
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ @java.lang.Override @@ -299,14 +357,15 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
      * Required. The [full resource name]
      * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -315,16 +374,15 @@ public java.lang.String getFullResourceName() {
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -333,6 +391,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +403,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -369,15 +427,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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) obj; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -397,87 +455,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector + parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -487,6 +553,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the resource to analyze for access policies, which may be set
      * directly on the resource, or on ancestors such as organizations, folders or
@@ -495,38 +563,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)
         com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.class,
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
       }
 
-      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -536,14 +607,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance();
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -557,7 +630,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector build()
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(this);
         result.fullResourceName_ = fullResourceName_;
         onBuilt();
         return result;
@@ -567,46 +641,53 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) {
-          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)other);
+          return mergeFrom(
+              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other) {
-        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector other) {
+        if (other
+            == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
+                .getDefaultInstance()) return this;
         if (!other.getFullResourceName().isEmpty()) {
           fullResourceName_ = other.fullResourceName_;
           onChanged();
@@ -630,7 +711,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -642,6 +725,8 @@ public Builder mergeFrom(
 
       private java.lang.Object fullResourceName_ = "";
       /**
+       *
+       *
        * 
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -650,13 +735,13 @@ public Builder mergeFrom(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -665,6 +750,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -673,15 +760,14 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -689,6 +775,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -697,20 +785,22 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { + public Builder setFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -719,15 +809,18 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** + * + * *
        * Required. The [full resource name]
        * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -736,20 +829,21 @@ public Builder clearFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -762,30 +856,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -797,17 +893,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IdentitySelectorOrBuilder extends + public interface IdentitySelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -822,10 +921,13 @@ public interface IdentitySelectorOrBuilder extends
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ java.lang.String getIdentity(); /** + * + * *
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -840,12 +942,14 @@ public interface IdentitySelectorOrBuilder extends
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for identity. */ - com.google.protobuf.ByteString - getIdentityBytes(); + com.google.protobuf.ByteString getIdentityBytes(); } /** + * + * *
    * Specifies an identity for which to determine resource access, based on
    * roles assigned either directly to them or to the groups they belong to,
@@ -854,31 +958,31 @@ public interface IdentitySelectorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector}
    */
-  public static final class IdentitySelector extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class IdentitySelector extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)
       IdentitySelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use IdentitySelector.newBuilder() to construct.
     private IdentitySelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private IdentitySelector() {
       identity_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new IdentitySelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private IdentitySelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -897,19 +1001,20 @@ private IdentitySelector(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              identity_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                identity_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -917,29 +1022,33 @@ private IdentitySelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class,
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
     }
 
     public static final int IDENTITY_FIELD_NUMBER = 1;
     private volatile java.lang.Object identity_;
     /**
+     *
+     *
      * 
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -954,6 +1063,7 @@ private IdentitySelector(
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ @java.lang.Override @@ -962,14 +1072,15 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** + * + * *
      * Required. The identity appear in the form of principals in
      * [IAM policy
@@ -984,16 +1095,15 @@ public java.lang.String getIdentity() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -1002,6 +1112,7 @@ public java.lang.String getIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1013,8 +1124,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identity_); } @@ -1038,15 +1148,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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) obj; - if (!getIdentity() - .equals(other.getIdentity())) return false; + if (!getIdentity().equals(other.getIdentity())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1066,87 +1176,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector + parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1156,6 +1274,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies an identity for which to determine resource access, based on
      * roles assigned either directly to them or to the groups they belong to,
@@ -1164,38 +1284,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)
         com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.class,
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
       }
 
-      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1205,14 +1328,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance();
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1226,7 +1351,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector build()
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(this);
         result.identity_ = identity_;
         onBuilt();
         return result;
@@ -1236,46 +1362,53 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) {
-          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)other);
+          return mergeFrom(
+              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other) {
-        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector other) {
+        if (other
+            == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
+                .getDefaultInstance()) return this;
         if (!other.getIdentity().isEmpty()) {
           identity_ = other.identity_;
           onChanged();
@@ -1299,7 +1432,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1311,6 +1446,8 @@ public Builder mergeFrom(
 
       private java.lang.Object identity_ = "";
       /**
+       *
+       *
        * 
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1325,13 +1462,13 @@ public Builder mergeFrom(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -1340,6 +1477,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1354,15 +1493,14 @@ public java.lang.String getIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for identity. */ - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -1370,6 +1508,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1384,20 +1524,22 @@ public java.lang.String getIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity( - java.lang.String value) { + public Builder setIdentity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identity_ = value; onChanged(); return this; } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1412,15 +1554,18 @@ public Builder setIdentity(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIdentity() { - + identity_ = getDefaultInstance().getIdentity(); onChanged(); return this; } /** + * + * *
        * Required. The identity appear in the form of principals in
        * [IAM policy
@@ -1435,20 +1580,21 @@ public Builder clearIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes( - com.google.protobuf.ByteString value) { + public Builder setIdentityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identity_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1461,30 +1607,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentitySelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentitySelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentitySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentitySelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1496,99 +1644,122 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AccessSelectorOrBuilder extends + public interface AccessSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the roles. */ - java.util.List - getRolesList(); + java.util.List getRolesList(); /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of roles. */ int getRolesCount(); /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The roles at the given index. */ java.lang.String getRoles(int index); /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - com.google.protobuf.ByteString - getRolesBytes(int index); + com.google.protobuf.ByteString getRolesBytes(int index); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the permissions. */ - java.util.List - getPermissionsList(); + java.util.List getPermissionsList(); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString - getPermissionsBytes(int index); + com.google.protobuf.ByteString getPermissionsBytes(int index); } /** + * + * *
    * Specifies roles and/or permissions to analyze, to determine both the
    * identities possessing them and the resources they control. If multiple
@@ -1599,15 +1770,16 @@ public interface AccessSelectorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector}
    */
-  public static final class AccessSelector extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AccessSelector extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)
       AccessSelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AccessSelector.newBuilder() to construct.
     private AccessSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AccessSelector() {
       roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1615,16 +1787,15 @@ private AccessSelector() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AccessSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AccessSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1644,31 +1815,33 @@ private AccessSelector(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                roles_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  roles_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                roles_.add(s);
+                break;
               }
-              roles_.add(s);
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                permissions_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  permissions_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                permissions_.add(s);
+                break;
               }
-              permissions_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1676,8 +1849,7 @@ private AccessSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           roles_ = roles_.getUnmodifiableView();
@@ -1689,50 +1861,61 @@ private AccessSelector(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class,
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
     }
 
     public static final int ROLES_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList roles_;
     /**
+     *
+     *
      * 
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList - getRolesList() { + public com.google.protobuf.ProtocolStringList getRolesList() { return roles_; } /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -1740,50 +1923,60 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString - getRolesBytes(int index) { + public com.google.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } public static final int PERMISSIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList permissions_; /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_; } /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -1791,20 +1984,23 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1816,8 +2012,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < roles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roles_.getRaw(i)); } @@ -1857,17 +2052,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.asset.v1.IamPolicyAnalysisQuery.AccessSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) obj; - if (!getRolesList() - .equals(other.getRolesList())) return false; - if (!getPermissionsList() - .equals(other.getPermissionsList())) return false; + if (!getRolesList().equals(other.getRolesList())) return false; + if (!getPermissionsList().equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1893,87 +2087,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom( - java.io.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector + parseDelimitedFrom( + java.io.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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1983,6 +2185,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies roles and/or permissions to analyze, to determine both the
      * identities possessing them and the resources they control. If multiple
@@ -1993,38 +2197,41 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)
         com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.class,
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
       }
 
-      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2036,13 +2243,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() {
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector
+          getDefaultInstanceForType() {
         return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance();
       }
 
@@ -2057,7 +2265,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector build() {
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           roles_ = roles_.getUnmodifiableView();
@@ -2077,46 +2286,52 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector 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) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) {
-          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)other);
+          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other) {
-        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector other) {
+        if (other
+            == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance())
+          return this;
         if (!other.roles_.isEmpty()) {
           if (roles_.isEmpty()) {
             roles_ = other.roles_;
@@ -2156,7 +2371,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2165,44 +2382,55 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList roles_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureRolesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           roles_ = new com.google.protobuf.LazyStringArrayList(roles_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList - getRolesList() { + public com.google.protobuf.ProtocolStringList getRolesList() { return roles_.getUnmodifiableView(); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -2210,80 +2438,90 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString - getRolesBytes(int index) { + public com.google.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The roles to set. * @return This builder for chaining. */ - public Builder setRoles( - int index, java.lang.String value) { + public Builder setRoles(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.set(index, value); onChanged(); return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The roles to add. * @return This builder for chaining. */ - public Builder addRoles( - java.lang.String value) { + public Builder addRoles(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The roles to add. * @return This builder for chaining. */ - public Builder addAllRoles( - java.lang.Iterable values) { + public Builder addAllRoles(java.lang.Iterable values) { ensureRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, roles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, roles_); onChanged(); return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRoles() { @@ -2293,62 +2531,74 @@ public Builder clearRoles() { return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the roles to add. * @return This builder for chaining. */ - public Builder addRolesBytes( - com.google.protobuf.ByteString value) { + public Builder addRolesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList permissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_.getUnmodifiableView(); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -2356,80 +2606,90 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - int index, java.lang.String value) { + public Builder setPermissions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions( - java.lang.String value) { + public Builder addPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions( - java.lang.Iterable values) { + public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); onChanged(); return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -2439,25 +2699,28 @@ public Builder clearPermissions() { return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2470,30 +2733,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector(); } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AccessSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AccessSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2505,17 +2770,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface OptionsOrBuilder extends + public interface OptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -2529,11 +2797,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ boolean getExpandGroups(); /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -2545,11 +2816,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ boolean getExpandRoles(); /** + * + * *
      * Optional. If true and
      * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -2576,22 +2850,28 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ boolean getExpandResources(); /** + * + * *
      * Optional. If true, the result will output the relevant parent/child
      * relationships between resources. Default is false.
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ boolean getOutputResourceEdges(); /** + * + * *
      * Optional. If true, the result will output the relevant membership
      * relationships between groups and other groups, and between groups and
@@ -2599,11 +2879,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ boolean getOutputGroupEdges(); /** + * + * *
      * Optional. If true, the response will include access analysis from
      * identities to resources via service account impersonation. This is a very
@@ -2635,97 +2918,101 @@ public interface OptionsOrBuilder extends
      * Default is false.
      * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ boolean getAnalyzeServiceAccountImpersonation(); } /** + * + * *
    * Contains query options.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.Options} */ - public static final class Options extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Options extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Options() { - } + + private Options() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Options( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - 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 8: { - - expandGroups_ = input.readBool(); - break; - } - case 16: { - - expandRoles_ = input.readBool(); - break; - } - case 24: { - - expandResources_ = input.readBool(); - break; - } - case 32: { - - outputResourceEdges_ = input.readBool(); - break; - } - case 40: { - - outputGroupEdges_ = input.readBool(); - break; - } - case 48: { - - analyzeServiceAccountImpersonation_ = input.readBool(); + throw new java.lang.NullPointerException(); + } + 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + expandGroups_ = input.readBool(); + break; + } + case 16: + { + expandRoles_ = input.readBool(); + break; + } + case 24: + { + expandResources_ = input.readBool(); + break; + } + case 32: + { + outputResourceEdges_ = input.readBool(); + break; + } + case 40: + { + outputGroupEdges_ = input.readBool(); + break; + } + case 48: + { + analyzeServiceAccountImpersonation_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2733,29 +3020,33 @@ private Options( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); } public static final int EXPAND_GROUPS_FIELD_NUMBER = 1; private boolean expandGroups_; /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -2769,6 +3060,7 @@ private Options(
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -2779,6 +3071,8 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_; /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -2790,6 +3084,7 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -2800,6 +3095,8 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_; /** + * + * *
      * Optional. If true and
      * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -2826,6 +3123,7 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -2836,12 +3134,15 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_; /** + * + * *
      * Optional. If true, the result will output the relevant parent/child
      * relationships between resources. Default is false.
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ @java.lang.Override @@ -2852,6 +3153,8 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_; /** + * + * *
      * Optional. If true, the result will output the relevant membership
      * relationships between groups and other groups, and between groups and
@@ -2859,6 +3162,7 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -2869,6 +3173,8 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_; /** + * + * *
      * Optional. If true, the response will include access analysis from
      * identities to resources via service account impersonation. This is a very
@@ -2900,7 +3206,10 @@ public boolean getOutputGroupEdges() {
      * Default is false.
      * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -2909,6 +3218,7 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2920,8 +3230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (expandGroups_ != false) { output.writeBool(1, expandGroups_); } @@ -2950,28 +3259,24 @@ public int getSerializedSize() { size = 0; if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, expandGroups_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandGroups_); } if (expandRoles_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, expandRoles_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, expandRoles_); } if (expandResources_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, expandResources_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, expandResources_); } if (outputResourceEdges_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, outputResourceEdges_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outputResourceEdges_); } if (outputGroupEdges_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, outputGroupEdges_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outputGroupEdges_); } if (analyzeServiceAccountImpersonation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, analyzeServiceAccountImpersonation_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 6, analyzeServiceAccountImpersonation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2981,25 +3286,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.asset.v1.IamPolicyAnalysisQuery.Options)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) obj; - - if (getExpandGroups() - != other.getExpandGroups()) return false; - if (getExpandRoles() - != other.getExpandRoles()) return false; - if (getExpandResources() - != other.getExpandResources()) return false; - if (getOutputResourceEdges() - != other.getOutputResourceEdges()) return false; - if (getOutputGroupEdges() - != other.getOutputGroupEdges()) return false; - if (getAnalyzeServiceAccountImpersonation() - != other.getAnalyzeServiceAccountImpersonation()) return false; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options other = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) obj; + + if (getExpandGroups() != other.getExpandGroups()) return false; + if (getExpandRoles() != other.getExpandRoles()) return false; + if (getExpandResources() != other.getExpandResources()) return false; + if (getOutputResourceEdges() != other.getOutputResourceEdges()) return false; + if (getOutputGroupEdges() != other.getOutputGroupEdges()) return false; + if (getAnalyzeServiceAccountImpersonation() != other.getAnalyzeServiceAccountImpersonation()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3012,110 +3313,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); hash = (37 * hash) + EXPAND_ROLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandRoles()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandRoles()); hash = (37 * hash) + EXPAND_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandResources()); hash = (37 * hash) + OUTPUT_RESOURCE_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutputResourceEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputResourceEdges()); hash = (37 * hash) + OUTPUT_GROUP_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutputGroupEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputGroupEdges()); hash = (37 * hash) + ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAnalyzeServiceAccountImpersonation()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getAnalyzeServiceAccountImpersonation()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.Options parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisQuery.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3125,27 +3429,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains query options.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.Options} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.class, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.newBuilder() @@ -3153,16 +3462,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3182,9 +3490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_Options_descriptor; } @java.lang.Override @@ -3203,7 +3511,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(this); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options result = + new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(this); result.expandGroups_ = expandGroups_; result.expandRoles_ = expandRoles_; result.expandResources_ = expandResources_; @@ -3218,38 +3527,41 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisQuery.Options) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) other); } else { super.mergeFrom(other); return this; @@ -3257,7 +3569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance()) + return this; if (other.getExpandGroups() != false) { setExpandGroups(other.getExpandGroups()); } @@ -3295,7 +3608,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3305,8 +3619,10 @@ public Builder mergeFrom( return this; } - private boolean expandGroups_ ; + private boolean expandGroups_; /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3320,6 +3636,7 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -3327,6 +3644,8 @@ public boolean getExpandGroups() { return expandGroups_; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3340,16 +3659,19 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandGroups to set. * @return This builder for chaining. */ public Builder setExpandGroups(boolean value) { - + expandGroups_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -3363,17 +3685,20 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandGroups() { - + expandGroups_ = false; onChanged(); return this; } - private boolean expandRoles_ ; + private boolean expandRoles_; /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3385,6 +3710,7 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -3392,6 +3718,8 @@ public boolean getExpandRoles() { return expandRoles_; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3403,16 +3731,19 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandRoles to set. * @return This builder for chaining. */ public Builder setExpandRoles(boolean value) { - + expandRoles_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -3424,17 +3755,20 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandRoles() { - + expandRoles_ = false; onChanged(); return this; } - private boolean expandResources_ ; + private boolean expandResources_; /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3461,6 +3795,7 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -3468,6 +3803,8 @@ public boolean getExpandResources() { return expandResources_; } /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3494,16 +3831,19 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandResources to set. * @return This builder for chaining. */ public Builder setExpandResources(boolean value) { - + expandResources_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true and
        * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
@@ -3530,23 +3870,27 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandResources() { - + expandResources_ = false; onChanged(); return this; } - private boolean outputResourceEdges_ ; + private boolean outputResourceEdges_; /** + * + * *
        * Optional. If true, the result will output the relevant parent/child
        * relationships between resources. Default is false.
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ @java.lang.Override @@ -3554,39 +3898,47 @@ public boolean getOutputResourceEdges() { return outputResourceEdges_; } /** + * + * *
        * Optional. If true, the result will output the relevant parent/child
        * relationships between resources. Default is false.
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputResourceEdges to set. * @return This builder for chaining. */ public Builder setOutputResourceEdges(boolean value) { - + outputResourceEdges_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output the relevant parent/child
        * relationships between resources. Default is false.
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputResourceEdges() { - + outputResourceEdges_ = false; onChanged(); return this; } - private boolean outputGroupEdges_ ; + private boolean outputGroupEdges_; /** + * + * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3594,6 +3946,7 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -3601,6 +3954,8 @@ public boolean getOutputGroupEdges() { return outputGroupEdges_; } /** + * + * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3608,16 +3963,19 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ public Builder setOutputGroupEdges(boolean value) { - + outputGroupEdges_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output the relevant membership
        * relationships between groups and other groups, and between groups and
@@ -3625,17 +3983,20 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { - + outputGroupEdges_ = false; onChanged(); return this; } - private boolean analyzeServiceAccountImpersonation_ ; + private boolean analyzeServiceAccountImpersonation_; /** + * + * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -3667,7 +4028,10 @@ public Builder clearOutputGroupEdges() {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -3675,6 +4039,8 @@ public boolean getAnalyzeServiceAccountImpersonation() { return analyzeServiceAccountImpersonation_; } /** + * + * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -3706,17 +4072,22 @@ public boolean getAnalyzeServiceAccountImpersonation() {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The analyzeServiceAccountImpersonation to set. * @return This builder for chaining. */ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { - + analyzeServiceAccountImpersonation_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the response will include access analysis from
        * identities to resources via service account impersonation. This is a very
@@ -3748,15 +4119,19 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearAnalyzeServiceAccountImpersonation() { - + analyzeServiceAccountImpersonation_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3769,12 +4144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.Options) private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options(); } @@ -3783,16 +4158,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Options(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Options(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3807,14 +4182,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConditionContextOrBuilder extends + public interface ConditionContextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -3822,10 +4199,13 @@ public interface ConditionContextOrBuilder extends
      * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ boolean hasAccessTime(); /** + * + * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -3833,10 +4213,13 @@ public interface ConditionContextOrBuilder extends
      * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return The accessTime. */ com.google.protobuf.Timestamp getAccessTime(); /** + * + * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -3847,39 +4230,41 @@ public interface ConditionContextOrBuilder extends
      */
     com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder();
 
-    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.TimeContextCase getTimeContextCase();
+    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.TimeContextCase
+        getTimeContextCase();
   }
   /**
+   *
+   *
    * 
    * The IAM conditions context.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext} */ - public static final class ConditionContext extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConditionContext extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) ConditionContextOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConditionContext.newBuilder() to construct. private ConditionContext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConditionContext() { - } + + private ConditionContext() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConditionContext(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConditionContext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3898,27 +4283,28 @@ private ConditionContext( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (timeContextCase_ == 1) { - subBuilder = ((com.google.protobuf.Timestamp) timeContext_).toBuilder(); - } - timeContext_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) timeContext_); - timeContext_ = subBuilder.buildPartial(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (timeContextCase_ == 1) { + subBuilder = ((com.google.protobuf.Timestamp) timeContext_).toBuilder(); + } + timeContext_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) timeContext_); + timeContext_ = subBuilder.buildPartial(); + } + timeContextCase_ = 1; + break; } - timeContextCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3926,34 +4312,39 @@ private ConditionContext( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); } private int timeContextCase_ = 0; private java.lang.Object timeContext_; + public enum TimeContextCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ACCESS_TIME(1), TIMECONTEXT_NOT_SET(0); private final int value; + private TimeContextCase(int value) { this.value = value; } @@ -3969,24 +4360,28 @@ public static TimeContextCase valueOf(int value) { public static TimeContextCase forNumber(int value) { switch (value) { - case 1: return ACCESS_TIME; - case 0: return TIMECONTEXT_NOT_SET; - default: return null; + case 1: + return ACCESS_TIME; + case 0: + return TIMECONTEXT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TimeContextCase - getTimeContextCase() { - return TimeContextCase.forNumber( - timeContextCase_); + public TimeContextCase getTimeContextCase() { + return TimeContextCase.forNumber(timeContextCase_); } public static final int ACCESS_TIME_FIELD_NUMBER = 1; /** + * + * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -3994,6 +4389,7 @@ public int getNumber() {
      * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4001,6 +4397,8 @@ public boolean hasAccessTime() { return timeContextCase_ == 1; } /** + * + * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4008,16 +4406,19 @@ public boolean hasAccessTime() {
      * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return The accessTime. */ @java.lang.Override public com.google.protobuf.Timestamp getAccessTime() { if (timeContextCase_ == 1) { - return (com.google.protobuf.Timestamp) timeContext_; + return (com.google.protobuf.Timestamp) timeContext_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
      * The hypothetical access timestamp to evaluate IAM conditions. Note that
      * this value must not be earlier than the current time; otherwise, an
@@ -4029,12 +4430,13 @@ public com.google.protobuf.Timestamp getAccessTime() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder() {
       if (timeContextCase_ == 1) {
-         return (com.google.protobuf.Timestamp) timeContext_;
+        return (com.google.protobuf.Timestamp) timeContext_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4046,8 +4448,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (timeContextCase_ == 1) {
         output.writeMessage(1, (com.google.protobuf.Timestamp) timeContext_);
       }
@@ -4061,8 +4462,9 @@ public int getSerializedSize() {
 
       size = 0;
       if (timeContextCase_ == 1) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, (com.google.protobuf.Timestamp) timeContext_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                1, (com.google.protobuf.Timestamp) timeContext_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -4072,18 +4474,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.asset.v1.IamPolicyAnalysisQuery.ConditionContext)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) obj;
+      com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other =
+          (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) obj;
 
       if (!getTimeContextCase().equals(other.getTimeContextCase())) return false;
       switch (timeContextCase_) {
         case 1:
-          if (!getAccessTime()
-              .equals(other.getAccessTime())) return false;
+          if (!getAccessTime().equals(other.getAccessTime())) return false;
           break;
         case 0:
         default:
@@ -4113,87 +4515,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.nio.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        byte[] data,
-        com.google.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseDelimitedFrom(
-        java.io.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext
+        parseDelimitedFrom(
+            java.io.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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .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.asset.v1.IamPolicyAnalysisQuery.ConditionContext parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -4203,44 +4613,49 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * The IAM conditions context.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.class, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder.class); } - // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder() + // Construct using + // com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -4250,14 +4665,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_ConditionContext_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext + .getDefaultInstance(); } @java.lang.Override @@ -4271,7 +4688,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext build() @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext(this); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext result = + new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext(this); if (timeContextCase_ == 1) { if (accessTimeBuilder_ == null) { result.timeContext_ = timeContext_; @@ -4288,54 +4706,63 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext 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.asset.v1.IamPolicyAnalysisQuery.ConditionContext) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext)other); + return mergeFrom( + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext other) { + if (other + == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext + .getDefaultInstance()) return this; switch (other.getTimeContextCase()) { - case ACCESS_TIME: { - mergeAccessTime(other.getAccessTime()); - break; - } - case TIMECONTEXT_NOT_SET: { - break; - } + case ACCESS_TIME: + { + mergeAccessTime(other.getAccessTime()); + break; + } + case TIMECONTEXT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4356,7 +4783,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4365,12 +4794,12 @@ public Builder mergeFrom( } return this; } + private int timeContextCase_ = 0; private java.lang.Object timeContext_; - public TimeContextCase - getTimeContextCase() { - return TimeContextCase.forNumber( - timeContextCase_); + + public TimeContextCase getTimeContextCase() { + return TimeContextCase.forNumber(timeContextCase_); } public Builder clearTimeContext() { @@ -4380,10 +4809,14 @@ public Builder clearTimeContext() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> accessTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + accessTimeBuilder_; /** + * + * *
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4391,6 +4824,7 @@ public Builder clearTimeContext() {
        * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return Whether the accessTime field is set. */ @java.lang.Override @@ -4398,6 +4832,8 @@ public boolean hasAccessTime() { return timeContextCase_ == 1; } /** + * + * *
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4405,6 +4841,7 @@ public boolean hasAccessTime() {
        * 
* * .google.protobuf.Timestamp access_time = 1; + * * @return The accessTime. */ @java.lang.Override @@ -4422,6 +4859,8 @@ public com.google.protobuf.Timestamp getAccessTime() { } } /** + * + * *
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4444,6 +4883,8 @@ public Builder setAccessTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4452,8 +4893,7 @@ public Builder setAccessTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp access_time = 1;
        */
-      public Builder setAccessTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setAccessTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (accessTimeBuilder_ == null) {
           timeContext_ = builderForValue.build();
           onChanged();
@@ -4464,6 +4904,8 @@ public Builder setAccessTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4474,10 +4916,13 @@ public Builder setAccessTime(
        */
       public Builder mergeAccessTime(com.google.protobuf.Timestamp value) {
         if (accessTimeBuilder_ == null) {
-          if (timeContextCase_ == 1 &&
-              timeContext_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            timeContext_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) timeContext_)
-                .mergeFrom(value).buildPartial();
+          if (timeContextCase_ == 1
+              && timeContext_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            timeContext_ =
+                com.google.protobuf.Timestamp.newBuilder(
+                        (com.google.protobuf.Timestamp) timeContext_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             timeContext_ = value;
           }
@@ -4493,6 +4938,8 @@ public Builder mergeAccessTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4518,6 +4965,8 @@ public Builder clearAccessTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4530,6 +4979,8 @@ public com.google.protobuf.Timestamp.Builder getAccessTimeBuilder() {
         return getAccessTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4550,6 +5001,8 @@ public com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * The hypothetical access timestamp to evaluate IAM conditions. Note that
        * this value must not be earlier than the current time; otherwise, an
@@ -4559,23 +5012,28 @@ public com.google.protobuf.TimestampOrBuilder getAccessTimeOrBuilder() {
        * .google.protobuf.Timestamp access_time = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getAccessTimeFieldBuilder() {
         if (accessTimeBuilder_ == null) {
           if (!(timeContextCase_ == 1)) {
             timeContext_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          accessTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  (com.google.protobuf.Timestamp) timeContext_,
-                  getParentForChildren(),
-                  isClean());
+          accessTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  (com.google.protobuf.Timestamp) timeContext_, getParentForChildren(), isClean());
           timeContext_ = null;
         }
         timeContextCase_ = 1;
-        onChanged();;
+        onChanged();
+        ;
         return accessTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4588,30 +5046,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext)
-    private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext DEFAULT_INSTANCE;
+    private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext();
     }
 
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefaultInstance() {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ConditionContext parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new ConditionContext(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ConditionContext parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new ConditionContext(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4623,15 +5083,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int SCOPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object scope_;
   /**
+   *
+   *
    * 
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -4645,6 +5107,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getDefa
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -4653,14 +5116,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -4674,16 +5138,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -4694,11 +5157,16 @@ public java.lang.String getScope() { public static final int RESOURCE_SELECTOR_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; /** + * + * *
    * Optional. Specifies a resource for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceSelector field is set. */ @java.lang.Override @@ -4706,37 +5174,54 @@ public boolean hasResourceSelector() { return resourceSelector_ != null; } /** + * + * *
    * Optional. Specifies a resource for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceSelector. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { - return resourceSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + return resourceSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() + : resourceSelector_; } /** + * + * *
    * Optional. Specifies a resource for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder() { return getResourceSelector(); } public static final int IDENTITY_SELECTOR_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; /** + * + * *
    * Optional. Specifies an identity for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the identitySelector field is set. */ @java.lang.Override @@ -4744,37 +5229,54 @@ public boolean hasIdentitySelector() { return identitySelector_ != null; } /** + * + * *
    * Optional. Specifies an identity for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The identitySelector. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { - return identitySelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + return identitySelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() + : identitySelector_; } /** + * + * *
    * Optional. Specifies an identity for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder() { return getIdentitySelector(); } public static final int ACCESS_SELECTOR_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; /** + * + * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the accessSelector field is set. */ @java.lang.Override @@ -4782,37 +5284,54 @@ public boolean hasAccessSelector() { return accessSelector_ != null; } /** + * + * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The accessSelector. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { - return accessSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + return accessSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() + : accessSelector_; } /** + * + * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder() { return getAccessSelector(); } public static final int OPTIONS_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options_; /** + * + * *
    * Optional. The query options.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ @java.lang.Override @@ -4820,23 +5339,34 @@ public boolean hasOptions() { return options_ != null; } /** + * + * *
    * Optional. The query options.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getOptions() { - return options_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() + : options_; } /** + * + * *
    * Optional. The query options.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder() { @@ -4846,11 +5376,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOpti public static final int CONDITION_CONTEXT_FIELD_NUMBER = 6; private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext conditionContext_; /** + * + * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the conditionContext field is set. */ @java.lang.Override @@ -4858,30 +5393,43 @@ public boolean hasConditionContext() { return conditionContext_ != null; } /** + * + * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The conditionContext. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getConditionContext() { - return conditionContext_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; + return conditionContext_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() + : conditionContext_; } /** + * + * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder + getConditionContextOrBuilder() { return getConditionContext(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4893,8 +5441,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -4926,24 +5473,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scope_); } if (resourceSelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResourceSelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResourceSelector()); } if (identitySelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getIdentitySelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIdentitySelector()); } if (accessSelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAccessSelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAccessSelector()); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOptions()); } if (conditionContext_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getConditionContext()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getConditionContext()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4953,39 +5495,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisQuery)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisQuery other = (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery other = + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) obj; - if (!getScope() - .equals(other.getScope())) return false; + if (!getScope().equals(other.getScope())) return false; if (hasResourceSelector() != other.hasResourceSelector()) return false; if (hasResourceSelector()) { - if (!getResourceSelector() - .equals(other.getResourceSelector())) return false; + if (!getResourceSelector().equals(other.getResourceSelector())) return false; } if (hasIdentitySelector() != other.hasIdentitySelector()) return false; if (hasIdentitySelector()) { - if (!getIdentitySelector() - .equals(other.getIdentitySelector())) return false; + if (!getIdentitySelector().equals(other.getIdentitySelector())) return false; } if (hasAccessSelector() != other.hasAccessSelector()) return false; if (hasAccessSelector()) { - if (!getAccessSelector() - .equals(other.getAccessSelector())) return false; + if (!getAccessSelector().equals(other.getAccessSelector())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions() - .equals(other.getOptions())) return false; + if (!getOptions().equals(other.getOptions())) return false; } if (hasConditionContext() != other.hasConditionContext()) return false; if (hasConditionContext()) { - if (!getConditionContext() - .equals(other.getConditionContext())) return false; + if (!getConditionContext().equals(other.getConditionContext())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5025,118 +5562,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisQuery parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IAM policy analysis query message.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisQuery) com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.class, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder() @@ -5144,16 +5690,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -5193,9 +5738,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override @@ -5214,7 +5759,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery result = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(this); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery result = + new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(this); result.scope_ = scope_; if (resourceSelectorBuilder_ == null) { result.resourceSelector_ = resourceSelector_; @@ -5249,38 +5795,39 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisQuery) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) other); } else { super.mergeFrom(other); return this; @@ -5288,7 +5835,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisQuery other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) + return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -5339,6 +5887,8 @@ public Builder mergeFrom( private java.lang.Object scope_ = ""; /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5352,13 +5902,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -5367,6 +5917,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5380,15 +5932,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -5396,6 +5947,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5409,20 +5962,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5436,15 +5991,18 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM
      * policies within the scope will be analyzed.
@@ -5458,16 +6016,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -5475,41 +6033,61 @@ public Builder setScopeBytes( private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> resourceSelectorBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> + resourceSelectorBuilder_; /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceSelector field is set. */ public boolean hasResourceSelector() { return resourceSelectorBuilder_ != null || resourceSelector_ != null; } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceSelector. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { if (resourceSelectorBuilder_ == null) { - return resourceSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + return resourceSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() + : resourceSelector_; } else { return resourceSelectorBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setResourceSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder setResourceSelector( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5523,11 +6101,15 @@ public Builder setResourceSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQu return this; } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setResourceSelector( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue) { @@ -5541,17 +6123,25 @@ public Builder setResourceSelector( return this; } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeResourceSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder mergeResourceSelector( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (resourceSelector_ != null) { resourceSelector_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder(resourceSelector_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder( + resourceSelector_) + .mergeFrom(value) + .buildPartial(); } else { resourceSelector_ = value; } @@ -5563,11 +6153,15 @@ public Builder mergeResourceSelector(com.google.cloud.asset.v1.IamPolicyAnalysis return this; } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearResourceSelector() { if (resourceSelectorBuilder_ == null) { @@ -5581,48 +6175,66 @@ public Builder clearResourceSelector() { return this; } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder getResourceSelectorBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder + getResourceSelectorBuilder() { + onChanged(); return getResourceSelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder() { if (resourceSelectorBuilder_ != null) { return resourceSelectorBuilder_.getMessageOrBuilder(); } else { - return resourceSelector_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + return resourceSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() + : resourceSelector_; } } /** + * + * *
      * Optional. Specifies a resource for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> getResourceSelectorFieldBuilder() { if (resourceSelectorBuilder_ == null) { - resourceSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( - getResourceSelector(), - getParentForChildren(), - isClean()); + resourceSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( + getResourceSelector(), getParentForChildren(), isClean()); resourceSelector_ = null; } return resourceSelectorBuilder_; @@ -5630,41 +6242,61 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilde private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> identitySelectorBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> + identitySelectorBuilder_; /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the identitySelector field is set. */ public boolean hasIdentitySelector() { return identitySelectorBuilder_ != null || identitySelector_ != null; } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The identitySelector. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { if (identitySelectorBuilder_ == null) { - return identitySelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + return identitySelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() + : identitySelector_; } else { return identitySelectorBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIdentitySelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder setIdentitySelector( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5678,11 +6310,15 @@ public Builder setIdentitySelector(com.google.cloud.asset.v1.IamPolicyAnalysisQu return this; } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIdentitySelector( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue) { @@ -5696,17 +6332,25 @@ public Builder setIdentitySelector( return this; } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeIdentitySelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder mergeIdentitySelector( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (identitySelector_ != null) { identitySelector_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder(identitySelector_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder( + identitySelector_) + .mergeFrom(value) + .buildPartial(); } else { identitySelector_ = value; } @@ -5718,11 +6362,15 @@ public Builder mergeIdentitySelector(com.google.cloud.asset.v1.IamPolicyAnalysis return this; } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIdentitySelector() { if (identitySelectorBuilder_ == null) { @@ -5736,48 +6384,66 @@ public Builder clearIdentitySelector() { return this; } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder getIdentitySelectorBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder + getIdentitySelectorBuilder() { + onChanged(); return getIdentitySelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder() { if (identitySelectorBuilder_ != null) { return identitySelectorBuilder_.getMessageOrBuilder(); } else { - return identitySelector_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + return identitySelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() + : identitySelector_; } } /** + * + * *
      * Optional. Specifies an identity for analysis.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> getIdentitySelectorFieldBuilder() { if (identitySelectorBuilder_ == null) { - identitySelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( - getIdentitySelector(), - getParentForChildren(), - isClean()); + identitySelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( + getIdentitySelector(), getParentForChildren(), isClean()); identitySelector_ = null; } return identitySelectorBuilder_; @@ -5785,41 +6451,61 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilde private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> accessSelectorBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> + accessSelectorBuilder_; /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the accessSelector field is set. */ public boolean hasAccessSelector() { return accessSelectorBuilder_ != null || accessSelector_ != null; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The accessSelector. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { if (accessSelectorBuilder_ == null) { - return accessSelector_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + return accessSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() + : accessSelector_; } else { return accessSelectorBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAccessSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder setAccessSelector( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5833,11 +6519,15 @@ public Builder setAccessSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuer return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAccessSelector( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue) { @@ -5851,17 +6541,25 @@ public Builder setAccessSelector( return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeAccessSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder mergeAccessSelector( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (accessSelector_ != null) { accessSelector_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder(accessSelector_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.newBuilder( + accessSelector_) + .mergeFrom(value) + .buildPartial(); } else { accessSelector_ = value; } @@ -5873,11 +6571,15 @@ public Builder mergeAccessSelector(com.google.cloud.asset.v1.IamPolicyAnalysisQu return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAccessSelector() { if (accessSelectorBuilder_ == null) { @@ -5891,48 +6593,66 @@ public Builder clearAccessSelector() { return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder getAccessSelectorBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder + getAccessSelectorBuilder() { + onChanged(); return getAccessSelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder() { if (accessSelectorBuilder_ != null) { return accessSelectorBuilder_.getMessageOrBuilder(); } else { - return accessSelector_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + return accessSelector_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() + : accessSelector_; } } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. This is optional.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> getAccessSelectorFieldBuilder() { if (accessSelectorBuilder_ == null) { - accessSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( - getAccessSelector(), - getParentForChildren(), - isClean()); + accessSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( + getAccessSelector(), getParentForChildren(), isClean()); accessSelector_ = null; } return accessSelectorBuilder_; @@ -5940,39 +6660,58 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> optionsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> + optionsBuilder_; /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() + : options_; } else { return optionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options value) { if (optionsBuilder_ == null) { @@ -5988,11 +6727,15 @@ public Builder setOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Optio return this; } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setOptions( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder builderForValue) { @@ -6006,17 +6749,23 @@ public Builder setOptions( return this; } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.newBuilder(options_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.newBuilder(options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -6028,11 +6777,15 @@ public Builder mergeOptions(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Opt return this; } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearOptions() { if (optionsBuilder_ == null) { @@ -6046,48 +6799,64 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder getOptionsBuilder() { - + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.getDefaultInstance() + : options_; } } /** + * + * *
      * Optional. The query options.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder>( - getOptions(), - getParentForChildren(), - isClean()); + optionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder>( + getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; @@ -6095,41 +6864,61 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOpti private com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext conditionContext_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> conditionContextBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> + conditionContextBuilder_; /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the conditionContext field is set. */ public boolean hasConditionContext() { return conditionContextBuilder_ != null || conditionContext_ != null; } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The conditionContext. */ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getConditionContext() { if (conditionContextBuilder_ == null) { - return conditionContext_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; + return conditionContext_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() + : conditionContext_; } else { return conditionContextBuilder_.getMessage(); } } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setConditionContext(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { + public Builder setConditionContext( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { if (conditionContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6143,11 +6932,15 @@ public Builder setConditionContext(com.google.cloud.asset.v1.IamPolicyAnalysisQu return this; } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setConditionContext( com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder builderForValue) { @@ -6161,17 +6954,25 @@ public Builder setConditionContext( return this; } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeConditionContext(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { + public Builder mergeConditionContext( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext value) { if (conditionContextBuilder_ == null) { if (conditionContext_ != null) { conditionContext_ = - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder(conditionContext_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.newBuilder( + conditionContext_) + .mergeFrom(value) + .buildPartial(); } else { conditionContext_ = value; } @@ -6183,11 +6984,15 @@ public Builder mergeConditionContext(com.google.cloud.asset.v1.IamPolicyAnalysis return this; } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearConditionContext() { if (conditionContextBuilder_ == null) { @@ -6201,55 +7006,73 @@ public Builder clearConditionContext() { return this; } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder getConditionContextBuilder() { - + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder + getConditionContextBuilder() { + onChanged(); return getConditionContextFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder() { + public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder + getConditionContextOrBuilder() { if (conditionContextBuilder_ != null) { return conditionContextBuilder_.getMessageOrBuilder(); } else { - return conditionContext_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() : conditionContext_; + return conditionContext_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.getDefaultInstance() + : conditionContext_; } } /** + * + * *
      * Optional. The hypothetical context for IAM conditions evaluation.
      * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder> getConditionContextFieldBuilder() { if (conditionContextBuilder_ == null) { - conditionContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder>( - getConditionContext(), - getParentForChildren(), - isClean()); + conditionContextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder>( + getConditionContext(), getParentForChildren(), isClean()); conditionContext_ = null; } return conditionContextBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6259,12 +7082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisQuery) private static final com.google.cloud.asset.v1.IamPolicyAnalysisQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisQuery(); } @@ -6273,16 +7096,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisQuery getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisQuery(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisQuery(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6297,6 +7120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java index ed674b920..9d5e56d59 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisQueryOrBuilder extends +public interface IamPolicyAnalysisQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -21,10 +39,13 @@ public interface IamPolicyAnalysisQueryOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. The relative name of the root asset. Only resources and IAM
    * policies within the scope will be analyzed.
@@ -38,143 +59,217 @@ public interface IamPolicyAnalysisQueryOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional. Specifies a resource for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceSelector field is set. */ boolean hasResourceSelector(); /** + * + * *
    * Optional. Specifies a resource for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceSelector. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector(); /** + * + * *
    * Optional. Specifies a resource for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder(); /** + * + * *
    * Optional. Specifies an identity for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the identitySelector field is set. */ boolean hasIdentitySelector(); /** + * + * *
    * Optional. Specifies an identity for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The identitySelector. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector(); /** + * + * *
    * Optional. Specifies an identity for analysis.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder(); /** + * + * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the accessSelector field is set. */ boolean hasAccessSelector(); /** + * + * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The accessSelector. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector(); /** + * + * *
    * Optional. Specifies roles or permissions for analysis. This is optional.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder(); /** + * + * *
    * Optional. The query options.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ boolean hasOptions(); /** + * + * *
    * Optional. The query options.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Options getOptions(); /** + * + * *
    * Optional. The query options.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.OptionsOrBuilder getOptionsOrBuilder(); /** + * + * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the conditionContext field is set. */ boolean hasConditionContext(); /** + * + * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The conditionContext. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext getConditionContext(); /** + * + * *
    * Optional. The hypothetical context for IAM conditions evaluation.
    * 
* - * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder getConditionContextOrBuilder(); + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContextOrBuilder + getConditionContextOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java index 751df6709..49581224e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * IAM Policy analysis result, consisting of one IAM policy binding and derived
  * access control lists.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult}
  */
-public final class IamPolicyAnalysisResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IamPolicyAnalysisResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult)
     IamPolicyAnalysisResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IamPolicyAnalysisResult.newBuilder() to construct.
   private IamPolicyAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private IamPolicyAnalysisResult() {
     attachedResourceFullName_ = "";
     accessControlLists_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private IamPolicyAnalysisResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private IamPolicyAnalysisResult(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,59 +73,72 @@ private IamPolicyAnalysisResult(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            attachedResourceFullName_ = s;
-            break;
-          }
-          case 18: {
-            com.google.iam.v1.Binding.Builder subBuilder = null;
-            if (iamBinding_ != null) {
-              subBuilder = iamBinding_.toBuilder();
-            }
-            iamBinding_ = input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(iamBinding_);
-              iamBinding_ = subBuilder.buildPartial();
+              attachedResourceFullName_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.iam.v1.Binding.Builder subBuilder = null;
+              if (iamBinding_ != null) {
+                subBuilder = iamBinding_.toBuilder();
+              }
+              iamBinding_ =
+                  input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(iamBinding_);
+                iamBinding_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              accessControlLists_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            accessControlLists_.add(
-                input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder subBuilder = null;
-            if (identityList_ != null) {
-              subBuilder = identityList_.toBuilder();
+              break;
             }
-            identityList_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(identityList_);
-              identityList_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                accessControlLists_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              accessControlLists_.add(
+                  input.readMessage(
+                      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.parser(),
+                      extensionRegistry));
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder subBuilder =
+                  null;
+              if (identityList_ != null) {
+                subBuilder = identityList_.toBuilder();
+              }
+              identityList_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(identityList_);
+                identityList_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 40: {
-
-            fullyExplored_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          case 40:
+            {
+              fullyExplored_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,8 +146,7 @@ private IamPolicyAnalysisResult(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         accessControlLists_ = java.util.Collections.unmodifiableList(accessControlLists_);
@@ -126,64 +155,81 @@ private IamPolicyAnalysisResult(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.class,
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
   }
 
-  public interface ResourceOrBuilder extends
+  public interface ResourceOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); /** + * + * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** + * + * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return The analysisState. */ com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState(); /** + * + * *
      * The analysis state of this resource.
      * 
@@ -193,37 +239,39 @@ public interface ResourceOrBuilder extends com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder(); } /** + * + * *
    * A Google Cloud resource under analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Resource} */ - public static final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Resource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Resource() { fullResourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -242,32 +290,37 @@ private Resource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); + fullResourceName_ = s; + break; } - analysisState_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); + } + analysisState_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -275,35 +328,40 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fullResourceName_; /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -312,30 +370,30 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -346,11 +404,14 @@ public java.lang.String getFullResourceName() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; /** + * + * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -358,18 +419,25 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** + * + * *
      * The analysis state of this resource.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return The analysisState. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } /** + * + * *
      * The analysis state of this resource.
      * 
@@ -382,6 +450,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,8 +462,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -414,8 +482,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullResourceName_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -425,19 +492,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.asset.v1.IamPolicyAnalysisResult.Resource)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource other = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) obj; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState() - .equals(other.getAnalysisState())) return false; + if (!getAnalysisState().equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -462,87 +528,94 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Resource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -552,27 +625,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A Google Cloud resource under analysis.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Resource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.newBuilder() @@ -580,16 +658,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -605,13 +682,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource + getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance(); } @@ -626,7 +704,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(this); result.fullResourceName_ = fullResourceName_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -641,38 +720,41 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisResult.Resource) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) other); } else { super.mergeFrom(other); return this; @@ -680,7 +762,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()) return this; + if (other + == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()) + return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; onChanged(); @@ -707,7 +791,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -719,19 +804,21 @@ public Builder mergeFrom( private java.lang.Object fullResourceName_ = ""; /** + * + * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -740,21 +827,22 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -762,57 +850,64 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { + public Builder setFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** + * + * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** + * + * *
        * The [full resource
        * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
        * 
* * string full_resource_name = 1; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; @@ -820,34 +915,47 @@ public Builder setFullResourceNameBytes( private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> analysisStateBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + analysisStateBuilder_; /** + * + * *
        * The analysis state of this resource.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** + * + * *
        * The analysis state of this resource.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return The analysisState. */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -868,6 +976,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -886,6 +996,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -896,7 +1008,9 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_) + .mergeFrom(value) + .buildPartial(); } else { analysisState_ = value; } @@ -908,6 +1022,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -926,6 +1042,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -933,11 +1051,13 @@ public Builder clearAnalysisState() { * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisStateBuilder() { - + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -948,11 +1068,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } } /** + * + * *
        * The analysis state of this resource.
        * 
@@ -960,18 +1083,22 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( - getAnalysisState(), - getParentForChildren(), - isClean()); + analysisStateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + getAnalysisState(), getParentForChildren(), isClean()); analysisState_ = null; } return analysisStateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -984,12 +1111,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Resource) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource(); } @@ -998,16 +1126,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,90 +1150,114 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AccessOrBuilder extends + public interface AccessOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Access) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return Whether the role field is set. */ boolean hasRole(); /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The role. */ java.lang.String getRole(); /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The bytes for role. */ - com.google.protobuf.ByteString - getRoleBytes(); + com.google.protobuf.ByteString getRoleBytes(); /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return Whether the permission field is set. */ boolean hasPermission(); /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The permission. */ java.lang.String getPermission(); /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The bytes for permission. */ - com.google.protobuf.ByteString - getPermissionBytes(); + com.google.protobuf.ByteString getPermissionBytes(); /** + * + * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; + * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** + * + * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; + * * @return The analysisState. */ com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState(); /** + * + * *
      * The analysis state of this access.
      * 
@@ -1114,39 +1266,41 @@ public interface AccessOrBuilder extends */ com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder(); - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase(); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.OneofAccessCase + getOneofAccessCase(); } /** + * + * *
    * An IAM role or permission under analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Access} */ - public static final class Access extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Access extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.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() { - } + + 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) @@ -1165,38 +1319,44 @@ private Access( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 1; - oneofAccess_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 2; - oneofAccess_ = s; - break; - } - case 26: { - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 1; + oneofAccess_ = s; + break; } - analysisState_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 2; + oneofAccess_ = s; + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); + } + analysisState_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1204,35 +1364,40 @@ 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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); } private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; + public enum OneofAccessCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROLE(1), PERMISSION(2), ONEOFACCESS_NOT_SET(0); private final int value; + private OneofAccessCase(int value) { this.value = value; } @@ -1248,41 +1413,50 @@ public static OneofAccessCase valueOf(int value) { public static OneofAccessCase forNumber(int value) { switch (value) { - case 1: return ROLE; - case 2: return PERMISSION; - case 0: return ONEOFACCESS_NOT_SET; - default: return null; + case 1: + return ROLE; + case 2: + return PERMISSION; + case 0: + return ONEOFACCESS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneofAccessCase - getOneofAccessCase() { - return OneofAccessCase.forNumber( - oneofAccessCase_); + public OneofAccessCase getOneofAccessCase() { + return OneofAccessCase.forNumber(oneofAccessCase_); } public static final int ROLE_FIELD_NUMBER = 1; /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return Whether the role field is set. */ public boolean hasRole() { return oneofAccessCase_ == 1; } /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The role. */ public java.lang.String getRole() { @@ -1293,8 +1467,7 @@ 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(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -1303,23 +1476,24 @@ public java.lang.String getRole() { } } /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The bytes for role. */ - public com.google.protobuf.ByteString - getRoleBytes() { + public com.google.protobuf.ByteString getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -1331,22 +1505,28 @@ public java.lang.String getRole() { public static final int PERMISSION_FIELD_NUMBER = 2; /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return Whether the permission field is set. */ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The permission. */ public java.lang.String getPermission() { @@ -1357,8 +1537,7 @@ public java.lang.String getPermission() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -1367,23 +1546,24 @@ public java.lang.String getPermission() { } } /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The bytes for permission. */ - public com.google.protobuf.ByteString - getPermissionBytes() { + public com.google.protobuf.ByteString getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -1396,11 +1576,14 @@ public java.lang.String getPermission() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; /** + * + * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; + * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -1408,18 +1591,25 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** + * + * *
      * The analysis state of this access.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; + * * @return The analysisState. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } /** + * + * *
      * The analysis state of this access.
      * 
@@ -1432,6 +1622,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1443,8 +1634,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneofAccessCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneofAccess_); } @@ -1470,8 +1660,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oneofAccess_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1481,27 +1670,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.asset.v1.IamPolicyAnalysisResult.Access)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access other = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) obj; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState() - .equals(other.getAnalysisState())) return false; + if (!getAnalysisState().equals(other.getAnalysisState())) return false; } if (!getOneofAccessCase().equals(other.getOneofAccessCase())) return false; switch (oneofAccessCase_) { case 1: - if (!getRole() - .equals(other.getRole())) return false; + if (!getRole().equals(other.getRole())) return false; break; case 2: - if (!getPermission() - .equals(other.getPermission())) return false; + if (!getPermission().equals(other.getPermission())) return false; break; case 0: default: @@ -1539,87 +1726,94 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.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 @@ -1629,27 +1823,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An IAM role or permission under analysis.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.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.asset.v1.IamPolicyAnalysisResult.Access) com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.newBuilder() @@ -1657,16 +1856,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1682,9 +1880,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override @@ -1703,7 +1901,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(this); if (oneofAccessCase_ == 1) { result.oneofAccess_ = oneofAccess_; } @@ -1724,38 +1923,41 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) other); } else { super.mergeFrom(other); return this; @@ -1763,26 +1965,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance()) + return this; if (other.hasAnalysisState()) { mergeAnalysisState(other.getAnalysisState()); } switch (other.getOneofAccessCase()) { - case ROLE: { - oneofAccessCase_ = 1; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case PERMISSION: { - oneofAccessCase_ = 2; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case ONEOFACCESS_NOT_SET: { - break; - } + case ROLE: + { + oneofAccessCase_ = 1; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case PERMISSION: + { + oneofAccessCase_ = 2; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case ONEOFACCESS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1803,7 +2009,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1812,12 +2019,12 @@ public Builder mergeFrom( } return this; } + private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; - public OneofAccessCase - getOneofAccessCase() { - return OneofAccessCase.forNumber( - oneofAccessCase_); + + public OneofAccessCase getOneofAccessCase() { + return OneofAccessCase.forNumber(oneofAccessCase_); } public Builder clearOneofAccess() { @@ -1827,13 +2034,15 @@ public Builder clearOneofAccess() { return this; } - /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return Whether the role field is set. */ @java.lang.Override @@ -1841,11 +2050,14 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return The role. */ @java.lang.Override @@ -1855,8 +2067,7 @@ public java.lang.String getRole() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -1867,24 +2078,25 @@ public java.lang.String getRole() { } } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return The bytes for role. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoleBytes() { + public com.google.protobuf.ByteString getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -1894,30 +2106,35 @@ public java.lang.String getRole() { } } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @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(); - } - oneofAccessCase_ = 1; + throw new NullPointerException(); + } + oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); return this; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return This builder for chaining. */ public Builder clearRole() { @@ -1929,20 +2146,22 @@ public Builder clearRole() { return this; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @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); oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); @@ -1950,11 +2169,14 @@ public Builder setRoleBytes( } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return Whether the permission field is set. */ @java.lang.Override @@ -1962,11 +2184,14 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return The permission. */ @java.lang.Override @@ -1976,8 +2201,7 @@ public java.lang.String getPermission() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -1988,24 +2212,25 @@ public java.lang.String getPermission() { } } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return The bytes for permission. */ @java.lang.Override - public com.google.protobuf.ByteString - getPermissionBytes() { + public com.google.protobuf.ByteString getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -2015,30 +2240,35 @@ public java.lang.String getPermission() { } } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @param value The permission to set. * @return This builder for chaining. */ - public Builder setPermission( - java.lang.String value) { + public Builder setPermission(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneofAccessCase_ = 2; + throw new NullPointerException(); + } + oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); return this; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return This builder for chaining. */ public Builder clearPermission() { @@ -2050,20 +2280,22 @@ public Builder clearPermission() { return this; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @param value The bytes for permission to set. * @return This builder for chaining. */ - public Builder setPermissionBytes( - com.google.protobuf.ByteString value) { + public Builder setPermissionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); @@ -2072,34 +2304,47 @@ public Builder setPermissionBytes( private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> analysisStateBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + analysisStateBuilder_; /** + * + * *
        * The analysis state of this access.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; + * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** + * + * *
        * The analysis state of this access.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; + * * @return The analysisState. */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2120,6 +2365,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2138,6 +2385,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2148,7 +2397,9 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_) + .mergeFrom(value) + .buildPartial(); } else { analysisState_ = value; } @@ -2160,6 +2411,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2178,6 +2431,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2185,11 +2440,13 @@ public Builder clearAnalysisState() { * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisStateBuilder() { - + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2200,11 +2457,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } } /** + * + * *
        * The analysis state of this access.
        * 
@@ -2212,18 +2472,22 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( - getAnalysisState(), - getParentForChildren(), - isClean()); + analysisStateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + getAnalysisState(), getParentForChildren(), isClean()); analysisState_ = null; } return analysisStateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2236,12 +2500,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Access) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Access) private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access(); } @@ -2250,16 +2514,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getDefaul 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; @@ -2274,14 +2538,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IdentityOrBuilder extends + public interface IdentityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2297,10 +2563,13 @@ public interface IdentityOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2316,30 +2585,38 @@ public interface IdentityOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** + * + * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return The analysisState. */ com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState(); /** + * + * *
      * The analysis state of this identity.
      * 
@@ -2349,37 +2626,39 @@ public interface IdentityOrBuilder extends com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder(); } /** + * + * *
    * An identity under analysis.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Identity} */ - public static final class Identity extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Identity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) IdentityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Identity.newBuilder() to construct. private Identity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Identity() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Identity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Identity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2398,32 +2677,37 @@ private Identity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); + name_ = s; + break; } - analysisState_ = input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); + } + analysisState_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisState.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2431,29 +2715,33 @@ private Identity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2469,6 +2757,7 @@ private Identity(
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2477,14 +2766,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -2500,16 +2790,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2520,11 +2809,14 @@ public java.lang.String getName() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; /** + * + * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -2532,18 +2824,25 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** + * + * *
      * The analysis state of this identity.
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return The analysisState. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } /** + * + * *
      * The analysis state of this identity.
      * 
@@ -2556,6 +2855,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2567,8 +2867,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2588,8 +2887,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2599,19 +2897,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.asset.v1.IamPolicyAnalysisResult.Identity)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity other = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState() - .equals(other.getAnalysisState())) return false; + if (!getAnalysisState().equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2636,87 +2933,94 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Identity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2726,27 +3030,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An identity under analysis.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Identity} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.newBuilder() @@ -2754,16 +3063,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2779,13 +3087,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity + getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance(); } @@ -2800,7 +3109,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(this); result.name_ = name_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -2815,38 +3125,41 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisResult.Identity) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) other); } else { super.mergeFrom(other); return this; @@ -2854,7 +3167,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()) return this; + if (other + == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2881,7 +3196,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2893,6 +3209,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2908,13 +3226,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; @@ -2923,6 +3241,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2938,15 +3258,14 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2954,6 +3273,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2969,20 +3290,22 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -2998,15 +3321,18 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -3022,16 +3348,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; @@ -3039,34 +3365,47 @@ public Builder setNameBytes( private com.google.cloud.asset.v1.IamPolicyAnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> analysisStateBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + analysisStateBuilder_; /** + * + * *
        * The analysis state of this identity.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** + * + * *
        * The analysis state of this identity.
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; + * * @return The analysisState. */ public com.google.cloud.asset.v1.IamPolicyAnalysisState getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3087,6 +3426,8 @@ public Builder setAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisState return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3105,6 +3446,8 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3115,7 +3458,9 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder(analysisState_) + .mergeFrom(value) + .buildPartial(); } else { analysisState_ = value; } @@ -3127,6 +3472,8 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1.IamPolicyAnalysisSta return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3145,6 +3492,8 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3152,11 +3501,13 @@ public Builder clearAnalysisState() { * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ public com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder getAnalysisStateBuilder() { - + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3167,11 +3518,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null ? - com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance() + : analysisState_; } } /** + * + * *
        * The analysis state of this identity.
        * 
@@ -3179,18 +3533,22 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder getAnalysisStat * .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisState, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( - getAnalysisState(), - getParentForChildren(), - isClean()); + analysisStateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisState, + com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder>( + getAnalysisState(), getParentForChildren(), isClean()); analysisState_ = null; } return analysisStateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3203,12 +3561,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Identity) - private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity(); } @@ -3217,16 +3576,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Identity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Identity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Identity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Identity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3241,73 +3600,86 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface EdgeOrBuilder extends + public interface EdgeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; + * * @return The sourceNode. */ java.lang.String getSourceNode(); /** + * + * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; + * * @return The bytes for sourceNode. */ - com.google.protobuf.ByteString - getSourceNodeBytes(); + com.google.protobuf.ByteString getSourceNodeBytes(); /** + * + * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; + * * @return The targetNode. */ java.lang.String getTargetNode(); /** + * + * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; + * * @return The bytes for targetNode. */ - com.google.protobuf.ByteString - getTargetNodeBytes(); + com.google.protobuf.ByteString getTargetNodeBytes(); } /** + * + * *
    * A directional edge.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Edge} */ - public static final class Edge extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Edge extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) EdgeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Edge.newBuilder() to construct. private Edge(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Edge() { sourceNode_ = ""; targetNode_ = ""; @@ -3315,16 +3687,15 @@ private Edge() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Edge(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Edge( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3343,25 +3714,27 @@ private Edge( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - sourceNode_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + sourceNode_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - targetNode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + targetNode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3369,35 +3742,40 @@ private Edge( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); } public static final int SOURCE_NODE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceNode_; /** + * + * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; + * * @return The sourceNode. */ @java.lang.Override @@ -3406,30 +3784,30 @@ public java.lang.String getSourceNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; } } /** + * + * *
      * The source node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string source_node = 1; + * * @return The bytes for sourceNode. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceNodeBytes() { + public com.google.protobuf.ByteString getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -3440,12 +3818,15 @@ public java.lang.String getSourceNode() { public static final int TARGET_NODE_FIELD_NUMBER = 2; private volatile java.lang.Object targetNode_; /** + * + * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; + * * @return The targetNode. */ @java.lang.Override @@ -3454,30 +3835,30 @@ public java.lang.String getTargetNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; } } /** + * + * *
      * The target node of the edge. For example, it could be a full resource
      * name for a resource node or an email of an identity.
      * 
* * string target_node = 2; + * * @return The bytes for targetNode. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetNodeBytes() { + public com.google.protobuf.ByteString getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetNode_ = b; return b; } else { @@ -3486,6 +3867,7 @@ public java.lang.String getTargetNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3497,8 +3879,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceNode_); } @@ -3528,17 +3909,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.asset.v1.IamPolicyAnalysisResult.Edge)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge other = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) obj; - if (!getSourceNode() - .equals(other.getSourceNode())) return false; - if (!getTargetNode() - .equals(other.getTargetNode())) return false; + if (!getSourceNode().equals(other.getSourceNode())) return false; + if (!getTargetNode().equals(other.getTargetNode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3560,87 +3940,94 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Edge parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3650,27 +4037,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A directional edge.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.Edge} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.newBuilder() @@ -3678,16 +4070,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3699,9 +4090,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override @@ -3720,7 +4111,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(this); result.sourceNode_ = sourceNode_; result.targetNode_ = targetNode_; onBuilt(); @@ -3731,38 +4123,41 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.IamPolicyAnalysisResult.Edge) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) other); } else { super.mergeFrom(other); return this; @@ -3770,7 +4165,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) + return this; if (!other.getSourceNode().isEmpty()) { sourceNode_ = other.sourceNode_; onChanged(); @@ -3798,7 +4194,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3810,19 +4207,21 @@ public Builder mergeFrom( private java.lang.Object sourceNode_ = ""; /** + * + * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; + * * @return The sourceNode. */ public java.lang.String getSourceNode() { java.lang.Object ref = sourceNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; @@ -3831,21 +4230,22 @@ public java.lang.String getSourceNode() { } } /** + * + * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; + * * @return The bytes for sourceNode. */ - public com.google.protobuf.ByteString - getSourceNodeBytes() { + public com.google.protobuf.ByteString getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -3853,57 +4253,64 @@ public java.lang.String getSourceNode() { } } /** + * + * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; + * * @param value The sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNode( - java.lang.String value) { + public Builder setSourceNode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceNode_ = value; onChanged(); return this; } /** + * + * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; + * * @return This builder for chaining. */ public Builder clearSourceNode() { - + sourceNode_ = getDefaultInstance().getSourceNode(); onChanged(); return this; } /** + * + * *
        * The source node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string source_node = 1; + * * @param value The bytes for sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNodeBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceNode_ = value; onChanged(); return this; @@ -3911,19 +4318,21 @@ public Builder setSourceNodeBytes( private java.lang.Object targetNode_ = ""; /** + * + * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; + * * @return The targetNode. */ public java.lang.String getTargetNode() { java.lang.Object ref = targetNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; @@ -3932,21 +4341,22 @@ public java.lang.String getTargetNode() { } } /** + * + * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; + * * @return The bytes for targetNode. */ - public com.google.protobuf.ByteString - getTargetNodeBytes() { + public com.google.protobuf.ByteString getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetNode_ = b; return b; } else { @@ -3954,61 +4364,69 @@ public java.lang.String getTargetNode() { } } /** + * + * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; + * * @param value The targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNode( - java.lang.String value) { + public Builder setTargetNode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetNode_ = value; onChanged(); return this; } /** + * + * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; + * * @return This builder for chaining. */ public Builder clearTargetNode() { - + targetNode_ = getDefaultInstance().getTargetNode(); onChanged(); return this; } /** + * + * *
        * The target node of the edge. For example, it could be a full resource
        * name for a resource node or an email of an identity.
        * 
* * string target_node = 2; + * * @param value The bytes for targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNodeBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetNodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetNode_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4021,12 +4439,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.Edge) private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge(); } @@ -4035,16 +4453,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Edge parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Edge(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Edge parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Edge(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4059,14 +4477,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AccessControlListOrBuilder extends + public interface AccessControlListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4075,9 +4495,10 @@ public interface AccessControlListOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
-    java.util.List 
-        getResourcesList();
+    java.util.List getResourcesList();
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4088,6 +4509,8 @@ public interface AccessControlListOrBuilder extends
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(int index);
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4098,6 +4521,8 @@ public interface AccessControlListOrBuilder extends
      */
     int getResourcesCount();
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4106,9 +4531,11 @@ public interface AccessControlListOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
-    java.util.List 
+    java.util.List
         getResourcesOrBuilderList();
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4121,6 +4548,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
         int index);
 
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4129,9 +4558,10 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
-    java.util.List 
-        getAccessesList();
+    java.util.List getAccessesList();
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4142,6 +4572,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getAccesses(int index);
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4152,6 +4584,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      */
     int getAccessesCount();
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4160,9 +4594,11 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResources
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
-    java.util.List 
+    java.util.List
         getAccessesOrBuilderList();
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4175,6 +4611,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
         int index);
 
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4187,9 +4625,10 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
-    java.util.List 
-        getResourceEdgesList();
+    java.util.List getResourceEdgesList();
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4204,6 +4643,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(int index);
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4218,6 +4659,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      */
     int getResourceEdgesCount();
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4230,9 +4673,11 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrB
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
-    java.util.List 
+    java.util.List
         getResourceEdgesOrBuilderList();
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4249,26 +4694,34 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdges
         int index);
 
     /**
+     *
+     *
      * 
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; + * * @return Whether the conditionEvaluation field is set. */ boolean hasConditionEvaluation(); /** + * + * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; + * * @return The conditionEvaluation. */ com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation(); /** + * + * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
@@ -4279,6 +4732,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdges
     com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * An access control list, derived from the above IAM policy binding, which
    * contains a set of resources and accesses. May include one
@@ -4296,15 +4751,16 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdges
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList}
    */
-  public static final class AccessControlList extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AccessControlList extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
       AccessControlListOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AccessControlList.newBuilder() to construct.
     private AccessControlList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AccessControlList() {
       resources_ = java.util.Collections.emptyList();
       accesses_ = java.util.Collections.emptyList();
@@ -4313,16 +4769,15 @@ private AccessControlList() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AccessControlList();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AccessControlList(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4342,53 +4797,71 @@ private AccessControlList(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                resources_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              resources_.add(
-                  input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                accesses_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  resources_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                resources_.add(
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.parser(),
+                        extensionRegistry));
+                break;
               }
-              accesses_.add(
-                  input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(), extensionRegistry));
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                resourceEdges_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  accesses_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                accesses_.add(
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.parser(),
+                        extensionRegistry));
+                break;
               }
-              resourceEdges_.add(
-                  input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry));
-              break;
-            }
-            case 34: {
-              com.google.cloud.asset.v1.ConditionEvaluation.Builder subBuilder = null;
-              if (conditionEvaluation_ != null) {
-                subBuilder = conditionEvaluation_.toBuilder();
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  resourceEdges_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                resourceEdges_.add(
+                    input.readMessage(
+                        com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(),
+                        extensionRegistry));
+                break;
               }
-              conditionEvaluation_ = input.readMessage(com.google.cloud.asset.v1.ConditionEvaluation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(conditionEvaluation_);
-                conditionEvaluation_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.cloud.asset.v1.ConditionEvaluation.Builder subBuilder = null;
+                if (conditionEvaluation_ != null) {
+                  subBuilder = conditionEvaluation_.toBuilder();
+                }
+                conditionEvaluation_ =
+                    input.readMessage(
+                        com.google.cloud.asset.v1.ConditionEvaluation.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(conditionEvaluation_);
+                  conditionEvaluation_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4396,8 +4869,7 @@ private AccessControlList(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -4412,22 +4884,27 @@ private AccessControlList(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
     }
 
     public static final int RESOURCES_FIELD_NUMBER = 1;
     private java.util.List resources_;
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4437,10 +4914,13 @@ private AccessControlList(
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
     @java.lang.Override
-    public java.util.List getResourcesList() {
+    public java.util.List
+        getResourcesList() {
       return resources_;
     }
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4450,11 +4930,14 @@ public java.util.Listrepeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>
         getResourcesOrBuilderList() {
       return resources_;
     }
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4468,6 +4951,8 @@ public int getResourcesCount() {
       return resources_.size();
     }
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4481,6 +4966,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i
       return resources_.get(index);
     }
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
@@ -4490,14 +4977,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder
+        getResourcesOrBuilder(int index) {
       return resources_.get(index);
     }
 
     public static final int ACCESSES_FIELD_NUMBER = 2;
     private java.util.List accesses_;
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4507,10 +4996,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getRe
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
     @java.lang.Override
-    public java.util.List getAccessesList() {
+    public java.util.List
+        getAccessesList() {
       return accesses_;
     }
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4520,11 +5012,14 @@ public java.util.List
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>
         getAccessesOrBuilderList() {
       return accesses_;
     }
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4538,6 +5033,8 @@ public int getAccessesCount() {
       return accesses_.size();
     }
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4551,6 +5048,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getAccesses(int
       return accesses_.get(index);
     }
     /**
+     *
+     *
      * 
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
@@ -4568,6 +5067,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
     public static final int RESOURCE_EDGES_FIELD_NUMBER = 3;
     private java.util.List resourceEdges_;
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4581,10 +5082,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
     @java.lang.Override
-    public java.util.List getResourceEdgesList() {
+    public java.util.List
+        getResourceEdgesList() {
       return resourceEdges_;
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4598,11 +5102,13 @@ public java.util.List ge
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getResourceEdgesOrBuilderList() {
       return resourceEdges_;
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4620,6 +5126,8 @@ public int getResourceEdgesCount() {
       return resourceEdges_.size();
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4637,6 +5145,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i
       return resourceEdges_.get(index);
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The
@@ -4650,20 +5160,23 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder
+        getResourceEdgesOrBuilder(int index) {
       return resourceEdges_.get(index);
     }
 
     public static final int CONDITION_EVALUATION_FIELD_NUMBER = 4;
     private com.google.cloud.asset.v1.ConditionEvaluation conditionEvaluation_;
     /**
+     *
+     *
      * 
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; + * * @return Whether the conditionEvaluation field is set. */ @java.lang.Override @@ -4671,19 +5184,26 @@ public boolean hasConditionEvaluation() { return conditionEvaluation_ != null; } /** + * + * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
      * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; + * * @return The conditionEvaluation. */ @java.lang.Override public com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation() { - return conditionEvaluation_ == null ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_; + return conditionEvaluation_ == null + ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() + : conditionEvaluation_; } /** + * + * *
      * Condition evaluation for this AccessControlList, if there is a condition
      * defined in the above IAM policy binding.
@@ -4692,11 +5212,13 @@ public com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation() {
      * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder() {
+    public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder
+        getConditionEvaluationOrBuilder() {
       return getConditionEvaluation();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4708,8 +5230,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < resources_.size(); i++) {
         output.writeMessage(1, resources_.get(i));
       }
@@ -4732,20 +5253,17 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < resources_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, resources_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i));
       }
       for (int i = 0; i < accesses_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, accesses_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, accesses_.get(i));
       }
       for (int i = 0; i < resourceEdges_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, resourceEdges_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, resourceEdges_.get(i));
       }
       if (conditionEvaluation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getConditionEvaluation());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(4, getConditionEvaluation());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -4755,23 +5273,20 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) obj;
+      com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other =
+          (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) obj;
 
-      if (!getResourcesList()
-          .equals(other.getResourcesList())) return false;
-      if (!getAccessesList()
-          .equals(other.getAccessesList())) return false;
-      if (!getResourceEdgesList()
-          .equals(other.getResourceEdgesList())) return false;
+      if (!getResourcesList().equals(other.getResourcesList())) return false;
+      if (!getAccessesList().equals(other.getAccessesList())) return false;
+      if (!getResourceEdgesList().equals(other.getResourceEdgesList())) return false;
       if (hasConditionEvaluation() != other.hasConditionEvaluation()) return false;
       if (hasConditionEvaluation()) {
-        if (!getConditionEvaluation()
-            .equals(other.getConditionEvaluation())) return false;
+        if (!getConditionEvaluation().equals(other.getConditionEvaluation())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -4806,87 +5321,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.nio.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        byte[] data,
-        com.google.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(
-        java.io.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.asset.v1.IamPolicyAnalysisResult.AccessControlList
+        parseDelimitedFrom(
+            java.io.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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .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.asset.v1.IamPolicyAnalysisResult.AccessControlList parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -4896,6 +5419,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * An access control list, derived from the above IAM policy binding, which
      * contains a set of resources and accesses. May include one
@@ -4913,41 +5438,45 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
         com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1.AssetProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+        return com.google.cloud.asset.v1.AssetProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.class,
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
       }
 
-      // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getResourcesFieldBuilder();
           getAccessesFieldBuilder();
           getResourceEdgesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4979,14 +5508,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1.AssetProto
+            .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance();
+      public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -5000,7 +5531,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList build
 
       @java.lang.Override
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList buildPartial() {
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList(this);
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList result =
+            new com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList(this);
         int from_bitField0_ = bitField0_;
         if (resourcesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -5042,46 +5574,53 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList build
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) {
-          return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)other);
+          return mergeFrom(
+              (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other) {
-        if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList other) {
+        if (other
+            == com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+                .getDefaultInstance()) return this;
         if (resourcesBuilder_ == null) {
           if (!other.resources_.isEmpty()) {
             if (resources_.isEmpty()) {
@@ -5100,9 +5639,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Acces
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              resourcesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getResourcesFieldBuilder() : null;
+              resourcesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getResourcesFieldBuilder()
+                      : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -5126,9 +5666,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Acces
               accessesBuilder_ = null;
               accesses_ = other.accesses_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              accessesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getAccessesFieldBuilder() : null;
+              accessesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getAccessesFieldBuilder()
+                      : null;
             } else {
               accessesBuilder_.addAllMessages(other.accesses_);
             }
@@ -5152,9 +5693,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Acces
               resourceEdgesBuilder_ = null;
               resourceEdges_ = other.resourceEdges_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              resourceEdgesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getResourceEdgesFieldBuilder() : null;
+              resourceEdgesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getResourceEdgesFieldBuilder()
+                      : null;
             } else {
               resourceEdgesBuilder_.addAllMessages(other.resourceEdges_);
             }
@@ -5182,7 +5724,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5191,30 +5735,41 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List resources_ =
-        java.util.Collections.emptyList();
+      private java.util.List
+          resources_ = java.util.Collections.emptyList();
+
       private void ensureResourcesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          resources_ = new java.util.ArrayList(resources_);
+          resources_ =
+              new java.util.ArrayList(
+                  resources_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> resourcesBuilder_;
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>
+          resourcesBuilder_;
 
       /**
+       *
+       *
        * 
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -5222,13 +5777,16 @@ public java.util.List * The resources that match one of the following conditions: * - The resource_selector, if it is specified in request; * - Otherwise, resources reachable from the policy attached resource. *
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -5238,13 +5796,16 @@ public int getResourcesCount() { } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(int index) { if (resourcesBuilder_ == null) { @@ -5254,13 +5815,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource getResources(i } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder setResources( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { @@ -5277,16 +5841,20 @@ public Builder setResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder setResources( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); @@ -5297,15 +5865,19 @@ public Builder setResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public Builder addResources(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { + public Builder addResources( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5319,13 +5891,16 @@ public Builder addResources(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Re return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addResources( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource value) { @@ -5342,13 +5917,16 @@ public Builder addResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addResources( com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { @@ -5362,16 +5940,20 @@ public Builder addResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addResources( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); @@ -5382,20 +5964,23 @@ public Builder addResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addAllResources( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -5403,13 +5988,16 @@ public Builder addAllResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -5422,13 +6010,16 @@ public Builder clearResources() { return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -5441,45 +6032,56 @@ public Builder removeResources(int index) { return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder getResourcesBuilder( int index) { return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder + getResourcesOrBuilder(int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -5487,73 +6089,97 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder getRe } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder + addResourcesBuilder() { + return getResourcesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder( int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); + return getResourcesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public java.util.List - getResourcesBuilderList() { + public java.util.List + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>( - resources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Resource.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.ResourceOrBuilder>( + resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; } private java.util.List accesses_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccessesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - accesses_ = new java.util.ArrayList(accesses_); + accesses_ = + new java.util.ArrayList( + accesses_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder> accessesBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder> + accessesBuilder_; /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5562,7 +6188,8 @@ private void ensureAccessesIsMutable() {
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
-      public java.util.List getAccessesList() {
+      public java.util.List
+          getAccessesList() {
         if (accessesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(accesses_);
         } else {
@@ -5570,6 +6197,8 @@ public java.util.List
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5586,6 +6215,8 @@ public int getAccessesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5602,6 +6233,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access getAccesses(int
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5625,6 +6258,8 @@ public Builder setAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5634,7 +6269,8 @@ public Builder setAccesses(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public Builder setAccesses(
-          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
+          int index,
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
         if (accessesBuilder_ == null) {
           ensureAccessesIsMutable();
           accesses_.set(index, builderForValue.build());
@@ -5645,6 +6281,8 @@ public Builder setAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5667,6 +6305,8 @@ public Builder addAccesses(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Acc
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5690,6 +6330,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5710,6 +6352,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5719,7 +6363,8 @@ public Builder addAccesses(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public Builder addAccesses(
-          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
+          int index,
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder builderForValue) {
         if (accessesBuilder_ == null) {
           ensureAccessesIsMutable();
           accesses_.add(index, builderForValue.build());
@@ -5730,6 +6375,8 @@ public Builder addAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5739,11 +6386,11 @@ public Builder addAccesses(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public Builder addAllAccesses(
-          java.lang.Iterable values) {
+          java.lang.Iterable
+              values) {
         if (accessesBuilder_ == null) {
           ensureAccessesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, accesses_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accesses_);
           onChanged();
         } else {
           accessesBuilder_.addAllMessages(values);
@@ -5751,6 +6398,8 @@ public Builder addAllAccesses(
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5770,6 +6419,8 @@ public Builder clearAccesses() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5789,6 +6440,8 @@ public Builder removeAccesses(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5802,6 +6455,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder getAcces
         return getAccessesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5813,11 +6468,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder getAcces
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder(
           int index) {
         if (accessesBuilder_ == null) {
-          return accesses_.get(index);  } else {
+          return accesses_.get(index);
+        } else {
           return accessesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5826,8 +6484,9 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
-      public java.util.List 
-           getAccessesOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>
+          getAccessesOrBuilderList() {
         if (accessesBuilder_ != null) {
           return accessesBuilder_.getMessageOrBuilderList();
         } else {
@@ -5835,6 +6494,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
         }
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5844,10 +6505,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder() {
-        return getAccessesFieldBuilder().addBuilder(
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
+        return getAccessesFieldBuilder()
+            .addBuilder(
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5858,10 +6522,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAcces
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder(
           int index) {
-        return getAccessesFieldBuilder().addBuilder(
-            index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
+        return getAccessesFieldBuilder()
+            .addBuilder(
+                index,
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
@@ -5870,38 +6538,49 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder addAcces
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
        */
-      public java.util.List 
-           getAccessesBuilderList() {
+      public java.util.List
+          getAccessesBuilderList() {
         return getAccessesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder> 
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>
           getAccessesFieldBuilder() {
         if (accessesBuilder_ == null) {
-          accessesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>(
-                  accesses_,
-                  ((bitField0_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          accessesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Access.Builder,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder>(
+                  accesses_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           accesses_ = null;
         }
         return accessesBuilder_;
       }
 
-      private java.util.List resourceEdges_ =
-        java.util.Collections.emptyList();
+      private java.util.List
+          resourceEdges_ = java.util.Collections.emptyList();
+
       private void ensureResourceEdgesIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          resourceEdges_ = new java.util.ArrayList(resourceEdges_);
+          resourceEdges_ =
+              new java.util.ArrayList(
+                  resourceEdges_);
           bitField0_ |= 0x00000004;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> resourceEdgesBuilder_;
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>
+          resourceEdgesBuilder_;
 
       /**
+       *
+       *
        * 
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5912,9 +6591,11 @@ private void ensureResourceEdgesIsMutable() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public java.util.List getResourceEdgesList() { + public java.util.List + getResourceEdgesList() { if (resourceEdgesBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceEdges_); } else { @@ -5922,6 +6603,8 @@ public java.util.List ge } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5932,7 +6615,8 @@ public java.util.List ge
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public int getResourceEdgesCount() { if (resourceEdgesBuilder_ == null) { @@ -5942,6 +6626,8 @@ public int getResourceEdgesCount() { } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5952,7 +6638,8 @@ public int getResourceEdgesCount() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { @@ -5962,6 +6649,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5972,7 +6661,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getResourceEdges(i
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder setResourceEdges( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { @@ -5989,6 +6679,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -5999,10 +6691,12 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder setResourceEdges( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.set(index, builderForValue.build()); @@ -6013,6 +6707,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6023,9 +6719,11 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public Builder addResourceEdges(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { + public Builder addResourceEdges( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { if (resourceEdgesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6039,6 +6737,8 @@ public Builder addResourceEdges(com.google.cloud.asset.v1.IamPolicyAnalysisResul return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6049,7 +6749,8 @@ public Builder addResourceEdges(com.google.cloud.asset.v1.IamPolicyAnalysisResul
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addResourceEdges( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge value) { @@ -6066,6 +6767,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6076,7 +6779,8 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addResourceEdges( com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { @@ -6090,6 +6794,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6100,10 +6806,12 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addResourceEdges( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.add(index, builderForValue.build()); @@ -6114,6 +6822,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6124,14 +6834,15 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addAllResourceEdges( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceEdges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceEdges_); onChanged(); } else { resourceEdgesBuilder_.addAllMessages(values); @@ -6139,6 +6850,8 @@ public Builder addAllResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6149,7 +6862,8 @@ public Builder addAllResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder clearResourceEdges() { if (resourceEdgesBuilder_ == null) { @@ -6162,6 +6876,8 @@ public Builder clearResourceEdges() { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6172,7 +6888,8 @@ public Builder clearResourceEdges() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder removeResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { @@ -6185,6 +6902,8 @@ public Builder removeResourceEdges(int index) { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6195,13 +6914,16 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourceEdgesBuilder( int index) { return getResourceEdgesFieldBuilder().getBuilder(index); } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6212,16 +6934,20 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder + getResourceEdgesOrBuilder(int index) { if (resourceEdgesBuilder_ == null) { - return resourceEdges_.get(index); } else { + return resourceEdges_.get(index); + } else { return resourceEdgesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6232,10 +6958,12 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResour
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public java.util.List - getResourceEdgesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> + getResourceEdgesOrBuilderList() { if (resourceEdgesBuilder_ != null) { return resourceEdgesBuilder_.getMessageOrBuilderList(); } else { @@ -6243,6 +6971,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResour } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6253,13 +6983,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getResour
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder() { - return getResourceEdgesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder + addResourceEdgesBuilder() { + return getResourceEdgesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6270,14 +7005,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder( int index) { - return getResourceEdgesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + return getResourceEdgesFieldBuilder() + .addBuilder( + index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The
@@ -6288,18 +7027,25 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourc
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public java.util.List - getResourceEdgesBuilderList() { + public java.util.List + getResourceEdgesBuilderList() { return getResourceEdgesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> getResourceEdgesFieldBuilder() { if (resourceEdgesBuilder_ == null) { - resourceEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>( + resourceEdgesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>( resourceEdges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -6311,36 +7057,49 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addResourc private com.google.cloud.asset.v1.ConditionEvaluation conditionEvaluation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.ConditionEvaluation, com.google.cloud.asset.v1.ConditionEvaluation.Builder, com.google.cloud.asset.v1.ConditionEvaluationOrBuilder> conditionEvaluationBuilder_; + com.google.cloud.asset.v1.ConditionEvaluation, + com.google.cloud.asset.v1.ConditionEvaluation.Builder, + com.google.cloud.asset.v1.ConditionEvaluationOrBuilder> + conditionEvaluationBuilder_; /** + * + * *
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
        * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; + * * @return Whether the conditionEvaluation field is set. */ public boolean hasConditionEvaluation() { return conditionEvaluationBuilder_ != null || conditionEvaluation_ != null; } /** + * + * *
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
        * 
* * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4; + * * @return The conditionEvaluation. */ public com.google.cloud.asset.v1.ConditionEvaluation getConditionEvaluation() { if (conditionEvaluationBuilder_ == null) { - return conditionEvaluation_ == null ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_; + return conditionEvaluation_ == null + ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() + : conditionEvaluation_; } else { return conditionEvaluationBuilder_.getMessage(); } } /** + * + * *
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6362,6 +7121,8 @@ public Builder setConditionEvaluation(com.google.cloud.asset.v1.ConditionEvaluat
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6381,6 +7142,8 @@ public Builder setConditionEvaluation(
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6392,7 +7155,9 @@ public Builder mergeConditionEvaluation(com.google.cloud.asset.v1.ConditionEvalu
         if (conditionEvaluationBuilder_ == null) {
           if (conditionEvaluation_ != null) {
             conditionEvaluation_ =
-              com.google.cloud.asset.v1.ConditionEvaluation.newBuilder(conditionEvaluation_).mergeFrom(value).buildPartial();
+                com.google.cloud.asset.v1.ConditionEvaluation.newBuilder(conditionEvaluation_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             conditionEvaluation_ = value;
           }
@@ -6404,6 +7169,8 @@ public Builder mergeConditionEvaluation(com.google.cloud.asset.v1.ConditionEvalu
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6423,6 +7190,8 @@ public Builder clearConditionEvaluation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6431,11 +7200,13 @@ public Builder clearConditionEvaluation() {
        * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
        */
       public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluationBuilder() {
-        
+
         onChanged();
         return getConditionEvaluationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6443,15 +7214,19 @@ public com.google.cloud.asset.v1.ConditionEvaluation.Builder getConditionEvaluat
        *
        * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
        */
-      public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvaluationOrBuilder() {
+      public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder
+          getConditionEvaluationOrBuilder() {
         if (conditionEvaluationBuilder_ != null) {
           return conditionEvaluationBuilder_.getMessageOrBuilder();
         } else {
-          return conditionEvaluation_ == null ?
-              com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance() : conditionEvaluation_;
+          return conditionEvaluation_ == null
+              ? com.google.cloud.asset.v1.ConditionEvaluation.getDefaultInstance()
+              : conditionEvaluation_;
         }
       }
       /**
+       *
+       *
        * 
        * Condition evaluation for this AccessControlList, if there is a condition
        * defined in the above IAM policy binding.
@@ -6460,18 +7235,22 @@ public com.google.cloud.asset.v1.ConditionEvaluationOrBuilder getConditionEvalua
        * .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.asset.v1.ConditionEvaluation, com.google.cloud.asset.v1.ConditionEvaluation.Builder, com.google.cloud.asset.v1.ConditionEvaluationOrBuilder> 
+              com.google.cloud.asset.v1.ConditionEvaluation,
+              com.google.cloud.asset.v1.ConditionEvaluation.Builder,
+              com.google.cloud.asset.v1.ConditionEvaluationOrBuilder>
           getConditionEvaluationFieldBuilder() {
         if (conditionEvaluationBuilder_ == null) {
-          conditionEvaluationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.ConditionEvaluation, com.google.cloud.asset.v1.ConditionEvaluation.Builder, com.google.cloud.asset.v1.ConditionEvaluationOrBuilder>(
-                  getConditionEvaluation(),
-                  getParentForChildren(),
-                  isClean());
+          conditionEvaluationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.asset.v1.ConditionEvaluation,
+                  com.google.cloud.asset.v1.ConditionEvaluation.Builder,
+                  com.google.cloud.asset.v1.ConditionEvaluationOrBuilder>(
+                  getConditionEvaluation(), getParentForChildren(), isClean());
           conditionEvaluation_ = null;
         }
         return conditionEvaluationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6484,30 +7263,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList)
-    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList DEFAULT_INSTANCE;
+    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList();
     }
 
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getDefaultInstance() {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public AccessControlList parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new AccessControlList(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AccessControlList parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new AccessControlList(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6519,17 +7300,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface IdentityListOrBuilder extends
+  public interface IdentityListOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6539,9 +7323,10 @@ public interface IdentityListOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
-    java.util.List 
-        getIdentitiesList();
+    java.util.List getIdentitiesList();
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6553,6 +7338,8 @@ public interface IdentityListOrBuilder extends
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(int index);
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6564,6 +7351,8 @@ public interface IdentityListOrBuilder extends
      */
     int getIdentitiesCount();
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6573,9 +7362,11 @@ public interface IdentityListOrBuilder extends
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
-    java.util.List 
+    java.util.List
         getIdentitiesOrBuilderList();
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6589,6 +7380,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
         int index);
 
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6604,9 +7397,10 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
-    java.util.List 
-        getGroupEdgesList();
+    java.util.List getGroupEdgesList();
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6624,6 +7418,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      */
     com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getGroupEdges(int index);
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6641,6 +7437,8 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      */
     int getGroupEdgesCount();
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6656,9 +7454,11 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitie
      *
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
-    java.util.List 
+    java.util.List
         getGroupEdgesOrBuilderList();
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6678,21 +7478,24 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrB
         int index);
   }
   /**
+   *
+   *
    * 
    * The identities and group edges.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList} */ - public static final class IdentityList extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IdentityList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) IdentityListOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IdentityList.newBuilder() to construct. private IdentityList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IdentityList() { identities_ = java.util.Collections.emptyList(); groupEdges_ = java.util.Collections.emptyList(); @@ -6700,16 +7503,15 @@ private IdentityList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IdentityList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IdentityList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6729,31 +7531,41 @@ private IdentityList( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identities_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity>(); + mutable_bitField0_ |= 0x00000001; + } + identities_.add( + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), + extensionRegistry)); + break; } - identities_.add( - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - groupEdges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + groupEdges_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge>(); + mutable_bitField0_ |= 0x00000002; + } + groupEdges_.add( + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), + extensionRegistry)); + break; } - groupEdges_.add( - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6761,8 +7573,7 @@ private IdentityList( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { identities_ = java.util.Collections.unmodifiableList(identities_); @@ -6774,22 +7585,27 @@ private IdentityList( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); } public static final int IDENTITIES_FIELD_NUMBER = 1; private java.util.List identities_; /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6800,10 +7616,13 @@ private IdentityList(
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
     @java.lang.Override
-    public java.util.List getIdentitiesList() {
+    public java.util.List
+        getIdentitiesList() {
       return identities_;
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6814,11 +7633,14 @@ public java.util.Listrepeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder>
         getIdentitiesOrBuilderList() {
       return identities_;
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6833,6 +7655,8 @@ public int getIdentitiesCount() {
       return identities_.size();
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6847,6 +7671,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
       return identities_.get(index);
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6857,14 +7683,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder
+        getIdentitiesOrBuilder(int index) {
       return identities_.get(index);
     }
 
     public static final int GROUP_EDGES_FIELD_NUMBER = 2;
     private java.util.List groupEdges_;
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6881,10 +7709,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getId
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
     @java.lang.Override
-    public java.util.List getGroupEdgesList() {
+    public java.util.List
+        getGroupEdgesList() {
       return groupEdges_;
     }
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6901,11 +7732,13 @@ public java.util.List ge
      * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getGroupEdgesOrBuilderList() {
       return groupEdges_;
     }
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6926,6 +7759,8 @@ public int getGroupEdgesCount() {
       return groupEdges_.size();
     }
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6946,6 +7781,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getGroupEdges(int
       return groupEdges_.get(index);
     }
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the
@@ -6968,6 +7805,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6979,8 +7817,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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 < identities_.size(); i++) {
         output.writeMessage(1, identities_.get(i));
       }
@@ -6997,12 +7834,10 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < identities_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, identities_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, identities_.get(i));
       }
       for (int i = 0; i < groupEdges_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, groupEdges_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupEdges_.get(i));
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -7012,17 +7847,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.asset.v1.IamPolicyAnalysisResult.IdentityList)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) obj;
+      com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other =
+          (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) obj;
 
-      if (!getIdentitiesList()
-          .equals(other.getIdentitiesList())) return false;
-      if (!getGroupEdgesList()
-          .equals(other.getGroupEdgesList())) return false;
+      if (!getIdentitiesList().equals(other.getIdentitiesList())) return false;
+      if (!getGroupEdgesList().equals(other.getGroupEdgesList())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -7048,87 +7882,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.nio.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        byte[] data,
-        com.google.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .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.asset.v1.IamPolicyAnalysisResult.IdentityList parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -7138,27 +7979,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * The identities and group edges.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.class, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.newBuilder() @@ -7166,18 +8012,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) { getIdentitiesFieldBuilder(); getGroupEdgesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7197,13 +8043,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList + getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance(); } @@ -7218,7 +8065,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList buildPartial() { - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList(this); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList result = + new com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList(this); int from_bitField0_ = bitField0_; if (identitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7246,46 +8094,52 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other) { - if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList other) { + if (other + == com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) + return this; if (identitiesBuilder_ == null) { if (!other.identities_.isEmpty()) { if (identities_.isEmpty()) { @@ -7304,9 +8158,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Ident identitiesBuilder_ = null; identities_ = other.identities_; bitField0_ = (bitField0_ & ~0x00000001); - identitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIdentitiesFieldBuilder() : null; + identitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIdentitiesFieldBuilder() + : null; } else { identitiesBuilder_.addAllMessages(other.identities_); } @@ -7330,9 +8185,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Ident groupEdgesBuilder_ = null; groupEdges_ = other.groupEdges_; bitField0_ = (bitField0_ & ~0x00000002); - groupEdgesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGroupEdgesFieldBuilder() : null; + groupEdgesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroupEdgesFieldBuilder() + : null; } else { groupEdgesBuilder_.addAllMessages(other.groupEdges_); } @@ -7357,7 +8213,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7366,21 +8224,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List identities_ = - java.util.Collections.emptyList(); + private java.util.List + identities_ = java.util.Collections.emptyList(); + private void ensureIdentitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identities_ = new java.util.ArrayList(identities_); + identities_ = + new java.util.ArrayList( + identities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> identitiesBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> + identitiesBuilder_; /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7388,9 +8255,11 @@ private void ensureIdentitiesIsMutable() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public java.util.List getIdentitiesList() { + public java.util.List + getIdentitiesList() { if (identitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(identities_); } else { @@ -7398,6 +8267,8 @@ public java.util.List * Only the identities that match one of the following conditions will be * presented: @@ -7405,7 +8276,8 @@ public java.util.List * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public int getIdentitiesCount() { if (identitiesBuilder_ == null) { @@ -7415,6 +8287,8 @@ public int getIdentitiesCount() { } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7422,7 +8296,8 @@ public int getIdentitiesCount() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(int index) { if (identitiesBuilder_ == null) { @@ -7432,6 +8307,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities( } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7439,7 +8316,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity getIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder setIdentities( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { @@ -7456,6 +8334,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7463,10 +8343,12 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder setIdentities( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.set(index, builderForValue.build()); @@ -7477,6 +8359,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7484,9 +8368,11 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public Builder addIdentities(com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { + public Builder addIdentities( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { if (identitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7500,6 +8386,8 @@ public Builder addIdentities(com.google.cloud.asset.v1.IamPolicyAnalysisResult.I return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7507,7 +8395,8 @@ public Builder addIdentities(com.google.cloud.asset.v1.IamPolicyAnalysisResult.I
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addIdentities( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity value) { @@ -7524,6 +8413,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7531,7 +8422,8 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addIdentities( com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { @@ -7545,6 +8437,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7552,10 +8446,12 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addIdentities( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.add(index, builderForValue.build()); @@ -7566,6 +8462,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7573,14 +8471,15 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addAllIdentities( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, identities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identities_); onChanged(); } else { identitiesBuilder_.addAllMessages(values); @@ -7588,6 +8487,8 @@ public Builder addAllIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7595,7 +8496,8 @@ public Builder addAllIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder clearIdentities() { if (identitiesBuilder_ == null) { @@ -7608,6 +8510,8 @@ public Builder clearIdentities() { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7615,7 +8519,8 @@ public Builder clearIdentities() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder removeIdentities(int index) { if (identitiesBuilder_ == null) { @@ -7628,6 +8533,8 @@ public Builder removeIdentities(int index) { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7635,13 +8542,16 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder getIdentitiesBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder + getIdentitiesBuilder(int index) { return getIdentitiesFieldBuilder().getBuilder(index); } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7649,16 +8559,20 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder getIde
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder + getIdentitiesOrBuilder(int index) { if (identitiesBuilder_ == null) { - return identities_.get(index); } else { + return identities_.get(index); + } else { return identitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7666,10 +8580,12 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getId
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public java.util.List - getIdentitiesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> + getIdentitiesOrBuilderList() { if (identitiesBuilder_ != null) { return identitiesBuilder_.getMessageOrBuilderList(); } else { @@ -7677,6 +8593,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getId } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7684,13 +8602,18 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder getId
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder() { - return getIdentitiesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder + addIdentitiesBuilder() { + return getIdentitiesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7698,14 +8621,19 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder addIde
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder( - int index) { - return getIdentitiesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder + addIdentitiesBuilder(int index) { + return getIdentitiesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7713,40 +8641,52 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder addIde
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public java.util.List - getIdentitiesBuilderList() { + public java.util.List + getIdentitiesBuilderList() { return getIdentitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> getIdentitiesFieldBuilder() { if (identitiesBuilder_ == null) { - identitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder>( - identities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + identitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder>( + identities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); identities_ = null; } return identitiesBuilder_; } private java.util.List groupEdges_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGroupEdgesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - groupEdges_ = new java.util.ArrayList(groupEdges_); + groupEdges_ = + new java.util.ArrayList( + groupEdges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> groupEdgesBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> + groupEdgesBuilder_; /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7762,7 +8702,8 @@ private void ensureGroupEdgesIsMutable() {
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
-      public java.util.List getGroupEdgesList() {
+      public java.util.List
+          getGroupEdgesList() {
         if (groupEdgesBuilder_ == null) {
           return java.util.Collections.unmodifiableList(groupEdges_);
         } else {
@@ -7770,6 +8711,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7793,6 +8736,8 @@ public int getGroupEdgesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7816,6 +8761,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge getGroupEdges(int
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7846,6 +8793,8 @@ public Builder setGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7862,7 +8811,8 @@ public Builder setGroupEdges(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public Builder setGroupEdges(
-          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
+          int index,
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
         if (groupEdgesBuilder_ == null) {
           ensureGroupEdgesIsMutable();
           groupEdges_.set(index, builderForValue.build());
@@ -7873,6 +8823,8 @@ public Builder setGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7902,6 +8854,8 @@ public Builder addGroupEdges(com.google.cloud.asset.v1.IamPolicyAnalysisResult.E
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7932,6 +8886,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7959,6 +8915,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -7975,7 +8933,8 @@ public Builder addGroupEdges(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public Builder addGroupEdges(
-          int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
+          int index,
+          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder builderForValue) {
         if (groupEdgesBuilder_ == null) {
           ensureGroupEdgesIsMutable();
           groupEdges_.add(index, builderForValue.build());
@@ -7986,6 +8945,8 @@ public Builder addGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8002,11 +8963,11 @@ public Builder addGroupEdges(
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public Builder addAllGroupEdges(
-          java.lang.Iterable values) {
+          java.lang.Iterable
+              values) {
         if (groupEdgesBuilder_ == null) {
           ensureGroupEdgesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, groupEdges_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupEdges_);
           onChanged();
         } else {
           groupEdgesBuilder_.addAllMessages(values);
@@ -8014,6 +8975,8 @@ public Builder addAllGroupEdges(
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8040,6 +9003,8 @@ public Builder clearGroupEdges() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8066,6 +9031,8 @@ public Builder removeGroupEdges(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8086,6 +9053,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getGroupEd
         return getGroupEdgesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8104,11 +9073,14 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder getGroupEd
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder(
           int index) {
         if (groupEdgesBuilder_ == null) {
-          return groupEdges_.get(index);  } else {
+          return groupEdges_.get(index);
+        } else {
           return groupEdgesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8124,8 +9096,9 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
-      public java.util.List 
-           getGroupEdgesOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>
+          getGroupEdgesOrBuilderList() {
         if (groupEdgesBuilder_ != null) {
           return groupEdgesBuilder_.getMessageOrBuilderList();
         } else {
@@ -8133,6 +9106,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
         }
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8149,10 +9124,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupE
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder() {
-        return getGroupEdgesFieldBuilder().addBuilder(
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
+        return getGroupEdgesFieldBuilder()
+            .addBuilder(
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8170,10 +9148,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEd
        */
       public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder(
           int index) {
-        return getGroupEdgesFieldBuilder().addBuilder(
-            index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
+        return getGroupEdgesFieldBuilder()
+            .addBuilder(
+                index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the
@@ -8189,24 +9170,28 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder addGroupEd
        *
        * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
        */
-      public java.util.List 
-           getGroupEdgesBuilderList() {
+      public java.util.List
+          getGroupEdgesBuilderList() {
         return getGroupEdgesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> 
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>
           getGroupEdgesFieldBuilder() {
         if (groupEdgesBuilder_ == null) {
-          groupEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>(
-                  groupEdges_,
-                  ((bitField0_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          groupEdgesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.Builder,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder>(
+                  groupEdges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           groupEdges_ = null;
         }
         return groupEdgesBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -8219,30 +9204,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList)
-    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList DEFAULT_INSTANCE;
+    private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList();
     }
 
-    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefaultInstance() {
+    public static com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public IdentityList parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new IdentityList(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public IdentityList parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new IdentityList(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -8254,15 +9241,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object attachedResourceFullName_;
   /**
+   *
+   *
    * 
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8272,6 +9261,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getDefault
    * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ @java.lang.Override @@ -8280,14 +9270,15 @@ public java.lang.String getAttachedResourceFullName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; } } /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8297,16 +9288,15 @@ public java.lang.String getAttachedResourceFullName() {
    * 
* * string attached_resource_full_name = 1; + * * @return The bytes for attachedResourceFullName. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -8317,11 +9307,14 @@ public java.lang.String getAttachedResourceFullName() { public static final int IAM_BINDING_FIELD_NUMBER = 2; private com.google.iam.v1.Binding iamBinding_; /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ @java.lang.Override @@ -8329,11 +9322,14 @@ public boolean hasIamBinding() { return iamBinding_ != null; } /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ @java.lang.Override @@ -8341,6 +9337,8 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -8353,8 +9351,11 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { } public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER = 3; - private java.util.List accessControlLists_; + private java.util.List + accessControlLists_; /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8362,13 +9363,18 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() {
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public java.util.List getAccessControlListsList() { + public java.util.List + getAccessControlListsList() { return accessControlLists_; } /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8376,14 +9382,19 @@ public java.util.List
    *
-   * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+   * 
+   * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>
       getAccessControlListsOrBuilderList() {
     return accessControlLists_;
   }
   /**
+   *
+   *
    * 
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8391,13 +9402,17 @@ public java.util.List
    *
-   * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+   * 
+   * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+   * 
    */
   @java.lang.Override
   public int getAccessControlListsCount() {
     return accessControlLists_.size();
   }
   /**
+   *
+   *
    * 
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8405,13 +9420,18 @@ public int getAccessControlListsCount() {
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists( + int index) { return accessControlLists_.get(index); } /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8419,17 +9439,21 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAc
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder + getAccessControlListsOrBuilder(int index) { return accessControlLists_.get(index); } public static final int IDENTITY_LIST_FIELD_NUMBER = 4; private com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identityList_; /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8437,6 +9461,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuil
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * * @return Whether the identityList field is set. */ @java.lang.Override @@ -8444,6 +9469,8 @@ public boolean hasIdentityList() { return identityList_ != null; } /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8451,13 +9478,18 @@ public boolean hasIdentityList() {
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * * @return The identityList. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentityList() { - return identityList_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; + return identityList_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() + : identityList_; } /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8467,13 +9499,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentit
    * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() {
+  public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
+      getIdentityListOrBuilder() {
     return getIdentityList();
   }
 
   public static final int FULLY_EXPLORED_FIELD_NUMBER = 5;
   private boolean fullyExplored_;
   /**
+   *
+   *
    * 
    * Represents whether all analyses on the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -8481,6 +9516,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
    * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -8489,6 +9525,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8500,8 +9537,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResourceFullName_); } @@ -8527,23 +9563,21 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); } if (iamBinding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getIamBinding()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIamBinding()); } for (int i = 0; i < accessControlLists_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, accessControlLists_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, accessControlLists_.get(i)); } if (identityList_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getIdentityList()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIdentityList()); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, fullyExplored_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8553,29 +9587,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.asset.v1.IamPolicyAnalysisResult)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisResult other = (com.google.cloud.asset.v1.IamPolicyAnalysisResult) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisResult other = + (com.google.cloud.asset.v1.IamPolicyAnalysisResult) obj; - if (!getAttachedResourceFullName() - .equals(other.getAttachedResourceFullName())) return false; + if (!getAttachedResourceFullName().equals(other.getAttachedResourceFullName())) return false; if (hasIamBinding() != other.hasIamBinding()) return false; if (hasIamBinding()) { - if (!getIamBinding() - .equals(other.getIamBinding())) return false; + if (!getIamBinding().equals(other.getIamBinding())) return false; } - if (!getAccessControlListsList() - .equals(other.getAccessControlListsList())) return false; + if (!getAccessControlListsList().equals(other.getAccessControlListsList())) return false; if (hasIdentityList() != other.hasIdentityList()) return false; if (hasIdentityList()) { - if (!getIdentityList() - .equals(other.getIdentityList())) return false; + if (!getIdentityList().equals(other.getIdentityList())) return false; } - if (getFullyExplored() - != other.getFullyExplored()) return false; + if (getFullyExplored() != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8602,104 +9632,110 @@ public int hashCode() { hash = (53 * hash) + getIdentityList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( - java.nio.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.asset.v1.IamPolicyAnalysisResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IAM Policy analysis result, consisting of one IAM policy binding and derived
    * access control lists.
@@ -8707,21 +9743,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisResult)
       com.google.cloud.asset.v1.IamPolicyAnalysisResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.class,
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisResult.newBuilder()
@@ -8729,17 +9767,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) {
         getAccessControlListsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8769,9 +9807,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
@@ -8790,7 +9828,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.IamPolicyAnalysisResult buildPartial() {
-      com.google.cloud.asset.v1.IamPolicyAnalysisResult result = new com.google.cloud.asset.v1.IamPolicyAnalysisResult(this);
+      com.google.cloud.asset.v1.IamPolicyAnalysisResult result =
+          new com.google.cloud.asset.v1.IamPolicyAnalysisResult(this);
       int from_bitField0_ = bitField0_;
       result.attachedResourceFullName_ = attachedResourceFullName_;
       if (iamBindingBuilder_ == null) {
@@ -8821,38 +9860,39 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisResult) {
-        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult)other);
+        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8860,7 +9900,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult other) {
-      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisResult.getDefaultInstance())
+        return this;
       if (!other.getAttachedResourceFullName().isEmpty()) {
         attachedResourceFullName_ = other.attachedResourceFullName_;
         onChanged();
@@ -8886,9 +9927,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisResult other
             accessControlListsBuilder_ = null;
             accessControlLists_ = other.accessControlLists_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            accessControlListsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAccessControlListsFieldBuilder() : null;
+            accessControlListsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAccessControlListsFieldBuilder()
+                    : null;
           } else {
             accessControlListsBuilder_.addAllMessages(other.accessControlLists_);
           }
@@ -8919,7 +9961,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -8928,10 +9971,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object attachedResourceFullName_ = "";
     /**
+     *
+     *
      * 
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8941,13 +9987,13 @@ public Builder mergeFrom(
      * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ public java.lang.String getAttachedResourceFullName() { java.lang.Object ref = attachedResourceFullName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; @@ -8956,6 +10002,8 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8965,15 +10013,14 @@ public java.lang.String getAttachedResourceFullName() {
      * 
* * string attached_resource_full_name = 1; + * * @return The bytes for attachedResourceFullName. */ - public com.google.protobuf.ByteString - getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -8981,6 +10028,8 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -8990,20 +10039,22 @@ public java.lang.String getAttachedResourceFullName() {
      * 
* * string attached_resource_full_name = 1; + * * @param value The attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullName( - java.lang.String value) { + public Builder setAttachedResourceFullName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attachedResourceFullName_ = value; onChanged(); return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9013,15 +10064,18 @@ public Builder setAttachedResourceFullName(
      * 
* * string attached_resource_full_name = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { - + attachedResourceFullName_ = getDefaultInstance().getAttachedResourceFullName(); onChanged(); return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -9031,16 +10085,16 @@ public Builder clearAttachedResourceFullName() {
      * 
* * string attached_resource_full_name = 1; + * * @param value The bytes for attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullNameBytes( - com.google.protobuf.ByteString value) { + public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attachedResourceFullName_ = value; onChanged(); return this; @@ -9048,24 +10102,33 @@ public Builder setAttachedResourceFullNameBytes( private com.google.iam.v1.Binding iamBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> iamBindingBuilder_; + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder> + iamBindingBuilder_; /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ public boolean hasIamBinding() { return iamBindingBuilder_ != null || iamBinding_ != null; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ public com.google.iam.v1.Binding getIamBinding() { @@ -9076,6 +10139,8 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9096,14 +10161,15 @@ public Builder setIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; */ - public Builder setIamBinding( - com.google.iam.v1.Binding.Builder builderForValue) { + public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) { if (iamBindingBuilder_ == null) { iamBinding_ = builderForValue.build(); onChanged(); @@ -9114,6 +10180,8 @@ public Builder setIamBinding( return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9124,7 +10192,7 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { if (iamBindingBuilder_ == null) { if (iamBinding_ != null) { iamBinding_ = - com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); + com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); } else { iamBinding_ = value; } @@ -9136,6 +10204,8 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9154,6 +10224,8 @@ public Builder clearIamBinding() { return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9161,11 +10233,13 @@ public Builder clearIamBinding() { * .google.iam.v1.Binding iam_binding = 2; */ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { - + onChanged(); return getIamBindingFieldBuilder().getBuilder(); } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9176,11 +10250,12 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { if (iamBindingBuilder_ != null) { return iamBindingBuilder_.getMessageOrBuilder(); } else { - return iamBinding_ == null ? - com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; + return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9188,32 +10263,44 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { * .google.iam.v1.Binding iam_binding = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder> getIamBindingFieldBuilder() { if (iamBindingBuilder_ == null) { - iamBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>( - getIamBinding(), - getParentForChildren(), - isClean()); + iamBindingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder>( + getIamBinding(), getParentForChildren(), isClean()); iamBinding_ = null; } return iamBindingBuilder_; } - private java.util.List accessControlLists_ = - java.util.Collections.emptyList(); + private java.util.List + accessControlLists_ = java.util.Collections.emptyList(); + private void ensureAccessControlListsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessControlLists_ = new java.util.ArrayList(accessControlLists_); + accessControlLists_ = + new java.util.ArrayList< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList>( + accessControlLists_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> accessControlListsBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + accessControlListsBuilder_; /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9221,9 +10308,12 @@ private void ensureAccessControlListsIsMutable() {
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public java.util.List getAccessControlListsList() { + public java.util.List + getAccessControlListsList() { if (accessControlListsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessControlLists_); } else { @@ -9231,6 +10321,8 @@ public java.util.List * The access control lists derived from the * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding] @@ -9238,7 +10330,9 @@ public java.util.List * - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public int getAccessControlListsCount() { if (accessControlListsBuilder_ == null) { @@ -9248,6 +10342,8 @@ public int getAccessControlListsCount() { } } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9255,9 +10351,12 @@ public int getAccessControlListsCount() {
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList + getAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { return accessControlLists_.get(index); } else { @@ -9265,6 +10364,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAc } } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9272,7 +10373,9 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAc
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder setAccessControlLists( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { @@ -9289,6 +10392,8 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9296,10 +10401,14 @@ public Builder setAccessControlLists(
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder setAccessControlLists( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder + builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.set(index, builderForValue.build()); @@ -9310,6 +10419,8 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9317,9 +10428,12 @@ public Builder setAccessControlLists(
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public Builder addAccessControlLists(com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { + public Builder addAccessControlLists( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9333,6 +10447,8 @@ public Builder addAccessControlLists(com.google.cloud.asset.v1.IamPolicyAnalysis return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9340,7 +10456,9 @@ public Builder addAccessControlLists(com.google.cloud.asset.v1.IamPolicyAnalysis
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAccessControlLists( int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList value) { @@ -9357,6 +10475,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9364,10 +10484,13 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAccessControlLists( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder + builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(builderForValue.build()); @@ -9378,6 +10501,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9385,10 +10510,14 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAccessControlLists( - int index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { + int index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder + builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(index, builderForValue.build()); @@ -9399,6 +10528,8 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9406,14 +10537,17 @@ public Builder addAccessControlLists(
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAllAccessControlLists( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList> + values) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accessControlLists_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessControlLists_); onChanged(); } else { accessControlListsBuilder_.addAllMessages(values); @@ -9421,6 +10555,8 @@ public Builder addAllAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9428,7 +10564,9 @@ public Builder addAllAccessControlLists(
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder clearAccessControlLists() { if (accessControlListsBuilder_ == null) { @@ -9441,6 +10579,8 @@ public Builder clearAccessControlLists() { return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9448,7 +10588,9 @@ public Builder clearAccessControlLists() {
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder removeAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { @@ -9461,6 +10603,8 @@ public Builder removeAccessControlLists(int index) { return this; } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9468,13 +10612,17 @@ public Builder removeAccessControlLists(int index) {
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder getAccessControlListsBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder + getAccessControlListsBuilder(int index) { return getAccessControlListsFieldBuilder().getBuilder(index); } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9482,16 +10630,21 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Build
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( - int index) { + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder + getAccessControlListsOrBuilder(int index) { if (accessControlListsBuilder_ == null) { - return accessControlLists_.get(index); } else { + return accessControlLists_.get(index); + } else { return accessControlListsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9499,10 +10652,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuil
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public java.util.List - getAccessControlListsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + getAccessControlListsOrBuilderList() { if (accessControlListsBuilder_ != null) { return accessControlListsBuilder_.getMessageOrBuilderList(); } else { @@ -9510,6 +10666,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuil } } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9517,13 +10675,20 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuil
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder() { - return getAccessControlListsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder + addAccessControlListsBuilder() { + return getAccessControlListsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList + .getDefaultInstance()); } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9531,14 +10696,21 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Build
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder( - int index) { - return getAccessControlListsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); + public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder + addAccessControlListsBuilder(int index) { + return getAccessControlListsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList + .getDefaultInstance()); } /** + * + * *
      * The access control lists derived from the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9546,18 +10718,27 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Build
      * the request.
      * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public java.util.List - getAccessControlListsBuilderList() { + public java.util.List< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder> + getAccessControlListsBuilderList() { return getAccessControlListsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsFieldBuilder() { if (accessControlListsBuilder_ == null) { - accessControlListsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>( + accessControlListsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>( accessControlLists_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -9569,8 +10750,13 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Build private com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identityList_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder> identityListBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder> + identityListBuilder_; /** + * + * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9578,12 +10764,15 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList.Build
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * * @return Whether the identityList field is set. */ public boolean hasIdentityList() { return identityListBuilder_ != null || identityList_ != null; } /** + * + * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9591,16 +10780,21 @@ public boolean hasIdentityList() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * * @return The identityList. */ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentityList() { if (identityListBuilder_ == null) { - return identityList_ == null ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; + return identityList_ == null + ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() + : identityList_; } else { return identityListBuilder_.getMessage(); } } /** + * + * *
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9609,7 +10803,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentit
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public Builder setIdentityList(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
+    public Builder setIdentityList(
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
       if (identityListBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -9623,6 +10818,8 @@ public Builder setIdentityList(com.google.cloud.asset.v1.IamPolicyAnalysisResult
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9643,6 +10840,8 @@ public Builder setIdentityList(
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9651,11 +10850,15 @@ public Builder setIdentityList(
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public Builder mergeIdentityList(com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
+    public Builder mergeIdentityList(
+        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList value) {
       if (identityListBuilder_ == null) {
         if (identityList_ != null) {
           identityList_ =
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.newBuilder(identityList_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.newBuilder(
+                      identityList_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           identityList_ = value;
         }
@@ -9667,6 +10870,8 @@ public Builder mergeIdentityList(com.google.cloud.asset.v1.IamPolicyAnalysisResu
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9687,6 +10892,8 @@ public Builder clearIdentityList() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9695,12 +10902,15 @@ public Builder clearIdentityList() {
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder getIdentityListBuilder() {
-      
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder
+        getIdentityListBuilder() {
+
       onChanged();
       return getIdentityListFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9709,15 +10919,19 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder ge
      *
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
+        getIdentityListOrBuilder() {
       if (identityListBuilder_ != null) {
         return identityListBuilder_.getMessageOrBuilder();
       } else {
-        return identityList_ == null ?
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_;
+        return identityList_ == null
+            ? com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()
+            : identityList_;
       }
     }
     /**
+     *
+     *
      * 
      * The identity list derived from members of the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9727,21 +10941,26 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
      * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder> 
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList,
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder,
+            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder>
         getIdentityListFieldBuilder() {
       if (identityListBuilder_ == null) {
-        identityListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder>(
-                getIdentityList(),
-                getParentForChildren(),
-                isClean());
+        identityListBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList,
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.Builder,
+                com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder>(
+                getIdentityList(), getParentForChildren(), isClean());
         identityList_ = null;
       }
       return identityListBuilder_;
     }
 
-    private boolean fullyExplored_ ;
+    private boolean fullyExplored_;
     /**
+     *
+     *
      * 
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9749,6 +10968,7 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder g
      * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -9756,6 +10976,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9763,16 +10985,19 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 5; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** + * + * *
      * Represents whether all analyses on the
      * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -9780,17 +11005,18 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 5; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = 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); } @@ -9800,12 +11026,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisResult) private static final com.google.cloud.asset.v1.IamPolicyAnalysisResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisResult(); } @@ -9814,16 +11040,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisResult getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9838,6 +11064,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java index bea6a4a13..30601f1bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisResultOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisResultOrBuilder extends +public interface IamPolicyAnalysisResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -17,10 +35,13 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ java.lang.String getAttachedResourceFullName(); /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
@@ -30,30 +51,38 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * 
* * string attached_resource_full_name = 1; + * * @return The bytes for attachedResourceFullName. */ - com.google.protobuf.ByteString - getAttachedResourceFullNameBytes(); + com.google.protobuf.ByteString getAttachedResourceFullNameBytes(); /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ boolean hasIamBinding(); /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ com.google.iam.v1.Binding getIamBinding(); /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -63,6 +92,8 @@ public interface IamPolicyAnalysisResultOrBuilder extends com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder(); /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -70,11 +101,15 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - java.util.List + java.util.List getAccessControlListsList(); /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -82,10 +117,15 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists( + int index); /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -93,10 +133,14 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ int getAccessControlListsCount(); /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -104,11 +148,16 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsOrBuilderList(); /** + * + * *
    * The access control lists derived from the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -116,12 +165,16 @@ public interface IamPolicyAnalysisResultOrBuilder extends
    * the request.
    * 
* - * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( - int index); + com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder + getAccessControlListsOrBuilder(int index); /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -129,10 +182,13 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder get
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * * @return Whether the identityList field is set. */ boolean hasIdentityList(); /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -140,10 +196,13 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder get
    * 
* * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * * @return The identityList. */ com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList getIdentityList(); /** + * + * *
    * The identity list derived from members of the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -152,9 +211,12 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder get
    *
    * .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
    */
-  com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder();
+  com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityListOrBuilder
+      getIdentityListOrBuilder();
 
   /**
+   *
+   *
    * 
    * Represents whether all analyses on the
    * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
@@ -162,6 +224,7 @@ com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder get
    * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ boolean getFullyExplored(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java index adf8f9efa..d76ed9749 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisState.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * Represents the detailed state of an entity under analysis, such as a
  * resource, an identity or an access.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisState}
  */
-public final class IamPolicyAnalysisState extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IamPolicyAnalysisState extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicyAnalysisState)
     IamPolicyAnalysisStateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IamPolicyAnalysisState.newBuilder() to construct.
   private IamPolicyAnalysisState(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private IamPolicyAnalysisState() {
     code_ = 0;
     cause_ = "";
@@ -27,16 +45,15 @@ private IamPolicyAnalysisState() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisState();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private IamPolicyAnalysisState(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private IamPolicyAnalysisState(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            code_ = rawValue;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              code_ = rawValue;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            cause_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              cause_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private IamPolicyAnalysisState(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.IamPolicyAnalysisState.class, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
+            com.google.cloud.asset.v1.IamPolicyAnalysisState.class,
+            com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
   }
 
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_;
   /**
+   *
+   *
    * 
    * The Google standard error code that best describes the state.
    * For example:
@@ -114,12 +137,16 @@ private IamPolicyAnalysisState(
    * 
* * .google.rpc.Code code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
    * The Google standard error code that best describes the state.
    * For example:
@@ -130,9 +157,11 @@ private IamPolicyAnalysisState(
    * 
* * .google.rpc.Code code = 1; + * * @return The code. */ - @java.lang.Override public com.google.rpc.Code getCode() { + @java.lang.Override + public com.google.rpc.Code getCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(code_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; @@ -141,11 +170,14 @@ private IamPolicyAnalysisState( public static final int CAUSE_FIELD_NUMBER = 2; private volatile java.lang.Object cause_; /** + * + * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; + * * @return The cause. */ @java.lang.Override @@ -154,29 +186,29 @@ public java.lang.String getCause() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; } } /** + * + * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; + * * @return The bytes for cause. */ @java.lang.Override - public com.google.protobuf.ByteString - getCauseBytes() { + public com.google.protobuf.ByteString getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cause_ = b; return b; } else { @@ -185,6 +217,7 @@ public java.lang.String getCause() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (code_ != com.google.rpc.Code.OK.getNumber()) { output.writeEnum(1, code_); } @@ -214,8 +246,7 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cause_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_); @@ -228,16 +259,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.asset.v1.IamPolicyAnalysisState)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicyAnalysisState other = (com.google.cloud.asset.v1.IamPolicyAnalysisState) obj; + com.google.cloud.asset.v1.IamPolicyAnalysisState other = + (com.google.cloud.asset.v1.IamPolicyAnalysisState) obj; if (code_ != other.code_) return false; - if (!getCause() - .equals(other.getCause())) return false; + if (!getCause().equals(other.getCause())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,97 +289,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicyAnalysisState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicyAnalysisState parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisState parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicyAnalysisState parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicyAnalysisState parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicyAnalysisState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicyAnalysisState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the detailed state of an entity under analysis, such as a
    * resource, an identity or an access.
@@ -356,21 +394,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.IamPolicyAnalysisState}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicyAnalysisState)
       com.google.cloud.asset.v1.IamPolicyAnalysisStateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.IamPolicyAnalysisState.class, com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
+              com.google.cloud.asset.v1.IamPolicyAnalysisState.class,
+              com.google.cloud.asset.v1.IamPolicyAnalysisState.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.IamPolicyAnalysisState.newBuilder()
@@ -378,16 +418,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,9 +438,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_IamPolicyAnalysisState_descriptor;
     }
 
     @java.lang.Override
@@ -420,7 +459,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.IamPolicyAnalysisState buildPartial() {
-      com.google.cloud.asset.v1.IamPolicyAnalysisState result = new com.google.cloud.asset.v1.IamPolicyAnalysisState(this);
+      com.google.cloud.asset.v1.IamPolicyAnalysisState result =
+          new com.google.cloud.asset.v1.IamPolicyAnalysisState(this);
       result.code_ = code_;
       result.cause_ = cause_;
       onBuilt();
@@ -431,38 +471,39 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisState buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.IamPolicyAnalysisState) {
-        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisState)other);
+        return mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisState) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -470,7 +511,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicyAnalysisState other) {
-      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.IamPolicyAnalysisState.getDefaultInstance())
+        return this;
       if (other.code_ != 0) {
         setCodeValue(other.getCodeValue());
       }
@@ -509,6 +551,8 @@ public Builder mergeFrom(
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -519,12 +563,16 @@ public Builder mergeFrom(
      * 
* * .google.rpc.Code code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -535,16 +583,19 @@ public Builder mergeFrom(
      * 
* * .google.rpc.Code code = 1; + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -555,6 +606,7 @@ public Builder setCodeValue(int value) {
      * 
* * .google.rpc.Code code = 1; + * * @return The code. */ @java.lang.Override @@ -564,6 +616,8 @@ public com.google.rpc.Code getCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -574,6 +628,7 @@ public com.google.rpc.Code getCode() {
      * 
* * .google.rpc.Code code = 1; + * * @param value The code to set. * @return This builder for chaining. */ @@ -581,12 +636,14 @@ public Builder setCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -597,10 +654,11 @@ public Builder setCode(com.google.rpc.Code value) {
      * 
* * .google.rpc.Code code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -608,18 +666,20 @@ public Builder clearCode() { private java.lang.Object cause_ = ""; /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return The cause. */ public java.lang.String getCause() { java.lang.Object ref = cause_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; @@ -628,20 +688,21 @@ public java.lang.String getCause() { } } /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return The bytes for cause. */ - public com.google.protobuf.ByteString - getCauseBytes() { + public com.google.protobuf.ByteString getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cause_ = b; return b; } else { @@ -649,61 +710,68 @@ public java.lang.String getCause() { } } /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @param value The cause to set. * @return This builder for chaining. */ - public Builder setCause( - java.lang.String value) { + public Builder setCause(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cause_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return This builder for chaining. */ public Builder clearCause() { - + cause_ = getDefaultInstance().getCause(); onChanged(); return this; } /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @param value The bytes for cause to set. * @return This builder for chaining. */ - public Builder setCauseBytes( - com.google.protobuf.ByteString value) { + public Builder setCauseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cause_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,12 +781,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicyAnalysisState) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicyAnalysisState) private static final com.google.cloud.asset.v1.IamPolicyAnalysisState DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicyAnalysisState(); } @@ -727,16 +795,16 @@ public static com.google.cloud.asset.v1.IamPolicyAnalysisState getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisState(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -751,6 +819,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicyAnalysisState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java index 6208f59f1..be06b9be5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicyAnalysisStateOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface IamPolicyAnalysisStateOrBuilder extends +public interface IamPolicyAnalysisStateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicyAnalysisState) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Google standard error code that best describes the state.
    * For example:
@@ -18,10 +36,13 @@ public interface IamPolicyAnalysisStateOrBuilder extends
    * 
* * .google.rpc.Code code = 1; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
    * The Google standard error code that best describes the state.
    * For example:
@@ -32,27 +53,33 @@ public interface IamPolicyAnalysisStateOrBuilder extends
    * 
* * .google.rpc.Code code = 1; + * * @return The code. */ com.google.rpc.Code getCode(); /** + * + * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; + * * @return The cause. */ java.lang.String getCause(); /** + * + * *
    * The human-readable description of the cause of failure.
    * 
* * string cause = 2; + * * @return The bytes for cause. */ - com.google.protobuf.ByteString - getCauseBytes(); + com.google.protobuf.ByteString getCauseBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java index 1d71cd11b..00683a862 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResult.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * A result of IAM Policy search, containing information of an IAM policy.
  * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult} */ -public final class IamPolicySearchResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IamPolicySearchResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicySearchResult) IamPolicySearchResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicySearchResult.newBuilder() to construct. private IamPolicySearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IamPolicySearchResult() { resource_ = ""; assetType_ = ""; @@ -29,16 +47,15 @@ private IamPolicySearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicySearchResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicySearchResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,72 +75,82 @@ private IamPolicySearchResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 26: { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); + resource_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder subBuilder = null; - if (explanation_ != null) { - subBuilder = explanation_.toBuilder(); + project_ = s; + break; } - explanation_ = input.readMessage(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explanation_); - explanation_ = subBuilder.buildPartial(); + case 26: + { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder subBuilder = null; + if (explanation_ != null) { + subBuilder = explanation_.toBuilder(); + } + explanation_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explanation_); + explanation_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - assetType_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - folders_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + assetType_ = s; + break; } - folders_.add(s); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + folders_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + folders_.add(s); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - organization_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + organization_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -131,8 +158,7 @@ private IamPolicySearchResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { folders_ = folders_.getUnmodifiableView(); @@ -141,24 +167,30 @@ private IamPolicySearchResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.class, com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.class, + com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); } - public interface ExplanationOrBuilder extends + public interface ExplanationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicySearchResult.Explanation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -169,10 +201,14 @@ public interface ExplanationOrBuilder extends
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ int getMatchedPermissionsCount(); /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -183,17 +219,20 @@ public interface ExplanationOrBuilder extends
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; - */ - boolean containsMatchedPermissions( - java.lang.String key); - /** - * Use {@link #getMatchedPermissionsMap()} instead. + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ + boolean containsMatchedPermissions(java.lang.String key); + /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getMatchedPermissions(); + java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + getMatchedPermissions(); /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -204,11 +243,17 @@ boolean containsMatchedPermissions(
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ - java.util.Map - getMatchedPermissionsMap(); + java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + getMatchedPermissionsMap(); /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -219,15 +264,20 @@ boolean containsMatchedPermissions(
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ /* nullable */ -com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getMatchedPermissionsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue); /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -238,43 +288,45 @@ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatch
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ - - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow( - java.lang.String key); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getMatchedPermissionsOrThrow(java.lang.String key); } /** + * + * *
    * Explanation about the IAM policy search result.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation} */ - public static final class Explanation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Explanation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation) ExplanationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Explanation.newBuilder() to construct. private Explanation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Explanation() { - } + + private Explanation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Explanation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Explanation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -294,26 +346,33 @@ private Explanation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - matchedPermissions_ = com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + matchedPermissions_ = + com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + matchedPermissions__ = + input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + matchedPermissions_ + .getMutableMap() + .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); + break; } - com.google.protobuf.MapEntry - matchedPermissions__ = input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - matchedPermissions_.getMutableMap().put( - matchedPermissions__.getKey(), matchedPermissions__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -321,115 +380,129 @@ private Explanation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_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 internalGetMatchedPermissions(); 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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); } - public interface PermissionsOrBuilder extends + public interface PermissionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @return A list containing the permissions. */ - java.util.List - getPermissionsList(); + java.util.List getPermissionsList(); /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString - getPermissionsBytes(int index); + com.google.protobuf.ByteString getPermissionsBytes(int index); } /** + * + * *
      * IAM permissions
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions} */ - public static final class Permissions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Permissions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) PermissionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Permissions.newBuilder() to construct. private Permissions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Permissions() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Permissions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Permissions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -449,22 +522,23 @@ private Permissions( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + permissions_.add(s); + break; } - permissions_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -472,8 +546,8 @@ private Permissions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { permissions_ = permissions_.getUnmodifiableView(); @@ -482,50 +556,62 @@ private Permissions( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder + .class); } public static final int PERMISSIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList permissions_; /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_; } /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -533,20 +619,23 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
        * A list of permissions. A sample permission string: `compute.disk.get`.
        * 
* * repeated string permissions = 1; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -558,8 +647,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } @@ -588,15 +676,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.asset.v1.IamPolicySearchResult.Explanation.Permissions)) { + if (!(obj + instanceof com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) obj; + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other = + (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) obj; - if (!getPermissionsList() - .equals(other.getPermissionsList())) return false; + if (!getPermissionsList().equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -617,88 +706,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + 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.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions 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.asset.v1.IamPolicySearchResult.Explanation.Permissions + 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.asset.v1.IamPolicySearchResult.Explanation.Permissions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parseDelimitedFrom( - java.io.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.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseDelimitedFrom( + java.io.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.asset.v1.IamPolicySearchResult.Explanation.Permissions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions 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.asset.v1.IamPolicySearchResult.Explanation.Permissions + 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.asset.v1.IamPolicySearchResult.Explanation.Permissions prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -708,44 +812,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * IAM permissions
        * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.PermissionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.class, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.Builder + .class); } - // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.newBuilder() + // Construct using + // com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -755,19 +865,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_Permissions_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getDefaultInstanceForType() { - return com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.getDefaultInstance(); + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getDefaultInstanceForType() { + return com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions build() { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = buildPartial(); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -775,8 +888,10 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions b } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions buildPartial() { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(this); + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + buildPartial() { + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions result = + new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); @@ -791,46 +906,54 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions)other); + if (other + instanceof com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) { + return mergeFrom( + (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other) { - if (other == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions other) { + if (other + == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + .getDefaultInstance()) return this; if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; @@ -856,11 +979,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parsedMessage = null; + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -869,44 +995,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList permissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_.getUnmodifiableView(); } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -914,80 +1051,90 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - int index, java.lang.String value) { + public Builder setPermissions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions( - java.lang.String value) { + public Builder addPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions( - java.lang.Iterable values) { + public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); onChanged(); return this; } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -997,25 +1144,28 @@ public Builder clearPermissions() { return this; } /** + * + * *
          * A list of permissions. A sample permission string: `compute.disk.get`.
          * 
* * repeated string permissions = 1; + * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1028,30 +1178,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions) - private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions(); } - public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getDefaultInstance() { + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Permissions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Permissions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Permissions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1063,28 +1216,41 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int MATCHED_PERMISSIONS_FIELD_NUMBER = 1; + private static final class MatchedPermissionsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> defaultEntry = + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + .getDefaultInstance()); } + private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matchedPermissions_; - private com.google.protobuf.MapField - internalGetMatchedPermissions() { + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + matchedPermissions_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); @@ -1096,6 +1262,8 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1106,24 +1274,29 @@ public int getMatchedPermissionsCount() {
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ - @java.lang.Override - public boolean containsMatchedPermissions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMatchedPermissions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** - * Use {@link #getMatchedPermissionsMap()} instead. - */ + /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMatchedPermissions() { + public java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + getMatchedPermissions() { return getMatchedPermissionsMap(); } /** + * + * *
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1134,14 +1307,20 @@ public java.util.Map
      *
-     * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+     * 
+     * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getMatchedPermissionsMap() {
+    public java.util.Map<
+            java.lang.String,
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions>
+        getMatchedPermissionsMap() {
       return internalGetMatchedPermissions().getMap();
     }
     /**
+     *
+     *
      * 
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1152,19 +1331,27 @@ public java.util.Map
      *
-     * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+     * 
+     * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+     * 
      */
     @java.lang.Override
-
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault(
-        java.lang.String key,
-        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMatchedPermissions().getMap();
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions
+        getMatchedPermissionsOrDefault(
+            java.lang.String key,
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map<
+              java.lang.String,
+              com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions>
+          map = internalGetMatchedPermissions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The map from roles to their included permissions that match the
      * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1175,15 +1362,20 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions g
      * map is populated only for requests with permission queries.
      * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ @java.lang.Override - - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMatchedPermissions().getMap(); + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getMatchedPermissionsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + map = internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1191,6 +1383,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions g } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1202,10 +1395,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMatchedPermissions(), MatchedPermissionsDefaultEntryHolder.defaultEntry, @@ -1219,15 +1410,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetMatchedPermissions().getMap().entrySet()) { - com.google.protobuf.MapEntry - matchedPermissions__ = MatchedPermissionsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchedPermissions__); + for (java.util.Map.Entry< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + entry : internalGetMatchedPermissions().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + matchedPermissions__ = + MatchedPermissionsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchedPermissions__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1237,15 +1433,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.asset.v1.IamPolicySearchResult.Explanation)) { return super.equals(obj); } - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation other = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) obj; + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation other = + (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) obj; - if (!internalGetMatchedPermissions().equals( - other.internalGetMatchedPermissions())) return false; + if (!internalGetMatchedPermissions().equals(other.internalGetMatchedPermissions())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1267,87 +1464,94 @@ public int hashCode() { } public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.nio.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.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( - byte[] data, - com.google.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.asset.v1.IamPolicySearchResult.Explanation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicySearchResult.Explanation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.IamPolicySearchResult.Explanation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1357,49 +1561,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Explanation about the IAM policy search result.
      * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult.Explanation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicySearchResult.Explanation) com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetMatchedPermissions(); 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 internalGetMutableMatchedPermissions(); 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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.class, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.newBuilder() @@ -1407,16 +1614,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1425,13 +1631,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_Explanation_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation + getDefaultInstanceForType() { return com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance(); } @@ -1446,7 +1653,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation buildPartial() { - com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(this); + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation result = + new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(this); int from_bitField0_ = bitField0_; result.matchedPermissions_ = internalGetMatchedPermissions(); result.matchedPermissions_.makeImmutable(); @@ -1458,38 +1666,41 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.IamPolicySearchResult.Explanation) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult.Explanation)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) other); } else { super.mergeFrom(other); return this; @@ -1497,9 +1708,10 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation other) { - if (other == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()) return this; - internalGetMutableMatchedPermissions().mergeFrom( - other.internalGetMatchedPermissions()); + if (other + == com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()) + return this; + internalGetMutableMatchedPermissions().mergeFrom(other.internalGetMatchedPermissions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1519,7 +1731,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.IamPolicySearchResult.Explanation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1528,24 +1742,35 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matchedPermissions_; - private com.google.protobuf.MapField - internalGetMatchedPermissions() { + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + matchedPermissions_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); } return matchedPermissions_; } - private com.google.protobuf.MapField - internalGetMutableMatchedPermissions() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + internalGetMutableMatchedPermissions() { + onChanged(); + ; if (matchedPermissions_ == null) { - matchedPermissions_ = com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); + matchedPermissions_ = + com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); } if (!matchedPermissions_.isMutable()) { matchedPermissions_ = matchedPermissions_.copy(); @@ -1557,6 +1782,8 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1567,24 +1794,29 @@ public int getMatchedPermissionsCount() {
        * map is populated only for requests with permission queries.
        * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ - @java.lang.Override - public boolean containsMatchedPermissions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMatchedPermissions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** - * Use {@link #getMatchedPermissionsMap()} instead. - */ + /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMatchedPermissions() { + public java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + getMatchedPermissions() { return getMatchedPermissionsMap(); } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1595,14 +1827,20 @@ public java.util.Map
        *
-       * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+       * 
+       * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+       * 
        */
       @java.lang.Override
-
-      public java.util.Map getMatchedPermissionsMap() {
+      public java.util.Map<
+              java.lang.String,
+              com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions>
+          getMatchedPermissionsMap() {
         return internalGetMatchedPermissions().getMap();
       }
       /**
+       *
+       *
        * 
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1613,19 +1851,28 @@ public java.util.Map
        *
-       * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+       * 
+       * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
+       * 
        */
       @java.lang.Override
-
-      public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault(
-          java.lang.String key,
-          com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetMatchedPermissions().getMap();
+      public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions
+          getMatchedPermissionsOrDefault(
+              java.lang.String key,
+              com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions
+                  defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map<
+                java.lang.String,
+                com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions>
+            map = internalGetMatchedPermissions().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1636,15 +1883,20 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions g
        * map is populated only for requests with permission queries.
        * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ @java.lang.Override - - public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetMatchedPermissions().getMap(); + public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions + getMatchedPermissionsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + map = internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1652,11 +1904,12 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions g } public Builder clearMatchedPermissions() { - internalGetMutableMatchedPermissions().getMutableMap() - .clear(); + internalGetMutableMatchedPermissions().getMutableMap().clear(); return this; } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1667,25 +1920,28 @@ public Builder clearMatchedPermissions() {
        * map is populated only for requests with permission queries.
        * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ - - public Builder removeMatchedPermissions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMatchedPermissions().getMutableMap() - .remove(key); + public Builder removeMatchedPermissions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMatchedPermissions().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableMatchedPermissions() { + public java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + getMutableMatchedPermissions() { return internalGetMutableMatchedPermissions().getMutableMap(); } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1696,21 +1952,26 @@ public Builder removeMatchedPermissions(
        * map is populated only for requests with permission queries.
        * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ public Builder putMatchedPermissions( java.lang.String key, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions value) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableMatchedPermissions().getMutableMap() - .put(key, value); + internalGetMutableMatchedPermissions().getMutableMap().put(key, value); return this; } /** + * + * *
        * The map from roles to their included permissions that match the
        * permission query (i.e., a query containing `policy.role.permissions:`).
@@ -1721,15 +1982,19 @@ public Builder putMatchedPermissions(
        * map is populated only for requests with permission queries.
        * 
* - * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * + * map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1; + * */ - public Builder putAllMatchedPermissions( - java.util.Map values) { - internalGetMutableMatchedPermissions().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> + values) { + internalGetMutableMatchedPermissions().getMutableMap().putAll(values); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1742,12 +2007,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicySearchResult.Explanation) - private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1.IamPolicySearchResult.Explanation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicySearchResult.Explanation(); } @@ -1756,16 +2022,16 @@ public static com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Explanation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Explanation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Explanation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1780,12 +2046,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object resource_; /** + * + * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -1798,6 +2065,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getDefaultIns
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -1806,14 +2074,15 @@ 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; } } /** + * + * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -1826,16 +2095,15 @@ public java.lang.String getResource() {
    * 
* * string resource = 1; + * * @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 { @@ -1846,6 +2114,8 @@ public java.lang.String getResource() { public static final int ASSET_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -1854,6 +2124,7 @@ public java.lang.String getResource() {
    * 
* * string asset_type = 5; + * * @return The assetType. */ @java.lang.Override @@ -1862,14 +2133,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -1878,16 +2150,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 5; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -1898,6 +2169,8 @@ public java.lang.String getAssetType() { public static final int PROJECT_FIELD_NUMBER = 2; private volatile java.lang.Object project_; /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -1909,6 +2182,7 @@ public java.lang.String getAssetType() {
    * 
* * string project = 2; + * * @return The project. */ @java.lang.Override @@ -1917,14 +2191,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -1936,16 +2211,15 @@ public java.lang.String getProject() {
    * 
* * string project = 2; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -1956,6 +2230,8 @@ public java.lang.String getProject() { public static final int FOLDERS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList folders_; /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1967,13 +2243,15 @@ public java.lang.String getProject() {
    * 
* * repeated string folders = 6; + * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList - getFoldersList() { + public com.google.protobuf.ProtocolStringList getFoldersList() { return folders_; } /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -1985,12 +2263,15 @@ public java.lang.String getProject() {
    * 
* * repeated string folders = 6; + * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2002,6 +2283,7 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -2009,6 +2291,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -2020,17 +2304,19 @@ public java.lang.String getFolders(int index) {
    * 
* * repeated string folders = 6; + * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString - getFoldersBytes(int index) { + public com.google.protobuf.ByteString getFoldersBytes(int index) { return folders_.getByteString(index); } public static final int ORGANIZATION_FIELD_NUMBER = 7; private volatile java.lang.Object organization_; /** + * + * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -2042,6 +2328,7 @@ public java.lang.String getFolders(int index) {
    * 
* * string organization = 7; + * * @return The organization. */ @java.lang.Override @@ -2050,14 +2337,15 @@ public java.lang.String getOrganization() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; } } /** + * + * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -2069,16 +2357,15 @@ public java.lang.String getOrganization() {
    * 
* * string organization = 7; + * * @return The bytes for organization. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrganizationBytes() { + public com.google.protobuf.ByteString getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); organization_ = b; return b; } else { @@ -2089,6 +2376,8 @@ public java.lang.String getOrganization() { public static final int POLICY_FIELD_NUMBER = 3; private com.google.iam.v1.Policy policy_; /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2105,6 +2394,7 @@ public java.lang.String getOrganization() {
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -2112,6 +2402,8 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2128,6 +2420,7 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ @java.lang.Override @@ -2135,6 +2428,8 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -2160,12 +2455,15 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
   public static final int EXPLANATION_FIELD_NUMBER = 4;
   private com.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation_;
   /**
+   *
+   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; + * * @return Whether the explanation field is set. */ @java.lang.Override @@ -2173,19 +2471,26 @@ public boolean hasExplanation() { return explanation_ != null; } /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; + * * @return The explanation. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanation() { - return explanation_ == null ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; + return explanation_ == null + ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() + : explanation_; } /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
@@ -2194,11 +2499,13 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanatio
    * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
+  public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder
+      getExplanationOrBuilder() {
     return getExplanation();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2210,8 +2517,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
     }
@@ -2249,12 +2555,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, project_);
     }
     if (policy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getPolicy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolicy());
     }
     if (explanation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getExplanation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExplanation());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, assetType_);
@@ -2278,32 +2582,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.IamPolicySearchResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.IamPolicySearchResult other = (com.google.cloud.asset.v1.IamPolicySearchResult) obj;
-
-    if (!getResource()
-        .equals(other.getResource())) return false;
-    if (!getAssetType()
-        .equals(other.getAssetType())) return false;
-    if (!getProject()
-        .equals(other.getProject())) return false;
-    if (!getFoldersList()
-        .equals(other.getFoldersList())) return false;
-    if (!getOrganization()
-        .equals(other.getOrganization())) return false;
+    com.google.cloud.asset.v1.IamPolicySearchResult other =
+        (com.google.cloud.asset.v1.IamPolicySearchResult) obj;
+
+    if (!getResource().equals(other.getResource())) return false;
+    if (!getAssetType().equals(other.getAssetType())) return false;
+    if (!getProject().equals(other.getProject())) return false;
+    if (!getFoldersList().equals(other.getFoldersList())) return false;
+    if (!getOrganization().equals(other.getOrganization())) return false;
     if (hasPolicy() != other.hasPolicy()) return false;
     if (hasPolicy()) {
-      if (!getPolicy()
-          .equals(other.getPolicy())) return false;
+      if (!getPolicy().equals(other.getPolicy())) return false;
     }
     if (hasExplanation() != other.hasExplanation()) return false;
     if (hasExplanation()) {
-      if (!getExplanation()
-          .equals(other.getExplanation())) return false;
+      if (!getExplanation().equals(other.getExplanation())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -2341,118 +2639,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.IamPolicySearchResult 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.asset.v1.IamPolicySearchResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.IamPolicySearchResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.IamPolicySearchResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.IamPolicySearchResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.IamPolicySearchResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.IamPolicySearchResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.IamPolicySearchResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A result of IAM Policy search, containing information of an IAM policy.
    * 
* * Protobuf type {@code google.cloud.asset.v1.IamPolicySearchResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.IamPolicySearchResult) com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.IamPolicySearchResult.class, com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1.IamPolicySearchResult.class, + com.google.cloud.asset.v1.IamPolicySearchResult.Builder.class); } // Construct using com.google.cloud.asset.v1.IamPolicySearchResult.newBuilder() @@ -2460,16 +2767,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2499,9 +2805,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_IamPolicySearchResult_descriptor; } @java.lang.Override @@ -2520,7 +2826,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult build() { @java.lang.Override public com.google.cloud.asset.v1.IamPolicySearchResult buildPartial() { - com.google.cloud.asset.v1.IamPolicySearchResult result = new com.google.cloud.asset.v1.IamPolicySearchResult(this); + com.google.cloud.asset.v1.IamPolicySearchResult result = + new com.google.cloud.asset.v1.IamPolicySearchResult(this); int from_bitField0_ = bitField0_; result.resource_ = resource_; result.assetType_ = assetType_; @@ -2549,38 +2856,39 @@ public com.google.cloud.asset.v1.IamPolicySearchResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.IamPolicySearchResult) { - return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult)other); + return mergeFrom((com.google.cloud.asset.v1.IamPolicySearchResult) other); } else { super.mergeFrom(other); return this; @@ -2588,7 +2896,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.IamPolicySearchResult other) { - if (other == com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance()) + return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -2649,10 +2958,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object resource_ = ""; /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2665,13 +2977,13 @@ public Builder mergeFrom(
      * 
* * string resource = 1; + * * @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; @@ -2680,6 +2992,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2692,15 +3006,14 @@ public java.lang.String getResource() {
      * 
* * string resource = 1; + * * @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 { @@ -2708,6 +3021,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2720,20 +3035,22 @@ public java.lang.String getResource() {
      * 
* * string resource = 1; + * * @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; } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2746,15 +3063,18 @@ public Builder setResource(
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * The full resource name of the resource associated with this IAM policy.
      * Example:
@@ -2767,16 +3087,16 @@ public Builder clearResource() {
      * 
* * string resource = 1; + * * @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; @@ -2784,6 +3104,8 @@ public Builder setResourceBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2792,13 +3114,13 @@ public Builder setResourceBytes(
      * 
* * string asset_type = 5; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -2807,6 +3129,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2815,15 +3139,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 5; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -2831,6 +3154,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2839,20 +3164,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 5; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2861,15 +3188,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 5; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of the resource associated with this IAM policy. Example:
      * `compute.googleapis.com/Disk`.
@@ -2878,16 +3208,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 5; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -2895,6 +3225,8 @@ public Builder setAssetTypeBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -2906,13 +3238,13 @@ public Builder setAssetTypeBytes(
      * 
* * string project = 2; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -2921,6 +3253,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -2932,15 +3266,14 @@ public java.lang.String getProject() {
      * 
* * string project = 2; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -2948,6 +3281,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -2959,20 +3294,22 @@ public java.lang.String getProject() {
      * 
* * string project = 2; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -2984,15 +3321,18 @@ public Builder setProject(
      * 
* * string project = 2; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -3004,29 +3344,33 @@ public Builder clearProject() {
      * 
* * string project = 2; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList folders_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList folders_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFoldersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3038,13 +3382,15 @@ private void ensureFoldersIsMutable() {
      * 
* * repeated string folders = 6; + * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList - getFoldersList() { + public com.google.protobuf.ProtocolStringList getFoldersList() { return folders_.getUnmodifiableView(); } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3056,12 +3402,15 @@ private void ensureFoldersIsMutable() {
      * 
* * repeated string folders = 6; + * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3073,6 +3422,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3080,6 +3430,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3091,14 +3443,16 @@ public java.lang.String getFolders(int index) {
      * 
* * repeated string folders = 6; + * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString - getFoldersBytes(int index) { + public com.google.protobuf.ByteString getFoldersBytes(int index) { return folders_.getByteString(index); } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3110,21 +3464,23 @@ public java.lang.String getFolders(int index) {
      * 
* * repeated string folders = 6; + * * @param index The index to set the value at. * @param value The folders to set. * @return This builder for chaining. */ - public Builder setFolders( - int index, java.lang.String value) { + public Builder setFolders(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3136,20 +3492,22 @@ public Builder setFolders(
      * 
* * repeated string folders = 6; + * * @param value The folders to add. * @return This builder for chaining. */ - public Builder addFolders( - java.lang.String value) { + public Builder addFolders(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3161,18 +3519,19 @@ public Builder addFolders(
      * 
* * repeated string folders = 6; + * * @param values The folders to add. * @return This builder for chaining. */ - public Builder addAllFolders( - java.lang.Iterable values) { + public Builder addAllFolders(java.lang.Iterable values) { ensureFoldersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, folders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, folders_); onChanged(); return this; } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3184,6 +3543,7 @@ public Builder addAllFolders(
      * 
* * repeated string folders = 6; + * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3193,6 +3553,8 @@ public Builder clearFolders() { return this; } /** + * + * *
      * The folder(s) that the IAM policy belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -3204,15 +3566,15 @@ public Builder clearFolders() {
      * 
* * repeated string folders = 6; + * * @param value The bytes of the folders to add. * @return This builder for chaining. */ - public Builder addFoldersBytes( - com.google.protobuf.ByteString value) { + public Builder addFoldersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); onChanged(); @@ -3221,6 +3583,8 @@ public Builder addFoldersBytes( private java.lang.Object organization_ = ""; /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3232,13 +3596,13 @@ public Builder addFoldersBytes(
      * 
* * string organization = 7; + * * @return The organization. */ public java.lang.String getOrganization() { java.lang.Object ref = organization_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; @@ -3247,6 +3611,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3258,15 +3624,14 @@ public java.lang.String getOrganization() {
      * 
* * string organization = 7; + * * @return The bytes for organization. */ - public com.google.protobuf.ByteString - getOrganizationBytes() { + public com.google.protobuf.ByteString getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); organization_ = b; return b; } else { @@ -3274,6 +3639,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3285,20 +3652,22 @@ public java.lang.String getOrganization() {
      * 
* * string organization = 7; + * * @param value The organization to set. * @return This builder for chaining. */ - public Builder setOrganization( - java.lang.String value) { + public Builder setOrganization(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + organization_ = value; onChanged(); return this; } /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3310,15 +3679,18 @@ public Builder setOrganization(
      * 
* * string organization = 7; + * * @return This builder for chaining. */ public Builder clearOrganization() { - + organization_ = getDefaultInstance().getOrganization(); onChanged(); return this; } /** + * + * *
      * The organization that the IAM policy belongs to, in the form
      * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3330,16 +3702,16 @@ public Builder clearOrganization() {
      * 
* * string organization = 7; + * * @param value The bytes for organization to set. * @return This builder for chaining. */ - public Builder setOrganizationBytes( - com.google.protobuf.ByteString value) { + public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + organization_ = value; onChanged(); return this; @@ -3347,8 +3719,13 @@ public Builder setOrganizationBytes( private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + policyBuilder_; /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3365,12 +3742,15 @@ public Builder setOrganizationBytes(
      * 
* * .google.iam.v1.Policy policy = 3; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3387,6 +3767,7 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -3397,6 +3778,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3428,6 +3811,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3445,8 +3830,7 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy policy = 3;
      */
-    public Builder setPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (policyBuilder_ == null) {
         policy_ = builderForValue.build();
         onChanged();
@@ -3457,6 +3841,8 @@ public Builder setPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3477,8 +3863,7 @@ public Builder setPolicy(
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
         if (policy_ != null) {
-          policy_ =
-            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+          policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -3490,6 +3875,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3519,6 +3906,8 @@ public Builder clearPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3537,11 +3926,13 @@ public Builder clearPolicy() {
      * .google.iam.v1.Policy policy = 3;
      */
     public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-      
+
       onChanged();
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3563,11 +3954,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       if (policyBuilder_ != null) {
         return policyBuilder_.getMessageOrBuilder();
       } else {
-        return policy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
       }
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -3586,14 +3978,16 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * .google.iam.v1.Policy policy = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getPolicyFieldBuilder() {
       if (policyBuilder_ == null) {
-        policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getPolicy(),
-                getParentForChildren(),
-                isClean());
+        policyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean());
         policy_ = null;
       }
       return policyBuilder_;
@@ -3601,36 +3995,49 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
 
     private com.google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder> explanationBuilder_;
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation,
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder,
+            com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>
+        explanationBuilder_;
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; + * * @return Whether the explanation field is set. */ public boolean hasExplanation() { return explanationBuilder_ != null || explanation_ != null; } /** + * + * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; + * * @return The explanation. */ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanation() { if (explanationBuilder_ == null) { - return explanation_ == null ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; + return explanation_ == null + ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() + : explanation_; } else { return explanationBuilder_.getMessage(); } } /** + * + * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3638,7 +4045,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanatio
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public Builder setExplanation(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
+    public Builder setExplanation(
+        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3652,6 +4060,8 @@ public Builder setExplanation(com.google.cloud.asset.v1.IamPolicySearchResult.Ex
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3671,6 +4081,8 @@ public Builder setExplanation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3678,11 +4090,14 @@ public Builder setExplanation(
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public Builder mergeExplanation(com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
+    public Builder mergeExplanation(
+        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (explanation_ != null) {
           explanation_ =
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.newBuilder(explanation_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.newBuilder(explanation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           explanation_ = value;
         }
@@ -3694,6 +4109,8 @@ public Builder mergeExplanation(com.google.cloud.asset.v1.IamPolicySearchResult.
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3713,6 +4130,8 @@ public Builder clearExplanation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3720,12 +4139,15 @@ public Builder clearExplanation() {
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder getExplanationBuilder() {
-      
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder
+        getExplanationBuilder() {
+
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3733,15 +4155,19 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder getEx
      *
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
+    public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder
+        getExplanationOrBuilder() {
       if (explanationBuilder_ != null) {
         return explanationBuilder_.getMessageOrBuilder();
       } else {
-        return explanation_ == null ?
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
+        return explanation_ == null
+            ? com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.getDefaultInstance()
+            : explanation_;
       }
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -3750,21 +4176,24 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder getE
      * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder> 
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation,
+            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder,
+            com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>
         getExplanationFieldBuilder() {
       if (explanationBuilder_ == null) {
-        explanationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>(
-                getExplanation(),
-                getParentForChildren(),
-                isClean());
+        explanationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.IamPolicySearchResult.Explanation,
+                com.google.cloud.asset.v1.IamPolicySearchResult.Explanation.Builder,
+                com.google.cloud.asset.v1.IamPolicySearchResult.ExplanationOrBuilder>(
+                getExplanation(), getParentForChildren(), isClean());
         explanation_ = null;
       }
       return explanationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3774,12 +4203,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.IamPolicySearchResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.IamPolicySearchResult)
   private static final com.google.cloud.asset.v1.IamPolicySearchResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.IamPolicySearchResult();
   }
@@ -3788,16 +4217,16 @@ public static com.google.cloud.asset.v1.IamPolicySearchResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public IamPolicySearchResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new IamPolicySearchResult(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public IamPolicySearchResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new IamPolicySearchResult(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3812,6 +4241,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
similarity index 89%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
index 6958f7f88..a79c38011 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/IamPolicySearchResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface IamPolicySearchResultOrBuilder extends
+public interface IamPolicySearchResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.IamPolicySearchResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -20,10 +38,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string resource = 1; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * The full resource name of the resource associated with this IAM policy.
    * Example:
@@ -36,12 +57,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string resource = 1; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -50,10 +73,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string asset_type = 5; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of the resource associated with this IAM policy. Example:
    * `compute.googleapis.com/Disk`.
@@ -62,12 +88,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string asset_type = 5; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -79,10 +107,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string project = 2; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM
@@ -94,12 +125,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string project = 2; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -111,11 +144,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * repeated string folders = 6; + * * @return A list containing the folders. */ - java.util.List - getFoldersList(); + java.util.List getFoldersList(); /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -127,10 +162,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * repeated string folders = 6; + * * @return The count of folders. */ int getFoldersCount(); /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -142,11 +180,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * repeated string folders = 6; + * * @param index The index of the element to return. * @return The folders at the given index. */ java.lang.String getFolders(int index); /** + * + * *
    * The folder(s) that the IAM policy belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
@@ -158,13 +199,15 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * repeated string folders = 6; + * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - com.google.protobuf.ByteString - getFoldersBytes(int index); + com.google.protobuf.ByteString getFoldersBytes(int index); /** + * + * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -176,10 +219,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string organization = 7; + * * @return The organization. */ java.lang.String getOrganization(); /** + * + * *
    * The organization that the IAM policy belongs to, in the form
    * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -191,12 +237,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string organization = 7; + * * @return The bytes for organization. */ - com.google.protobuf.ByteString - getOrganizationBytes(); + com.google.protobuf.ByteString getOrganizationBytes(); /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -213,10 +261,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -233,10 +284,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * .google.iam.v1.Policy policy = 3; + * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -257,26 +311,34 @@ public interface IamPolicySearchResultOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; + * * @return Whether the explanation field is set. */ boolean hasExplanation(); /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4; + * * @return The explanation. */ com.google.cloud.asset.v1.IamPolicySearchResult.Explanation getExplanation(); /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
index f3b5c589a..26658678d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * ListAssets request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsRequest} */ -public final class ListAssetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListAssetsRequest) ListAssetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetsRequest.newBuilder() to construct. private ListAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -29,16 +47,15 @@ private ListAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,67 +75,74 @@ private ListAssetsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); + parent_ = s; + break; } - readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); + 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; } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; } - assetTypes_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 32: + { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; - } - case 40: { - - pageSize_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + contentType_ = rawValue; + break; + } + case 40: + { + pageSize_ = input.readInt32(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + pageToken_ = s; + break; } - relationshipTypes_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + relationshipTypes_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -126,8 +150,7 @@ private ListAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -139,22 +162,27 @@ private ListAssetsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsRequest.class, com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ListAssetsRequest.class, + com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -163,7 +191,10 @@ private ListAssetsRequest(
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * string parent = 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 @@ -172,14 +203,15 @@ 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, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -188,17 +220,18 @@ public java.lang.String getParent() {
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * string parent = 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 { @@ -209,6 +242,8 @@ public java.lang.String getParent() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -218,6 +253,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -225,6 +261,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -234,6 +272,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -241,6 +280,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -259,6 +300,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -277,13 +320,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -302,12 +347,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -326,6 +374,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -333,6 +382,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -351,52 +402,64 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** + * + * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -407,6 +470,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -414,6 +479,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -422,14 +488,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -437,16 +504,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; + * * @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 { @@ -457,6 +523,8 @@ public java.lang.String getPageToken() { public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList relationshipTypes_; /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -476,13 +544,15 @@ public java.lang.String getPageToken() {
    * 
* * repeated string relationship_types = 7; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_; } /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -502,12 +572,15 @@ public java.lang.String getPageToken() {
    * 
* * repeated string relationship_types = 7; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -527,6 +600,7 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -534,6 +608,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -553,15 +629,16 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -573,8 +650,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -584,7 +660,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (pageSize_ != 0) { @@ -609,8 +686,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -620,13 +696,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, contentType_); + if (contentType_ + != com.google.cloud.asset.v1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -647,29 +722,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.asset.v1.ListAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListAssetsRequest other = (com.google.cloud.asset.v1.ListAssetsRequest) obj; + com.google.cloud.asset.v1.ListAssetsRequest other = + (com.google.cloud.asset.v1.ListAssetsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) 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 (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getRelationshipTypesList() - .equals(other.getRelationshipTypesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -706,118 +776,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListAssetsRequest parseFrom( - byte[] data, - com.google.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.asset.v1.ListAssetsRequest 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.asset.v1.ListAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ListAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ListAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListAssets request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListAssetsRequest) com.google.cloud.asset.v1.ListAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsRequest.class, com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1.ListAssetsRequest.class, + com.google.cloud.asset.v1.ListAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ListAssetsRequest.newBuilder() @@ -825,16 +904,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -860,9 +938,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsRequest_descriptor; } @java.lang.Override @@ -881,7 +959,8 @@ public com.google.cloud.asset.v1.ListAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ListAssetsRequest buildPartial() { - com.google.cloud.asset.v1.ListAssetsRequest result = new com.google.cloud.asset.v1.ListAssetsRequest(this); + com.google.cloud.asset.v1.ListAssetsRequest result = + new com.google.cloud.asset.v1.ListAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -910,38 +989,39 @@ public com.google.cloud.asset.v1.ListAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1.ListAssetsRequest)other); + return mergeFrom((com.google.cloud.asset.v1.ListAssetsRequest) other); } else { super.mergeFrom(other); return this; @@ -1015,10 +1095,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1027,14 +1110,16 @@ public Builder mergeFrom(
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * string parent = 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; @@ -1043,6 +1128,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1051,16 +1138,17 @@ public java.lang.String getParent() {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * string parent = 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 { @@ -1068,6 +1156,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1076,21 +1166,25 @@ public java.lang.String getParent() {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * 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, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1099,16 +1193,21 @@ public Builder setParent(
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * string 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, folder, or project the assets belong
      * to. Format: "organizations/[organization-number]" (such as
@@ -1117,17 +1216,19 @@ public Builder clearParent() {
      * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
      * 
* - * 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; @@ -1135,8 +1236,13 @@ public Builder setParentBytes( 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_; /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1146,12 +1252,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1161,6 +1270,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1171,6 +1281,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1195,6 +1307,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1205,8 +1319,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1217,6 +1330,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1231,7 +1346,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;
         }
@@ -1243,6 +1358,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1265,6 +1382,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1276,11 +1395,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1295,11 +1416,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1311,27 +1433,34 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList assetTypes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1350,13 +1479,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1375,12 +1506,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1399,6 +1533,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1406,6 +1541,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1424,14 +1561,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1450,21 +1589,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1483,20 +1624,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1515,18 +1658,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1545,6 +1689,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1554,6 +1699,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1572,15 +1719,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1589,55 +1736,69 @@ public Builder addAssetTypesBytes( private int contentType_ = 0; /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.ContentType result = com.google.cloud.asset.v1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1.ContentType result = + com.google.cloud.asset.v1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1645,35 +1806,41 @@ public Builder setContentType(com.google.cloud.asset.v1.ContentType value) { if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -1681,32 +1848,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; + * * @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 assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1714,6 +1887,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1721,13 +1896,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; + * * @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; @@ -1736,6 +1911,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1743,15 +1920,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @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 { @@ -1759,6 +1935,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1766,20 +1944,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1787,15 +1967,18 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1803,29 +1986,33 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; + * * @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 com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList relationshipTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1845,13 +2032,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 7; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1871,12 +2060,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 7; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1896,6 +2088,7 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 7; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -1903,6 +2096,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1922,14 +2117,16 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 7; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1949,21 +2146,23 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 7; + * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes( - int index, java.lang.String value) { + public Builder setRelationshipTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1983,20 +2182,22 @@ public Builder setRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes( - java.lang.String value) { + public Builder addRelationshipTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2016,18 +2217,19 @@ public Builder addRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes( - java.lang.Iterable values) { + public Builder addAllRelationshipTypes(java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); onChanged(); return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2047,6 +2249,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 7; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -2056,6 +2259,8 @@ public Builder clearRelationshipTypes() { return this; } /** + * + * *
      * A list of relationship types to output, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -2075,23 +2280,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 7; + * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2101,12 +2306,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListAssetsRequest) private static final com.google.cloud.asset.v1.ListAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListAssetsRequest(); } @@ -2115,16 +2320,16 @@ public static com.google.cloud.asset.v1.ListAssetsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2139,6 +2344,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java similarity index 89% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java index 570a4d9a5..d54ad45a5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListAssetsRequestOrBuilder extends +public interface ListAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListAssetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the organization, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -16,11 +34,16 @@ public interface ListAssetsRequestOrBuilder extends
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * string parent = 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, folder, or project the assets belong
    * to. Format: "organizations/[organization-number]" (such as
@@ -29,13 +52,17 @@ public interface ListAssetsRequestOrBuilder extends
    * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
    * 
* - * string parent = 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(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -45,10 +72,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -58,10 +88,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -75,6 +108,8 @@ public interface ListAssetsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -93,11 +128,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -116,10 +153,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -138,11 +178,14 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -161,45 +204,56 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1.ContentType content_type = 4; + * * @return The contentType. */ com.google.cloud.asset.v1.ContentType getContentType(); /** + * + * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -207,10 +261,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -218,12 +275,14 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -243,11 +302,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @return A list containing the relationshipTypes. */ - java.util.List - getRelationshipTypesList(); + java.util.List getRelationshipTypesList(); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -267,10 +328,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -290,11 +354,14 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** + * + * *
    * A list of relationship types to output, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -314,9 +381,9 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 7; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString - getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString getRelationshipTypesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java index b2c378da5..9836d4899 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * ListAssets response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsResponse} */ -public final class ListAssetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListAssetsResponse) ListAssetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetsResponse.newBuilder() to construct. private ListAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetsResponse() { assets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAssetsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,41 +72,45 @@ private ListAssetsResponse( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); + case 10: + { + 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; } - readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assets_.add( + input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry)); + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + nextPageToken_ = s; + break; } - assets_.add( - input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry)); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,8 +118,7 @@ private ListAssetsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -107,27 +127,33 @@ private ListAssetsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsResponse.class, com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1.ListAssetsResponse.class, + com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); } public static final int READ_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -135,11 +161,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -147,6 +176,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -161,6 +192,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** + * + * *
    * Assets.
    * 
@@ -172,6 +205,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -179,11 +214,13 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1.Asset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -195,6 +232,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Assets.
    * 
@@ -206,6 +245,8 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Assets.
    * 
@@ -213,14 +254,15 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { * repeated .google.cloud.asset.v1.Asset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -228,6 +270,7 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -236,14 +279,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -251,16 +295,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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 { @@ -269,6 +312,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +324,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -301,12 +344,10 @@ public int getSerializedSize() { size = 0; if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -319,22 +360,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ListAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListAssetsResponse other = (com.google.cloud.asset.v1.ListAssetsResponse) obj; + com.google.cloud.asset.v1.ListAssetsResponse other = + (com.google.cloud.asset.v1.ListAssetsResponse) obj; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; } - if (!getAssetsList() - .equals(other.getAssetsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAssetsList().equals(other.getAssetsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,118 +400,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListAssetsResponse parseFrom( - byte[] data, - com.google.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.asset.v1.ListAssetsResponse 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.asset.v1.ListAssetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListAssetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ListAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ListAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListAssets response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListAssetsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListAssetsResponse) com.google.cloud.asset.v1.ListAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListAssetsResponse.class, com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1.ListAssetsResponse.class, + com.google.cloud.asset.v1.ListAssetsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.ListAssetsResponse.newBuilder() @@ -480,17 +528,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) { getAssetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -512,9 +560,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListAssetsResponse_descriptor; } @java.lang.Override @@ -533,7 +581,8 @@ public com.google.cloud.asset.v1.ListAssetsResponse build() { @java.lang.Override public com.google.cloud.asset.v1.ListAssetsResponse buildPartial() { - com.google.cloud.asset.v1.ListAssetsResponse result = new com.google.cloud.asset.v1.ListAssetsResponse(this); + com.google.cloud.asset.v1.ListAssetsResponse result = + new com.google.cloud.asset.v1.ListAssetsResponse(this); int from_bitField0_ = bitField0_; if (readTimeBuilder_ == null) { result.readTime_ = readTime_; @@ -558,38 +607,39 @@ public com.google.cloud.asset.v1.ListAssetsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListAssetsResponse) { - return mergeFrom((com.google.cloud.asset.v1.ListAssetsResponse)other); + return mergeFrom((com.google.cloud.asset.v1.ListAssetsResponse) other); } else { super.mergeFrom(other); return this; @@ -619,9 +669,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListAssetsResponse other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -659,28 +710,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; 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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -691,6 +752,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -711,14 +774,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -729,6 +793,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -739,7 +805,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; } @@ -751,6 +817,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -769,6 +837,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -776,11 +846,13 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -791,11 +863,12 @@ 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 the snapshot was taken.
      * 
@@ -803,32 +876,41 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } private java.util.List assets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> assetsBuilder_; + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder> + assetsBuilder_; /** + * + * *
      * Assets.
      * 
@@ -843,6 +925,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Assets.
      * 
@@ -857,6 +941,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Assets.
      * 
@@ -871,14 +957,15 @@ public com.google.cloud.asset.v1.Asset getAssets(int index) { } } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1.Asset value) { + public Builder setAssets(int index, com.google.cloud.asset.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -892,14 +979,15 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder setAssets(int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.set(index, builderForValue.build()); @@ -910,6 +998,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -930,14 +1020,15 @@ public Builder addAssets(com.google.cloud.asset.v1.Asset value) { return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1.Asset value) { + public Builder addAssets(int index, com.google.cloud.asset.v1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -951,14 +1042,15 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder addAssets( - com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder addAssets(com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -969,14 +1061,15 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder addAssets(int index, com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(index, builderForValue.build()); @@ -987,6 +1080,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -997,8 +1092,7 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -1006,6 +1100,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -1023,6 +1119,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Assets.
      * 
@@ -1040,39 +1138,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public com.google.cloud.asset.v1.Asset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.asset.v1.Asset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index) { if (assetsBuilder_ == null) { - return assets_.get(index); } else { + return assets_.get(index); + } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1080,6 +1183,8 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Assets.
      * 
@@ -1087,42 +1192,47 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( * repeated .google.cloud.asset.v1.Asset assets = 2; */ public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.Asset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.Asset.getDefaultInstance()); } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.Asset.getDefaultInstance()); + public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.Asset.getDefaultInstance()); } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder>( + assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; @@ -1130,6 +1240,8 @@ public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1137,13 +1249,13 @@ public com.google.cloud.asset.v1.Asset.Builder addAssetsBuilder(
      * 
* * 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; @@ -1152,6 +1264,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1159,15 +1273,14 @@ public java.lang.String getNextPageToken() {
      * 
* * 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 { @@ -1175,6 +1288,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1182,20 +1297,22 @@ public java.lang.String getNextPageToken() {
      * 
* * 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. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1203,15 +1320,18 @@ public Builder setNextPageToken(
      * 
* * 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. It expires 72 hours after the
      * page token for the first page is generated. Set to empty if there are no
@@ -1219,23 +1339,23 @@ public Builder clearNextPageToken() {
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1245,12 +1365,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListAssetsResponse) private static final com.google.cloud.asset.v1.ListAssetsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListAssetsResponse(); } @@ -1259,16 +1379,16 @@ public static com.google.cloud.asset.v1.ListAssetsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,6 +1403,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java index 788d4a515..f44c37cee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListAssetsResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListAssetsResponseOrBuilder extends +public interface ListAssetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListAssetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -35,15 +59,18 @@ public interface ListAssetsResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** + * + * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - java.util.List - getAssetsList(); + java.util.List getAssetsList(); /** + * + * *
    * Assets.
    * 
@@ -52,6 +79,8 @@ public interface ListAssetsResponseOrBuilder extends */ com.google.cloud.asset.v1.Asset getAssets(int index); /** + * + * *
    * Assets.
    * 
@@ -60,25 +89,29 @@ public interface ListAssetsResponseOrBuilder extends */ int getAssetsCount(); /** + * + * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - java.util.List - getAssetsOrBuilderList(); + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1.Asset assets = 2; */ - com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -86,10 +119,13 @@ com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results. It expires 72 hours after the
    * page token for the first page is generated. Set to empty if there are no
@@ -97,8 +133,8 @@ com.google.cloud.asset.v1.AssetOrBuilder getAssetsOrBuilder(
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java index 85f46daa9..737d7605f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * List asset feeds request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListFeedsRequest} */ -public final class ListFeedsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFeedsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListFeedsRequest) ListFeedsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFeedsRequest.newBuilder() to construct. private ListFeedsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFeedsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFeedsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFeedsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ListFeedsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ListFeedsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsRequest.class, com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1.ListFeedsRequest.class, + com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -103,6 +125,7 @@ private ListFeedsRequest(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -111,14 +134,15 @@ 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 project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -126,16 +150,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -180,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ListFeedsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListFeedsRequest other = (com.google.cloud.asset.v1.ListFeedsRequest) obj; + com.google.cloud.asset.v1.ListFeedsRequest other = + (com.google.cloud.asset.v1.ListFeedsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,118 +230,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListFeedsRequest parseFrom( - byte[] data, - com.google.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.asset.v1.ListFeedsRequest 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.asset.v1.ListFeedsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListFeedsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListFeedsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ListFeedsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ListFeedsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List asset feeds request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListFeedsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListFeedsRequest) com.google.cloud.asset.v1.ListFeedsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsRequest.class, com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1.ListFeedsRequest.class, + com.google.cloud.asset.v1.ListFeedsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ListFeedsRequest.newBuilder() @@ -326,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsRequest_descriptor; } @java.lang.Override @@ -366,7 +397,8 @@ public com.google.cloud.asset.v1.ListFeedsRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ListFeedsRequest buildPartial() { - com.google.cloud.asset.v1.ListFeedsRequest result = new com.google.cloud.asset.v1.ListFeedsRequest(this); + com.google.cloud.asset.v1.ListFeedsRequest result = + new com.google.cloud.asset.v1.ListFeedsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -376,38 +408,39 @@ public com.google.cloud.asset.v1.ListFeedsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListFeedsRequest) { - return mergeFrom((com.google.cloud.asset.v1.ListFeedsRequest)other); + return mergeFrom((com.google.cloud.asset.v1.ListFeedsRequest) other); } else { super.mergeFrom(other); return this; @@ -451,6 +484,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -458,13 +493,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -473,6 +508,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -480,15 +517,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -496,6 +532,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -503,20 +541,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -524,15 +564,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -540,23 +583,23 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -566,12 +609,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListFeedsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListFeedsRequest) private static final com.google.cloud.asset.v1.ListFeedsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListFeedsRequest(); } @@ -580,16 +623,16 @@ public static com.google.cloud.asset.v1.ListFeedsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java index be5ab6097..7c4e5f3cb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListFeedsRequestOrBuilder extends +public interface ListFeedsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListFeedsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -15,10 +33,13 @@ public interface ListFeedsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -26,8 +47,8 @@ public interface ListFeedsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java index 6efb29139..b0b58308c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponse.java @@ -1,36 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -/** - * Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} - */ -public final class ListFeedsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} */ +public final class ListFeedsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListFeedsResponse) ListFeedsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFeedsResponse.newBuilder() to construct. private ListFeedsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFeedsResponse() { feeds_ = 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 ListFeedsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFeedsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50,22 +63,23 @@ private ListFeedsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - feeds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + feeds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + feeds_.add( + input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry)); + break; } - feeds_.add( - input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,8 +87,7 @@ private ListFeedsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { feeds_ = java.util.Collections.unmodifiableList(feeds_); @@ -83,22 +96,27 @@ private ListFeedsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsResponse.class, com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1.ListFeedsResponse.class, + com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); } public static final int FEEDS_FIELD_NUMBER = 1; private java.util.List feeds_; /** + * + * *
    * A list of feeds.
    * 
@@ -110,6 +128,8 @@ public java.util.List getFeedsList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -117,11 +137,12 @@ public java.util.List getFeedsList() { * repeated .google.cloud.asset.v1.Feed feeds = 1; */ @java.lang.Override - public java.util.List - getFeedsOrBuilderList() { + public java.util.List getFeedsOrBuilderList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -133,6 +154,8 @@ public int getFeedsCount() { return feeds_.size(); } /** + * + * *
    * A list of feeds.
    * 
@@ -144,6 +167,8 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { return feeds_.get(index); } /** + * + * *
    * A list of feeds.
    * 
@@ -151,12 +176,12 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { * repeated .google.cloud.asset.v1.Feed feeds = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( - int index) { + public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { return feeds_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < feeds_.size(); i++) { output.writeMessage(1, feeds_.get(i)); } @@ -183,8 +207,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < feeds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, feeds_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, feeds_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -194,15 +217,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ListFeedsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListFeedsResponse other = (com.google.cloud.asset.v1.ListFeedsResponse) obj; + com.google.cloud.asset.v1.ListFeedsResponse other = + (com.google.cloud.asset.v1.ListFeedsResponse) obj; - if (!getFeedsList() - .equals(other.getFeedsList())) return false; + if (!getFeedsList().equals(other.getFeedsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,114 +246,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListFeedsResponse parseFrom( - byte[] data, - com.google.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.asset.v1.ListFeedsResponse 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.asset.v1.ListFeedsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListFeedsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListFeedsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListFeedsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ListFeedsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ListFeedsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.asset.v1.ListFeedsResponse} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListFeedsResponse) com.google.cloud.asset.v1.ListFeedsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListFeedsResponse.class, com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1.ListFeedsResponse.class, + com.google.cloud.asset.v1.ListFeedsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.ListFeedsResponse.newBuilder() @@ -338,17 +366,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) { getFeedsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -362,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListFeedsResponse_descriptor; } @java.lang.Override @@ -383,7 +411,8 @@ public com.google.cloud.asset.v1.ListFeedsResponse build() { @java.lang.Override public com.google.cloud.asset.v1.ListFeedsResponse buildPartial() { - com.google.cloud.asset.v1.ListFeedsResponse result = new com.google.cloud.asset.v1.ListFeedsResponse(this); + com.google.cloud.asset.v1.ListFeedsResponse result = + new com.google.cloud.asset.v1.ListFeedsResponse(this); int from_bitField0_ = bitField0_; if (feedsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -402,38 +431,39 @@ public com.google.cloud.asset.v1.ListFeedsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListFeedsResponse) { - return mergeFrom((com.google.cloud.asset.v1.ListFeedsResponse)other); + return mergeFrom((com.google.cloud.asset.v1.ListFeedsResponse) other); } else { super.mergeFrom(other); return this; @@ -460,9 +490,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListFeedsResponse other) { feedsBuilder_ = null; feeds_ = other.feeds_; bitField0_ = (bitField0_ & ~0x00000001); - feedsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFeedsFieldBuilder() : null; + feedsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFeedsFieldBuilder() + : null; } else { feedsBuilder_.addAllMessages(other.feeds_); } @@ -496,21 +527,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List feeds_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFeedsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { feeds_ = new java.util.ArrayList(feeds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> feedsBuilder_; + com.google.cloud.asset.v1.Feed, + com.google.cloud.asset.v1.Feed.Builder, + com.google.cloud.asset.v1.FeedOrBuilder> + feedsBuilder_; /** + * + * *
      * A list of feeds.
      * 
@@ -525,6 +563,8 @@ public java.util.List getFeedsList() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -539,6 +579,8 @@ public int getFeedsCount() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -553,14 +595,15 @@ public com.google.cloud.asset.v1.Feed getFeeds(int index) { } } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder setFeeds( - int index, com.google.cloud.asset.v1.Feed value) { + public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -574,14 +617,15 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder setFeeds( - int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { + public Builder setFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.set(index, builderForValue.build()); @@ -592,6 +636,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -612,14 +658,15 @@ public Builder addFeeds(com.google.cloud.asset.v1.Feed value) { return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder addFeeds( - int index, com.google.cloud.asset.v1.Feed value) { + public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -633,14 +680,15 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder addFeeds( - com.google.cloud.asset.v1.Feed.Builder builderForValue) { + public Builder addFeeds(com.google.cloud.asset.v1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.add(builderForValue.build()); @@ -651,14 +699,15 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public Builder addFeeds( - int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { + public Builder addFeeds(int index, com.google.cloud.asset.v1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.add(index, builderForValue.build()); @@ -669,6 +718,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -679,8 +730,7 @@ public Builder addAllFeeds( java.lang.Iterable values) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, feeds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feeds_); onChanged(); } else { feedsBuilder_.addAllMessages(values); @@ -688,6 +738,8 @@ public Builder addAllFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -705,6 +757,8 @@ public Builder clearFeeds() { return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -722,39 +776,44 @@ public Builder removeFeeds(int index) { return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public com.google.cloud.asset.v1.Feed.Builder getFeedsBuilder( - int index) { + public com.google.cloud.asset.v1.Feed.Builder getFeedsBuilder(int index) { return getFeedsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( - int index) { + public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index) { if (feedsBuilder_ == null) { - return feeds_.get(index); } else { + return feeds_.get(index); + } else { return feedsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public java.util.List - getFeedsOrBuilderList() { + public java.util.List + getFeedsOrBuilderList() { if (feedsBuilder_ != null) { return feedsBuilder_.getMessageOrBuilderList(); } else { @@ -762,6 +821,8 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( } } /** + * + * *
      * A list of feeds.
      * 
@@ -769,49 +830,53 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( * repeated .google.cloud.asset.v1.Feed feeds = 1; */ public com.google.cloud.asset.v1.Feed.Builder addFeedsBuilder() { - return getFeedsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.Feed.getDefaultInstance()); + return getFeedsFieldBuilder().addBuilder(com.google.cloud.asset.v1.Feed.getDefaultInstance()); } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public com.google.cloud.asset.v1.Feed.Builder addFeedsBuilder( - int index) { - return getFeedsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.Feed.getDefaultInstance()); + public com.google.cloud.asset.v1.Feed.Builder addFeedsBuilder(int index) { + return getFeedsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.Feed.getDefaultInstance()); } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - public java.util.List - getFeedsBuilderList() { + public java.util.List getFeedsBuilderList() { return getFeedsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> + com.google.cloud.asset.v1.Feed, + com.google.cloud.asset.v1.Feed.Builder, + com.google.cloud.asset.v1.FeedOrBuilder> getFeedsFieldBuilder() { if (feedsBuilder_ == null) { - feedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder>( - feeds_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + feedsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.Feed, + com.google.cloud.asset.v1.Feed.Builder, + com.google.cloud.asset.v1.FeedOrBuilder>( + feeds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); feeds_ = null; } return feedsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -821,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListFeedsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListFeedsResponse) private static final com.google.cloud.asset.v1.ListFeedsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListFeedsResponse(); } @@ -835,16 +900,16 @@ public static com.google.cloud.asset.v1.ListFeedsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -859,6 +924,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java index d5bb75ca2..6cbe86986 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListFeedsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListFeedsResponseOrBuilder extends +public interface ListFeedsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListFeedsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - java.util.List - getFeedsList(); + java.util.List getFeedsList(); /** + * + * *
    * A list of feeds.
    * 
@@ -25,6 +44,8 @@ public interface ListFeedsResponseOrBuilder extends */ com.google.cloud.asset.v1.Feed getFeeds(int index); /** + * + * *
    * A list of feeds.
    * 
@@ -33,21 +54,23 @@ public interface ListFeedsResponseOrBuilder extends */ int getFeedsCount(); /** + * + * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - java.util.List - getFeedsOrBuilderList(); + java.util.List getFeedsOrBuilderList(); /** + * + * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1.Feed feeds = 1; */ - com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder( - int index); + com.google.cloud.asset.v1.FeedOrBuilder getFeedsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java index 3afaad12c..2a293c9cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Request to list saved queries.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesRequest} */ -public final class ListSavedQueriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSavedQueriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListSavedQueriesRequest) ListSavedQueriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSavedQueriesRequest.newBuilder() to construct. private ListSavedQueriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSavedQueriesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListSavedQueriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSavedQueriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListSavedQueriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListSavedQueriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,36 +112,43 @@ private ListSavedQueriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesRequest.class, com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesRequest.class, + com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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 @@ -130,31 +157,33 @@ 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 project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -175,6 +206,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -183,14 +215,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -201,16 +234,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -221,6 +253,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. The maximum number of saved queries to return per page. The
    * service may return fewer than this value. If unspecified, at most 50 will
@@ -229,6 +263,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -239,6 +274,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -247,6 +284,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -255,14 +293,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -271,16 +310,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -289,6 +327,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,8 +339,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,8 +365,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -344,21 +381,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.asset.v1.ListSavedQueriesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListSavedQueriesRequest other = (com.google.cloud.asset.v1.ListSavedQueriesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.asset.v1.ListSavedQueriesRequest other = + (com.google.cloud.asset.v1.ListSavedQueriesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -384,117 +418,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( - java.nio.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.asset.v1.ListSavedQueriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListSavedQueriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( - byte[] data, - com.google.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.asset.v1.ListSavedQueriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListSavedQueriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ListSavedQueriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ListSavedQueriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to list saved queries.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListSavedQueriesRequest) com.google.cloud.asset.v1.ListSavedQueriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesRequest.class, com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesRequest.class, + com.google.cloud.asset.v1.ListSavedQueriesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.ListSavedQueriesRequest.newBuilder() @@ -502,16 +545,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -527,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesRequest_descriptor; } @java.lang.Override @@ -548,7 +590,8 @@ public com.google.cloud.asset.v1.ListSavedQueriesRequest build() { @java.lang.Override public com.google.cloud.asset.v1.ListSavedQueriesRequest buildPartial() { - com.google.cloud.asset.v1.ListSavedQueriesRequest result = new com.google.cloud.asset.v1.ListSavedQueriesRequest(this); + com.google.cloud.asset.v1.ListSavedQueriesRequest result = + new com.google.cloud.asset.v1.ListSavedQueriesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -561,38 +604,39 @@ public com.google.cloud.asset.v1.ListSavedQueriesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListSavedQueriesRequest) { - return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesRequest)other); + return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesRequest) other); } else { super.mergeFrom(other); return this; @@ -600,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.ListSavedQueriesRequest other) { - if (other == com.google.cloud.asset.v1.ListSavedQueriesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.ListSavedQueriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -635,7 +680,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.ListSavedQueriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.ListSavedQueriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -647,20 +693,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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; @@ -669,22 +719,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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 { @@ -692,60 +745,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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 project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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 project/folder/organization whose savedQueries are to
      * be listed. It can only be using project/folder/organization number (such as
      * "folders/12345")", or a project ID (such as "projects/my-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; @@ -753,6 +819,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -763,13 +831,13 @@ public Builder setParentBytes(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -778,6 +846,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -788,15 +858,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -804,6 +873,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -814,20 +885,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -838,15 +911,18 @@ public Builder setFilter(
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. The expression to filter resources.
      * The expression is a list of zero or more restrictions combined via logical
@@ -857,23 +933,25 @@ public Builder clearFilter() {
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of saved queries to return per page. The
      * service may return fewer than this value. If unspecified, at most 50 will
@@ -882,6 +960,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -889,6 +968,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of saved queries to return per page. The
      * service may return fewer than this value. If unspecified, at most 50 will
@@ -897,16 +978,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of saved queries to return per page. The
      * service may return fewer than this value. If unspecified, at most 50 will
@@ -915,10 +999,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -926,6 +1011,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -934,13 +1021,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -949,6 +1036,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -957,15 +1046,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -973,6 +1061,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -981,20 +1071,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1003,15 +1095,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListSavedQueries` call.
      * Provide this to retrieve the subsequent page.
@@ -1020,23 +1115,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1046,12 +1141,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListSavedQueriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListSavedQueriesRequest) private static final com.google.cloud.asset.v1.ListSavedQueriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListSavedQueriesRequest(); } @@ -1060,16 +1155,16 @@ public static com.google.cloud.asset.v1.ListSavedQueriesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSavedQueriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSavedQueriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSavedQueriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1084,6 +1179,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java index bba5bebe3..39f29e979 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesRequestOrBuilder.java @@ -1,37 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListSavedQueriesRequestOrBuilder extends +public interface ListSavedQueriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListSavedQueriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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 project/folder/organization whose savedQueries are to
    * be listed. It can only be using project/folder/organization number (such as
    * "folders/12345")", or a project ID (such as "projects/my-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(); /** + * + * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -42,10 +69,13 @@ public interface ListSavedQueriesRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. The expression to filter resources.
    * The expression is a list of zero or more restrictions combined via logical
@@ -56,12 +86,14 @@ public interface ListSavedQueriesRequestOrBuilder extends
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. The maximum number of saved queries to return per page. The
    * service may return fewer than this value. If unspecified, at most 50 will
@@ -70,11 +102,14 @@ public interface ListSavedQueriesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -83,10 +118,13 @@ public interface ListSavedQueriesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListSavedQueries` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +133,8 @@ public interface ListSavedQueriesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java index 8b33a72bc..cb51c0b80 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Response of listing saved queries.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesResponse} */ -public final class ListSavedQueriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSavedQueriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ListSavedQueriesResponse) ListSavedQueriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSavedQueriesResponse.newBuilder() to construct. private ListSavedQueriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSavedQueriesResponse() { savedQueries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListSavedQueriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSavedQueriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListSavedQueriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListSavedQueriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - savedQueries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + savedQueries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + savedQueries_.add( + input.readMessage( + com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry)); + break; } - savedQueries_.add( - input.readMessage(com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListSavedQueriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { savedQueries_ = java.util.Collections.unmodifiableList(savedQueries_); @@ -94,22 +113,27 @@ private ListSavedQueriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesResponse.class, com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesResponse.class, + com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); } public static final int SAVED_QUERIES_FIELD_NUMBER = 1; private java.util.List savedQueries_; /** + * + * *
    * A list of savedQueries.
    * 
@@ -121,6 +145,8 @@ public java.util.List getSavedQueriesList( return savedQueries_; } /** + * + * *
    * A list of savedQueries.
    * 
@@ -128,11 +154,13 @@ public java.util.List getSavedQueriesList( * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSavedQueriesOrBuilderList() { return savedQueries_; } /** + * + * *
    * A list of savedQueries.
    * 
@@ -144,6 +172,8 @@ public int getSavedQueriesCount() { return savedQueries_.size(); } /** + * + * *
    * A list of savedQueries.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { return savedQueries_.get(index); } /** + * + * *
    * A list of savedQueries.
    * 
@@ -162,20 +194,22 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( - int index) { + public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(int index) { return savedQueries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < savedQueries_.size(); i++) { output.writeMessage(1, savedQueries_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < savedQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, savedQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, savedQueries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ListSavedQueriesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.ListSavedQueriesResponse other = (com.google.cloud.asset.v1.ListSavedQueriesResponse) obj; + com.google.cloud.asset.v1.ListSavedQueriesResponse other = + (com.google.cloud.asset.v1.ListSavedQueriesResponse) obj; - if (!getSavedQueriesList() - .equals(other.getSavedQueriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSavedQueriesList().equals(other.getSavedQueriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( - java.nio.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.asset.v1.ListSavedQueriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ListSavedQueriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( - byte[] data, - com.google.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.asset.v1.ListSavedQueriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ListSavedQueriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ListSavedQueriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ListSavedQueriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ListSavedQueriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 of listing saved queries.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ListSavedQueriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ListSavedQueriesResponse) com.google.cloud.asset.v1.ListSavedQueriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ListSavedQueriesResponse.class, com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); + com.google.cloud.asset.v1.ListSavedQueriesResponse.class, + com.google.cloud.asset.v1.ListSavedQueriesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.ListSavedQueriesResponse.newBuilder() @@ -411,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getSavedQueriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_ListSavedQueriesResponse_descriptor; } @java.lang.Override @@ -458,7 +499,8 @@ public com.google.cloud.asset.v1.ListSavedQueriesResponse build() { @java.lang.Override public com.google.cloud.asset.v1.ListSavedQueriesResponse buildPartial() { - com.google.cloud.asset.v1.ListSavedQueriesResponse result = new com.google.cloud.asset.v1.ListSavedQueriesResponse(this); + com.google.cloud.asset.v1.ListSavedQueriesResponse result = + new com.google.cloud.asset.v1.ListSavedQueriesResponse(this); int from_bitField0_ = bitField0_; if (savedQueriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +520,39 @@ public com.google.cloud.asset.v1.ListSavedQueriesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ListSavedQueriesResponse) { - return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesResponse)other); + return mergeFrom((com.google.cloud.asset.v1.ListSavedQueriesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.ListSavedQueriesResponse other) { - if (other == com.google.cloud.asset.v1.ListSavedQueriesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.ListSavedQueriesResponse.getDefaultInstance()) + return this; if (savedQueriesBuilder_ == null) { if (!other.savedQueries_.isEmpty()) { if (savedQueries_.isEmpty()) { @@ -536,9 +580,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ListSavedQueriesResponse othe savedQueriesBuilder_ = null; savedQueries_ = other.savedQueries_; bitField0_ = (bitField0_ & ~0x00000001); - savedQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSavedQueriesFieldBuilder() : null; + savedQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSavedQueriesFieldBuilder() + : null; } else { savedQueriesBuilder_.addAllMessages(other.savedQueries_); } @@ -567,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.ListSavedQueriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.ListSavedQueriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +622,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List savedQueries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSavedQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - savedQueries_ = new java.util.ArrayList(savedQueries_); + savedQueries_ = + new java.util.ArrayList(savedQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> savedQueriesBuilder_; + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder> + savedQueriesBuilder_; /** + * + * *
      * A list of savedQueries.
      * 
@@ -605,6 +659,8 @@ public java.util.List getSavedQueriesList( } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -619,6 +675,8 @@ public int getSavedQueriesCount() { } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -633,14 +691,15 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index) { } } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public Builder setSavedQueries( - int index, com.google.cloud.asset.v1.SavedQuery value) { + public Builder setSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery value) { if (savedQueriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -672,6 +733,8 @@ public Builder setSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -692,14 +755,15 @@ public Builder addSavedQueries(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public Builder addSavedQueries( - int index, com.google.cloud.asset.v1.SavedQuery value) { + public Builder addSavedQueries(int index, com.google.cloud.asset.v1.SavedQuery value) { if (savedQueriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public Builder addSavedQueries( - com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { + public Builder addSavedQueries(com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { if (savedQueriesBuilder_ == null) { ensureSavedQueriesIsMutable(); savedQueries_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -749,6 +816,8 @@ public Builder addSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -759,8 +828,7 @@ public Builder addAllSavedQueries( java.lang.Iterable values) { if (savedQueriesBuilder_ == null) { ensureSavedQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, savedQueries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, savedQueries_); onChanged(); } else { savedQueriesBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllSavedQueries( return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -785,6 +855,8 @@ public Builder clearSavedQueries() { return this; } /** + * + * *
      * A list of savedQueries.
      * 
@@ -802,39 +874,44 @@ public Builder removeSavedQueries(int index) { return this; } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueriesBuilder( - int index) { + public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueriesBuilder(int index) { return getSavedQueriesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( - int index) { + public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(int index) { if (savedQueriesBuilder_ == null) { - return savedQueries_.get(index); } else { + return savedQueries_.get(index); + } else { return savedQueriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public java.util.List - getSavedQueriesOrBuilderList() { + public java.util.List + getSavedQueriesOrBuilderList() { if (savedQueriesBuilder_ != null) { return savedQueriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( } } /** + * + * *
      * A list of savedQueries.
      * 
@@ -849,42 +928,48 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder() { - return getSavedQueriesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); + return getSavedQueriesFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder( - int index) { - return getSavedQueriesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); + public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder(int index) { + return getSavedQueriesFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.SavedQuery.getDefaultInstance()); } /** + * + * *
      * A list of savedQueries.
      * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - public java.util.List - getSavedQueriesBuilderList() { + public java.util.List + getSavedQueriesBuilderList() { return getSavedQueriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder> getSavedQueriesFieldBuilder() { if (savedQueriesBuilder_ == null) { - savedQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder>( - savedQueries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + savedQueriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder>( + savedQueries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); savedQueries_ = null; } return savedQueriesBuilder_; @@ -892,19 +977,21 @@ public com.google.cloud.asset.v1.SavedQuery.Builder addSavedQueriesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ListSavedQueriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ListSavedQueriesResponse) private static final com.google.cloud.asset.v1.ListSavedQueriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ListSavedQueriesResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.cloud.asset.v1.ListSavedQueriesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSavedQueriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListSavedQueriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSavedQueriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListSavedQueriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ListSavedQueriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java index 9c5fbc906..4bd03e463 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ListSavedQueriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface ListSavedQueriesResponseOrBuilder extends +public interface ListSavedQueriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ListSavedQueriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of savedQueries.
    * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - java.util.List - getSavedQueriesList(); + java.util.List getSavedQueriesList(); /** + * + * *
    * A list of savedQueries.
    * 
@@ -25,6 +44,8 @@ public interface ListSavedQueriesResponseOrBuilder extends */ com.google.cloud.asset.v1.SavedQuery getSavedQueries(int index); /** + * + * *
    * A list of savedQueries.
    * 
@@ -33,43 +54,51 @@ public interface ListSavedQueriesResponseOrBuilder extends */ int getSavedQueriesCount(); /** + * + * *
    * A list of savedQueries.
    * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - java.util.List + java.util.List getSavedQueriesOrBuilderList(); /** + * + * *
    * A list of savedQueries.
    * 
* * repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1; */ - com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder( - int index); + com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueriesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java index e561eb749..4fe6f64f8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysis.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A message to group the analysis information.
  * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysis} */ -public final class MoveAnalysis extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveAnalysis extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.MoveAnalysis) MoveAnalysisOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveAnalysis.newBuilder() to construct. private MoveAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveAnalysis() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveAnalysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveAnalysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,47 +70,50 @@ private MoveAnalysis( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1.MoveAnalysisResult.Builder subBuilder = null; - if (resultCase_ == 2) { - subBuilder = ((com.google.cloud.asset.v1.MoveAnalysisResult) result_).toBuilder(); + displayName_ = s; + break; } - result_ = - input.readMessage(com.google.cloud.asset.v1.MoveAnalysisResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult) result_); - result_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1.MoveAnalysisResult.Builder subBuilder = null; + if (resultCase_ == 2) { + subBuilder = ((com.google.cloud.asset.v1.MoveAnalysisResult) result_).toBuilder(); + } + result_ = + input.readMessage( + com.google.cloud.asset.v1.MoveAnalysisResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 2; + break; } - resultCase_ = 2; - break; - } - case 26: { - com.google.rpc.Status.Builder subBuilder = null; - if (resultCase_ == 3) { - subBuilder = ((com.google.rpc.Status) result_).toBuilder(); + case 26: + { + com.google.rpc.Status.Builder subBuilder = null; + if (resultCase_ == 3) { + subBuilder = ((com.google.rpc.Status) result_).toBuilder(); + } + result_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.rpc.Status) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 3; + break; } - result_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.rpc.Status) result_); - result_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - resultCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,35 +121,40 @@ private MoveAnalysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysis.class, com.google.cloud.asset.v1.MoveAnalysis.Builder.class); + com.google.cloud.asset.v1.MoveAnalysis.class, + com.google.cloud.asset.v1.MoveAnalysis.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ANALYSIS(2), ERROR(3), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -145,32 +170,38 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 2: return ANALYSIS; - case 3: return ERROR; - case 0: return RESULT_NOT_SET; - default: return null; + case 2: + return ANALYSIS; + case 3: + return ERROR; + case 0: + return RESULT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** + * + * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -179,30 +210,30 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -212,11 +243,14 @@ public java.lang.String getDisplayName() { public static final int ANALYSIS_FIELD_NUMBER = 2; /** + * + * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; + * * @return Whether the analysis field is set. */ @java.lang.Override @@ -224,21 +258,26 @@ public boolean hasAnalysis() { return resultCase_ == 2; } /** + * + * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; + * * @return The analysis. */ @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { if (resultCase_ == 2) { - return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; + return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; } return com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance(); } /** + * + * *
    * Analysis result of moving the target resource.
    * 
@@ -248,18 +287,21 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilder() { if (resultCase_ == 2) { - return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; + return (com.google.cloud.asset.v1.MoveAnalysisResult) result_; } return com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 3; /** + * + * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -267,21 +309,26 @@ public boolean hasError() { return resultCase_ == 3; } /** + * + * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override public com.google.rpc.Status getError() { if (resultCase_ == 3) { - return (com.google.rpc.Status) result_; + return (com.google.rpc.Status) result_; } return com.google.rpc.Status.getDefaultInstance(); } /** + * + * *
    * Description of error encountered when performing the analysis.
    * 
@@ -291,12 +338,13 @@ public com.google.rpc.Status getError() { @java.lang.Override public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (resultCase_ == 3) { - return (com.google.rpc.Status) result_; + return (com.google.rpc.Status) result_; } return com.google.rpc.Status.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -332,12 +379,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (resultCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.asset.v1.MoveAnalysisResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.asset.v1.MoveAnalysisResult) result_); } if (resultCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.rpc.Status) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.rpc.Status) result_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -347,24 +396,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.asset.v1.MoveAnalysis)) { return super.equals(obj); } com.google.cloud.asset.v1.MoveAnalysis other = (com.google.cloud.asset.v1.MoveAnalysis) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 2: - if (!getAnalysis() - .equals(other.getAnalysis())) return false; + if (!getAnalysis().equals(other.getAnalysis())) return false; break; case 3: - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; break; case 0: default: @@ -399,118 +445,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.MoveAnalysis parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.MoveAnalysis parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.MoveAnalysis parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.MoveAnalysis parseFrom( - byte[] data, - com.google.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.asset.v1.MoveAnalysis 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.asset.v1.MoveAnalysis parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveAnalysis 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.asset.v1.MoveAnalysis parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveAnalysis parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.MoveAnalysis parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.MoveAnalysis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A message to group the analysis information.
    * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysis} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.MoveAnalysis) com.google.cloud.asset.v1.MoveAnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysis.class, com.google.cloud.asset.v1.MoveAnalysis.Builder.class); + com.google.cloud.asset.v1.MoveAnalysis.class, + com.google.cloud.asset.v1.MoveAnalysis.Builder.class); } // Construct using com.google.cloud.asset.v1.MoveAnalysis.newBuilder() @@ -518,16 +573,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +593,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysis_descriptor; } @java.lang.Override @@ -560,7 +614,8 @@ public com.google.cloud.asset.v1.MoveAnalysis build() { @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysis buildPartial() { - com.google.cloud.asset.v1.MoveAnalysis result = new com.google.cloud.asset.v1.MoveAnalysis(this); + com.google.cloud.asset.v1.MoveAnalysis result = + new com.google.cloud.asset.v1.MoveAnalysis(this); result.displayName_ = displayName_; if (resultCase_ == 2) { if (analysisBuilder_ == null) { @@ -585,38 +640,39 @@ public com.google.cloud.asset.v1.MoveAnalysis buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.MoveAnalysis) { - return mergeFrom((com.google.cloud.asset.v1.MoveAnalysis)other); + return mergeFrom((com.google.cloud.asset.v1.MoveAnalysis) other); } else { super.mergeFrom(other); return this; @@ -630,17 +686,20 @@ public Builder mergeFrom(com.google.cloud.asset.v1.MoveAnalysis other) { onChanged(); } switch (other.getResultCase()) { - case ANALYSIS: { - mergeAnalysis(other.getAnalysis()); - break; - } - case ERROR: { - mergeError(other.getError()); - break; - } - case RESULT_NOT_SET: { - break; - } + case ANALYSIS: + { + mergeAnalysis(other.getAnalysis()); + break; + } + case ERROR: + { + mergeError(other.getError()); + break; + } + case RESULT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -670,12 +729,12 @@ public Builder mergeFrom( } return this; } + private int resultCase_ = 0; private java.lang.Object result_; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public Builder clearResult() { @@ -685,22 +744,23 @@ public Builder clearResult() { return this; } - private java.lang.Object displayName_ = ""; /** + * + * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -709,21 +769,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -731,70 +792,83 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The user friendly display name of the analysis. E.g. IAM, Organization
      * Policy etc.
      * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysisResult, com.google.cloud.asset.v1.MoveAnalysisResult.Builder, com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> analysisBuilder_; + com.google.cloud.asset.v1.MoveAnalysisResult, + com.google.cloud.asset.v1.MoveAnalysisResult.Builder, + com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> + analysisBuilder_; /** + * + * *
      * Analysis result of moving the target resource.
      * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; + * * @return Whether the analysis field is set. */ @java.lang.Override @@ -802,11 +876,14 @@ public boolean hasAnalysis() { return resultCase_ == 2; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; + * * @return The analysis. */ @java.lang.Override @@ -824,6 +901,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis() { } } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -844,6 +923,8 @@ public Builder setAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -862,6 +943,8 @@ public Builder setAnalysis( return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -870,10 +953,13 @@ public Builder setAnalysis( */ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) { if (analysisBuilder_ == null) { - if (resultCase_ == 2 && - result_ != com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance()) { - result_ = com.google.cloud.asset.v1.MoveAnalysisResult.newBuilder((com.google.cloud.asset.v1.MoveAnalysisResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 2 + && result_ != com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance()) { + result_ = + com.google.cloud.asset.v1.MoveAnalysisResult.newBuilder( + (com.google.cloud.asset.v1.MoveAnalysisResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -889,6 +975,8 @@ public Builder mergeAnalysis(com.google.cloud.asset.v1.MoveAnalysisResult value) return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -912,6 +1000,8 @@ public Builder clearAnalysis() { return this; } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -922,6 +1012,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult.Builder getAnalysisBuilder() return getAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -940,6 +1032,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde } } /** + * + * *
      * Analysis result of moving the target resource.
      * 
@@ -947,32 +1041,42 @@ public com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilde * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysisResult, com.google.cloud.asset.v1.MoveAnalysisResult.Builder, com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> + com.google.cloud.asset.v1.MoveAnalysisResult, + com.google.cloud.asset.v1.MoveAnalysisResult.Builder, + com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder> getAnalysisFieldBuilder() { if (analysisBuilder_ == null) { if (!(resultCase_ == 2)) { result_ = com.google.cloud.asset.v1.MoveAnalysisResult.getDefaultInstance(); } - analysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.MoveAnalysisResult, com.google.cloud.asset.v1.MoveAnalysisResult.Builder, com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder>( + analysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.MoveAnalysisResult, + com.google.cloud.asset.v1.MoveAnalysisResult.Builder, + com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder>( (com.google.cloud.asset.v1.MoveAnalysisResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 2; - onChanged();; + onChanged(); + ; return analysisBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ @java.lang.Override @@ -980,11 +1084,14 @@ public boolean hasError() { return resultCase_ == 3; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
* * .google.rpc.Status error = 3; + * * @return The error. */ @java.lang.Override @@ -1002,6 +1109,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1022,14 +1131,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
* * .google.rpc.Status error = 3; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -1040,6 +1150,8 @@ public Builder setError( return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1048,10 +1160,11 @@ public Builder setError( */ public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { - if (resultCase_ == 3 && - result_ != com.google.rpc.Status.getDefaultInstance()) { - result_ = com.google.rpc.Status.newBuilder((com.google.rpc.Status) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 3 && result_ != com.google.rpc.Status.getDefaultInstance()) { + result_ = + com.google.rpc.Status.newBuilder((com.google.rpc.Status) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -1067,6 +1180,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1090,6 +1205,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1100,6 +1217,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() { return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1118,6 +1237,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } } /** + * + * *
      * Description of error encountered when performing the analysis.
      * 
@@ -1125,26 +1246,28 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { if (!(resultCase_ == 3)) { result_ = com.google.rpc.Status.getDefaultInstance(); } - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - (com.google.rpc.Status) result_, - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + (com.google.rpc.Status) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 3; - onChanged();; + onChanged(); + ; return errorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1154,12 +1277,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.MoveAnalysis) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.MoveAnalysis) private static final com.google.cloud.asset.v1.MoveAnalysis DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.MoveAnalysis(); } @@ -1168,16 +1291,16 @@ public static com.google.cloud.asset.v1.MoveAnalysis getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveAnalysis parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveAnalysis(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveAnalysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveAnalysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java index 463a88790..82ca7d41b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface MoveAnalysisOrBuilder extends +public interface MoveAnalysisOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveAnalysis) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The user friendly display name of the analysis. E.g. IAM, Organization
    * Policy etc.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; + * * @return Whether the analysis field is set. */ boolean hasAnalysis(); /** + * + * *
    * Analysis result of moving the target resource.
    * 
* * .google.cloud.asset.v1.MoveAnalysisResult analysis = 2; + * * @return The analysis. */ com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis(); /** + * + * *
    * Analysis result of moving the target resource.
    * 
@@ -57,24 +86,32 @@ public interface MoveAnalysisOrBuilder extends com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilder(); /** + * + * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Description of error encountered when performing the analysis.
    * 
* * .google.rpc.Status error = 3; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * Description of error encountered when performing the analysis.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java index 1a7deec03..06690b41e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResult.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * An analysis result including blockers and warnings.
  * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysisResult} */ -public final class MoveAnalysisResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveAnalysisResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.MoveAnalysisResult) MoveAnalysisResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveAnalysisResult.newBuilder() to construct. private MoveAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveAnalysisResult() { blockers_ = java.util.Collections.emptyList(); warnings_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private MoveAnalysisResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveAnalysisResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveAnalysisResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,35 @@ private MoveAnalysisResult( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - blockers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + blockers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + blockers_.add( + input.readMessage( + com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); + break; } - blockers_.add( - input.readMessage(com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - warnings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + warnings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + warnings_.add( + input.readMessage( + com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); + break; } - warnings_.add( - input.readMessage(com.google.cloud.asset.v1.MoveImpact.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +108,7 @@ private MoveAnalysisResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { blockers_ = java.util.Collections.unmodifiableList(blockers_); @@ -100,22 +120,27 @@ private MoveAnalysisResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysisResult.class, com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); + com.google.cloud.asset.v1.MoveAnalysisResult.class, + com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); } public static final int BLOCKERS_FIELD_NUMBER = 1; private java.util.List blockers_; /** + * + * *
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -128,6 +153,8 @@ public java.util.List getBlockersList() {
     return blockers_;
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -136,11 +163,13 @@ public java.util.List getBlockersList() {
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getBlockersOrBuilderList() {
     return blockers_;
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -153,6 +182,8 @@ public int getBlockersCount() {
     return blockers_.size();
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -165,6 +196,8 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
     return blockers_.get(index);
   }
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -173,14 +206,15 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int index) {
     return blockers_.get(index);
   }
 
   public static final int WARNINGS_FIELD_NUMBER = 2;
   private java.util.List warnings_;
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -194,6 +228,8 @@ public java.util.List getWarningsList() {
     return warnings_;
   }
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -203,11 +239,13 @@ public java.util.List getWarningsList() {
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getWarningsOrBuilderList() {
     return warnings_;
   }
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -221,6 +259,8 @@ public int getWarningsCount() {
     return warnings_.size();
   }
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -234,6 +274,8 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
     return warnings_.get(index);
   }
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -243,12 +285,12 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int index) {
     return warnings_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -260,8 +302,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < blockers_.size(); i++) {
       output.writeMessage(1, blockers_.get(i));
     }
@@ -278,12 +319,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < blockers_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, blockers_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, blockers_.get(i));
     }
     for (int i = 0; i < warnings_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, warnings_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, warnings_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -293,17 +332,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.MoveAnalysisResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.MoveAnalysisResult other = (com.google.cloud.asset.v1.MoveAnalysisResult) obj;
+    com.google.cloud.asset.v1.MoveAnalysisResult other =
+        (com.google.cloud.asset.v1.MoveAnalysisResult) obj;
 
-    if (!getBlockersList()
-        .equals(other.getBlockersList())) return false;
-    if (!getWarningsList()
-        .equals(other.getWarningsList())) return false;
+    if (!getBlockersList().equals(other.getBlockersList())) return false;
+    if (!getWarningsList().equals(other.getWarningsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -328,118 +366,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.MoveAnalysisResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.MoveAnalysisResult 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.asset.v1.MoveAnalysisResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.MoveAnalysisResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.MoveAnalysisResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.MoveAnalysisResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.MoveAnalysisResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.MoveAnalysisResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.MoveAnalysisResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * An analysis result including blockers and warnings.
    * 
* * Protobuf type {@code google.cloud.asset.v1.MoveAnalysisResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.MoveAnalysisResult) com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysisResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveAnalysisResult.class, com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); + com.google.cloud.asset.v1.MoveAnalysisResult.class, + com.google.cloud.asset.v1.MoveAnalysisResult.Builder.class); } // Construct using com.google.cloud.asset.v1.MoveAnalysisResult.newBuilder() @@ -447,18 +494,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) { getBlockersFieldBuilder(); getWarningsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveAnalysisResult_descriptor; } @java.lang.Override @@ -499,7 +546,8 @@ public com.google.cloud.asset.v1.MoveAnalysisResult build() { @java.lang.Override public com.google.cloud.asset.v1.MoveAnalysisResult buildPartial() { - com.google.cloud.asset.v1.MoveAnalysisResult result = new com.google.cloud.asset.v1.MoveAnalysisResult(this); + com.google.cloud.asset.v1.MoveAnalysisResult result = + new com.google.cloud.asset.v1.MoveAnalysisResult(this); int from_bitField0_ = bitField0_; if (blockersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,38 +575,39 @@ public com.google.cloud.asset.v1.MoveAnalysisResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.MoveAnalysisResult) { - return mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult)other); + return mergeFrom((com.google.cloud.asset.v1.MoveAnalysisResult) other); } else { super.mergeFrom(other); return this; @@ -585,9 +634,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.MoveAnalysisResult other) { blockersBuilder_ = null; blockers_ = other.blockers_; bitField0_ = (bitField0_ & ~0x00000001); - blockersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBlockersFieldBuilder() : null; + blockersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBlockersFieldBuilder() + : null; } else { blockersBuilder_.addAllMessages(other.blockers_); } @@ -611,9 +661,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.MoveAnalysisResult other) { warningsBuilder_ = null; warnings_ = other.warnings_; bitField0_ = (bitField0_ & ~0x00000002); - warningsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWarningsFieldBuilder() : null; + warningsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWarningsFieldBuilder() + : null; } else { warningsBuilder_.addAllMessages(other.warnings_); } @@ -647,21 +698,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List blockers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBlockersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { blockers_ = new java.util.ArrayList(blockers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> blockersBuilder_; + com.google.cloud.asset.v1.MoveImpact, + com.google.cloud.asset.v1.MoveImpact.Builder, + com.google.cloud.asset.v1.MoveImpactOrBuilder> + blockersBuilder_; /** + * + * *
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -677,6 +735,8 @@ public java.util.List getBlockersList() {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -692,6 +752,8 @@ public int getBlockersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -707,6 +769,8 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -714,8 +778,7 @@ public com.google.cloud.asset.v1.MoveImpact getBlockers(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public Builder setBlockers(
-        int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder setBlockers(int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (blockersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -729,6 +792,8 @@ public Builder setBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -748,6 +813,8 @@ public Builder setBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -769,6 +836,8 @@ public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -776,8 +845,7 @@ public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact value) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public Builder addBlockers(
-        int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder addBlockers(int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (blockersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -791,6 +859,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -798,8 +868,7 @@ public Builder addBlockers(
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public Builder addBlockers(
-        com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
+    public Builder addBlockers(com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
       if (blockersBuilder_ == null) {
         ensureBlockersIsMutable();
         blockers_.add(builderForValue.build());
@@ -810,6 +879,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -829,6 +900,8 @@ public Builder addBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -840,8 +913,7 @@ public Builder addAllBlockers(
         java.lang.Iterable values) {
       if (blockersBuilder_ == null) {
         ensureBlockersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, blockers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blockers_);
         onChanged();
       } else {
         blockersBuilder_.addAllMessages(values);
@@ -849,6 +921,8 @@ public Builder addAllBlockers(
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -867,6 +941,8 @@ public Builder clearBlockers() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -885,6 +961,8 @@ public Builder removeBlockers(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -892,11 +970,12 @@ public Builder removeBlockers(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder getBlockersBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.MoveImpact.Builder getBlockersBuilder(int index) {
       return getBlockersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -904,14 +983,16 @@ public com.google.cloud.asset.v1.MoveImpact.Builder getBlockersBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int index) {
       if (blockersBuilder_ == null) {
-        return blockers_.get(index);  } else {
+        return blockers_.get(index);
+      } else {
         return blockersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -919,8 +1000,8 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public java.util.List 
-         getBlockersOrBuilderList() {
+    public java.util.List
+        getBlockersOrBuilderList() {
       if (blockersBuilder_ != null) {
         return blockersBuilder_.getMessageOrBuilderList();
       } else {
@@ -928,6 +1009,8 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -936,10 +1019,12 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
     public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder() {
-      return getBlockersFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+      return getBlockersFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -947,12 +1032,13 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder() {
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder(
-        int index) {
-      return getBlockersFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+    public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder(int index) {
+      return getBlockersFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Blocking information that would prevent the target resource from moving
      * to the specified destination at runtime.
@@ -960,38 +1046,46 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addBlockersBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      */
-    public java.util.List 
-         getBlockersBuilderList() {
+    public java.util.List getBlockersBuilderList() {
       return getBlockersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> 
+            com.google.cloud.asset.v1.MoveImpact,
+            com.google.cloud.asset.v1.MoveImpact.Builder,
+            com.google.cloud.asset.v1.MoveImpactOrBuilder>
         getBlockersFieldBuilder() {
       if (blockersBuilder_ == null) {
-        blockersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder>(
-                blockers_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        blockersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.MoveImpact,
+                com.google.cloud.asset.v1.MoveImpact.Builder,
+                com.google.cloud.asset.v1.MoveImpactOrBuilder>(
+                blockers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         blockers_ = null;
       }
       return blockersBuilder_;
     }
 
     private java.util.List warnings_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureWarningsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         warnings_ = new java.util.ArrayList(warnings_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> warningsBuilder_;
+            com.google.cloud.asset.v1.MoveImpact,
+            com.google.cloud.asset.v1.MoveImpact.Builder,
+            com.google.cloud.asset.v1.MoveImpactOrBuilder>
+        warningsBuilder_;
 
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1008,6 +1102,8 @@ public java.util.List getWarningsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1024,6 +1120,8 @@ public int getWarningsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1040,6 +1138,8 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1048,8 +1148,7 @@ public com.google.cloud.asset.v1.MoveImpact getWarnings(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public Builder setWarnings(
-        int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder setWarnings(int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (warningsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1063,6 +1162,8 @@ public Builder setWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1083,6 +1184,8 @@ public Builder setWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1105,6 +1208,8 @@ public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1113,8 +1218,7 @@ public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact value) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public Builder addWarnings(
-        int index, com.google.cloud.asset.v1.MoveImpact value) {
+    public Builder addWarnings(int index, com.google.cloud.asset.v1.MoveImpact value) {
       if (warningsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1128,6 +1232,8 @@ public Builder addWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1136,8 +1242,7 @@ public Builder addWarnings(
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public Builder addWarnings(
-        com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
+    public Builder addWarnings(com.google.cloud.asset.v1.MoveImpact.Builder builderForValue) {
       if (warningsBuilder_ == null) {
         ensureWarningsIsMutable();
         warnings_.add(builderForValue.build());
@@ -1148,6 +1253,8 @@ public Builder addWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1168,6 +1275,8 @@ public Builder addWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1180,8 +1289,7 @@ public Builder addAllWarnings(
         java.lang.Iterable values) {
       if (warningsBuilder_ == null) {
         ensureWarningsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, warnings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_);
         onChanged();
       } else {
         warningsBuilder_.addAllMessages(values);
@@ -1189,6 +1297,8 @@ public Builder addAllWarnings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1208,6 +1318,8 @@ public Builder clearWarnings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1227,6 +1339,8 @@ public Builder removeWarnings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1235,11 +1349,12 @@ public Builder removeWarnings(int index) {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder getWarningsBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.MoveImpact.Builder getWarningsBuilder(int index) {
       return getWarningsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1248,14 +1363,16 @@ public com.google.cloud.asset.v1.MoveImpact.Builder getWarningsBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int index) {
       if (warningsBuilder_ == null) {
-        return warnings_.get(index);  } else {
+        return warnings_.get(index);
+      } else {
         return warningsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1264,8 +1381,8 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public java.util.List 
-         getWarningsOrBuilderList() {
+    public java.util.List
+        getWarningsOrBuilderList() {
       if (warningsBuilder_ != null) {
         return warningsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1273,6 +1390,8 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1282,10 +1401,12 @@ public com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
     public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder() {
-      return getWarningsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+      return getWarningsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1294,12 +1415,13 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder() {
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder(
-        int index) {
-      return getWarningsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
+    public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder(int index) {
+      return getWarningsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.MoveImpact.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Warning information indicating that moving the target resource to the
      * specified destination might be unsafe. This can include important policy
@@ -1308,27 +1430,29 @@ public com.google.cloud.asset.v1.MoveImpact.Builder addWarningsBuilder(
      *
      * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      */
-    public java.util.List 
-         getWarningsBuilderList() {
+    public java.util.List getWarningsBuilderList() {
       return getWarningsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder> 
+            com.google.cloud.asset.v1.MoveImpact,
+            com.google.cloud.asset.v1.MoveImpact.Builder,
+            com.google.cloud.asset.v1.MoveImpactOrBuilder>
         getWarningsFieldBuilder() {
       if (warningsBuilder_ == null) {
-        warningsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.MoveImpact, com.google.cloud.asset.v1.MoveImpact.Builder, com.google.cloud.asset.v1.MoveImpactOrBuilder>(
-                warnings_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        warningsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.MoveImpact,
+                com.google.cloud.asset.v1.MoveImpact.Builder,
+                com.google.cloud.asset.v1.MoveImpactOrBuilder>(
+                warnings_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         warnings_ = null;
       }
       return warningsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1338,12 +1462,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.MoveAnalysisResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.MoveAnalysisResult)
   private static final com.google.cloud.asset.v1.MoveAnalysisResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.MoveAnalysisResult();
   }
@@ -1352,16 +1476,16 @@ public static com.google.cloud.asset.v1.MoveAnalysisResult getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MoveAnalysisResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new MoveAnalysisResult(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MoveAnalysisResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new MoveAnalysisResult(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1376,6 +1500,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.MoveAnalysisResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
index 2d63ef150..d8b667ad2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveAnalysisResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface MoveAnalysisResultOrBuilder extends
+public interface MoveAnalysisResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveAnalysisResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -15,9 +33,10 @@ public interface MoveAnalysisResultOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
-  java.util.List 
-      getBlockersList();
+  java.util.List getBlockersList();
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -27,6 +46,8 @@ public interface MoveAnalysisResultOrBuilder extends
    */
   com.google.cloud.asset.v1.MoveImpact getBlockers(int index);
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -36,6 +57,8 @@ public interface MoveAnalysisResultOrBuilder extends
    */
   int getBlockersCount();
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -43,9 +66,11 @@ public interface MoveAnalysisResultOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
-  java.util.List 
+  java.util.List
       getBlockersOrBuilderList();
   /**
+   *
+   *
    * 
    * Blocking information that would prevent the target resource from moving
    * to the specified destination at runtime.
@@ -53,10 +78,11 @@ public interface MoveAnalysisResultOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    */
-  com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -65,9 +91,10 @@ com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
    *
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
-  java.util.List 
-      getWarningsList();
+  java.util.List getWarningsList();
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -78,6 +105,8 @@ com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
    */
   com.google.cloud.asset.v1.MoveImpact getWarnings(int index);
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -88,6 +117,8 @@ com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
    */
   int getWarningsCount();
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -96,9 +127,11 @@ com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
    *
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
-  java.util.List 
+  java.util.List
       getWarningsOrBuilderList();
   /**
+   *
+   *
    * 
    * Warning information indicating that moving the target resource to the
    * specified destination might be unsafe. This can include important policy
@@ -107,6 +140,5 @@ com.google.cloud.asset.v1.MoveImpactOrBuilder getBlockersOrBuilder(
    *
    * repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    */
-  com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.MoveImpactOrBuilder getWarningsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
index 1c20174c3..5a2303a10 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpact.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * A message to group impacts of moving the target resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.MoveImpact} */ -public final class MoveImpact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveImpact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.MoveImpact) MoveImpactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveImpact.newBuilder() to construct. private MoveImpact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveImpact() { detail_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveImpact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveImpact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private MoveImpact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - detail_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + detail_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private MoveImpact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveImpact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveImpact.class, com.google.cloud.asset.v1.MoveImpact.Builder.class); + com.google.cloud.asset.v1.MoveImpact.class, + com.google.cloud.asset.v1.MoveImpact.Builder.class); } public static final int DETAIL_FIELD_NUMBER = 1; private volatile java.lang.Object detail_; /** + * + * *
    * User friendly impact detail in a free form message.
    * 
* * string detail = 1; + * * @return The detail. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; } } /** + * + * *
    * User friendly impact detail in a free form message.
    * 
* * string detail = 1; + * * @return The bytes for detail. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailBytes() { + public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detail_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getDetail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(detail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, detail_); } @@ -176,15 +199,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.MoveImpact)) { return super.equals(obj); } com.google.cloud.asset.v1.MoveImpact other = (com.google.cloud.asset.v1.MoveImpact) obj; - if (!getDetail() - .equals(other.getDetail())) return false; + if (!getDetail().equals(other.getDetail())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +225,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.MoveImpact parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.MoveImpact parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.MoveImpact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.MoveImpact parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.MoveImpact parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.MoveImpact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.MoveImpact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.MoveImpact parseFrom( - byte[] data, - com.google.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.asset.v1.MoveImpact 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.asset.v1.MoveImpact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveImpact 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.asset.v1.MoveImpact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.MoveImpact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.MoveImpact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.MoveImpact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A message to group impacts of moving the target resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.MoveImpact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.MoveImpact) com.google.cloud.asset.v1.MoveImpactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveImpact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveImpact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.MoveImpact.class, com.google.cloud.asset.v1.MoveImpact.Builder.class); + com.google.cloud.asset.v1.MoveImpact.class, + com.google.cloud.asset.v1.MoveImpact.Builder.class); } // Construct using com.google.cloud.asset.v1.MoveImpact.newBuilder() @@ -322,16 +352,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_MoveImpact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_MoveImpact_descriptor; } @java.lang.Override @@ -372,38 +401,39 @@ public com.google.cloud.asset.v1.MoveImpact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.MoveImpact) { - return mergeFrom((com.google.cloud.asset.v1.MoveImpact)other); + return mergeFrom((com.google.cloud.asset.v1.MoveImpact) other); } else { super.mergeFrom(other); return this; @@ -447,18 +477,20 @@ public Builder mergeFrom( private java.lang.Object detail_ = ""; /** + * + * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; + * * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; @@ -467,20 +499,21 @@ public java.lang.String getDetail() { } } /** + * + * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; + * * @return The bytes for detail. */ - public com.google.protobuf.ByteString - getDetailBytes() { + public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detail_ = b; return b; } else { @@ -488,61 +521,68 @@ public java.lang.String getDetail() { } } /** + * + * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; + * * @param value The detail to set. * @return This builder for chaining. */ - public Builder setDetail( - java.lang.String value) { + public Builder setDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detail_ = value; onChanged(); return this; } /** + * + * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; + * * @return This builder for chaining. */ public Builder clearDetail() { - + detail_ = getDefaultInstance().getDetail(); onChanged(); return this; } /** + * + * *
      * User friendly impact detail in a free form message.
      * 
* * string detail = 1; + * * @param value The bytes for detail to set. * @return This builder for chaining. */ - public Builder setDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detail_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.MoveImpact) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.MoveImpact) private static final com.google.cloud.asset.v1.MoveImpact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.MoveImpact(); } @@ -566,16 +606,16 @@ public static com.google.cloud.asset.v1.MoveImpact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveImpact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveImpact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveImpact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveImpact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +630,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.MoveImpact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java new file mode 100644 index 000000000..c6ae2623e --- /dev/null +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/MoveImpactOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1/asset_service.proto + +package com.google.cloud.asset.v1; + +public interface MoveImpactOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveImpact) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * User friendly impact detail in a free form message.
+   * 
+ * + * string detail = 1; + * + * @return The detail. + */ + java.lang.String getDetail(); + /** + * + * + *
+   * User friendly impact detail in a free form message.
+   * 
+ * + * string detail = 1; + * + * @return The bytes for detail. + */ + com.google.protobuf.ByteString getDetailBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OrganizationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java index 2195ba20a..6e02e0f21 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Output configuration for export assets destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.OutputConfig} */ -public final class OutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.OutputConfig) OutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputConfig() { - } + + private OutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,41 +68,46 @@ private OutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.GcsDestination) destination_).toBuilder(); + case 10: + { + com.google.cloud.asset.v1.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.GcsDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destination_ = - input.readMessage(com.google.cloud.asset.v1.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = + ((com.google.cloud.asset.v1.BigQueryDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1.BigQueryDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 2; + break; } - destinationCase_ = 1; - break; - } - case 18: { - com.google.cloud.asset.v1.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = ((com.google.cloud.asset.v1.BigQueryDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage(com.google.cloud.asset.v1.BigQueryDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - destinationCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,35 +115,40 @@ private OutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputConfig.class, com.google.cloud.asset.v1.OutputConfig.Builder.class); + com.google.cloud.asset.v1.OutputConfig.class, + com.google.cloud.asset.v1.OutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), BIGQUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -138,30 +164,36 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return GCS_DESTINATION; - case 2: return BIGQUERY_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return GCS_DESTINATION; + case 2: + return BIGQUERY_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -169,21 +201,26 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ @java.lang.Override public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.GcsDestination) destination_; + return (com.google.cloud.asset.v1.GcsDestination) destination_; } return com.google.cloud.asset.v1.GcsDestination.getDefaultInstance(); } /** + * + * *
    * Destination on Cloud Storage.
    * 
@@ -193,19 +230,22 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { @java.lang.Override public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1.GcsDestination) destination_; + return (com.google.cloud.asset.v1.GcsDestination) destination_; } return com.google.cloud.asset.v1.GcsDestination.getDefaultInstance(); } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 2; /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -213,22 +253,27 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; + * * @return The bigqueryDestination. */ @java.lang.Override public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1.BigQueryDestination) destination_; } return com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance(); } /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
@@ -239,12 +284,13 @@ public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() {
   @java.lang.Override
   public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
     if (destinationCase_ == 2) {
-       return (com.google.cloud.asset.v1.BigQueryDestination) destination_;
+      return (com.google.cloud.asset.v1.BigQueryDestination) destination_;
     }
     return com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -256,8 +302,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (destinationCase_ == 1) {
       output.writeMessage(1, (com.google.cloud.asset.v1.GcsDestination) destination_);
     }
@@ -274,12 +319,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (destinationCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.cloud.asset.v1.GcsDestination) destination_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.cloud.asset.v1.GcsDestination) destination_);
     }
     if (destinationCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.cloud.asset.v1.BigQueryDestination) destination_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.cloud.asset.v1.BigQueryDestination) destination_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -289,7 +336,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.OutputConfig)) {
       return super.equals(obj);
@@ -299,12 +346,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getDestinationCase().equals(other.getDestinationCase())) return false;
     switch (destinationCase_) {
       case 1:
-        if (!getGcsDestination()
-            .equals(other.getGcsDestination())) return false;
+        if (!getGcsDestination().equals(other.getGcsDestination())) return false;
         break;
       case 2:
-        if (!getBigqueryDestination()
-            .equals(other.getBigqueryDestination())) return false;
+        if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false;
         break;
       case 0:
       default:
@@ -337,118 +382,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.OutputConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.OutputConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.OutputConfig parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.OutputConfig 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.asset.v1.OutputConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.OutputConfig 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.asset.v1.OutputConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.OutputConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.OutputConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.OutputConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Output configuration for export assets destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.OutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.OutputConfig) com.google.cloud.asset.v1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputConfig.class, com.google.cloud.asset.v1.OutputConfig.Builder.class); + com.google.cloud.asset.v1.OutputConfig.class, + com.google.cloud.asset.v1.OutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1.OutputConfig.newBuilder() @@ -456,16 +510,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +528,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputConfig_descriptor; } @java.lang.Override @@ -496,7 +549,8 @@ public com.google.cloud.asset.v1.OutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1.OutputConfig buildPartial() { - com.google.cloud.asset.v1.OutputConfig result = new com.google.cloud.asset.v1.OutputConfig(this); + com.google.cloud.asset.v1.OutputConfig result = + new com.google.cloud.asset.v1.OutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -520,38 +574,39 @@ public com.google.cloud.asset.v1.OutputConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.OutputConfig) { - return mergeFrom((com.google.cloud.asset.v1.OutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1.OutputConfig) other); } else { super.mergeFrom(other); return this; @@ -561,17 +616,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.OutputConfig other) { if (other == com.google.cloud.asset.v1.OutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case BIGQUERY_DESTINATION: { - mergeBigqueryDestination(other.getBigqueryDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case GCS_DESTINATION: + { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case BIGQUERY_DESTINATION: + { + mergeBigqueryDestination(other.getBigqueryDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -601,12 +659,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -616,15 +674,20 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsDestination, com.google.cloud.asset.v1.GcsDestination.Builder, com.google.cloud.asset.v1.GcsDestinationOrBuilder> gcsDestinationBuilder_; + com.google.cloud.asset.v1.GcsDestination, + com.google.cloud.asset.v1.GcsDestination.Builder, + com.google.cloud.asset.v1.GcsDestinationOrBuilder> + gcsDestinationBuilder_; /** + * + * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -632,11 +695,14 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ @java.lang.Override @@ -654,6 +720,8 @@ public com.google.cloud.asset.v1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -674,6 +742,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1.GcsDestination value) return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -692,6 +762,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -700,10 +772,13 @@ public Builder setGcsDestination( */ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1.GcsDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1.GcsDestination.newBuilder((com.google.cloud.asset.v1.GcsDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ != com.google.cloud.asset.v1.GcsDestination.getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1.GcsDestination.newBuilder( + (com.google.cloud.asset.v1.GcsDestination) destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -719,6 +794,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1.GcsDestination valu return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -742,6 +819,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -752,6 +831,8 @@ public com.google.cloud.asset.v1.GcsDestination.Builder getGcsDestinationBuilder return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -770,6 +851,8 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -777,33 +860,45 @@ public com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuil * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsDestination, com.google.cloud.asset.v1.GcsDestination.Builder, com.google.cloud.asset.v1.GcsDestinationOrBuilder> + com.google.cloud.asset.v1.GcsDestination, + com.google.cloud.asset.v1.GcsDestination.Builder, + com.google.cloud.asset.v1.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsDestination, com.google.cloud.asset.v1.GcsDestination.Builder, com.google.cloud.asset.v1.GcsDestinationOrBuilder>( + gcsDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.GcsDestination, + com.google.cloud.asset.v1.GcsDestination.Builder, + com.google.cloud.asset.v1.GcsDestinationOrBuilder>( (com.google.cloud.asset.v1.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return gcsDestinationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.BigQueryDestination, com.google.cloud.asset.v1.BigQueryDestination.Builder, com.google.cloud.asset.v1.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; + com.google.cloud.asset.v1.BigQueryDestination, + com.google.cloud.asset.v1.BigQueryDestination.Builder, + com.google.cloud.asset.v1.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; /** + * + * *
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
      * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -811,12 +906,15 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** + * + * *
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
      * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; + * * @return The bigqueryDestination. */ @java.lang.Override @@ -834,6 +932,8 @@ public com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination() { } } /** + * + * *
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -855,6 +955,8 @@ public Builder setBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestinat
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -874,6 +976,8 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -883,10 +987,13 @@ public Builder setBigqueryDestination(
      */
     public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestination value) {
       if (bigqueryDestinationBuilder_ == null) {
-        if (destinationCase_ == 2 &&
-            destination_ != com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance()) {
-          destination_ = com.google.cloud.asset.v1.BigQueryDestination.newBuilder((com.google.cloud.asset.v1.BigQueryDestination) destination_)
-              .mergeFrom(value).buildPartial();
+        if (destinationCase_ == 2
+            && destination_ != com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance()) {
+          destination_ =
+              com.google.cloud.asset.v1.BigQueryDestination.newBuilder(
+                      (com.google.cloud.asset.v1.BigQueryDestination) destination_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           destination_ = value;
         }
@@ -902,6 +1009,8 @@ public Builder mergeBigqueryDestination(com.google.cloud.asset.v1.BigQueryDestin
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -926,6 +1035,8 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -937,6 +1048,8 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
       return getBigqueryDestinationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -945,7 +1058,8 @@ public com.google.cloud.asset.v1.BigQueryDestination.Builder getBigqueryDestinat
      * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
+    public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder
+        getBigqueryDestinationOrBuilder() {
       if ((destinationCase_ == 2) && (bigqueryDestinationBuilder_ != null)) {
         return bigqueryDestinationBuilder_.getMessageOrBuilder();
       } else {
@@ -956,6 +1070,8 @@ public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestina
       }
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * Protobuf as columns in BigQuery.
@@ -964,26 +1080,32 @@ public com.google.cloud.asset.v1.BigQueryDestinationOrBuilder getBigqueryDestina
      * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.BigQueryDestination, com.google.cloud.asset.v1.BigQueryDestination.Builder, com.google.cloud.asset.v1.BigQueryDestinationOrBuilder> 
+            com.google.cloud.asset.v1.BigQueryDestination,
+            com.google.cloud.asset.v1.BigQueryDestination.Builder,
+            com.google.cloud.asset.v1.BigQueryDestinationOrBuilder>
         getBigqueryDestinationFieldBuilder() {
       if (bigqueryDestinationBuilder_ == null) {
         if (!(destinationCase_ == 2)) {
           destination_ = com.google.cloud.asset.v1.BigQueryDestination.getDefaultInstance();
         }
-        bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.BigQueryDestination, com.google.cloud.asset.v1.BigQueryDestination.Builder, com.google.cloud.asset.v1.BigQueryDestinationOrBuilder>(
+        bigqueryDestinationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.BigQueryDestination,
+                com.google.cloud.asset.v1.BigQueryDestination.Builder,
+                com.google.cloud.asset.v1.BigQueryDestinationOrBuilder>(
                 (com.google.cloud.asset.v1.BigQueryDestination) destination_,
                 getParentForChildren(),
                 isClean());
         destination_ = null;
       }
       destinationCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return bigqueryDestinationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -993,12 +1115,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.OutputConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.OutputConfig)
   private static final com.google.cloud.asset.v1.OutputConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.OutputConfig();
   }
@@ -1007,16 +1129,16 @@ public static com.google.cloud.asset.v1.OutputConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public OutputConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new OutputConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public OutputConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new OutputConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1031,6 +1153,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
index de717d5a0..ce0fc0ded 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputConfigOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
-public interface OutputConfigOrBuilder extends
+public interface OutputConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.OutputConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ com.google.cloud.asset.v1.GcsDestination getGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
@@ -35,26 +59,34 @@ public interface OutputConfigOrBuilder extends com.google.cloud.asset.v1.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; + * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
    * 
* * .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2; + * * @return The bigqueryDestination. */ com.google.cloud.asset.v1.BigQueryDestination getBigqueryDestination(); /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * Protobuf as columns in BigQuery.
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
index ac7dadbb3..7922ccf43 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResult.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * Output result of export assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1.OutputResult} */ -public final class OutputResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OutputResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.OutputResult) OutputResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OutputResult.newBuilder() to construct. private OutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputResult() { - } + + private OutputResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,29 @@ private OutputResult( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.GcsOutputResult.Builder subBuilder = null; - if (resultCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.GcsOutputResult) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.cloud.asset.v1.GcsOutputResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsOutputResult) result_); - result_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.asset.v1.GcsOutputResult.Builder subBuilder = null; + if (resultCase_ == 1) { + subBuilder = ((com.google.cloud.asset.v1.GcsOutputResult) result_).toBuilder(); + } + result_ = + input.readMessage( + com.google.cloud.asset.v1.GcsOutputResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1.GcsOutputResult) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 1; + break; } - resultCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +98,39 @@ private OutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputResult.class, com.google.cloud.asset.v1.OutputResult.Builder.class); + com.google.cloud.asset.v1.OutputResult.class, + com.google.cloud.asset.v1.OutputResult.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_RESULT(1), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -123,29 +146,34 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 1: return GCS_RESULT; - case 0: return RESULT_NOT_SET; - default: return null; + case 1: + return GCS_RESULT; + case 0: + return RESULT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public static final int GCS_RESULT_FIELD_NUMBER = 1; /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; + * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -153,21 +181,26 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; + * * @return The gcsResult. */ @java.lang.Override public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1.GcsOutputResult) result_; } return com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance(); } /** + * + * *
    * Export result on Cloud Storage.
    * 
@@ -177,12 +210,13 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { @java.lang.Override public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1.GcsOutputResult) result_; } return com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resultCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1.GcsOutputResult) result_); } @@ -209,8 +242,9 @@ public int getSerializedSize() { size = 0; if (resultCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1.GcsOutputResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.asset.v1.GcsOutputResult) result_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,7 +254,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.OutputResult)) { return super.equals(obj); @@ -230,8 +264,7 @@ public boolean equals(final java.lang.Object obj) { if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 1: - if (!getGcsResult() - .equals(other.getGcsResult())) return false; + if (!getGcsResult().equals(other.getGcsResult())) return false; break; case 0: default: @@ -260,118 +293,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.OutputResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.OutputResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.OutputResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.OutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.OutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.OutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.OutputResult parseFrom( - byte[] data, - com.google.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.asset.v1.OutputResult 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.asset.v1.OutputResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.OutputResult 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.asset.v1.OutputResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.OutputResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.OutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.OutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output result of export assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1.OutputResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.OutputResult) com.google.cloud.asset.v1.OutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.OutputResult.class, com.google.cloud.asset.v1.OutputResult.Builder.class); + com.google.cloud.asset.v1.OutputResult.class, + com.google.cloud.asset.v1.OutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1.OutputResult.newBuilder() @@ -379,16 +421,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_OutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_OutputResult_descriptor; } @java.lang.Override @@ -419,7 +460,8 @@ public com.google.cloud.asset.v1.OutputResult build() { @java.lang.Override public com.google.cloud.asset.v1.OutputResult buildPartial() { - com.google.cloud.asset.v1.OutputResult result = new com.google.cloud.asset.v1.OutputResult(this); + com.google.cloud.asset.v1.OutputResult result = + new com.google.cloud.asset.v1.OutputResult(this); if (resultCase_ == 1) { if (gcsResultBuilder_ == null) { result.result_ = result_; @@ -436,38 +478,39 @@ public com.google.cloud.asset.v1.OutputResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.OutputResult) { - return mergeFrom((com.google.cloud.asset.v1.OutputResult)other); + return mergeFrom((com.google.cloud.asset.v1.OutputResult) other); } else { super.mergeFrom(other); return this; @@ -477,13 +520,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1.OutputResult other) { if (other == com.google.cloud.asset.v1.OutputResult.getDefaultInstance()) return this; switch (other.getResultCase()) { - case GCS_RESULT: { - mergeGcsResult(other.getGcsResult()); - break; - } - case RESULT_NOT_SET: { - break; - } + case GCS_RESULT: + { + mergeGcsResult(other.getGcsResult()); + break; + } + case RESULT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -513,12 +558,12 @@ public Builder mergeFrom( } return this; } + private int resultCase_ = 0; private java.lang.Object result_; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public Builder clearResult() { @@ -528,15 +573,20 @@ public Builder clearResult() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsOutputResult, com.google.cloud.asset.v1.GcsOutputResult.Builder, com.google.cloud.asset.v1.GcsOutputResultOrBuilder> gcsResultBuilder_; + com.google.cloud.asset.v1.GcsOutputResult, + com.google.cloud.asset.v1.GcsOutputResult.Builder, + com.google.cloud.asset.v1.GcsOutputResultOrBuilder> + gcsResultBuilder_; /** + * + * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; + * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -544,11 +594,14 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** + * + * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; + * * @return The gcsResult. */ @java.lang.Override @@ -566,6 +619,8 @@ public com.google.cloud.asset.v1.GcsOutputResult getGcsResult() { } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -586,14 +641,15 @@ public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; */ - public Builder setGcsResult( - com.google.cloud.asset.v1.GcsOutputResult.Builder builderForValue) { + public Builder setGcsResult(com.google.cloud.asset.v1.GcsOutputResult.Builder builderForValue) { if (gcsResultBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -604,6 +660,8 @@ public Builder setGcsResult( return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -612,10 +670,13 @@ public Builder setGcsResult( */ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { if (gcsResultBuilder_ == null) { - if (resultCase_ == 1 && - result_ != com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance()) { - result_ = com.google.cloud.asset.v1.GcsOutputResult.newBuilder((com.google.cloud.asset.v1.GcsOutputResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 1 + && result_ != com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance()) { + result_ = + com.google.cloud.asset.v1.GcsOutputResult.newBuilder( + (com.google.cloud.asset.v1.GcsOutputResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -631,6 +692,8 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1.GcsOutputResult value) { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -654,6 +717,8 @@ public Builder clearGcsResult() { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -664,6 +729,8 @@ public com.google.cloud.asset.v1.GcsOutputResult.Builder getGcsResultBuilder() { return getGcsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -682,6 +749,8 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -689,26 +758,32 @@ public com.google.cloud.asset.v1.GcsOutputResultOrBuilder getGcsResultOrBuilder( * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsOutputResult, com.google.cloud.asset.v1.GcsOutputResult.Builder, com.google.cloud.asset.v1.GcsOutputResultOrBuilder> + com.google.cloud.asset.v1.GcsOutputResult, + com.google.cloud.asset.v1.GcsOutputResult.Builder, + com.google.cloud.asset.v1.GcsOutputResultOrBuilder> getGcsResultFieldBuilder() { if (gcsResultBuilder_ == null) { if (!(resultCase_ == 1)) { result_ = com.google.cloud.asset.v1.GcsOutputResult.getDefaultInstance(); } - gcsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.GcsOutputResult, com.google.cloud.asset.v1.GcsOutputResult.Builder, com.google.cloud.asset.v1.GcsOutputResultOrBuilder>( + gcsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.GcsOutputResult, + com.google.cloud.asset.v1.GcsOutputResult.Builder, + com.google.cloud.asset.v1.GcsOutputResultOrBuilder>( (com.google.cloud.asset.v1.GcsOutputResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 1; - onChanged();; + onChanged(); + ; return gcsResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +793,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.OutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.OutputResult) private static final com.google.cloud.asset.v1.OutputResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.OutputResult(); } @@ -732,16 +807,16 @@ public static com.google.cloud.asset.v1.OutputResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +831,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java index 68dc7c1ed..454ff49af 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/OutputResultOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface OutputResultOrBuilder extends +public interface OutputResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.OutputResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; + * * @return Whether the gcsResult field is set. */ boolean hasGcsResult(); /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1.GcsOutputResult gcs_result = 1; + * * @return The gcsResult. */ com.google.cloud.asset.v1.GcsOutputResult getGcsResult(); /** + * + * *
    * Export result on Cloud Storage.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java index 652087c7f..29caf7155 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpec.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Specifications of BigQuery partitioned table as export destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.PartitionSpec} */ -public final class PartitionSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartitionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.PartitionSpec) PartitionSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionSpec.newBuilder() to construct. private PartitionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PartitionSpec() { partitionKey_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PartitionSpec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PartitionSpec( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - partitionKey_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + partitionKey_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,27 +91,31 @@ private PartitionSpec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PartitionSpec.class, com.google.cloud.asset.v1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1.PartitionSpec.class, + com.google.cloud.asset.v1.PartitionSpec.Builder.class); } /** + * + * *
    * This enum is used to determine the partition key column when exporting
    * assets to BigQuery partitioned table(s). Note that, if the partition key is
@@ -104,9 +126,10 @@ private PartitionSpec(
    *
    * Protobuf enum {@code google.cloud.asset.v1.PartitionSpec.PartitionKey}
    */
-  public enum PartitionKey
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -115,6 +138,8 @@ public enum PartitionKey */ PARTITION_KEY_UNSPECIFIED(0), /** + * + * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -127,6 +152,8 @@ public enum PartitionKey
      */
     READ_TIME(1),
     /**
+     *
+     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -141,6 +168,8 @@ public enum PartitionKey
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -149,6 +178,8 @@ public enum PartitionKey */ public static final int PARTITION_KEY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -161,6 +192,8 @@ public enum PartitionKey
      */
     public static final int READ_TIME_VALUE = 1;
     /**
+     *
+     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -172,7 +205,6 @@ public enum PartitionKey
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,49 +229,49 @@ public static PartitionKey valueOf(int value) {
      */
     public static PartitionKey forNumber(int value) {
       switch (value) {
-        case 0: return PARTITION_KEY_UNSPECIFIED;
-        case 1: return READ_TIME;
-        case 2: return REQUEST_TIME;
-        default: return null;
+        case 0:
+          return PARTITION_KEY_UNSPECIFIED;
+        case 1:
+          return READ_TIME;
+        case 2:
+          return REQUEST_TIME;
+        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<
-        PartitionKey> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PartitionKey findValueByNumber(int number) {
-              return PartitionKey.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PartitionKey findValueByNumber(int number) {
+            return PartitionKey.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.asset.v1.PartitionSpec.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PartitionKey[] VALUES = values();
 
-    public static PartitionKey valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PartitionKey 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;
@@ -259,31 +291,43 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   private int partitionKey_;
   /**
+   *
+   *
    * 
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override public int getPartitionKeyValue() { + @java.lang.Override + public int getPartitionKeyValue() { return partitionKey_; } /** + * + * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The partitionKey. */ - @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { + @java.lang.Override + public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; + com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = + com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null + ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,9 +339,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (partitionKey_ != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (partitionKey_ + != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, partitionKey_); } unknownFields.writeTo(output); @@ -309,9 +354,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (partitionKey_ != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, partitionKey_); + if (partitionKey_ + != com.google.cloud.asset.v1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, partitionKey_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -321,7 +367,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.PartitionSpec)) { return super.equals(obj); @@ -347,118 +393,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.PartitionSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.PartitionSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.PartitionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.PartitionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.PartitionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.PartitionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.PartitionSpec parseFrom( - byte[] data, - com.google.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.asset.v1.PartitionSpec 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.asset.v1.PartitionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PartitionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.PartitionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.PartitionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PartitionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.PartitionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.PartitionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifications of BigQuery partitioned table as export destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.PartitionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.PartitionSpec) com.google.cloud.asset.v1.PartitionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PartitionSpec.class, com.google.cloud.asset.v1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1.PartitionSpec.class, + com.google.cloud.asset.v1.PartitionSpec.Builder.class); } // Construct using com.google.cloud.asset.v1.PartitionSpec.newBuilder() @@ -466,16 +521,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PartitionSpec_descriptor; } @java.lang.Override @@ -506,7 +560,8 @@ public com.google.cloud.asset.v1.PartitionSpec build() { @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec buildPartial() { - com.google.cloud.asset.v1.PartitionSpec result = new com.google.cloud.asset.v1.PartitionSpec(this); + com.google.cloud.asset.v1.PartitionSpec result = + new com.google.cloud.asset.v1.PartitionSpec(this); result.partitionKey_ = partitionKey_; onBuilt(); return result; @@ -516,38 +571,39 @@ public com.google.cloud.asset.v1.PartitionSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.PartitionSpec) { - return mergeFrom((com.google.cloud.asset.v1.PartitionSpec)other); + return mergeFrom((com.google.cloud.asset.v1.PartitionSpec) other); } else { super.mergeFrom(other); return this; @@ -590,51 +646,67 @@ public Builder mergeFrom( private int partitionKey_ = 0; /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override public int getPartitionKeyValue() { + @java.lang.Override + public int getPartitionKeyValue() { return partitionKey_; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @param value The enum numeric value on the wire for partitionKey to set. * @return This builder for chaining. */ public Builder setPartitionKeyValue(int value) { - + partitionKey_ = value; onChanged(); return this; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The partitionKey. */ @java.lang.Override public com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; + com.google.cloud.asset.v1.PartitionSpec.PartitionKey result = + com.google.cloud.asset.v1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null + ? com.google.cloud.asset.v1.PartitionSpec.PartitionKey.UNRECOGNIZED + : result; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @param value The partitionKey to set. * @return This builder for chaining. */ @@ -642,28 +714,31 @@ public Builder setPartitionKey(com.google.cloud.asset.v1.PartitionSpec.Partition if (value == null) { throw new NullPointerException(); } - + partitionKey_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return This builder for chaining. */ public Builder clearPartitionKey() { - + partitionKey_ = 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); } @@ -673,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.PartitionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.PartitionSpec) private static final com.google.cloud.asset.v1.PartitionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.PartitionSpec(); } @@ -687,16 +762,16 @@ public static com.google.cloud.asset.v1.PartitionSpec getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,6 +786,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java index 0dd5bf878..78bec335e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PartitionSpecOrBuilder.java @@ -1,27 +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/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface PartitionSpecOrBuilder extends +public interface PartitionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.PartitionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The enum numeric value on the wire for partitionKey. */ int getPartitionKeyValue(); /** + * + * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The partitionKey. */ com.google.cloud.asset.v1.PartitionSpec.PartitionKey getPartitionKey(); diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java index 840f3f696..c0989ae4e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestination.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A Pub/Sub destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1.PubsubDestination} */ -public final class PubsubDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PubsubDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.PubsubDestination) PubsubDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubsubDestination.newBuilder() to construct. private PubsubDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PubsubDestination() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PubsubDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PubsubDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PubsubDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + topic_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private PubsubDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PubsubDestination.class, com.google.cloud.asset.v1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1.PubsubDestination.class, + com.google.cloud.asset.v1.PubsubDestination.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** + * + * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -110,30 +133,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -142,6 +165,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -178,15 +201,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.asset.v1.PubsubDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1.PubsubDestination other = (com.google.cloud.asset.v1.PubsubDestination) obj; + com.google.cloud.asset.v1.PubsubDestination other = + (com.google.cloud.asset.v1.PubsubDestination) obj; - if (!getTopic() - .equals(other.getTopic())) return false; + if (!getTopic().equals(other.getTopic())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +228,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.PubsubDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.PubsubDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.PubsubDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.PubsubDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.PubsubDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.PubsubDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.PubsubDestination parseFrom( - byte[] data, - com.google.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.asset.v1.PubsubDestination 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.asset.v1.PubsubDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PubsubDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.PubsubDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.PubsubDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.PubsubDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.PubsubDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.PubsubDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Pub/Sub destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1.PubsubDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.PubsubDestination) com.google.cloud.asset.v1.PubsubDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.PubsubDestination.class, com.google.cloud.asset.v1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1.PubsubDestination.class, + com.google.cloud.asset.v1.PubsubDestination.Builder.class); } // Construct using com.google.cloud.asset.v1.PubsubDestination.newBuilder() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_PubsubDestination_descriptor; } @java.lang.Override @@ -364,7 +395,8 @@ public com.google.cloud.asset.v1.PubsubDestination build() { @java.lang.Override public com.google.cloud.asset.v1.PubsubDestination buildPartial() { - com.google.cloud.asset.v1.PubsubDestination result = new com.google.cloud.asset.v1.PubsubDestination(this); + com.google.cloud.asset.v1.PubsubDestination result = + new com.google.cloud.asset.v1.PubsubDestination(this); result.topic_ = topic_; onBuilt(); return result; @@ -374,38 +406,39 @@ public com.google.cloud.asset.v1.PubsubDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.PubsubDestination) { - return mergeFrom((com.google.cloud.asset.v1.PubsubDestination)other); + return mergeFrom((com.google.cloud.asset.v1.PubsubDestination) other); } else { super.mergeFrom(other); return this; @@ -449,19 +482,21 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** + * + * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -470,21 +505,22 @@ public java.lang.String getTopic() { } } /** + * + * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -492,64 +528,71 @@ public java.lang.String getTopic() { } } /** + * + * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
      * The name of the Pub/Sub topic to publish to.
      * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.PubsubDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.PubsubDestination) private static final com.google.cloud.asset.v1.PubsubDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.PubsubDestination(); } @@ -573,16 +616,16 @@ public static com.google.cloud.asset.v1.PubsubDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubsubDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubsubDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubsubDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java index 05bb241e5..ba1e2e54c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/PubsubDestinationOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface PubsubDestinationOrBuilder extends +public interface PubsubDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.PubsubDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
    * The name of the Pub/Sub topic to publish to.
    * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java index b4dc113c8..845b44c83 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAsset.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * An asset identifier in Google Cloud which contains its name, type and
  * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.RelatedAsset}
  */
-public final class RelatedAsset extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RelatedAsset extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedAsset)
     RelatedAssetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RelatedAsset.newBuilder() to construct.
   private RelatedAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RelatedAsset() {
     asset_ = "";
     assetType_ = "";
@@ -35,16 +53,15 @@ private RelatedAsset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RelatedAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RelatedAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -64,40 +81,44 @@ private RelatedAsset(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            asset_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              asset_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              ancestors_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              assetType_ = s;
+              break;
             }
-            ancestors_.add(s);
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ancestors_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              ancestors_.add(s);
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            relationshipType_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              relationshipType_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -105,8 +126,7 @@ private RelatedAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         ancestors_ = ancestors_.getUnmodifiableView();
@@ -115,22 +135,27 @@ private RelatedAsset(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.RelatedAsset.class, com.google.cloud.asset.v1.RelatedAsset.Builder.class);
+            com.google.cloud.asset.v1.RelatedAsset.class,
+            com.google.cloud.asset.v1.RelatedAsset.Builder.class);
   }
 
   public static final int ASSET_FIELD_NUMBER = 1;
   private volatile java.lang.Object asset_;
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -140,6 +165,7 @@ private RelatedAsset(
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ @java.lang.Override @@ -148,14 +174,15 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -165,16 +192,15 @@ public java.lang.String getAsset() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -185,6 +211,8 @@ public java.lang.String getAsset() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -193,6 +221,7 @@ public java.lang.String getAsset() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -201,14 +230,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -217,16 +247,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -237,6 +266,8 @@ public java.lang.String getAssetType() { public static final int ANCESTORS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ancestors_; /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -246,13 +277,15 @@ public java.lang.String getAssetType() {
    * 
* * repeated string ancestors = 3; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -262,12 +295,15 @@ public java.lang.String getAssetType() {
    * 
* * repeated string ancestors = 3; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -277,6 +313,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -284,6 +321,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -293,23 +332,26 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } public static final int RELATIONSHIP_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object relationshipType_; /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; + * * @return The relationshipType. */ @java.lang.Override @@ -318,30 +360,30 @@ public java.lang.String getRelationshipType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relationshipType_ = s; return s; } } /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; + * * @return The bytes for relationshipType. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelationshipTypeBytes() { + public com.google.protobuf.ByteString getRelationshipTypeBytes() { java.lang.Object ref = relationshipType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relationshipType_ = b; return b; } else { @@ -350,6 +392,7 @@ public java.lang.String getRelationshipType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,8 +404,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -409,21 +451,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.asset.v1.RelatedAsset)) { return super.equals(obj); } com.google.cloud.asset.v1.RelatedAsset other = (com.google.cloud.asset.v1.RelatedAsset) obj; - if (!getAsset() - .equals(other.getAsset())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; - if (!getAncestorsList() - .equals(other.getAncestorsList())) return false; - if (!getRelationshipType() - .equals(other.getRelationshipType())) return false; + if (!getAsset().equals(other.getAsset())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; + if (!getAncestorsList().equals(other.getAncestorsList())) return false; + if (!getRelationshipType().equals(other.getRelationshipType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,97 +488,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedAsset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedAsset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedAsset parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.RelatedAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedAsset parseFrom( - byte[] data, - com.google.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.asset.v1.RelatedAsset 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.asset.v1.RelatedAsset parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAsset 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.asset.v1.RelatedAsset parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAsset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.RelatedAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.RelatedAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An asset identifier in Google Cloud which contains its name, type and
    * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -554,21 +599,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.RelatedAsset}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedAsset)
       com.google.cloud.asset.v1.RelatedAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelatedAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.RelatedAsset.class, com.google.cloud.asset.v1.RelatedAsset.Builder.class);
+              com.google.cloud.asset.v1.RelatedAsset.class,
+              com.google.cloud.asset.v1.RelatedAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.RelatedAsset.newBuilder()
@@ -576,16 +623,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -601,9 +647,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
@@ -622,7 +668,8 @@ public com.google.cloud.asset.v1.RelatedAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.RelatedAsset buildPartial() {
-      com.google.cloud.asset.v1.RelatedAsset result = new com.google.cloud.asset.v1.RelatedAsset(this);
+      com.google.cloud.asset.v1.RelatedAsset result =
+          new com.google.cloud.asset.v1.RelatedAsset(this);
       int from_bitField0_ = bitField0_;
       result.asset_ = asset_;
       result.assetType_ = assetType_;
@@ -640,38 +687,39 @@ public com.google.cloud.asset.v1.RelatedAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.RelatedAsset) {
-        return mergeFrom((com.google.cloud.asset.v1.RelatedAsset)other);
+        return mergeFrom((com.google.cloud.asset.v1.RelatedAsset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -730,10 +778,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object asset_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -743,13 +794,13 @@ public Builder mergeFrom(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -758,6 +809,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -767,15 +820,14 @@ public java.lang.String getAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for asset. */ - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -783,6 +835,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -792,20 +846,22 @@ public java.lang.String getAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset( - java.lang.String value) { + public Builder setAsset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + asset_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -815,15 +871,18 @@ public Builder setAsset(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAsset() { - + asset_ = getDefaultInstance().getAsset(); onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -833,16 +892,16 @@ public Builder clearAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + asset_ = value; onChanged(); return this; @@ -850,6 +909,8 @@ public Builder setAssetBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -858,13 +919,13 @@ public Builder setAssetBytes(
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -873,6 +934,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -881,15 +944,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -897,6 +959,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -905,20 +969,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -927,15 +993,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -944,29 +1013,33 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ancestors_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -976,13 +1049,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 3; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -992,12 +1067,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 3; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1007,6 +1085,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1014,6 +1093,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1023,14 +1104,16 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1040,21 +1123,23 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 3; + * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors( - int index, java.lang.String value) { + public Builder setAncestors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1064,20 +1149,22 @@ public Builder setAncestors(
      * 
* * repeated string ancestors = 3; + * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors( - java.lang.String value) { + public Builder addAncestors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1087,18 +1174,19 @@ public Builder addAncestors(
      * 
* * repeated string ancestors = 3; + * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors( - java.lang.Iterable values) { + public Builder addAllAncestors(java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1108,6 +1196,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 3; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1117,6 +1206,8 @@ public Builder clearAncestors() { return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1126,15 +1217,15 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 3; + * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); @@ -1143,19 +1234,21 @@ public Builder addAncestorsBytes( private java.lang.Object relationshipType_ = ""; /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; + * * @return The relationshipType. */ public java.lang.String getRelationshipType() { java.lang.Object ref = relationshipType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relationshipType_ = s; return s; @@ -1164,21 +1257,22 @@ public java.lang.String getRelationshipType() { } } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; + * * @return The bytes for relationshipType. */ - public com.google.protobuf.ByteString - getRelationshipTypeBytes() { + public com.google.protobuf.ByteString getRelationshipTypeBytes() { java.lang.Object ref = relationshipType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relationshipType_ = b; return b; } else { @@ -1186,64 +1280,71 @@ public java.lang.String getRelationshipType() { } } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; + * * @param value The relationshipType to set. * @return This builder for chaining. */ - public Builder setRelationshipType( - java.lang.String value) { + public Builder setRelationshipType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relationshipType_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; + * * @return This builder for chaining. */ public Builder clearRelationshipType() { - + relationshipType_ = getDefaultInstance().getRelationshipType(); onChanged(); return this; } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string relationship_type = 4; + * * @param value The bytes for relationshipType to set. * @return This builder for chaining. */ - public Builder setRelationshipTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setRelationshipTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relationshipType_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1354,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedAsset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedAsset) private static final com.google.cloud.asset.v1.RelatedAsset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedAsset(); } @@ -1267,16 +1368,16 @@ public static com.google.cloud.asset.v1.RelatedAsset getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAsset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAsset(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAsset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1291,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java index da3668596..dc568a1f8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface RelatedAssetOrBuilder extends +public interface RelatedAssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedAsset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -17,10 +35,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ java.lang.String getAsset(); /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -30,12 +51,14 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for asset. */ - com.google.protobuf.ByteString - getAssetBytes(); + com.google.protobuf.ByteString getAssetBytes(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -44,10 +67,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -56,12 +82,14 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -71,11 +99,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @return A list containing the ancestors. */ - java.util.List - getAncestorsList(); + java.util.List getAncestorsList(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -85,10 +115,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @return The count of ancestors. */ int getAncestorsCount(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -98,11 +131,14 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -112,31 +148,36 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString - getAncestorsBytes(int index); + com.google.protobuf.ByteString getAncestorsBytes(int index); /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; + * * @return The relationshipType. */ java.lang.String getRelationshipType(); /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string relationship_type = 4; + * * @return The bytes for relationshipType. */ - com.google.protobuf.ByteString - getRelationshipTypeBytes(); + com.google.protobuf.ByteString getRelationshipTypeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java index bcba7ae02..ed2646fbd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssets.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * DEPRECATED. This message only presents for the purpose of
  * backward-compatibility. The server will never populate this message in
@@ -13,31 +30,32 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.RelatedAssets}
  */
-@java.lang.Deprecated public final class RelatedAssets extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class RelatedAssets extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedAssets)
     RelatedAssetsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RelatedAssets.newBuilder() to construct.
   private RelatedAssets(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RelatedAssets() {
     assets_ = 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 RelatedAssets();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RelatedAssets(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,35 +75,40 @@ private RelatedAssets(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1.RelationshipAttributes.Builder subBuilder = null;
-            if (relationshipAttributes_ != null) {
-              subBuilder = relationshipAttributes_.toBuilder();
-            }
-            relationshipAttributes_ = input.readMessage(com.google.cloud.asset.v1.RelationshipAttributes.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(relationshipAttributes_);
-              relationshipAttributes_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.asset.v1.RelationshipAttributes.Builder subBuilder = null;
+              if (relationshipAttributes_ != null) {
+                subBuilder = relationshipAttributes_.toBuilder();
+              }
+              relationshipAttributes_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.RelationshipAttributes.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relationshipAttributes_);
+                relationshipAttributes_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 18: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              assets_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            assets_.add(
-                input.readMessage(com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry));
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 18:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                assets_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              assets_.add(
+                  input.readMessage(
+                      com.google.cloud.asset.v1.RelatedAsset.parser(), extensionRegistry));
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,8 +116,7 @@ private RelatedAssets(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         assets_ = java.util.Collections.unmodifiableList(assets_);
@@ -103,27 +125,33 @@ private RelatedAssets(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.RelatedAssets.class, com.google.cloud.asset.v1.RelatedAssets.Builder.class);
+            com.google.cloud.asset.v1.RelatedAssets.class,
+            com.google.cloud.asset.v1.RelatedAssets.Builder.class);
   }
 
   public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1.RelationshipAttributes relationshipAttributes_;
   /**
+   *
+   *
    * 
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; + * * @return Whether the relationshipAttributes field is set. */ @java.lang.Override @@ -131,18 +159,25 @@ public boolean hasRelationshipAttributes() { return relationshipAttributes_ != null; } /** + * + * *
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; + * * @return The relationshipAttributes. */ @java.lang.Override public com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttributes() { - return relationshipAttributes_ == null ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } /** + * + * *
    * The detailed relationship attributes.
    * 
@@ -150,13 +185,16 @@ public com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttribute * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ @java.lang.Override - public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder() { return getRelationshipAttributes(); } public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -168,6 +206,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -175,11 +215,13 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -191,6 +233,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -202,6 +246,8 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -209,12 +255,12 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (relationshipAttributes_ != null) { output.writeMessage(1, getRelationshipAttributes()); } @@ -244,12 +289,11 @@ public int getSerializedSize() { size = 0; if (relationshipAttributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRelationshipAttributes()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationshipAttributes()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,7 +303,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.RelatedAssets)) { return super.equals(obj); @@ -268,11 +312,9 @@ public boolean equals(final java.lang.Object obj) { if (hasRelationshipAttributes() != other.hasRelationshipAttributes()) return false; if (hasRelationshipAttributes()) { - if (!getRelationshipAttributes() - .equals(other.getRelationshipAttributes())) return false; + if (!getRelationshipAttributes().equals(other.getRelationshipAttributes())) return false; } - if (!getAssetsList() - .equals(other.getAssetsList())) return false; + if (!getAssetsList().equals(other.getAssetsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,97 +339,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedAssets parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedAssets parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedAssets parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedAssets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedAssets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.RelatedAssets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedAssets parseFrom( - byte[] data, - com.google.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.asset.v1.RelatedAssets 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.asset.v1.RelatedAssets parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAssets parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.RelatedAssets parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.RelatedAssets parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedAssets parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.RelatedAssets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.RelatedAssets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DEPRECATED. This message only presents for the purpose of
    * backward-compatibility. The server will never populate this message in
@@ -397,21 +446,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.RelatedAssets}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedAssets)
       com.google.cloud.asset.v1.RelatedAssetsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelatedAssets_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.RelatedAssets.class, com.google.cloud.asset.v1.RelatedAssets.Builder.class);
+              com.google.cloud.asset.v1.RelatedAssets.class,
+              com.google.cloud.asset.v1.RelatedAssets.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.RelatedAssets.newBuilder()
@@ -419,17 +470,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) {
         getAssetsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -449,9 +500,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelatedAssets_descriptor;
     }
 
     @java.lang.Override
@@ -470,7 +521,8 @@ public com.google.cloud.asset.v1.RelatedAssets build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.RelatedAssets buildPartial() {
-      com.google.cloud.asset.v1.RelatedAssets result = new com.google.cloud.asset.v1.RelatedAssets(this);
+      com.google.cloud.asset.v1.RelatedAssets result =
+          new com.google.cloud.asset.v1.RelatedAssets(this);
       int from_bitField0_ = bitField0_;
       if (relationshipAttributesBuilder_ == null) {
         result.relationshipAttributes_ = relationshipAttributes_;
@@ -494,38 +546,39 @@ public com.google.cloud.asset.v1.RelatedAssets buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.RelatedAssets) {
-        return mergeFrom((com.google.cloud.asset.v1.RelatedAssets)other);
+        return mergeFrom((com.google.cloud.asset.v1.RelatedAssets) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -555,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.RelatedAssets other) {
             assetsBuilder_ = null;
             assets_ = other.assets_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            assetsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAssetsFieldBuilder() : null;
+            assetsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAssetsFieldBuilder()
+                    : null;
           } else {
             assetsBuilder_.addAllMessages(other.assets_);
           }
@@ -591,45 +645,60 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.asset.v1.RelationshipAttributes relationshipAttributes_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.RelationshipAttributes, com.google.cloud.asset.v1.RelationshipAttributes.Builder, com.google.cloud.asset.v1.RelationshipAttributesOrBuilder> relationshipAttributesBuilder_;
+            com.google.cloud.asset.v1.RelationshipAttributes,
+            com.google.cloud.asset.v1.RelationshipAttributes.Builder,
+            com.google.cloud.asset.v1.RelationshipAttributesOrBuilder>
+        relationshipAttributesBuilder_;
     /**
+     *
+     *
      * 
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; + * * @return Whether the relationshipAttributes field is set. */ public boolean hasRelationshipAttributes() { return relationshipAttributesBuilder_ != null || relationshipAttributes_ != null; } /** + * + * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; + * * @return The relationshipAttributes. */ public com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttributes() { if (relationshipAttributesBuilder_ == null) { - return relationshipAttributes_ == null ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } else { return relationshipAttributesBuilder_.getMessage(); } } /** + * + * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public Builder setRelationshipAttributes(com.google.cloud.asset.v1.RelationshipAttributes value) { + public Builder setRelationshipAttributes( + com.google.cloud.asset.v1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -643,6 +712,8 @@ public Builder setRelationshipAttributes(com.google.cloud.asset.v1.RelationshipA return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -661,17 +732,22 @@ public Builder setRelationshipAttributes( return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1.RelationshipAttributes value) { + public Builder mergeRelationshipAttributes( + com.google.cloud.asset.v1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (relationshipAttributes_ != null) { relationshipAttributes_ = - com.google.cloud.asset.v1.RelationshipAttributes.newBuilder(relationshipAttributes_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.RelationshipAttributes.newBuilder(relationshipAttributes_) + .mergeFrom(value) + .buildPartial(); } else { relationshipAttributes_ = value; } @@ -683,6 +759,8 @@ public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1.Relationshi return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -701,33 +779,42 @@ public Builder clearRelationshipAttributes() { return this; } /** + * + * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public com.google.cloud.asset.v1.RelationshipAttributes.Builder getRelationshipAttributesBuilder() { - + public com.google.cloud.asset.v1.RelationshipAttributes.Builder + getRelationshipAttributesBuilder() { + onChanged(); return getRelationshipAttributesFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed relationship attributes.
      * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ - public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder() { if (relationshipAttributesBuilder_ != null) { return relationshipAttributesBuilder_.getMessageOrBuilder(); } else { - return relationshipAttributes_ == null ? - com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } } /** + * + * *
      * The detailed relationship attributes.
      * 
@@ -735,32 +822,41 @@ public com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationship * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelationshipAttributes, com.google.cloud.asset.v1.RelationshipAttributes.Builder, com.google.cloud.asset.v1.RelationshipAttributesOrBuilder> + com.google.cloud.asset.v1.RelationshipAttributes, + com.google.cloud.asset.v1.RelationshipAttributes.Builder, + com.google.cloud.asset.v1.RelationshipAttributesOrBuilder> getRelationshipAttributesFieldBuilder() { if (relationshipAttributesBuilder_ == null) { - relationshipAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.RelationshipAttributes, com.google.cloud.asset.v1.RelationshipAttributes.Builder, com.google.cloud.asset.v1.RelationshipAttributesOrBuilder>( - getRelationshipAttributes(), - getParentForChildren(), - isClean()); + relationshipAttributesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.RelationshipAttributes, + com.google.cloud.asset.v1.RelationshipAttributes.Builder, + com.google.cloud.asset.v1.RelationshipAttributesOrBuilder>( + getRelationshipAttributes(), getParentForChildren(), isClean()); relationshipAttributes_ = null; } return relationshipAttributesBuilder_; } private java.util.List assets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> assetsBuilder_; + com.google.cloud.asset.v1.RelatedAsset, + com.google.cloud.asset.v1.RelatedAsset.Builder, + com.google.cloud.asset.v1.RelatedAssetOrBuilder> + assetsBuilder_; /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -775,6 +871,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -789,6 +887,8 @@ public int getAssetsCount() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -803,14 +903,15 @@ public com.google.cloud.asset.v1.RelatedAsset getAssets(int index) { } } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1.RelatedAsset value) { + public Builder setAssets(int index, com.google.cloud.asset.v1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -824,6 +925,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -842,6 +945,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -862,14 +967,15 @@ public Builder addAssets(com.google.cloud.asset.v1.RelatedAsset value) { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1.RelatedAsset value) { + public Builder addAssets(int index, com.google.cloud.asset.v1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -883,14 +989,15 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public Builder addAssets( - com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { + public Builder addAssets(com.google.cloud.asset.v1.RelatedAsset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -901,6 +1008,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -919,6 +1028,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -929,8 +1040,7 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -938,6 +1048,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -955,6 +1067,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -972,39 +1086,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1.RelatedAsset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.asset.v1.RelatedAsset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { if (assetsBuilder_ == null) { - return assets_.get(index); } else { + return assets_.get(index); + } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1012,6 +1131,8 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -1019,49 +1140,54 @@ public com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ public com.google.cloud.asset.v1.RelatedAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1.RelatedAsset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); + public com.google.cloud.asset.v1.RelatedAsset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.RelatedAsset.getDefaultInstance()); } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder> + com.google.cloud.asset.v1.RelatedAsset, + com.google.cloud.asset.v1.RelatedAsset.Builder, + com.google.cloud.asset.v1.RelatedAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedAsset, com.google.cloud.asset.v1.RelatedAsset.Builder, com.google.cloud.asset.v1.RelatedAssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.RelatedAsset, + com.google.cloud.asset.v1.RelatedAsset.Builder, + com.google.cloud.asset.v1.RelatedAssetOrBuilder>( + assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1071,12 +1197,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedAssets) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedAssets) private static final com.google.cloud.asset.v1.RelatedAssets DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedAssets(); } @@ -1085,16 +1211,16 @@ public static com.google.cloud.asset.v1.RelatedAssets getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAssets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAssets(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAssets(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,6 +1235,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java index befe6f913..00b60868d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedAssetsOrBuilder.java @@ -1,31 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -@java.lang.Deprecated public interface RelatedAssetsOrBuilder extends +@java.lang.Deprecated +public interface RelatedAssetsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedAssets) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; + * * @return Whether the relationshipAttributes field is set. */ boolean hasRelationshipAttributes(); /** + * + * *
    * The detailed relationship attributes.
    * 
* * .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1; + * * @return The relationshipAttributes. */ com.google.cloud.asset.v1.RelationshipAttributes getRelationshipAttributes(); /** + * + * *
    * The detailed relationship attributes.
    * 
@@ -35,15 +60,18 @@ com.google.cloud.asset.v1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder(); /** + * + * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - java.util.List - getAssetsList(); + java.util.List getAssetsList(); /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -52,6 +80,8 @@ */ com.google.cloud.asset.v1.RelatedAsset getAssets(int index); /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -60,21 +90,24 @@ */ int getAssetsCount(); /** + * + * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1.RelatedAsset assets = 2; */ - com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.asset.v1.RelatedAssetOrBuilder getAssetsOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java index 0115c2411..cbd0b2157 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * The detailed related resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResource} */ -public final class RelatedResource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RelatedResource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedResource) RelatedResourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RelatedResource.newBuilder() to construct. private RelatedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RelatedResource() { assetType_ = ""; fullResourceName_ = ""; @@ -26,16 +44,15 @@ private RelatedResource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RelatedResource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RelatedResource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RelatedResource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - assetType_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + assetType_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + fullResourceName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private RelatedResource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResource.class, com.google.cloud.asset.v1.RelatedResource.Builder.class); + com.google.cloud.asset.v1.RelatedResource.class, + com.google.cloud.asset.v1.RelatedResource.Builder.class); } public static final int ASSET_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; + * * @return The assetType. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -149,12 +173,15 @@ public java.lang.String getAssetType() { public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object fullResourceName_; /** + * + * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; + * * @return The fullResourceName. */ @java.lang.Override @@ -163,30 +190,30 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -195,6 +222,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +234,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assetType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, assetType_); } @@ -237,17 +264,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.asset.v1.RelatedResource)) { return super.equals(obj); } - com.google.cloud.asset.v1.RelatedResource other = (com.google.cloud.asset.v1.RelatedResource) obj; + com.google.cloud.asset.v1.RelatedResource other = + (com.google.cloud.asset.v1.RelatedResource) obj; - if (!getAssetType() - .equals(other.getAssetType())) return false; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,118 +294,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedResource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedResource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedResource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedResource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedResource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.RelatedResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedResource parseFrom( - byte[] data, - com.google.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.asset.v1.RelatedResource 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.asset.v1.RelatedResource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.RelatedResource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.RelatedResource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.RelatedResource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.RelatedResource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The detailed related resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedResource) com.google.cloud.asset.v1.RelatedResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResource.class, com.google.cloud.asset.v1.RelatedResource.Builder.class); + com.google.cloud.asset.v1.RelatedResource.class, + com.google.cloud.asset.v1.RelatedResource.Builder.class); } // Construct using com.google.cloud.asset.v1.RelatedResource.newBuilder() @@ -387,16 +422,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResource_descriptor; } @java.lang.Override @@ -429,7 +463,8 @@ public com.google.cloud.asset.v1.RelatedResource build() { @java.lang.Override public com.google.cloud.asset.v1.RelatedResource buildPartial() { - com.google.cloud.asset.v1.RelatedResource result = new com.google.cloud.asset.v1.RelatedResource(this); + com.google.cloud.asset.v1.RelatedResource result = + new com.google.cloud.asset.v1.RelatedResource(this); result.assetType_ = assetType_; result.fullResourceName_ = fullResourceName_; onBuilt(); @@ -440,38 +475,39 @@ public com.google.cloud.asset.v1.RelatedResource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.RelatedResource) { - return mergeFrom((com.google.cloud.asset.v1.RelatedResource)other); + return mergeFrom((com.google.cloud.asset.v1.RelatedResource) other); } else { super.mergeFrom(other); return this; @@ -519,18 +555,20 @@ public Builder mergeFrom( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -539,20 +577,21 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -560,54 +599,61 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Instance`
      * 
* * string asset_type = 1; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -615,19 +661,21 @@ public Builder setAssetTypeBytes( private java.lang.Object fullResourceName_ = ""; /** + * + * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -636,21 +684,22 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -658,64 +707,71 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { + public Builder setFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** + * + * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** + * + * *
      * The full resource name of the related resource. Example:
      * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
      * 
* * string full_resource_name = 2; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +781,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedResource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedResource) private static final com.google.cloud.asset.v1.RelatedResource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedResource(); } @@ -739,16 +795,16 @@ public static com.google.cloud.asset.v1.RelatedResource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedResource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedResource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedResource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +819,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java index 4a184b249..e23e9a341 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourceOrBuilder.java @@ -1,51 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface RelatedResourceOrBuilder extends +public interface RelatedResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedResource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Instance`
    * 
* * string asset_type = 1; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
    * The full resource name of the related resource. Example:
    * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
    * 
* * string full_resource_name = 2; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java index 11125d9c1..350d3a2e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResources.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * The related resources of the primary resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResources} */ -public final class RelatedResources extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RelatedResources extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelatedResources) RelatedResourcesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RelatedResources.newBuilder() to construct. private RelatedResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RelatedResources() { relatedResources_ = 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 RelatedResources(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RelatedResources( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,25 @@ private RelatedResources( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - relatedResources_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + relatedResources_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + relatedResources_.add( + input.readMessage( + com.google.cloud.asset.v1.RelatedResource.parser(), extensionRegistry)); + break; } - relatedResources_.add( - input.readMessage(com.google.cloud.asset.v1.RelatedResource.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +97,7 @@ private RelatedResources( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { relatedResources_ = java.util.Collections.unmodifiableList(relatedResources_); @@ -87,22 +106,27 @@ private RelatedResources( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResources.class, com.google.cloud.asset.v1.RelatedResources.Builder.class); + com.google.cloud.asset.v1.RelatedResources.class, + com.google.cloud.asset.v1.RelatedResources.Builder.class); } public static final int RELATED_RESOURCES_FIELD_NUMBER = 1; private java.util.List relatedResources_; /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -114,6 +138,8 @@ public java.util.List getRelatedResou return relatedResources_; } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -121,11 +147,13 @@ public java.util.List getRelatedResou * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRelatedResourcesOrBuilderList() { return relatedResources_; } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -137,6 +165,8 @@ public int getRelatedResourcesCount() { return relatedResources_.size(); } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -148,6 +178,8 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) return relatedResources_.get(index); } /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -161,6 +193,7 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < relatedResources_.size(); i++) { output.writeMessage(1, relatedResources_.get(i)); } @@ -187,8 +219,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < relatedResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, relatedResources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, relatedResources_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +229,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.asset.v1.RelatedResources)) { return super.equals(obj); } - com.google.cloud.asset.v1.RelatedResources other = (com.google.cloud.asset.v1.RelatedResources) obj; + com.google.cloud.asset.v1.RelatedResources other = + (com.google.cloud.asset.v1.RelatedResources) obj; - if (!getRelatedResourcesList() - .equals(other.getRelatedResourcesList())) return false; + if (!getRelatedResourcesList().equals(other.getRelatedResourcesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,118 +258,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelatedResources parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelatedResources parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedResources parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelatedResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.RelatedResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelatedResources parseFrom( - byte[] data, - com.google.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.asset.v1.RelatedResources 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.asset.v1.RelatedResources parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResources parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.RelatedResources parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.RelatedResources parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelatedResources parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.RelatedResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.RelatedResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The related resources of the primary resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.RelatedResources} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelatedResources) com.google.cloud.asset.v1.RelatedResourcesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResources_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.RelatedResources.class, com.google.cloud.asset.v1.RelatedResources.Builder.class); + com.google.cloud.asset.v1.RelatedResources.class, + com.google.cloud.asset.v1.RelatedResources.Builder.class); } // Construct using com.google.cloud.asset.v1.RelatedResources.newBuilder() @@ -346,17 +386,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) { getRelatedResourcesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelatedResources_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_RelatedResources_descriptor; } @java.lang.Override @@ -391,7 +431,8 @@ public com.google.cloud.asset.v1.RelatedResources build() { @java.lang.Override public com.google.cloud.asset.v1.RelatedResources buildPartial() { - com.google.cloud.asset.v1.RelatedResources result = new com.google.cloud.asset.v1.RelatedResources(this); + com.google.cloud.asset.v1.RelatedResources result = + new com.google.cloud.asset.v1.RelatedResources(this); int from_bitField0_ = bitField0_; if (relatedResourcesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +451,39 @@ public com.google.cloud.asset.v1.RelatedResources buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.RelatedResources) { - return mergeFrom((com.google.cloud.asset.v1.RelatedResources)other); + return mergeFrom((com.google.cloud.asset.v1.RelatedResources) other); } else { super.mergeFrom(other); return this; @@ -468,9 +510,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.RelatedResources other) { relatedResourcesBuilder_ = null; relatedResources_ = other.relatedResources_; bitField0_ = (bitField0_ & ~0x00000001); - relatedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRelatedResourcesFieldBuilder() : null; + relatedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRelatedResourcesFieldBuilder() + : null; } else { relatedResourcesBuilder_.addAllMessages(other.relatedResources_); } @@ -504,21 +547,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List relatedResources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedResourcesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedResources_ = new java.util.ArrayList(relatedResources_); + relatedResources_ = + new java.util.ArrayList(relatedResources_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedResource, com.google.cloud.asset.v1.RelatedResource.Builder, com.google.cloud.asset.v1.RelatedResourceOrBuilder> relatedResourcesBuilder_; + com.google.cloud.asset.v1.RelatedResource, + com.google.cloud.asset.v1.RelatedResource.Builder, + com.google.cloud.asset.v1.RelatedResourceOrBuilder> + relatedResourcesBuilder_; /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -533,6 +584,8 @@ public java.util.List getRelatedResou } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -547,6 +600,8 @@ public int getRelatedResourcesCount() { } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -561,14 +616,15 @@ public com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index) } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public Builder setRelatedResources( - int index, com.google.cloud.asset.v1.RelatedResource value) { + public Builder setRelatedResources(int index, com.google.cloud.asset.v1.RelatedResource value) { if (relatedResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -582,6 +638,8 @@ public Builder setRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -600,6 +658,8 @@ public Builder setRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -620,14 +680,15 @@ public Builder addRelatedResources(com.google.cloud.asset.v1.RelatedResource val return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public Builder addRelatedResources( - int index, com.google.cloud.asset.v1.RelatedResource value) { + public Builder addRelatedResources(int index, com.google.cloud.asset.v1.RelatedResource value) { if (relatedResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -641,6 +702,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -659,6 +722,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -677,6 +742,8 @@ public Builder addRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -687,8 +754,7 @@ public Builder addAllRelatedResources( java.lang.Iterable values) { if (relatedResourcesBuilder_ == null) { ensureRelatedResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relatedResources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedResources_); onChanged(); } else { relatedResourcesBuilder_.addAllMessages(values); @@ -696,6 +762,8 @@ public Builder addAllRelatedResources( return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -713,6 +781,8 @@ public Builder clearRelatedResources() { return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -730,17 +800,20 @@ public Builder removeRelatedResources(int index) { return this; } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public com.google.cloud.asset.v1.RelatedResource.Builder getRelatedResourcesBuilder( - int index) { + public com.google.cloud.asset.v1.RelatedResource.Builder getRelatedResourcesBuilder(int index) { return getRelatedResourcesFieldBuilder().getBuilder(index); } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -750,19 +823,22 @@ public com.google.cloud.asset.v1.RelatedResource.Builder getRelatedResourcesBuil public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrBuilder( int index) { if (relatedResourcesBuilder_ == null) { - return relatedResources_.get(index); } else { + return relatedResources_.get(index); + } else { return relatedResourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public java.util.List - getRelatedResourcesOrBuilderList() { + public java.util.List + getRelatedResourcesOrBuilderList() { if (relatedResourcesBuilder_ != null) { return relatedResourcesBuilder_.getMessageOrBuilderList(); } else { @@ -770,6 +846,8 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB } } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
@@ -777,38 +855,47 @@ public com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrB * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuilder() { - return getRelatedResourcesFieldBuilder().addBuilder( - com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); + return getRelatedResourcesFieldBuilder() + .addBuilder(com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuilder( - int index) { - return getRelatedResourcesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); + public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuilder(int index) { + return getRelatedResourcesFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1.RelatedResource.getDefaultInstance()); } /** + * + * *
      * The detailed related resources of the primary resource.
      * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - public java.util.List - getRelatedResourcesBuilderList() { + public java.util.List + getRelatedResourcesBuilderList() { return getRelatedResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedResource, com.google.cloud.asset.v1.RelatedResource.Builder, com.google.cloud.asset.v1.RelatedResourceOrBuilder> + com.google.cloud.asset.v1.RelatedResource, + com.google.cloud.asset.v1.RelatedResource.Builder, + com.google.cloud.asset.v1.RelatedResourceOrBuilder> getRelatedResourcesFieldBuilder() { if (relatedResourcesBuilder_ == null) { - relatedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.RelatedResource, com.google.cloud.asset.v1.RelatedResource.Builder, com.google.cloud.asset.v1.RelatedResourceOrBuilder>( + relatedResourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1.RelatedResource, + com.google.cloud.asset.v1.RelatedResource.Builder, + com.google.cloud.asset.v1.RelatedResourceOrBuilder>( relatedResources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -817,9 +904,9 @@ public com.google.cloud.asset.v1.RelatedResource.Builder addRelatedResourcesBuil } return relatedResourcesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +916,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelatedResources) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelatedResources) private static final com.google.cloud.asset.v1.RelatedResources DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelatedResources(); } @@ -843,16 +930,16 @@ public static com.google.cloud.asset.v1.RelatedResources getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedResources(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedResources(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelatedResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java index 10384ab80..7e13b3b81 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelatedResourcesOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface RelatedResourcesOrBuilder extends +public interface RelatedResourcesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelatedResources) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detailed related resources of the primary resource.
    * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - java.util.List - getRelatedResourcesList(); + java.util.List getRelatedResourcesList(); /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -25,6 +44,8 @@ public interface RelatedResourcesOrBuilder extends */ com.google.cloud.asset.v1.RelatedResource getRelatedResources(int index); /** + * + * *
    * The detailed related resources of the primary resource.
    * 
@@ -33,21 +54,24 @@ public interface RelatedResourcesOrBuilder extends */ int getRelatedResourcesCount(); /** + * + * *
    * The detailed related resources of the primary resource.
    * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - java.util.List + java.util.List getRelatedResourcesOrBuilderList(); /** + * + * *
    * The detailed related resources of the primary resource.
    * 
* * repeated .google.cloud.asset.v1.RelatedResource related_resources = 1; */ - com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrBuilder( - int index); + com.google.cloud.asset.v1.RelatedResourceOrBuilder getRelatedResourcesOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java index d89053a3d..cb95c5f3a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributes.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * DEPRECATED. This message only presents for the purpose of
  * backward-compatibility. The server will never populate this message in
@@ -14,15 +31,17 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.RelationshipAttributes}
  */
-@java.lang.Deprecated public final class RelationshipAttributes extends
-    com.google.protobuf.GeneratedMessageV3 implements
+@java.lang.Deprecated
+public final class RelationshipAttributes extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.RelationshipAttributes)
     RelationshipAttributesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RelationshipAttributes.newBuilder() to construct.
   private RelationshipAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RelationshipAttributes() {
     type_ = "";
     sourceResourceType_ = "";
@@ -32,16 +51,15 @@ private RelationshipAttributes() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RelationshipAttributes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RelationshipAttributes(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,37 +78,41 @@ private RelationshipAttributes(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            sourceResourceType_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              sourceResourceType_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            targetResourceType_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              targetResourceType_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            action_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              action_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            type_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              type_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -98,35 +120,40 @@ private RelationshipAttributes(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.RelationshipAttributes.class, com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
+            com.google.cloud.asset.v1.RelationshipAttributes.class,
+            com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 4;
   private volatile java.lang.Object type_;
   /**
+   *
+   *
    * 
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The type. */ @java.lang.Override @@ -135,30 +162,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -169,11 +196,14 @@ public java.lang.String getType() { public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceResourceType_; /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The sourceResourceType. */ @java.lang.Override @@ -182,29 +212,29 @@ public java.lang.String getSourceResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; } } /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The bytes for sourceResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -215,11 +245,14 @@ public java.lang.String getSourceResourceType() { public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object targetResourceType_; /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The targetResourceType. */ @java.lang.Override @@ -228,29 +261,29 @@ public java.lang.String getTargetResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; } } /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The bytes for targetResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -261,11 +294,14 @@ public java.lang.String getTargetResourceType() { public static final int ACTION_FIELD_NUMBER = 3; private volatile java.lang.Object action_; /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The action. */ @java.lang.Override @@ -274,29 +310,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -305,6 +341,7 @@ public java.lang.String getAction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,8 +353,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceResourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceResourceType_); } @@ -359,21 +395,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.asset.v1.RelationshipAttributes)) { return super.equals(obj); } - com.google.cloud.asset.v1.RelationshipAttributes other = (com.google.cloud.asset.v1.RelationshipAttributes) obj; - - if (!getType() - .equals(other.getType())) return false; - if (!getSourceResourceType() - .equals(other.getSourceResourceType())) return false; - if (!getTargetResourceType() - .equals(other.getTargetResourceType())) return false; - if (!getAction() - .equals(other.getAction())) return false; + com.google.cloud.asset.v1.RelationshipAttributes other = + (com.google.cloud.asset.v1.RelationshipAttributes) obj; + + if (!getType().equals(other.getType())) return false; + if (!getSourceResourceType().equals(other.getSourceResourceType())) return false; + if (!getTargetResourceType().equals(other.getTargetResourceType())) return false; + if (!getAction().equals(other.getAction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -398,97 +431,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - byte[] data, - com.google.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.asset.v1.RelationshipAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.RelationshipAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelationshipAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.RelationshipAttributes parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.RelationshipAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.RelationshipAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.RelationshipAttributes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.RelationshipAttributes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DEPRECATED. This message only presents for the purpose of
    * backward-compatibility. The server will never populate this message in
@@ -499,21 +539,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.RelationshipAttributes}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.RelationshipAttributes)
       com.google.cloud.asset.v1.RelationshipAttributesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelationshipAttributes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.RelationshipAttributes.class, com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
+              com.google.cloud.asset.v1.RelationshipAttributes.class,
+              com.google.cloud.asset.v1.RelationshipAttributes.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.RelationshipAttributes.newBuilder()
@@ -521,16 +563,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -546,9 +587,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
@@ -567,7 +608,8 @@ public com.google.cloud.asset.v1.RelationshipAttributes build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.RelationshipAttributes buildPartial() {
-      com.google.cloud.asset.v1.RelationshipAttributes result = new com.google.cloud.asset.v1.RelationshipAttributes(this);
+      com.google.cloud.asset.v1.RelationshipAttributes result =
+          new com.google.cloud.asset.v1.RelationshipAttributes(this);
       result.type_ = type_;
       result.sourceResourceType_ = sourceResourceType_;
       result.targetResourceType_ = targetResourceType_;
@@ -580,38 +622,39 @@ public com.google.cloud.asset.v1.RelationshipAttributes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.RelationshipAttributes) {
-        return mergeFrom((com.google.cloud.asset.v1.RelationshipAttributes)other);
+        return mergeFrom((com.google.cloud.asset.v1.RelationshipAttributes) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -619,7 +662,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1.RelationshipAttributes other) {
-      if (other == com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1.RelationshipAttributes.getDefaultInstance())
+        return this;
       if (!other.getType().isEmpty()) {
         type_ = other.type_;
         onChanged();
@@ -667,19 +711,21 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -688,21 +734,22 @@ public java.lang.String getType() { } } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -710,57 +757,64 @@ public java.lang.String getType() { } } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -768,18 +822,20 @@ public Builder setTypeBytes( private java.lang.Object sourceResourceType_ = ""; /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @return The sourceResourceType. */ public java.lang.String getSourceResourceType() { java.lang.Object ref = sourceResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; @@ -788,20 +844,21 @@ public java.lang.String getSourceResourceType() { } } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @return The bytes for sourceResourceType. */ - public com.google.protobuf.ByteString - getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -809,54 +866,61 @@ public java.lang.String getSourceResourceType() { } } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @param value The sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceType( - java.lang.String value) { + public Builder setSourceResourceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceResourceType_ = value; onChanged(); return this; } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @return This builder for chaining. */ public Builder clearSourceResourceType() { - + sourceResourceType_ = getDefaultInstance().getSourceResourceType(); onChanged(); return this; } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @param value The bytes for sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceResourceType_ = value; onChanged(); return this; @@ -864,18 +928,20 @@ public Builder setSourceResourceTypeBytes( private java.lang.Object targetResourceType_ = ""; /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @return The targetResourceType. */ public java.lang.String getTargetResourceType() { java.lang.Object ref = targetResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; @@ -884,20 +950,21 @@ public java.lang.String getTargetResourceType() { } } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @return The bytes for targetResourceType. */ - public com.google.protobuf.ByteString - getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -905,54 +972,61 @@ public java.lang.String getTargetResourceType() { } } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @param value The targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceType( - java.lang.String value) { + public Builder setTargetResourceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetResourceType_ = value; onChanged(); return this; } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @return This builder for chaining. */ public Builder clearTargetResourceType() { - + targetResourceType_ = getDefaultInstance().getTargetResourceType(); onChanged(); return this; } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @param value The bytes for targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetResourceType_ = value; onChanged(); return this; @@ -960,18 +1034,20 @@ public Builder setTargetResourceTypeBytes( private java.lang.Object action_ = ""; /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -980,20 +1056,21 @@ public java.lang.String getAction() { } } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return The bytes for action. */ - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -1001,61 +1078,68 @@ public java.lang.String getAction() { } } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction( - java.lang.String value) { + public Builder setAction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + action_ = value; onChanged(); return this; } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = getDefaultInstance().getAction(); onChanged(); return this; } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes( - com.google.protobuf.ByteString value) { + public Builder setActionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + action_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +1149,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.RelationshipAttributes) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.RelationshipAttributes) private static final com.google.cloud.asset.v1.RelationshipAttributes DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.RelationshipAttributes(); } @@ -1079,16 +1163,16 @@ public static com.google.cloud.asset.v1.RelationshipAttributes getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationshipAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationshipAttributes(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationshipAttributes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,6 +1187,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java index 5030889b1..254c4fbbb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/RelationshipAttributesOrBuilder.java @@ -1,91 +1,128 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -@java.lang.Deprecated public interface RelationshipAttributesOrBuilder extends +@java.lang.Deprecated +public interface RelationshipAttributesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.RelationshipAttributes) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The sourceResourceType. */ java.lang.String getSourceResourceType(); /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The bytes for sourceResourceType. */ - com.google.protobuf.ByteString - getSourceResourceTypeBytes(); + com.google.protobuf.ByteString getSourceResourceTypeBytes(); /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The targetResourceType. */ java.lang.String getTargetResourceType(); /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The bytes for targetResourceType. */ - com.google.protobuf.ByteString - getTargetResourceTypeBytes(); + com.google.protobuf.ByteString getTargetResourceTypeBytes(); /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The action. */ java.lang.String getAction(); /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The bytes for action. */ - com.google.protobuf.ByteString - getActionBytes(); + com.google.protobuf.ByteString getActionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java index d35dadf4f..792696ab6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/Resource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * A representation of a Google Cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.Resource} */ -public final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Resource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.Resource) ResourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -30,16 +48,15 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,62 +75,69 @@ private Resource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 50: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); + parent_ = s; + break; } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + + break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,34 +145,39 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.Resource.class, com.google.cloud.asset.v1.Resource.Builder.class); + com.google.cloud.asset.v1.Resource.class, + com.google.cloud.asset.v1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -157,29 +186,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; } } /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @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 { @@ -190,6 +219,8 @@ public java.lang.String getVersion() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -199,6 +230,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -207,14 +239,15 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -224,16 +257,15 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -244,6 +276,8 @@ public java.lang.String getDiscoveryDocumentUri() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -252,6 +286,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -260,14 +295,15 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -276,16 +312,15 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -296,6 +331,8 @@ public java.lang.String getDiscoveryName() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -304,6 +341,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -312,14 +350,15 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -328,16 +367,15 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -348,6 +386,8 @@ public java.lang.String getResourceUrl() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -362,6 +402,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -370,14 +411,15 @@ 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 full name of the immediate parent of this resource. See
    * [Resource
@@ -392,16 +434,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; + * * @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 { @@ -412,12 +453,15 @@ public java.lang.String getParent() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ @java.lang.Override @@ -425,12 +469,15 @@ public boolean hasData() { return data_ != null; } /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ @java.lang.Override @@ -438,6 +485,8 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -453,12 +502,15 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   public static final int LOCATION_FIELD_NUMBER = 8;
   private volatile java.lang.Object location_;
   /**
+   *
+   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The location. */ @java.lang.Override @@ -467,30 +519,30 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -499,6 +551,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -510,8 +563,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -558,8 +610,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); } if (data_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, location_); @@ -572,30 +623,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.Resource)) { return super.equals(obj); } com.google.cloud.asset.v1.Resource other = (com.google.cloud.asset.v1.Resource) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getDiscoveryDocumentUri() - .equals(other.getDiscoveryDocumentUri())) return false; - if (!getDiscoveryName() - .equals(other.getDiscoveryName())) return false; - if (!getResourceUrl() - .equals(other.getResourceUrl())) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false; + if (!getDiscoveryName().equals(other.getDiscoveryName())) return false; + if (!getResourceUrl().equals(other.getResourceUrl())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { - if (!getData() - .equals(other.getData())) return false; + if (!getData().equals(other.getData())) return false; } - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -628,118 +672,126 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.Resource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.Resource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.Resource parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.Resource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.Resource parseFrom( - byte[] data, - com.google.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.asset.v1.Resource 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.asset.v1.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Resource 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.asset.v1.Resource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A representation of a Google Cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.Resource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.Resource) com.google.cloud.asset.v1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.Resource.class, com.google.cloud.asset.v1.Resource.Builder.class); + com.google.cloud.asset.v1.Resource.class, + com.google.cloud.asset.v1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1.Resource.newBuilder() @@ -747,16 +799,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -782,9 +833,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_Resource_descriptor; } @java.lang.Override @@ -823,38 +874,39 @@ public com.google.cloud.asset.v1.Resource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.Resource) { - return mergeFrom((com.google.cloud.asset.v1.Resource)other); + return mergeFrom((com.google.cloud.asset.v1.Resource) other); } else { super.mergeFrom(other); return this; @@ -921,18 +973,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @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; @@ -941,20 +995,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @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 { @@ -962,54 +1017,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @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; @@ -1017,6 +1079,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1026,13 +1090,13 @@ public Builder setVersionBytes(
      * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -1041,6 +1105,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1050,15 +1116,14 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -1066,6 +1131,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1075,20 +1142,22 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri( - java.lang.String value) { + public Builder setDiscoveryDocumentUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1098,15 +1167,18 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1116,16 +1188,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1133,6 +1205,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1141,13 +1215,13 @@ public Builder setDiscoveryDocumentUriBytes(
      * 
* * string discovery_name = 3; + * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1156,6 +1230,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1164,15 +1240,14 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1180,6 +1255,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1188,20 +1265,22 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName( - java.lang.String value) { + public Builder setDiscoveryName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1210,15 +1289,18 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1227,16 +1309,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1244,6 +1326,8 @@ public Builder setDiscoveryNameBytes( private java.lang.Object resourceUrl_ = ""; /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1252,13 +1336,13 @@ public Builder setDiscoveryNameBytes(
      * 
* * string resource_url = 4; + * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1267,6 +1351,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1275,15 +1361,14 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1291,6 +1376,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1299,20 +1386,22 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl( - java.lang.String value) { + public Builder setResourceUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1321,15 +1410,18 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1338,16 +1430,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1355,6 +1447,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1369,13 +1463,13 @@ public Builder setResourceUrlBytes(
      * 
* * string parent = 5; + * * @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; @@ -1384,6 +1478,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1398,15 +1494,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 { @@ -1414,6 +1509,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1428,20 +1525,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1456,15 +1555,18 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1479,16 +1581,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; + * * @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; @@ -1496,26 +1598,35 @@ public Builder setParentBytes( private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + dataBuilder_; /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1526,6 +1637,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1547,6 +1660,8 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1554,8 +1669,7 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1566,6 +1680,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1576,8 +1692,7 @@ public Builder setData(
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ =
-            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1589,6 +1704,8 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1608,6 +1725,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1616,11 +1735,13 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-      
+
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1632,11 +1753,12 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1645,14 +1767,16 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getData(),
-                getParentForChildren(),
-                isClean());
+        dataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
         data_ = null;
       }
       return dataBuilder_;
@@ -1660,19 +1784,21 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
 
     private java.lang.Object location_ = "";
     /**
+     *
+     *
      * 
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1681,21 +1807,22 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1703,64 +1830,71 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1770,12 +1904,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.Resource) private static final com.google.cloud.asset.v1.Resource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.Resource(); } @@ -1784,16 +1918,16 @@ public static com.google.cloud.asset.v1.Resource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1808,6 +1942,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java index ba179d56e..72cf57aa5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface ResourceOrBuilder extends +public interface ResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.Resource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -37,10 +60,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -50,12 +76,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -64,10 +92,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -76,12 +107,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString - getDiscoveryNameBytes(); + com.google.protobuf.ByteString getDiscoveryNameBytes(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -90,10 +123,13 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -102,12 +138,14 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString - getResourceUrlBytes(); + com.google.protobuf.ByteString getResourceUrlBytes(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -122,10 +160,13 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -140,32 +181,40 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ boolean hasData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ com.google.protobuf.Struct getData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -176,24 +225,29 @@ public interface ResourceOrBuilder extends
   com.google.protobuf.StructOrBuilder getDataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java index c423f3078..8231fb449 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResult.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * A result of Resource Search, containing information of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1.ResourceSearchResult} */ -public final class ResourceSearchResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceSearchResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.ResourceSearchResult) ResourceSearchResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceSearchResult.newBuilder() to construct. private ResourceSearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResourceSearchResult() { name_ = ""; assetType_ = ""; @@ -42,16 +60,15 @@ private ResourceSearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceSearchResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResourceSearchResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,207 +88,241 @@ private ResourceSearchResult( 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(); - assetType_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + assetType_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + project_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + location_ = s; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - networkTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 58: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - networkTags_.add(s); - break; - } - case 74: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (additionalAttributes_ != null) { - subBuilder = additionalAttributes_.toBuilder(); + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + networkTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + networkTags_.add(s); + break; } - additionalAttributes_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(additionalAttributes_); - additionalAttributes_ = subBuilder.buildPartial(); + case 74: + { + com.google.protobuf.Struct.Builder subBuilder = null; + if (additionalAttributes_ != null) { + subBuilder = additionalAttributes_.toBuilder(); + } + additionalAttributes_ = + input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(additionalAttributes_); + additionalAttributes_ = subBuilder.buildPartial(); + } + + break; } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - kmsKey_ = s; - break; - } - case 90: { - 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(); + kmsKey_ = s; + break; } - - break; - } - case 98: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 98: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - - state_ = s; - break; - } - case 130: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - versionedResources_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + state_ = s; + break; } - versionedResources_.add( - input.readMessage(com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry)); - break; - } - case 138: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - folders_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 130: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + versionedResources_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + versionedResources_.add( + input.readMessage( + com.google.cloud.asset.v1.VersionedResource.parser(), extensionRegistry)); + break; } - folders_.add(s); - break; - } - case 146: { - java.lang.String s = input.readStringRequireUtf8(); + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + folders_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + folders_.add(s); + break; + } + case 146: + { + java.lang.String s = input.readStringRequireUtf8(); - organization_ = s; - break; - } - case 154: { - java.lang.String s = input.readStringRequireUtf8(); + organization_ = s; + break; + } + case 154: + { + java.lang.String s = input.readStringRequireUtf8(); - parentFullResourceName_ = s; - break; - } - case 162: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - attachedResources_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + parentFullResourceName_ = s; + break; } - attachedResources_.add( - input.readMessage(com.google.cloud.asset.v1.AttachedResource.parser(), extensionRegistry)); - break; - } - case 170: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - relationships_ = com.google.protobuf.MapField.newMapField( - RelationshipsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; + case 162: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + attachedResources_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + attachedResources_.add( + input.readMessage( + com.google.cloud.asset.v1.AttachedResource.parser(), extensionRegistry)); + break; } - com.google.protobuf.MapEntry - relationships__ = input.readMessage( - RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - relationships_.getMutableMap().put( - relationships__.getKey(), relationships__.getValue()); - break; - } - case 186: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - tagKeys_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; + case 170: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + relationships_ = + com.google.protobuf.MapField.newMapField( + RelationshipsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000020; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.asset.v1.RelatedResources> + relationships__ = + input.readMessage( + RelationshipsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + relationships_ + .getMutableMap() + .put(relationships__.getKey(), relationships__.getValue()); + break; } - tagKeys_.add(s); - break; - } - case 202: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000080) != 0)) { - tagValues_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000080; + case 186: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + tagKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; + } + tagKeys_.add(s); + break; } - tagValues_.add(s); - break; - } - case 210: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000100) != 0)) { - tagValueIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000100; + case 202: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000080) != 0)) { + tagValues_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000080; + } + tagValues_.add(s); + break; } - tagValueIds_.add(s); - break; - } - case 826: { - java.lang.String s = input.readStringRequireUtf8(); + case 210: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000100) != 0)) { + tagValueIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000100; + } + tagValueIds_.add(s); + break; + } + case 826: + { + java.lang.String s = input.readStringRequireUtf8(); - parentAssetType_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parentAssetType_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -279,8 +330,7 @@ private ResourceSearchResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_ & 0x00000004) != 0)) { networkTags_ = networkTags_.getUnmodifiableView(); @@ -307,36 +357,40 @@ private ResourceSearchResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetLabels(); case 21: return internalGetRelationships(); 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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ResourceSearchResult.class, com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); + com.google.cloud.asset.v1.ResourceSearchResult.class, + com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -349,6 +403,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -357,14 +412,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -377,16 +433,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -397,6 +452,8 @@ public java.lang.String getName() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -404,6 +461,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -412,14 +470,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -427,16 +486,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -447,6 +505,8 @@ public java.lang.String getAssetType() { public static final int PROJECT_FIELD_NUMBER = 3; private volatile java.lang.Object project_; /** + * + * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -458,6 +518,7 @@ public java.lang.String getAssetType() {
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -466,14 +527,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -485,16 +547,15 @@ public java.lang.String getProject() {
    * 
* * string project = 3; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -505,6 +566,8 @@ public java.lang.String getProject() { public static final int FOLDERS_FIELD_NUMBER = 17; private com.google.protobuf.LazyStringList folders_; /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -516,13 +579,15 @@ public java.lang.String getProject() {
    * 
* * repeated string folders = 17; + * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList - getFoldersList() { + public com.google.protobuf.ProtocolStringList getFoldersList() { return folders_; } /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -534,12 +599,15 @@ public java.lang.String getProject() {
    * 
* * repeated string folders = 17; + * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -551,6 +619,7 @@ public int getFoldersCount() {
    * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -558,6 +627,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -569,17 +640,19 @@ public java.lang.String getFolders(int index) {
    * 
* * repeated string folders = 17; + * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString - getFoldersBytes(int index) { + public com.google.protobuf.ByteString getFoldersBytes(int index) { return folders_.getByteString(index); } public static final int ORGANIZATION_FIELD_NUMBER = 18; private volatile java.lang.Object organization_; /** + * + * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -591,6 +664,7 @@ public java.lang.String getFolders(int index) {
    * 
* * string organization = 18; + * * @return The organization. */ @java.lang.Override @@ -599,14 +673,15 @@ public java.lang.String getOrganization() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; } } /** + * + * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -618,16 +693,15 @@ public java.lang.String getOrganization() {
    * 
* * string organization = 18; + * * @return The bytes for organization. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrganizationBytes() { + public com.google.protobuf.ByteString getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); organization_ = b; return b; } else { @@ -638,6 +712,8 @@ public java.lang.String getOrganization() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -647,6 +723,7 @@ public java.lang.String getOrganization() {
    * 
* * string display_name = 4; + * * @return The displayName. */ @java.lang.Override @@ -655,14 +732,15 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -672,16 +750,15 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 4; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -692,6 +769,8 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -702,6 +781,7 @@ public java.lang.String getDisplayName() {
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -710,14 +790,15 @@ 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; } } /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -728,16 +809,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 5; + * * @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 { @@ -748,6 +828,8 @@ public java.lang.String getDescription() { public static final int LOCATION_FIELD_NUMBER = 6; private volatile java.lang.Object location_; /** + * + * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -758,6 +840,7 @@ public java.lang.String getDescription() {
    * 
* * string location = 6; + * * @return The location. */ @java.lang.Override @@ -766,14 +849,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -784,16 +868,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -802,24 +885,23 @@ public java.lang.String getLocation() { } public static final int LABELS_FIELD_NUMBER = 7; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ResourceSearchResult_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -828,6 +910,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -843,22 +927,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 7;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -875,11 +959,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -896,16 +981,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -922,12 +1007,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -937,6 +1021,8 @@ public java.lang.String getLabelsOrThrow(
   public static final int NETWORK_TAGS_FIELD_NUMBER = 8;
   private com.google.protobuf.LazyStringList networkTags_;
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -949,13 +1035,15 @@ public java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 8; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -968,12 +1056,15 @@ public java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 8; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -986,6 +1077,7 @@ public int getNetworkTagsCount() {
    * 
* * repeated string network_tags = 8; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -993,6 +1085,8 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -1005,17 +1099,19 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * repeated string network_tags = 8; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } public static final int KMS_KEY_FIELD_NUMBER = 10; private volatile java.lang.Object kmsKey_; /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -1029,6 +1125,7 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * string kms_key = 10; + * * @return The kmsKey. */ @java.lang.Override @@ -1037,14 +1134,15 @@ public java.lang.String getKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; } } /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -1058,16 +1156,15 @@ public java.lang.String getKmsKey() {
    * 
* * string kms_key = 10; + * * @return The bytes for kmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyBytes() { + public com.google.protobuf.ByteString getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -1078,6 +1175,8 @@ public java.lang.String getKmsKey() { public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -1091,6 +1190,7 @@ public java.lang.String getKmsKey() {
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1098,6 +1198,8 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -1111,6 +1213,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return The createTime. */ @java.lang.Override @@ -1118,6 +1221,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -1140,6 +1245,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 12;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -1154,6 +1261,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1161,6 +1269,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -1175,6 +1285,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return The updateTime. */ @java.lang.Override @@ -1182,6 +1293,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -1205,6 +1318,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 13;
   private volatile java.lang.Object state_;
   /**
+   *
+   *
    * 
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -1226,6 +1341,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string state = 13; + * * @return The state. */ @java.lang.Override @@ -1234,14 +1350,15 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -1263,16 +1380,15 @@ public java.lang.String getState() {
    * 
* * string state = 13; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1283,6 +1399,8 @@ public java.lang.String getState() { public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 9; private com.google.protobuf.Struct additionalAttributes_; /** + * + * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -1303,6 +1421,7 @@ public java.lang.String getState() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return Whether the additionalAttributes field is set. */ @java.lang.Override @@ -1310,6 +1429,8 @@ public boolean hasAdditionalAttributes() { return additionalAttributes_ != null; } /** + * + * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -1330,13 +1451,18 @@ public boolean hasAdditionalAttributes() {
    * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return The additionalAttributes. */ @java.lang.Override public com.google.protobuf.Struct getAdditionalAttributes() { - return additionalAttributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_; + return additionalAttributes_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : additionalAttributes_; } /** + * + * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -1366,6 +1492,8 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
   public static final int PARENT_FULL_RESOURCE_NAME_FIELD_NUMBER = 19;
   private volatile java.lang.Object parentFullResourceName_;
   /**
+   *
+   *
    * 
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -1376,6 +1504,7 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
    * 
* * string parent_full_resource_name = 19; + * * @return The parentFullResourceName. */ @java.lang.Override @@ -1384,14 +1513,15 @@ public java.lang.String getParentFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentFullResourceName_ = s; return s; } } /** + * + * *
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -1402,16 +1532,15 @@ public java.lang.String getParentFullResourceName() {
    * 
* * string parent_full_resource_name = 19; + * * @return The bytes for parentFullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentFullResourceNameBytes() { + public com.google.protobuf.ByteString getParentFullResourceNameBytes() { java.lang.Object ref = parentFullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentFullResourceName_ = b; return b; } else { @@ -1422,6 +1551,8 @@ public java.lang.String getParentFullResourceName() { public static final int VERSIONED_RESOURCES_FIELD_NUMBER = 16; private java.util.List versionedResources_; /** + * + * *
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1438,6 +1569,8 @@ public java.util.List getVersionedR
     return versionedResources_;
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1450,11 +1583,13 @@ public java.util.List getVersionedR
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getVersionedResourcesOrBuilderList() {
     return versionedResources_;
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1471,6 +1606,8 @@ public int getVersionedResourcesCount() {
     return versionedResources_.size();
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1487,6 +1624,8 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
     return versionedResources_.get(index);
   }
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -1507,6 +1646,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
   public static final int ATTACHED_RESOURCES_FIELD_NUMBER = 20;
   private java.util.List attachedResources_;
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1523,6 +1664,8 @@ public java.util.List getAttachedRes
     return attachedResources_;
   }
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1535,11 +1678,13 @@ public java.util.List getAttachedRes
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAttachedResourcesOrBuilderList() {
     return attachedResources_;
   }
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1556,6 +1701,8 @@ public int getAttachedResourcesCount() {
     return attachedResources_.size();
   }
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1572,6 +1719,8 @@ public com.google.cloud.asset.v1.AttachedResource getAttachedResources(int index
     return attachedResources_.get(index);
   }
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -1590,21 +1739,26 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
   }
 
   public static final int RELATIONSHIPS_FIELD_NUMBER = 21;
+
   private static final class RelationshipsDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.cloud.asset.v1.RelatedResources> defaultEntry =
+            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.cloud.asset.v1.RelatedResources.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.cloud.asset.v1.AssetProto
+                        .internal_static_google_cloud_asset_v1_ResourceSearchResult_RelationshipsEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.cloud.asset.v1.RelatedResources.getDefaultInstance());
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.asset.v1.RelatedResources> relationships_;
+
+  private com.google.protobuf.MapField
+      relationships_;
+
   private com.google.protobuf.MapField
-  internalGetRelationships() {
+      internalGetRelationships() {
     if (relationships_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           RelationshipsDefaultEntryHolder.defaultEntry);
@@ -1616,6 +1770,8 @@ public int getRelationshipsCount() {
     return internalGetRelationships().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1627,22 +1783,23 @@ public int getRelationshipsCount() {
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-
   @java.lang.Override
-  public boolean containsRelationships(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsRelationships(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetRelationships().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getRelationshipsMap()} instead.
-   */
+  /** Use {@link #getRelationshipsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map getRelationships() {
+  public java.util.Map
+      getRelationships() {
     return getRelationshipsMap();
   }
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1655,11 +1812,13 @@ public java.util.Mapmap<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-
-  public java.util.Map getRelationshipsMap() {
+  public java.util.Map
+      getRelationshipsMap() {
     return internalGetRelationships().getMap();
   }
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1672,16 +1831,18 @@ public java.util.Mapmap<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-
   public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
-      java.lang.String key,
-      com.google.cloud.asset.v1.RelatedResources defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.asset.v1.RelatedResources defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetRelationships().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -1694,10 +1855,10 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
   @java.lang.Override
-
-  public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetRelationships().getMap();
     if (!map.containsKey(key)) {
@@ -1709,6 +1870,8 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
   public static final int TAG_KEYS_FIELD_NUMBER = 23;
   private com.google.protobuf.LazyStringList tagKeys_;
   /**
+   *
+   *
    * 
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1721,13 +1884,15 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23; + * * @return A list containing the tagKeys. */ - public com.google.protobuf.ProtocolStringList - getTagKeysList() { + public com.google.protobuf.ProtocolStringList getTagKeysList() { return tagKeys_; } /** + * + * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1740,12 +1905,15 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23; + * * @return The count of tagKeys. */ public int getTagKeysCount() { return tagKeys_.size(); } /** + * + * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1758,6 +1926,7 @@ public int getTagKeysCount() {
    * 
* * repeated string tag_keys = 23; + * * @param index The index of the element to return. * @return The tagKeys at the given index. */ @@ -1765,6 +1934,8 @@ public java.lang.String getTagKeys(int index) { return tagKeys_.get(index); } /** + * + * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1777,17 +1948,19 @@ public java.lang.String getTagKeys(int index) {
    * 
* * repeated string tag_keys = 23; + * * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - public com.google.protobuf.ByteString - getTagKeysBytes(int index) { + public com.google.protobuf.ByteString getTagKeysBytes(int index) { return tagKeys_.getByteString(index); } public static final int TAG_VALUES_FIELD_NUMBER = 25; private com.google.protobuf.LazyStringList tagValues_; /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1802,13 +1975,15 @@ public java.lang.String getTagKeys(int index) {
    * 
* * repeated string tag_values = 25; + * * @return A list containing the tagValues. */ - public com.google.protobuf.ProtocolStringList - getTagValuesList() { + public com.google.protobuf.ProtocolStringList getTagValuesList() { return tagValues_; } /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1823,12 +1998,15 @@ public java.lang.String getTagKeys(int index) {
    * 
* * repeated string tag_values = 25; + * * @return The count of tagValues. */ public int getTagValuesCount() { return tagValues_.size(); } /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1843,6 +2021,7 @@ public int getTagValuesCount() {
    * 
* * repeated string tag_values = 25; + * * @param index The index of the element to return. * @return The tagValues at the given index. */ @@ -1850,6 +2029,8 @@ public java.lang.String getTagValues(int index) { return tagValues_.get(index); } /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1864,17 +2045,19 @@ public java.lang.String getTagValues(int index) {
    * 
* * repeated string tag_values = 25; + * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - public com.google.protobuf.ByteString - getTagValuesBytes(int index) { + public com.google.protobuf.ByteString getTagValuesBytes(int index) { return tagValues_.getByteString(index); } public static final int TAG_VALUE_IDS_FIELD_NUMBER = 26; private com.google.protobuf.LazyStringList tagValueIds_; /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1886,13 +2069,15 @@ public java.lang.String getTagValues(int index) {
    * 
* * repeated string tag_value_ids = 26; + * * @return A list containing the tagValueIds. */ - public com.google.protobuf.ProtocolStringList - getTagValueIdsList() { + public com.google.protobuf.ProtocolStringList getTagValueIdsList() { return tagValueIds_; } /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1904,12 +2089,15 @@ public java.lang.String getTagValues(int index) {
    * 
* * repeated string tag_value_ids = 26; + * * @return The count of tagValueIds. */ public int getTagValueIdsCount() { return tagValueIds_.size(); } /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1921,6 +2109,7 @@ public int getTagValueIdsCount() {
    * 
* * repeated string tag_value_ids = 26; + * * @param index The index of the element to return. * @return The tagValueIds at the given index. */ @@ -1928,6 +2117,8 @@ public java.lang.String getTagValueIds(int index) { return tagValueIds_.get(index); } /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1939,17 +2130,19 @@ public java.lang.String getTagValueIds(int index) {
    * 
* * repeated string tag_value_ids = 26; + * * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - public com.google.protobuf.ByteString - getTagValueIdsBytes(int index) { + public com.google.protobuf.ByteString getTagValueIdsBytes(int index) { return tagValueIds_.getByteString(index); } public static final int PARENT_ASSET_TYPE_FIELD_NUMBER = 103; private volatile java.lang.Object parentAssetType_; /** + * + * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -1960,6 +2153,7 @@ public java.lang.String getTagValueIds(int index) {
    * 
* * string parent_asset_type = 103; + * * @return The parentAssetType. */ @java.lang.Override @@ -1968,14 +2162,15 @@ public java.lang.String getParentAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentAssetType_ = s; return s; } } /** + * + * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -1986,16 +2181,15 @@ public java.lang.String getParentAssetType() {
    * 
* * string parent_asset_type = 103; + * * @return The bytes for parentAssetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentAssetTypeBytes() { + public com.google.protobuf.ByteString getParentAssetTypeBytes() { java.lang.Object ref = parentAssetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentAssetType_ = b; return b; } else { @@ -2004,6 +2198,7 @@ public java.lang.String getParentAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2015,8 +2210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2035,12 +2229,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); for (int i = 0; i < networkTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, networkTags_.getRaw(i)); } @@ -2074,12 +2264,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < attachedResources_.size(); i++) { output.writeMessage(20, attachedResources_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetRelationships(), - RelationshipsDefaultEntryHolder.defaultEntry, - 21); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetRelationships(), RelationshipsDefaultEntryHolder.defaultEntry, 21); for (int i = 0; i < tagKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 23, tagKeys_.getRaw(i)); } @@ -2119,15 +2305,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); } { int dataSize = 0; @@ -2138,26 +2324,24 @@ public int getSerializedSize() { size += 1 * getNetworkTagsList().size(); } if (additionalAttributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getAdditionalAttributes()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(9, getAdditionalAttributes()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, kmsKey_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, state_); } for (int i = 0; i < versionedResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, versionedResources_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, versionedResources_.get(i)); } { int dataSize = 0; @@ -2174,18 +2358,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, parentFullResourceName_); } for (int i = 0; i < attachedResources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, attachedResources_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(20, attachedResources_.get(i)); } - for (java.util.Map.Entry entry - : internalGetRelationships().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetRelationships().getMap().entrySet()) { com.google.protobuf.MapEntry - relationships__ = RelationshipsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, relationships__); + relationships__ = + RelationshipsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, relationships__); } { int dataSize = 0; @@ -2222,68 +2407,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.ResourceSearchResult)) { return super.equals(obj); } - com.google.cloud.asset.v1.ResourceSearchResult other = (com.google.cloud.asset.v1.ResourceSearchResult) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getFoldersList() - .equals(other.getFoldersList())) return false; - if (!getOrganization() - .equals(other.getOrganization())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; - if (!getKmsKey() - .equals(other.getKmsKey())) return false; + com.google.cloud.asset.v1.ResourceSearchResult other = + (com.google.cloud.asset.v1.ResourceSearchResult) obj; + + if (!getName().equals(other.getName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getFoldersList().equals(other.getFoldersList())) return false; + if (!getOrganization().equals(other.getOrganization())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; + if (!getKmsKey().equals(other.getKmsKey())) 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 (!getState() - .equals(other.getState())) return false; + if (!getState().equals(other.getState())) return false; if (hasAdditionalAttributes() != other.hasAdditionalAttributes()) return false; if (hasAdditionalAttributes()) { - if (!getAdditionalAttributes() - .equals(other.getAdditionalAttributes())) return false; - } - if (!getParentFullResourceName() - .equals(other.getParentFullResourceName())) return false; - if (!getVersionedResourcesList() - .equals(other.getVersionedResourcesList())) return false; - if (!getAttachedResourcesList() - .equals(other.getAttachedResourcesList())) return false; - if (!internalGetRelationships().equals( - other.internalGetRelationships())) return false; - if (!getTagKeysList() - .equals(other.getTagKeysList())) return false; - if (!getTagValuesList() - .equals(other.getTagValuesList())) return false; - if (!getTagValueIdsList() - .equals(other.getTagValueIdsList())) return false; - if (!getParentAssetType() - .equals(other.getParentAssetType())) return false; + if (!getAdditionalAttributes().equals(other.getAdditionalAttributes())) return false; + } + if (!getParentFullResourceName().equals(other.getParentFullResourceName())) return false; + if (!getVersionedResourcesList().equals(other.getVersionedResourcesList())) return false; + if (!getAttachedResourcesList().equals(other.getAttachedResourcesList())) return false; + if (!internalGetRelationships().equals(other.internalGetRelationships())) return false; + if (!getTagKeysList().equals(other.getTagKeysList())) return false; + if (!getTagValuesList().equals(other.getTagValuesList())) return false; + if (!getTagValueIdsList().equals(other.getTagValueIdsList())) return false; + if (!getParentAssetType().equals(other.getParentAssetType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2370,144 +2533,151 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.ResourceSearchResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.ResourceSearchResult parseFrom( - byte[] data, - com.google.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.asset.v1.ResourceSearchResult 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.asset.v1.ResourceSearchResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ResourceSearchResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.ResourceSearchResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.ResourceSearchResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.ResourceSearchResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.ResourceSearchResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.ResourceSearchResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A result of Resource Search, containing information of a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1.ResourceSearchResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.ResourceSearchResult) com.google.cloud.asset.v1.ResourceSearchResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetLabels(); case 21: return internalGetRelationships(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 7: return internalGetMutableLabels(); case 21: return internalGetMutableRelationships(); 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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ResourceSearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.ResourceSearchResult.class, com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); + com.google.cloud.asset.v1.ResourceSearchResult.class, + com.google.cloud.asset.v1.ResourceSearchResult.Builder.class); } // Construct using com.google.cloud.asset.v1.ResourceSearchResult.newBuilder() @@ -2515,18 +2685,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) { getVersionedResourcesFieldBuilder(); getAttachedResourcesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2598,9 +2768,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_ResourceSearchResult_descriptor; } @java.lang.Override @@ -2619,7 +2789,8 @@ public com.google.cloud.asset.v1.ResourceSearchResult build() { @java.lang.Override public com.google.cloud.asset.v1.ResourceSearchResult buildPartial() { - com.google.cloud.asset.v1.ResourceSearchResult result = new com.google.cloud.asset.v1.ResourceSearchResult(this); + com.google.cloud.asset.v1.ResourceSearchResult result = + new com.google.cloud.asset.v1.ResourceSearchResult(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.assetType_ = assetType_; @@ -2702,38 +2873,39 @@ public com.google.cloud.asset.v1.ResourceSearchResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.ResourceSearchResult) { - return mergeFrom((com.google.cloud.asset.v1.ResourceSearchResult)other); + return mergeFrom((com.google.cloud.asset.v1.ResourceSearchResult) other); } else { super.mergeFrom(other); return this; @@ -2780,8 +2952,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { location_ = other.location_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { networkTags_ = other.networkTags_; @@ -2831,9 +3002,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { versionedResourcesBuilder_ = null; versionedResources_ = other.versionedResources_; bitField0_ = (bitField0_ & ~0x00000008); - versionedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionedResourcesFieldBuilder() : null; + versionedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionedResourcesFieldBuilder() + : null; } else { versionedResourcesBuilder_.addAllMessages(other.versionedResources_); } @@ -2857,16 +3029,16 @@ public Builder mergeFrom(com.google.cloud.asset.v1.ResourceSearchResult other) { attachedResourcesBuilder_ = null; attachedResources_ = other.attachedResources_; bitField0_ = (bitField0_ & ~0x00000010); - attachedResourcesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttachedResourcesFieldBuilder() : null; + attachedResourcesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAttachedResourcesFieldBuilder() + : null; } else { attachedResourcesBuilder_.addAllMessages(other.attachedResources_); } } } - internalGetMutableRelationships().mergeFrom( - other.internalGetRelationships()); + internalGetMutableRelationships().mergeFrom(other.internalGetRelationships()); if (!other.tagKeys_.isEmpty()) { if (tagKeys_.isEmpty()) { tagKeys_ = other.tagKeys_; @@ -2929,10 +3101,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -2945,13 +3120,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; @@ -2960,6 +3135,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -2972,15 +3149,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2988,6 +3164,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3000,20 +3178,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3026,15 +3206,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full resource name of this resource. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -3047,16 +3230,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; @@ -3064,6 +3247,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3071,13 +3256,13 @@ public Builder setNameBytes(
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -3086,6 +3271,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3093,15 +3280,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -3109,6 +3295,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3116,20 +3304,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3137,15 +3327,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of this resource. Example: `compute.googleapis.com/Disk`.
      * To search against the `asset_type`:
@@ -3153,16 +3346,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -3170,6 +3363,8 @@ public Builder setAssetTypeBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3181,13 +3376,13 @@ public Builder setAssetTypeBytes(
      * 
* * string project = 3; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -3196,6 +3391,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3207,15 +3404,14 @@ public java.lang.String getProject() {
      * 
* * string project = 3; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -3223,6 +3419,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3234,20 +3432,22 @@ public java.lang.String getProject() {
      * 
* * string project = 3; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3259,15 +3459,18 @@ public Builder setProject(
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * The project that this resource belongs to, in the form of
      * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -3279,29 +3482,33 @@ public Builder clearProject() {
      * 
* * string project = 3; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList folders_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList folders_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFoldersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { folders_ = new com.google.protobuf.LazyStringArrayList(folders_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3313,13 +3520,15 @@ private void ensureFoldersIsMutable() {
      * 
* * repeated string folders = 17; + * * @return A list containing the folders. */ - public com.google.protobuf.ProtocolStringList - getFoldersList() { + public com.google.protobuf.ProtocolStringList getFoldersList() { return folders_.getUnmodifiableView(); } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3331,12 +3540,15 @@ private void ensureFoldersIsMutable() {
      * 
* * repeated string folders = 17; + * * @return The count of folders. */ public int getFoldersCount() { return folders_.size(); } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3348,6 +3560,7 @@ public int getFoldersCount() {
      * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ @@ -3355,6 +3568,8 @@ public java.lang.String getFolders(int index) { return folders_.get(index); } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3366,14 +3581,16 @@ public java.lang.String getFolders(int index) {
      * 
* * repeated string folders = 17; + * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - public com.google.protobuf.ByteString - getFoldersBytes(int index) { + public com.google.protobuf.ByteString getFoldersBytes(int index) { return folders_.getByteString(index); } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3385,21 +3602,23 @@ public java.lang.String getFolders(int index) {
      * 
* * repeated string folders = 17; + * * @param index The index to set the value at. * @param value The folders to set. * @return This builder for chaining. */ - public Builder setFolders( - int index, java.lang.String value) { + public Builder setFolders(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.set(index, value); onChanged(); return this; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3411,20 +3630,22 @@ public Builder setFolders(
      * 
* * repeated string folders = 17; + * * @param value The folders to add. * @return This builder for chaining. */ - public Builder addFolders( - java.lang.String value) { + public Builder addFolders(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFoldersIsMutable(); + throw new NullPointerException(); + } + ensureFoldersIsMutable(); folders_.add(value); onChanged(); return this; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3436,18 +3657,19 @@ public Builder addFolders(
      * 
* * repeated string folders = 17; + * * @param values The folders to add. * @return This builder for chaining. */ - public Builder addAllFolders( - java.lang.Iterable values) { + public Builder addAllFolders(java.lang.Iterable values) { ensureFoldersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, folders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, folders_); onChanged(); return this; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3459,6 +3681,7 @@ public Builder addAllFolders(
      * 
* * repeated string folders = 17; + * * @return This builder for chaining. */ public Builder clearFolders() { @@ -3468,6 +3691,8 @@ public Builder clearFolders() { return this; } /** + * + * *
      * The folder(s) that this resource belongs to, in the form of
      * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -3479,15 +3704,15 @@ public Builder clearFolders() {
      * 
* * repeated string folders = 17; + * * @param value The bytes of the folders to add. * @return This builder for chaining. */ - public Builder addFoldersBytes( - com.google.protobuf.ByteString value) { + public Builder addFoldersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFoldersIsMutable(); folders_.add(value); onChanged(); @@ -3496,6 +3721,8 @@ public Builder addFoldersBytes( private java.lang.Object organization_ = ""; /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3507,13 +3734,13 @@ public Builder addFoldersBytes(
      * 
* * string organization = 18; + * * @return The organization. */ public java.lang.String getOrganization() { java.lang.Object ref = organization_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); organization_ = s; return s; @@ -3522,6 +3749,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3533,15 +3762,14 @@ public java.lang.String getOrganization() {
      * 
* * string organization = 18; + * * @return The bytes for organization. */ - public com.google.protobuf.ByteString - getOrganizationBytes() { + public com.google.protobuf.ByteString getOrganizationBytes() { java.lang.Object ref = organization_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); organization_ = b; return b; } else { @@ -3549,6 +3777,8 @@ public java.lang.String getOrganization() { } } /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3560,20 +3790,22 @@ public java.lang.String getOrganization() {
      * 
* * string organization = 18; + * * @param value The organization to set. * @return This builder for chaining. */ - public Builder setOrganization( - java.lang.String value) { + public Builder setOrganization(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + organization_ = value; onChanged(); return this; } /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3585,15 +3817,18 @@ public Builder setOrganization(
      * 
* * string organization = 18; + * * @return This builder for chaining. */ public Builder clearOrganization() { - + organization_ = getDefaultInstance().getOrganization(); onChanged(); return this; } /** + * + * *
      * The organization that this resource belongs to, in the form of
      * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -3605,16 +3840,16 @@ public Builder clearOrganization() {
      * 
* * string organization = 18; + * * @param value The bytes for organization to set. * @return This builder for chaining. */ - public Builder setOrganizationBytes( - com.google.protobuf.ByteString value) { + public Builder setOrganizationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + organization_ = value; onChanged(); return this; @@ -3622,6 +3857,8 @@ public Builder setOrganizationBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3631,13 +3868,13 @@ public Builder setOrganizationBytes(
      * 
* * string display_name = 4; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -3646,6 +3883,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3655,15 +3894,14 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 4; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -3671,6 +3909,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3680,20 +3920,22 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 4; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3703,15 +3945,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 4; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of this resource. This field is available only when the
      * resource's Protobuf contains it.
@@ -3721,16 +3966,16 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 4; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -3738,6 +3983,8 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -3748,13 +3995,13 @@ public Builder setDisplayNameBytes(
      * 
* * string description = 5; + * * @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; @@ -3763,6 +4010,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -3773,15 +4022,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; + * * @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 { @@ -3789,6 +4037,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -3799,20 +4049,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; + * * @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; } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -3823,15 +4075,18 @@ public Builder setDescription(
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes. This field is available only when the resource's
@@ -3842,16 +4097,16 @@ public Builder clearDescription() {
      * 
* * string description = 5; + * * @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; @@ -3859,6 +4114,8 @@ public Builder setDescriptionBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -3869,13 +4126,13 @@ public Builder setDescriptionBytes(
      * 
* * string location = 6; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -3884,6 +4141,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -3894,15 +4153,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -3910,6 +4168,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -3920,20 +4180,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -3944,15 +4206,18 @@ public Builder setLocation(
      * 
* * string location = 6; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Location can be `global`, regional like `us-east1`, or zonal like
      * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -3963,37 +4228,36 @@ public Builder clearLocation() {
      * 
* * string location = 6; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4005,6 +4269,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4020,22 +4286,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 7;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4052,11 +4318,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4073,16 +4340,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4099,12 +4367,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4112,11 +4379,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4132,23 +4400,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4164,19 +4430,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 7;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -4192,22 +4459,23 @@ public Builder putLabels(
      *
      * map<string, string> labels = 7;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList networkTags_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureNetworkTagsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4220,13 +4488,15 @@ private void ensureNetworkTagsIsMutable() {
      * 
* * repeated string network_tags = 8; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4239,12 +4509,15 @@ private void ensureNetworkTagsIsMutable() {
      * 
* * repeated string network_tags = 8; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4257,6 +4530,7 @@ public int getNetworkTagsCount() {
      * 
* * repeated string network_tags = 8; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -4264,6 +4538,8 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4276,14 +4552,16 @@ public java.lang.String getNetworkTags(int index) {
      * 
* * repeated string network_tags = 8; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4296,21 +4574,23 @@ public java.lang.String getNetworkTags(int index) {
      * 
* * repeated string network_tags = 8; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { + public Builder setNetworkTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4323,20 +4603,22 @@ public Builder setNetworkTags(
      * 
* * repeated string network_tags = 8; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { + public Builder addNetworkTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4349,18 +4631,19 @@ public Builder addNetworkTags(
      * 
* * repeated string network_tags = 8; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); onChanged(); return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4373,6 +4656,7 @@ public Builder addAllNetworkTags(
      * 
* * repeated string network_tags = 8; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -4382,6 +4666,8 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -4394,15 +4680,15 @@ public Builder clearNetworkTags() {
      * 
* * repeated string network_tags = 8; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); @@ -4411,6 +4697,8 @@ public Builder addNetworkTagsBytes( private java.lang.Object kmsKey_ = ""; /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4424,13 +4712,13 @@ public Builder addNetworkTagsBytes(
      * 
* * string kms_key = 10; + * * @return The kmsKey. */ public java.lang.String getKmsKey() { java.lang.Object ref = kmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKey_ = s; return s; @@ -4439,6 +4727,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4452,15 +4742,14 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 10; + * * @return The bytes for kmsKey. */ - public com.google.protobuf.ByteString - getKmsKeyBytes() { + public com.google.protobuf.ByteString getKmsKeyBytes() { java.lang.Object ref = kmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKey_ = b; return b; } else { @@ -4468,6 +4757,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4481,20 +4772,22 @@ public java.lang.String getKmsKey() {
      * 
* * string kms_key = 10; + * * @param value The kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKey( - java.lang.String value) { + public Builder setKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKey_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4508,15 +4801,18 @@ public Builder setKmsKey(
      * 
* * string kms_key = 10; + * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = getDefaultInstance().getKmsKey(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS
      * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -4530,16 +4826,16 @@ public Builder clearKmsKey() {
      * 
* * string kms_key = 10; + * * @param value The bytes for kmsKey to set. * @return This builder for chaining. */ - public Builder setKmsKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; onChanged(); return this; @@ -4547,8 +4843,13 @@ public Builder setKmsKeyBytes( 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 create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4562,12 +4863,15 @@ public Builder setKmsKeyBytes(
      * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4581,16 +4885,21 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 11; + * * @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 create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4619,6 +4928,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4633,8 +4944,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 11;
      */
-    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();
@@ -4645,6 +4955,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4663,7 +4975,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;
         }
@@ -4675,6 +4987,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4701,6 +5015,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4716,11 +5032,13 @@ public Builder clearCreateTime() {
      * .google.protobuf.Timestamp create_time = 11;
      */
     public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-      
+
       onChanged();
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4739,11 +5057,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+        return createTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : createTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The create timestamp of this resource, at which the resource was created.
      * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -4759,14 +5080,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 11;
      */
     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_;
@@ -4774,8 +5098,13 @@ 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 last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4790,12 +5119,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4810,16 +5142,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 12; + * * @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 last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4849,6 +5186,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4864,8 +5203,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 12;
      */
-    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();
@@ -4876,6 +5214,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4895,7 +5235,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;
         }
@@ -4907,6 +5247,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4934,6 +5276,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4950,11 +5294,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 12;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4974,11 +5320,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of this resource, at which the resource was last
      * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -4995,14 +5344,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 12;
      */
     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_;
@@ -5010,6 +5362,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object state_ = "";
     /**
+     *
+     *
      * 
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5031,13 +5385,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string state = 13; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -5046,6 +5400,8 @@ public java.lang.String getState() { } } /** + * + * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5067,15 +5423,14 @@ public java.lang.String getState() {
      * 
* * string state = 13; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -5083,6 +5438,8 @@ public java.lang.String getState() { } } /** + * + * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5104,20 +5461,22 @@ public java.lang.String getState() {
      * 
* * string state = 13; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { + public Builder setState(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + state_ = value; onChanged(); return this; } /** + * + * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5139,15 +5498,18 @@ public Builder setState(
      * 
* * string state = 13; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = getDefaultInstance().getState(); onChanged(); return this; } /** + * + * *
      * The state of this resource. Different resources types have different state
      * definitions that are mapped from various fields of different resource
@@ -5169,16 +5531,16 @@ public Builder clearState() {
      * 
* * string state = 13; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { + public Builder setStateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = value; onChanged(); return this; @@ -5186,8 +5548,13 @@ public Builder setStateBytes( private com.google.protobuf.Struct additionalAttributes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> additionalAttributesBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + additionalAttributesBuilder_; /** + * + * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5208,12 +5575,15 @@ public Builder setStateBytes(
      * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return Whether the additionalAttributes field is set. */ public boolean hasAdditionalAttributes() { return additionalAttributesBuilder_ != null || additionalAttributes_ != null; } /** + * + * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5234,16 +5604,21 @@ public boolean hasAdditionalAttributes() {
      * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return The additionalAttributes. */ public com.google.protobuf.Struct getAdditionalAttributes() { if (additionalAttributesBuilder_ == null) { - return additionalAttributes_ == null ? com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_; + return additionalAttributes_ == null + ? com.google.protobuf.Struct.getDefaultInstance() + : additionalAttributes_; } else { return additionalAttributesBuilder_.getMessage(); } } /** + * + * *
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5279,6 +5654,8 @@ public Builder setAdditionalAttributes(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5300,8 +5677,7 @@ public Builder setAdditionalAttributes(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct additional_attributes = 9;
      */
-    public Builder setAdditionalAttributes(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setAdditionalAttributes(com.google.protobuf.Struct.Builder builderForValue) {
       if (additionalAttributesBuilder_ == null) {
         additionalAttributes_ = builderForValue.build();
         onChanged();
@@ -5312,6 +5688,8 @@ public Builder setAdditionalAttributes(
       return this;
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5337,7 +5715,9 @@ public Builder mergeAdditionalAttributes(com.google.protobuf.Struct value) {
       if (additionalAttributesBuilder_ == null) {
         if (additionalAttributes_ != null) {
           additionalAttributes_ =
-            com.google.protobuf.Struct.newBuilder(additionalAttributes_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Struct.newBuilder(additionalAttributes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           additionalAttributes_ = value;
         }
@@ -5349,6 +5729,8 @@ public Builder mergeAdditionalAttributes(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5382,6 +5764,8 @@ public Builder clearAdditionalAttributes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5404,11 +5788,13 @@ public Builder clearAdditionalAttributes() {
      * .google.protobuf.Struct additional_attributes = 9;
      */
     public com.google.protobuf.Struct.Builder getAdditionalAttributesBuilder() {
-      
+
       onChanged();
       return getAdditionalAttributesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5434,11 +5820,14 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
       if (additionalAttributesBuilder_ != null) {
         return additionalAttributesBuilder_.getMessageOrBuilder();
       } else {
-        return additionalAttributes_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : additionalAttributes_;
+        return additionalAttributes_ == null
+            ? com.google.protobuf.Struct.getDefaultInstance()
+            : additionalAttributes_;
       }
     }
     /**
+     *
+     *
      * 
      * The additional searchable attributes of this resource. The attributes may
      * vary from one resource type to another. Examples: `projectId` for Project,
@@ -5461,14 +5850,17 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
      * .google.protobuf.Struct additional_attributes = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getAdditionalAttributesFieldBuilder() {
       if (additionalAttributesBuilder_ == null) {
-        additionalAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getAdditionalAttributes(),
-                getParentForChildren(),
-                isClean());
+        additionalAttributesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getAdditionalAttributes(), getParentForChildren(), isClean());
         additionalAttributes_ = null;
       }
       return additionalAttributesBuilder_;
@@ -5476,6 +5868,8 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
 
     private java.lang.Object parentFullResourceName_ = "";
     /**
+     *
+     *
      * 
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5486,13 +5880,13 @@ public com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder() {
      * 
* * string parent_full_resource_name = 19; + * * @return The parentFullResourceName. */ public java.lang.String getParentFullResourceName() { java.lang.Object ref = parentFullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentFullResourceName_ = s; return s; @@ -5501,6 +5895,8 @@ public java.lang.String getParentFullResourceName() { } } /** + * + * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5511,15 +5907,14 @@ public java.lang.String getParentFullResourceName() {
      * 
* * string parent_full_resource_name = 19; + * * @return The bytes for parentFullResourceName. */ - public com.google.protobuf.ByteString - getParentFullResourceNameBytes() { + public com.google.protobuf.ByteString getParentFullResourceNameBytes() { java.lang.Object ref = parentFullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentFullResourceName_ = b; return b; } else { @@ -5527,6 +5922,8 @@ public java.lang.String getParentFullResourceName() { } } /** + * + * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5537,20 +5934,22 @@ public java.lang.String getParentFullResourceName() {
      * 
* * string parent_full_resource_name = 19; + * * @param value The parentFullResourceName to set. * @return This builder for chaining. */ - public Builder setParentFullResourceName( - java.lang.String value) { + public Builder setParentFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentFullResourceName_ = value; onChanged(); return this; } /** + * + * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5561,15 +5960,18 @@ public Builder setParentFullResourceName(
      * 
* * string parent_full_resource_name = 19; + * * @return This builder for chaining. */ public Builder clearParentFullResourceName() { - + parentFullResourceName_ = getDefaultInstance().getParentFullResourceName(); onChanged(); return this; } /** + * + * *
      * The full resource name of this resource's parent, if it has one.
      * To search against the `parent_full_resource_name`:
@@ -5580,34 +5982,42 @@ public Builder clearParentFullResourceName() {
      * 
* * string parent_full_resource_name = 19; + * * @param value The bytes for parentFullResourceName to set. * @return This builder for chaining. */ - public Builder setParentFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setParentFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentFullResourceName_ = value; onChanged(); return this; } private java.util.List versionedResources_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionedResourcesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - versionedResources_ = new java.util.ArrayList(versionedResources_); + versionedResources_ = + new java.util.ArrayList( + versionedResources_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> versionedResourcesBuilder_; + com.google.cloud.asset.v1.VersionedResource, + com.google.cloud.asset.v1.VersionedResource.Builder, + com.google.cloud.asset.v1.VersionedResourceOrBuilder> + versionedResourcesBuilder_; /** + * + * *
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5627,6 +6037,8 @@ public java.util.List getVersionedR
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5646,6 +6058,8 @@ public int getVersionedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5665,6 +6079,8 @@ public com.google.cloud.asset.v1.VersionedResource getVersionedResources(int ind
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5691,6 +6107,8 @@ public Builder setVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5714,6 +6132,8 @@ public Builder setVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5739,6 +6159,8 @@ public Builder addVersionedResources(com.google.cloud.asset.v1.VersionedResource
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5765,6 +6187,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5788,6 +6212,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5811,6 +6237,8 @@ public Builder addVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5826,8 +6254,7 @@ public Builder addAllVersionedResources(
         java.lang.Iterable values) {
       if (versionedResourcesBuilder_ == null) {
         ensureVersionedResourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, versionedResources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versionedResources_);
         onChanged();
       } else {
         versionedResourcesBuilder_.addAllMessages(values);
@@ -5835,6 +6262,8 @@ public Builder addAllVersionedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5857,6 +6286,8 @@ public Builder clearVersionedResources() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5879,6 +6310,8 @@ public Builder removeVersionedResources(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5895,6 +6328,8 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
       return getVersionedResourcesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5909,11 +6344,14 @@ public com.google.cloud.asset.v1.VersionedResource.Builder getVersionedResources
     public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
         int index) {
       if (versionedResourcesBuilder_ == null) {
-        return versionedResources_.get(index);  } else {
+        return versionedResources_.get(index);
+      } else {
         return versionedResourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5925,8 +6363,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
      */
-    public java.util.List 
-         getVersionedResourcesOrBuilderList() {
+    public java.util.List
+        getVersionedResourcesOrBuilderList() {
       if (versionedResourcesBuilder_ != null) {
         return versionedResourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -5934,6 +6372,8 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
       }
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5946,10 +6386,12 @@ public com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResource
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder() {
-      return getVersionedResourcesFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5963,10 +6405,12 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      */
     public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResourcesBuilder(
         int index) {
-      return getVersionedResourcesFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
+      return getVersionedResourcesFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.VersionedResource.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Versioned resource representations of this resource. This is repeated
      * because there could be multiple versions of resource representations during
@@ -5978,16 +6422,22 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
      *
      * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
      */
-    public java.util.List 
-         getVersionedResourcesBuilderList() {
+    public java.util.List
+        getVersionedResourcesBuilderList() {
       return getVersionedResourcesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder> 
+            com.google.cloud.asset.v1.VersionedResource,
+            com.google.cloud.asset.v1.VersionedResource.Builder,
+            com.google.cloud.asset.v1.VersionedResourceOrBuilder>
         getVersionedResourcesFieldBuilder() {
       if (versionedResourcesBuilder_ == null) {
-        versionedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.VersionedResource, com.google.cloud.asset.v1.VersionedResource.Builder, com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
+        versionedResourcesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.VersionedResource,
+                com.google.cloud.asset.v1.VersionedResource.Builder,
+                com.google.cloud.asset.v1.VersionedResourceOrBuilder>(
                 versionedResources_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -5998,18 +6448,25 @@ public com.google.cloud.asset.v1.VersionedResource.Builder addVersionedResources
     }
 
     private java.util.List attachedResources_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureAttachedResourcesIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        attachedResources_ = new java.util.ArrayList(attachedResources_);
+        attachedResources_ =
+            new java.util.ArrayList(attachedResources_);
         bitField0_ |= 0x00000010;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.AttachedResource, com.google.cloud.asset.v1.AttachedResource.Builder, com.google.cloud.asset.v1.AttachedResourceOrBuilder> attachedResourcesBuilder_;
+            com.google.cloud.asset.v1.AttachedResource,
+            com.google.cloud.asset.v1.AttachedResource.Builder,
+            com.google.cloud.asset.v1.AttachedResourceOrBuilder>
+        attachedResourcesBuilder_;
 
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6029,6 +6486,8 @@ public java.util.List getAttachedRes
       }
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6048,6 +6507,8 @@ public int getAttachedResourcesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6067,6 +6528,8 @@ public com.google.cloud.asset.v1.AttachedResource getAttachedResources(int index
       }
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6093,6 +6556,8 @@ public Builder setAttachedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6116,6 +6581,8 @@ public Builder setAttachedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6141,6 +6608,8 @@ public Builder addAttachedResources(com.google.cloud.asset.v1.AttachedResource v
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6167,6 +6636,8 @@ public Builder addAttachedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6190,6 +6661,8 @@ public Builder addAttachedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6213,6 +6686,8 @@ public Builder addAttachedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6228,8 +6703,7 @@ public Builder addAllAttachedResources(
         java.lang.Iterable values) {
       if (attachedResourcesBuilder_ == null) {
         ensureAttachedResourcesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, attachedResources_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attachedResources_);
         onChanged();
       } else {
         attachedResourcesBuilder_.addAllMessages(values);
@@ -6237,6 +6711,8 @@ public Builder addAllAttachedResources(
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6259,6 +6735,8 @@ public Builder clearAttachedResources() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6281,6 +6759,8 @@ public Builder removeAttachedResources(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6297,6 +6777,8 @@ public com.google.cloud.asset.v1.AttachedResource.Builder getAttachedResourcesBu
       return getAttachedResourcesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6311,11 +6793,14 @@ public com.google.cloud.asset.v1.AttachedResource.Builder getAttachedResourcesBu
     public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilder(
         int index) {
       if (attachedResourcesBuilder_ == null) {
-        return attachedResources_.get(index);  } else {
+        return attachedResources_.get(index);
+      } else {
         return attachedResourcesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6327,8 +6812,8 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
      *
      * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
      */
-    public java.util.List 
-         getAttachedResourcesOrBuilderList() {
+    public java.util.List
+        getAttachedResourcesOrBuilderList() {
       if (attachedResourcesBuilder_ != null) {
         return attachedResourcesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6336,6 +6821,8 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
       }
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6348,10 +6835,12 @@ public com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesO
      * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
      */
     public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBuilder() {
-      return getAttachedResourcesFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
+      return getAttachedResourcesFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6365,10 +6854,12 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
      */
     public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBuilder(
         int index) {
-      return getAttachedResourcesFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
+      return getAttachedResourcesFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.AttachedResource.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Attached resources of this resource. For example, an OSConfig
      * Inventory is an attached resource of a Compute Instance. This field is
@@ -6380,16 +6871,22 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
      *
      * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
      */
-    public java.util.List 
-         getAttachedResourcesBuilderList() {
+    public java.util.List
+        getAttachedResourcesBuilderList() {
       return getAttachedResourcesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.AttachedResource, com.google.cloud.asset.v1.AttachedResource.Builder, com.google.cloud.asset.v1.AttachedResourceOrBuilder> 
+            com.google.cloud.asset.v1.AttachedResource,
+            com.google.cloud.asset.v1.AttachedResource.Builder,
+            com.google.cloud.asset.v1.AttachedResourceOrBuilder>
         getAttachedResourcesFieldBuilder() {
       if (attachedResourcesBuilder_ == null) {
-        attachedResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.AttachedResource, com.google.cloud.asset.v1.AttachedResource.Builder, com.google.cloud.asset.v1.AttachedResourceOrBuilder>(
+        attachedResourcesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.AttachedResource,
+                com.google.cloud.asset.v1.AttachedResource.Builder,
+                com.google.cloud.asset.v1.AttachedResourceOrBuilder>(
                 attachedResources_,
                 ((bitField0_ & 0x00000010) != 0),
                 getParentForChildren(),
@@ -6400,21 +6897,27 @@ public com.google.cloud.asset.v1.AttachedResource.Builder addAttachedResourcesBu
     }
 
     private com.google.protobuf.MapField<
-        java.lang.String, com.google.cloud.asset.v1.RelatedResources> relationships_;
-    private com.google.protobuf.MapField
-    internalGetRelationships() {
+            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
+        relationships_;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
+        internalGetRelationships() {
       if (relationships_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             RelationshipsDefaultEntryHolder.defaultEntry);
       }
       return relationships_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableRelationships() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.asset.v1.RelatedResources>
+        internalGetMutableRelationships() {
+      onChanged();
+      ;
       if (relationships_ == null) {
-        relationships_ = com.google.protobuf.MapField.newMapField(
-            RelationshipsDefaultEntryHolder.defaultEntry);
+        relationships_ =
+            com.google.protobuf.MapField.newMapField(RelationshipsDefaultEntryHolder.defaultEntry);
       }
       if (!relationships_.isMutable()) {
         relationships_ = relationships_.copy();
@@ -6426,6 +6929,8 @@ public int getRelationshipsCount() {
       return internalGetRelationships().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6437,22 +6942,23 @@ public int getRelationshipsCount() {
      *
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
-
     @java.lang.Override
-    public boolean containsRelationships(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsRelationships(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetRelationships().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getRelationshipsMap()} instead.
-     */
+    /** Use {@link #getRelationshipsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map getRelationships() {
+    public java.util.Map
+        getRelationships() {
       return getRelationshipsMap();
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6465,11 +6971,13 @@ public java.util.Mapmap<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
-
-    public java.util.Map getRelationshipsMap() {
+    public java.util.Map
+        getRelationshipsMap() {
       return internalGetRelationships().getMap();
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6482,16 +6990,18 @@ public java.util.Mapmap<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
-
     public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
-        java.lang.String key,
-        com.google.cloud.asset.v1.RelatedResources defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.asset.v1.RelatedResources defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetRelationships().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6504,10 +7014,11 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     @java.lang.Override
-
     public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
         java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetRelationships().getMap();
       if (!map.containsKey(key)) {
@@ -6517,11 +7028,12 @@ public com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
     }
 
     public Builder clearRelationships() {
-      internalGetMutableRelationships().getMutableMap()
-          .clear();
+      internalGetMutableRelationships().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6533,23 +7045,22 @@ public Builder clearRelationships() {
      *
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
-
-    public Builder removeRelationships(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableRelationships().getMutableMap()
-          .remove(key);
+    public Builder removeRelationships(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableRelationships().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
-    getMutableRelationships() {
+        getMutableRelationships() {
       return internalGetMutableRelationships().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6562,18 +7073,20 @@ public Builder removeRelationships(
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
     public Builder putRelationships(
-        java.lang.String key,
-        com.google.cloud.asset.v1.RelatedResources value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.asset.v1.RelatedResources value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableRelationships().getMutableMap()
-          .put(key, value);
+      internalGetMutableRelationships().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map of related resources of this resource, keyed by the
      * relationship type. A relationship type is in the format of
@@ -6585,22 +7098,24 @@ public Builder putRelationships(
      *
      * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
      */
-
     public Builder putAllRelationships(
         java.util.Map values) {
-      internalGetMutableRelationships().getMutableMap()
-          .putAll(values);
+      internalGetMutableRelationships().getMutableMap().putAll(values);
       return this;
     }
 
-    private com.google.protobuf.LazyStringList tagKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList tagKeys_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureTagKeysIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         tagKeys_ = new com.google.protobuf.LazyStringArrayList(tagKeys_);
         bitField0_ |= 0x00000040;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6613,13 +7128,15 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23; + * * @return A list containing the tagKeys. */ - public com.google.protobuf.ProtocolStringList - getTagKeysList() { + public com.google.protobuf.ProtocolStringList getTagKeysList() { return tagKeys_.getUnmodifiableView(); } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6632,12 +7149,15 @@ private void ensureTagKeysIsMutable() {
      * 
* * repeated string tag_keys = 23; + * * @return The count of tagKeys. */ public int getTagKeysCount() { return tagKeys_.size(); } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6650,6 +7170,7 @@ public int getTagKeysCount() {
      * 
* * repeated string tag_keys = 23; + * * @param index The index of the element to return. * @return The tagKeys at the given index. */ @@ -6657,6 +7178,8 @@ public java.lang.String getTagKeys(int index) { return tagKeys_.get(index); } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6669,14 +7192,16 @@ public java.lang.String getTagKeys(int index) {
      * 
* * repeated string tag_keys = 23; + * * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - public com.google.protobuf.ByteString - getTagKeysBytes(int index) { + public com.google.protobuf.ByteString getTagKeysBytes(int index) { return tagKeys_.getByteString(index); } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6689,21 +7214,23 @@ public java.lang.String getTagKeys(int index) {
      * 
* * repeated string tag_keys = 23; + * * @param index The index to set the value at. * @param value The tagKeys to set. * @return This builder for chaining. */ - public Builder setTagKeys( - int index, java.lang.String value) { + public Builder setTagKeys(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagKeysIsMutable(); + throw new NullPointerException(); + } + ensureTagKeysIsMutable(); tagKeys_.set(index, value); onChanged(); return this; } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6716,20 +7243,22 @@ public Builder setTagKeys(
      * 
* * repeated string tag_keys = 23; + * * @param value The tagKeys to add. * @return This builder for chaining. */ - public Builder addTagKeys( - java.lang.String value) { + public Builder addTagKeys(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagKeysIsMutable(); + throw new NullPointerException(); + } + ensureTagKeysIsMutable(); tagKeys_.add(value); onChanged(); return this; } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6742,18 +7271,19 @@ public Builder addTagKeys(
      * 
* * repeated string tag_keys = 23; + * * @param values The tagKeys to add. * @return This builder for chaining. */ - public Builder addAllTagKeys( - java.lang.Iterable values) { + public Builder addAllTagKeys(java.lang.Iterable values) { ensureTagKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tagKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagKeys_); onChanged(); return this; } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6766,6 +7296,7 @@ public Builder addAllTagKeys(
      * 
* * repeated string tag_keys = 23; + * * @return This builder for chaining. */ public Builder clearTagKeys() { @@ -6775,6 +7306,8 @@ public Builder clearTagKeys() { return this; } /** + * + * *
      * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
      * To search against the `tagKeys`:
@@ -6787,29 +7320,33 @@ public Builder clearTagKeys() {
      * 
* * repeated string tag_keys = 23; + * * @param value The bytes of the tagKeys to add. * @return This builder for chaining. */ - public Builder addTagKeysBytes( - com.google.protobuf.ByteString value) { + public Builder addTagKeysBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagKeysIsMutable(); tagKeys_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList tagValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tagValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagValuesIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { tagValues_ = new com.google.protobuf.LazyStringArrayList(tagValues_); bitField0_ |= 0x00000080; - } + } } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6824,13 +7361,15 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25; + * * @return A list containing the tagValues. */ - public com.google.protobuf.ProtocolStringList - getTagValuesList() { + public com.google.protobuf.ProtocolStringList getTagValuesList() { return tagValues_.getUnmodifiableView(); } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6845,12 +7384,15 @@ private void ensureTagValuesIsMutable() {
      * 
* * repeated string tag_values = 25; + * * @return The count of tagValues. */ public int getTagValuesCount() { return tagValues_.size(); } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6865,6 +7407,7 @@ public int getTagValuesCount() {
      * 
* * repeated string tag_values = 25; + * * @param index The index of the element to return. * @return The tagValues at the given index. */ @@ -6872,6 +7415,8 @@ public java.lang.String getTagValues(int index) { return tagValues_.get(index); } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6886,14 +7431,16 @@ public java.lang.String getTagValues(int index) {
      * 
* * repeated string tag_values = 25; + * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - public com.google.protobuf.ByteString - getTagValuesBytes(int index) { + public com.google.protobuf.ByteString getTagValuesBytes(int index) { return tagValues_.getByteString(index); } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6908,21 +7455,23 @@ public java.lang.String getTagValues(int index) {
      * 
* * repeated string tag_values = 25; + * * @param index The index to set the value at. * @param value The tagValues to set. * @return This builder for chaining. */ - public Builder setTagValues( - int index, java.lang.String value) { + public Builder setTagValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValuesIsMutable(); + throw new NullPointerException(); + } + ensureTagValuesIsMutable(); tagValues_.set(index, value); onChanged(); return this; } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6937,20 +7486,22 @@ public Builder setTagValues(
      * 
* * repeated string tag_values = 25; + * * @param value The tagValues to add. * @return This builder for chaining. */ - public Builder addTagValues( - java.lang.String value) { + public Builder addTagValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValuesIsMutable(); + throw new NullPointerException(); + } + ensureTagValuesIsMutable(); tagValues_.add(value); onChanged(); return this; } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6965,18 +7516,19 @@ public Builder addTagValues(
      * 
* * repeated string tag_values = 25; + * * @param values The tagValues to add. * @return This builder for chaining. */ - public Builder addAllTagValues( - java.lang.Iterable values) { + public Builder addAllTagValues(java.lang.Iterable values) { ensureTagValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tagValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagValues_); onChanged(); return this; } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -6991,6 +7543,7 @@ public Builder addAllTagValues(
      * 
* * repeated string tag_values = 25; + * * @return This builder for chaining. */ public Builder clearTagValues() { @@ -7000,6 +7553,8 @@ public Builder clearTagValues() { return this; } /** + * + * *
      * TagValue namespaced names, in the format of
      * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -7014,29 +7569,33 @@ public Builder clearTagValues() {
      * 
* * repeated string tag_values = 25; + * * @param value The bytes of the tagValues to add. * @return This builder for chaining. */ - public Builder addTagValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addTagValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagValuesIsMutable(); tagValues_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList tagValueIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tagValueIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagValueIdsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { tagValueIds_ = new com.google.protobuf.LazyStringArrayList(tagValueIds_); bitField0_ |= 0x00000100; - } + } } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7048,13 +7607,15 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26; + * * @return A list containing the tagValueIds. */ - public com.google.protobuf.ProtocolStringList - getTagValueIdsList() { + public com.google.protobuf.ProtocolStringList getTagValueIdsList() { return tagValueIds_.getUnmodifiableView(); } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7066,12 +7627,15 @@ private void ensureTagValueIdsIsMutable() {
      * 
* * repeated string tag_value_ids = 26; + * * @return The count of tagValueIds. */ public int getTagValueIdsCount() { return tagValueIds_.size(); } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7083,6 +7647,7 @@ public int getTagValueIdsCount() {
      * 
* * repeated string tag_value_ids = 26; + * * @param index The index of the element to return. * @return The tagValueIds at the given index. */ @@ -7090,6 +7655,8 @@ public java.lang.String getTagValueIds(int index) { return tagValueIds_.get(index); } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7101,14 +7668,16 @@ public java.lang.String getTagValueIds(int index) {
      * 
* * repeated string tag_value_ids = 26; + * * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - public com.google.protobuf.ByteString - getTagValueIdsBytes(int index) { + public com.google.protobuf.ByteString getTagValueIdsBytes(int index) { return tagValueIds_.getByteString(index); } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7120,21 +7689,23 @@ public java.lang.String getTagValueIds(int index) {
      * 
* * repeated string tag_value_ids = 26; + * * @param index The index to set the value at. * @param value The tagValueIds to set. * @return This builder for chaining. */ - public Builder setTagValueIds( - int index, java.lang.String value) { + public Builder setTagValueIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValueIdsIsMutable(); + throw new NullPointerException(); + } + ensureTagValueIdsIsMutable(); tagValueIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7146,20 +7717,22 @@ public Builder setTagValueIds(
      * 
* * repeated string tag_value_ids = 26; + * * @param value The tagValueIds to add. * @return This builder for chaining. */ - public Builder addTagValueIds( - java.lang.String value) { + public Builder addTagValueIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagValueIdsIsMutable(); + throw new NullPointerException(); + } + ensureTagValueIdsIsMutable(); tagValueIds_.add(value); onChanged(); return this; } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7171,18 +7744,19 @@ public Builder addTagValueIds(
      * 
* * repeated string tag_value_ids = 26; + * * @param values The tagValueIds to add. * @return This builder for chaining. */ - public Builder addAllTagValueIds( - java.lang.Iterable values) { + public Builder addAllTagValueIds(java.lang.Iterable values) { ensureTagValueIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tagValueIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tagValueIds_); onChanged(); return this; } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7194,6 +7768,7 @@ public Builder addAllTagValueIds(
      * 
* * repeated string tag_value_ids = 26; + * * @return This builder for chaining. */ public Builder clearTagValueIds() { @@ -7203,6 +7778,8 @@ public Builder clearTagValueIds() { return this; } /** + * + * *
      * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
      * To search against the `tagValueIds`:
@@ -7214,15 +7791,15 @@ public Builder clearTagValueIds() {
      * 
* * repeated string tag_value_ids = 26; + * * @param value The bytes of the tagValueIds to add. * @return This builder for chaining. */ - public Builder addTagValueIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagValueIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagValueIdsIsMutable(); tagValueIds_.add(value); onChanged(); @@ -7231,6 +7808,8 @@ public Builder addTagValueIdsBytes( private java.lang.Object parentAssetType_ = ""; /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7241,13 +7820,13 @@ public Builder addTagValueIdsBytes(
      * 
* * string parent_asset_type = 103; + * * @return The parentAssetType. */ public java.lang.String getParentAssetType() { java.lang.Object ref = parentAssetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parentAssetType_ = s; return s; @@ -7256,6 +7835,8 @@ public java.lang.String getParentAssetType() { } } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7266,15 +7847,14 @@ public java.lang.String getParentAssetType() {
      * 
* * string parent_asset_type = 103; + * * @return The bytes for parentAssetType. */ - public com.google.protobuf.ByteString - getParentAssetTypeBytes() { + public com.google.protobuf.ByteString getParentAssetTypeBytes() { java.lang.Object ref = parentAssetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parentAssetType_ = b; return b; } else { @@ -7282,6 +7862,8 @@ public java.lang.String getParentAssetType() { } } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7292,20 +7874,22 @@ public java.lang.String getParentAssetType() {
      * 
* * string parent_asset_type = 103; + * * @param value The parentAssetType to set. * @return This builder for chaining. */ - public Builder setParentAssetType( - java.lang.String value) { + public Builder setParentAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parentAssetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7316,15 +7900,18 @@ public Builder setParentAssetType(
      * 
* * string parent_asset_type = 103; + * * @return This builder for chaining. */ public Builder clearParentAssetType() { - + parentAssetType_ = getDefaultInstance().getParentAssetType(); onChanged(); return this; } /** + * + * *
      * The type of this resource's immediate parent, if there is one.
      * To search against the `parent_asset_type`:
@@ -7335,23 +7922,23 @@ public Builder clearParentAssetType() {
      * 
* * string parent_asset_type = 103; + * * @param value The bytes for parentAssetType to set. * @return This builder for chaining. */ - public Builder setParentAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setParentAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parentAssetType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7361,12 +7948,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.ResourceSearchResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.ResourceSearchResult) private static final com.google.cloud.asset.v1.ResourceSearchResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.ResourceSearchResult(); } @@ -7375,16 +7962,16 @@ public static com.google.cloud.asset.v1.ResourceSearchResult getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSearchResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceSearchResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSearchResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceSearchResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7399,6 +7986,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.ResourceSearchResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java similarity index 92% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java index b79fffcaf..5ab43ef5d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ResourceSearchResultOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; -public interface ResourceSearchResultOrBuilder extends +public interface ResourceSearchResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.ResourceSearchResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -20,10 +38,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full resource name of this resource. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -36,12 +57,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -49,10 +72,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of this resource. Example: `compute.googleapis.com/Disk`.
    * To search against the `asset_type`:
@@ -60,12 +86,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -77,10 +105,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string project = 3; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The project that this resource belongs to, in the form of
    * projects/{PROJECT_NUMBER}. This field is available when the resource
@@ -92,12 +123,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string project = 3; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -109,11 +142,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * repeated string folders = 17; + * * @return A list containing the folders. */ - java.util.List - getFoldersList(); + java.util.List getFoldersList(); /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -125,10 +160,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * repeated string folders = 17; + * * @return The count of folders. */ int getFoldersCount(); /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -140,11 +178,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * repeated string folders = 17; + * * @param index The index of the element to return. * @return The folders at the given index. */ java.lang.String getFolders(int index); /** + * + * *
    * The folder(s) that this resource belongs to, in the form of
    * folders/{FOLDER_NUMBER}. This field is available when the resource
@@ -156,13 +197,15 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * repeated string folders = 17; + * * @param index The index of the value to return. * @return The bytes of the folders at the given index. */ - com.google.protobuf.ByteString - getFoldersBytes(int index); + com.google.protobuf.ByteString getFoldersBytes(int index); /** + * + * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -174,10 +217,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string organization = 18; + * * @return The organization. */ java.lang.String getOrganization(); /** + * + * *
    * The organization that this resource belongs to, in the form of
    * organizations/{ORGANIZATION_NUMBER}. This field is available when the
@@ -189,12 +235,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string organization = 18; + * * @return The bytes for organization. */ - com.google.protobuf.ByteString - getOrganizationBytes(); + com.google.protobuf.ByteString getOrganizationBytes(); /** + * + * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -204,10 +252,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string display_name = 4; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of this resource. This field is available only when the
    * resource's Protobuf contains it.
@@ -217,12 +268,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string display_name = 4; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -233,10 +286,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes. This field is available only when the resource's
@@ -247,12 +303,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -263,10 +321,13 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string location = 6; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Location can be `global`, regional like `us-east1`, or zonal like
    * `us-west1-b`. This field is available only when the resource's Protobuf
@@ -277,12 +338,14 @@ public interface ResourceSearchResultOrBuilder extends
    * 
* * string location = 6; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -300,6 +363,8 @@ public interface ResourceSearchResultOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -315,15 +380,13 @@ public interface ResourceSearchResultOrBuilder extends
    *
    * map<string, string> labels = 7;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -339,9 +402,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -359,11 +423,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -379,11 +445,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -396,11 +462,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 8; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -413,10 +481,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 8; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -429,11 +500,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 8; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -446,13 +520,15 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 8; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -466,10 +542,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key = 10; + * * @return The kmsKey. */ java.lang.String getKmsKey(); /** + * + * *
    * The Cloud KMS
    * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
@@ -483,12 +562,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key = 10; + * * @return The bytes for kmsKey. */ - com.google.protobuf.ByteString - getKmsKeyBytes(); + com.google.protobuf.ByteString getKmsKeyBytes(); /** + * + * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -502,10 +583,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -519,10 +603,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 11; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The create timestamp of this resource, at which the resource was created.
    * The granularity is in seconds. Timestamp.nanos will always be 0. This field
@@ -540,6 +627,8 @@ java.lang.String getLabelsOrThrow(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -554,10 +643,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -572,10 +664,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Timestamp update_time = 12; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The last update timestamp of this resource, at which the resource was last
    * modified or deleted. The granularity is in seconds. Timestamp.nanos will
@@ -594,6 +689,8 @@ java.lang.String getLabelsOrThrow(
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -615,10 +712,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string state = 13; + * * @return The state. */ java.lang.String getState(); /** + * + * *
    * The state of this resource. Different resources types have different state
    * definitions that are mapped from various fields of different resource
@@ -640,12 +740,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string state = 13; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); /** + * + * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -666,10 +768,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return Whether the additionalAttributes field is set. */ boolean hasAdditionalAttributes(); /** + * + * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -690,10 +795,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.protobuf.Struct additional_attributes = 9; + * * @return The additionalAttributes. */ com.google.protobuf.Struct getAdditionalAttributes(); /** + * + * *
    * The additional searchable attributes of this resource. The attributes may
    * vary from one resource type to another. Examples: `projectId` for Project,
@@ -718,6 +826,8 @@ java.lang.String getLabelsOrThrow(
   com.google.protobuf.StructOrBuilder getAdditionalAttributesOrBuilder();
 
   /**
+   *
+   *
    * 
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -728,10 +838,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string parent_full_resource_name = 19; + * * @return The parentFullResourceName. */ java.lang.String getParentFullResourceName(); /** + * + * *
    * The full resource name of this resource's parent, if it has one.
    * To search against the `parent_full_resource_name`:
@@ -742,12 +855,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string parent_full_resource_name = 19; + * * @return The bytes for parentFullResourceName. */ - com.google.protobuf.ByteString - getParentFullResourceNameBytes(); + com.google.protobuf.ByteString getParentFullResourceNameBytes(); /** + * + * *
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -759,9 +874,10 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
-  java.util.List 
-      getVersionedResourcesList();
+  java.util.List getVersionedResourcesList();
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -775,6 +891,8 @@ java.lang.String getLabelsOrThrow(
    */
   com.google.cloud.asset.v1.VersionedResource getVersionedResources(int index);
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -788,6 +906,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getVersionedResourcesCount();
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -799,9 +919,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
-  java.util.List 
+  java.util.List
       getVersionedResourcesOrBuilderList();
   /**
+   *
+   *
    * 
    * Versioned resource representations of this resource. This is repeated
    * because there could be multiple versions of resource representations during
@@ -813,10 +935,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
    */
-  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -828,9 +951,10 @@ com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuil
    *
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
-  java.util.List 
-      getAttachedResourcesList();
+  java.util.List getAttachedResourcesList();
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -844,6 +968,8 @@ com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuil
    */
   com.google.cloud.asset.v1.AttachedResource getAttachedResources(int index);
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -857,6 +983,8 @@ com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuil
    */
   int getAttachedResourcesCount();
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -868,9 +996,11 @@ com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuil
    *
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
-  java.util.List 
+  java.util.List
       getAttachedResourcesOrBuilderList();
   /**
+   *
+   *
    * 
    * Attached resources of this resource. For example, an OSConfig
    * Inventory is an attached resource of a Compute Instance. This field is
@@ -882,10 +1012,11 @@ com.google.cloud.asset.v1.VersionedResourceOrBuilder getVersionedResourcesOrBuil
    *
    * repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
    */
-  com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -899,6 +1030,8 @@ com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilde
    */
   int getRelationshipsCount();
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -910,15 +1043,13 @@ com.google.cloud.asset.v1.AttachedResourceOrBuilder getAttachedResourcesOrBuilde
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-  boolean containsRelationships(
-      java.lang.String key);
-  /**
-   * Use {@link #getRelationshipsMap()} instead.
-   */
+  boolean containsRelationships(java.lang.String key);
+  /** Use {@link #getRelationshipsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getRelationships();
+  java.util.Map getRelationships();
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -930,9 +1061,10 @@ boolean containsRelationships(
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-  java.util.Map
-  getRelationshipsMap();
+  java.util.Map getRelationshipsMap();
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -946,11 +1078,13 @@ boolean containsRelationships(
    */
 
   /* nullable */
-com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
+  com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.asset.v1.RelatedResources defaultValue);
+      com.google.cloud.asset.v1.RelatedResources defaultValue);
   /**
+   *
+   *
    * 
    * A map of related resources of this resource, keyed by the
    * relationship type. A relationship type is in the format of
@@ -962,11 +1096,11 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrDefault(
    *
    * map<string, .google.cloud.asset.v1.RelatedResources> relationships = 21;
    */
-
-  com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
-      java.lang.String key);
+  com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -979,11 +1113,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23; + * * @return A list containing the tagKeys. */ - java.util.List - getTagKeysList(); + java.util.List getTagKeysList(); /** + * + * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -996,10 +1132,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23; + * * @return The count of tagKeys. */ int getTagKeysCount(); /** + * + * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1012,11 +1151,14 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23; + * * @param index The index of the element to return. * @return The tagKeys at the given index. */ java.lang.String getTagKeys(int index); /** + * + * *
    * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
    * To search against the `tagKeys`:
@@ -1029,13 +1171,15 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_keys = 23; + * * @param index The index of the value to return. * @return The bytes of the tagKeys at the given index. */ - com.google.protobuf.ByteString - getTagKeysBytes(int index); + com.google.protobuf.ByteString getTagKeysBytes(int index); /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1050,11 +1194,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25; + * * @return A list containing the tagValues. */ - java.util.List - getTagValuesList(); + java.util.List getTagValuesList(); /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1069,10 +1215,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25; + * * @return The count of tagValues. */ int getTagValuesCount(); /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1087,11 +1236,14 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25; + * * @param index The index of the element to return. * @return The tagValues at the given index. */ java.lang.String getTagValues(int index); /** + * + * *
    * TagValue namespaced names, in the format of
    * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
@@ -1106,13 +1258,15 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_values = 25; + * * @param index The index of the value to return. * @return The bytes of the tagValues at the given index. */ - com.google.protobuf.ByteString - getTagValuesBytes(int index); + com.google.protobuf.ByteString getTagValuesBytes(int index); /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1124,11 +1278,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26; + * * @return A list containing the tagValueIds. */ - java.util.List - getTagValueIdsList(); + java.util.List getTagValueIdsList(); /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1140,10 +1296,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26; + * * @return The count of tagValueIds. */ int getTagValueIdsCount(); /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1155,11 +1314,14 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26; + * * @param index The index of the element to return. * @return The tagValueIds at the given index. */ java.lang.String getTagValueIds(int index); /** + * + * *
    * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
    * To search against the `tagValueIds`:
@@ -1171,13 +1333,15 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * repeated string tag_value_ids = 26; + * * @param index The index of the value to return. * @return The bytes of the tagValueIds at the given index. */ - com.google.protobuf.ByteString - getTagValueIdsBytes(int index); + com.google.protobuf.ByteString getTagValueIdsBytes(int index); /** + * + * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -1188,10 +1352,13 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * string parent_asset_type = 103; + * * @return The parentAssetType. */ java.lang.String getParentAssetType(); /** + * + * *
    * The type of this resource's immediate parent, if there is one.
    * To search against the `parent_asset_type`:
@@ -1202,8 +1369,8 @@ com.google.cloud.asset.v1.RelatedResources getRelationshipsOrThrow(
    * 
* * string parent_asset_type = 103; + * * @return The bytes for parentAssetType. */ - com.google.protobuf.ByteString - getParentAssetTypeBytes(); + com.google.protobuf.ByteString getParentAssetTypeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java index 94c7f1260..68a2b9c59 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * A saved query which can be shared with others or used later.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery} */ -public final class SavedQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SavedQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SavedQuery) SavedQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SavedQuery.newBuilder() to construct. private SavedQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SavedQuery() { name_ = ""; description_ = ""; @@ -28,16 +46,15 @@ private SavedQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SavedQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SavedQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,89 +74,101 @@ private SavedQuery( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - creator_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastUpdateTime_ != null) { - subBuilder = lastUpdateTime_.toBuilder(); + description_ = s; + break; } - lastUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastUpdateTime_); - lastUpdateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + creator_ = s; + break; + } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastUpdateTime_ != null) { + subBuilder = lastUpdateTime_.toBuilder(); + } + lastUpdateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastUpdateTime_); + lastUpdateTime_ = subBuilder.buildPartial(); + } - lastUpdater_ = s; - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 66: { - com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder subBuilder = null; - if (content_ != null) { - subBuilder = content_.toBuilder(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + lastUpdater_ = s; + break; } - content_ = input.readMessage(com.google.cloud.asset.v1.SavedQuery.QueryContent.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(content_); - content_ = subBuilder.buildPartial(); + case 58: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 66: + { + com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder subBuilder = null; + if (content_ != null) { + subBuilder = content_.toBuilder(); + } + content_ = + input.readMessage( + com.google.cloud.asset.v1.SavedQuery.QueryContent.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(content_); + content_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,43 +176,47 @@ private SavedQuery( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetLabels(); 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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.class, com.google.cloud.asset.v1.SavedQuery.Builder.class); + com.google.cloud.asset.v1.SavedQuery.class, + com.google.cloud.asset.v1.SavedQuery.Builder.class); } - public interface QueryContentOrBuilder extends + public interface QueryContentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SavedQuery.QueryContent) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -194,10 +227,13 @@ public interface QueryContentOrBuilder extends
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ boolean hasIamPolicyAnalysisQuery(); /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -208,10 +244,13 @@ public interface QueryContentOrBuilder extends
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return The iamPolicyAnalysisQuery. */ com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuery(); /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -228,36 +267,37 @@ public interface QueryContentOrBuilder extends
     public com.google.cloud.asset.v1.SavedQuery.QueryContent.QueryContentCase getQueryContentCase();
   }
   /**
+   *
+   *
    * 
    * The query content.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery.QueryContent} */ - public static final class QueryContent extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryContent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SavedQuery.QueryContent) QueryContentOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryContent.newBuilder() to construct. private QueryContent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryContent() { - } + + private QueryContent() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryContent(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryContent( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -276,27 +316,33 @@ private QueryContent( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (queryContentCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_).toBuilder(); + case 10: + { + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (queryContentCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_) + .toBuilder(); + } + queryContent_ = + input.readMessage( + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_); + queryContent_ = subBuilder.buildPartial(); + } + queryContentCase_ = 1; + break; } - queryContent_ = - input.readMessage(com.google.cloud.asset.v1.IamPolicyAnalysisQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_); - queryContent_ = subBuilder.buildPartial(); - } - queryContentCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -304,34 +350,39 @@ private QueryContent( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.QueryContent.class, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); + com.google.cloud.asset.v1.SavedQuery.QueryContent.class, + com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); } private int queryContentCase_ = 0; private java.lang.Object queryContent_; + public enum QueryContentCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { IAM_POLICY_ANALYSIS_QUERY(1), QUERYCONTENT_NOT_SET(0); private final int value; + private QueryContentCase(int value) { this.value = value; } @@ -347,24 +398,28 @@ public static QueryContentCase valueOf(int value) { public static QueryContentCase forNumber(int value) { switch (value) { - case 1: return IAM_POLICY_ANALYSIS_QUERY; - case 0: return QUERYCONTENT_NOT_SET; - default: return null; + case 1: + return IAM_POLICY_ANALYSIS_QUERY; + case 0: + return QUERYCONTENT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryContentCase - getQueryContentCase() { - return QueryContentCase.forNumber( - queryContentCase_); + public QueryContentCase getQueryContentCase() { + return QueryContentCase.forNumber(queryContentCase_); } public static final int IAM_POLICY_ANALYSIS_QUERY_FIELD_NUMBER = 1; /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -375,6 +430,7 @@ public int getNumber() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -382,6 +438,8 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -392,16 +450,19 @@ public boolean hasIamPolicyAnalysisQuery() {
      * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuery() { if (queryContentCase_ == 1) { - return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_; + return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_; } return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance(); } /** + * + * *
      * An IAM Policy Analysis query, which could be used in
      * the
@@ -414,14 +475,16 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer
      * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAnalysisQueryOrBuilder() {
+    public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder
+        getIamPolicyAnalysisQueryOrBuilder() {
       if (queryContentCase_ == 1) {
-         return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_;
+        return (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_;
       }
       return com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -433,8 +496,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (queryContentCase_ == 1) {
         output.writeMessage(1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
       }
@@ -448,8 +510,9 @@ public int getSerializedSize() {
 
       size = 0;
       if (queryContentCase_ == 1) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                1, (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -459,18 +522,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.asset.v1.SavedQuery.QueryContent)) {
         return super.equals(obj);
       }
-      com.google.cloud.asset.v1.SavedQuery.QueryContent other = (com.google.cloud.asset.v1.SavedQuery.QueryContent) obj;
+      com.google.cloud.asset.v1.SavedQuery.QueryContent other =
+          (com.google.cloud.asset.v1.SavedQuery.QueryContent) obj;
 
       if (!getQueryContentCase().equals(other.getQueryContentCase())) return false;
       switch (queryContentCase_) {
         case 1:
-          if (!getIamPolicyAnalysisQuery()
-              .equals(other.getIamPolicyAnalysisQuery())) return false;
+          if (!getIamPolicyAnalysisQuery().equals(other.getIamPolicyAnalysisQuery())) return false;
           break;
         case 0:
         default:
@@ -500,87 +563,93 @@ public int hashCode() {
     }
 
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.nio.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.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SavedQuery.QueryContent parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
-        byte[] data,
-        com.google.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.asset.v1.SavedQuery.QueryContent parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.SavedQuery.QueryContent parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.asset.v1.SavedQuery.QueryContent parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.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.asset.v1.SavedQuery.QueryContent parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .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.asset.v1.SavedQuery.QueryContent parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.cloud.asset.v1.SavedQuery.QueryContent prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -590,27 +659,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * The query content.
      * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery.QueryContent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SavedQuery.QueryContent) com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.QueryContent.class, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); + com.google.cloud.asset.v1.SavedQuery.QueryContent.class, + com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder.class); } // Construct using com.google.cloud.asset.v1.SavedQuery.QueryContent.newBuilder() @@ -618,16 +692,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -637,9 +710,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_QueryContent_descriptor; } @java.lang.Override @@ -658,7 +731,8 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent build() { @java.lang.Override public com.google.cloud.asset.v1.SavedQuery.QueryContent buildPartial() { - com.google.cloud.asset.v1.SavedQuery.QueryContent result = new com.google.cloud.asset.v1.SavedQuery.QueryContent(this); + com.google.cloud.asset.v1.SavedQuery.QueryContent result = + new com.google.cloud.asset.v1.SavedQuery.QueryContent(this); if (queryContentCase_ == 1) { if (iamPolicyAnalysisQueryBuilder_ == null) { result.queryContent_ = queryContent_; @@ -675,38 +749,41 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1.SavedQuery.QueryContent) { - return mergeFrom((com.google.cloud.asset.v1.SavedQuery.QueryContent)other); + return mergeFrom((com.google.cloud.asset.v1.SavedQuery.QueryContent) other); } else { super.mergeFrom(other); return this; @@ -714,15 +791,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SavedQuery.QueryContent other) { - if (other == com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance()) + return this; switch (other.getQueryContentCase()) { - case IAM_POLICY_ANALYSIS_QUERY: { - mergeIamPolicyAnalysisQuery(other.getIamPolicyAnalysisQuery()); - break; - } - case QUERYCONTENT_NOT_SET: { - break; - } + case IAM_POLICY_ANALYSIS_QUERY: + { + mergeIamPolicyAnalysisQuery(other.getIamPolicyAnalysisQuery()); + break; + } + case QUERYCONTENT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -743,7 +823,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.SavedQuery.QueryContent) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.SavedQuery.QueryContent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,12 +833,12 @@ public Builder mergeFrom( } return this; } + private int queryContentCase_ = 0; private java.lang.Object queryContent_; - public QueryContentCase - getQueryContentCase() { - return QueryContentCase.forNumber( - queryContentCase_); + + public QueryContentCase getQueryContentCase() { + return QueryContentCase.forNumber(queryContentCase_); } public Builder clearQueryContent() { @@ -767,10 +848,14 @@ public Builder clearQueryContent() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> iamPolicyAnalysisQueryBuilder_; + com.google.cloud.asset.v1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> + iamPolicyAnalysisQueryBuilder_; /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -781,6 +866,7 @@ public Builder clearQueryContent() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return Whether the iamPolicyAnalysisQuery field is set. */ @java.lang.Override @@ -788,6 +874,8 @@ public boolean hasIamPolicyAnalysisQuery() { return queryContentCase_ == 1; } /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -798,6 +886,7 @@ public boolean hasIamPolicyAnalysisQuery() {
        * 
* * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1; + * * @return The iamPolicyAnalysisQuery. */ @java.lang.Override @@ -815,6 +904,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer } } /** + * + * *
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -826,7 +917,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery getIamPolicyAnalysisQuer
        *
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
-      public Builder setIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
+      public Builder setIamPolicyAnalysisQuery(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
         if (iamPolicyAnalysisQueryBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -840,6 +932,8 @@ public Builder setIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnal
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -863,6 +957,8 @@ public Builder setIamPolicyAnalysisQuery(
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -874,12 +970,17 @@ public Builder setIamPolicyAnalysisQuery(
        *
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
-      public Builder mergeIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
+      public Builder mergeIamPolicyAnalysisQuery(
+          com.google.cloud.asset.v1.IamPolicyAnalysisQuery value) {
         if (iamPolicyAnalysisQueryBuilder_ == null) {
-          if (queryContentCase_ == 1 &&
-              queryContent_ != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) {
-            queryContent_ = com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder((com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_)
-                .mergeFrom(value).buildPartial();
+          if (queryContentCase_ == 1
+              && queryContent_
+                  != com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance()) {
+            queryContent_ =
+                com.google.cloud.asset.v1.IamPolicyAnalysisQuery.newBuilder(
+                        (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             queryContent_ = value;
           }
@@ -895,6 +996,8 @@ public Builder mergeIamPolicyAnalysisQuery(com.google.cloud.asset.v1.IamPolicyAn
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -923,6 +1026,8 @@ public Builder clearIamPolicyAnalysisQuery() {
         return this;
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -934,10 +1039,13 @@ public Builder clearIamPolicyAnalysisQuery() {
        *
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getIamPolicyAnalysisQueryBuilder() {
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder
+          getIamPolicyAnalysisQueryBuilder() {
         return getIamPolicyAnalysisQueryFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -950,7 +1058,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder getIamPolicyAnal
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
       @java.lang.Override
-      public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAnalysisQueryOrBuilder() {
+      public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder
+          getIamPolicyAnalysisQueryOrBuilder() {
         if ((queryContentCase_ == 1) && (iamPolicyAnalysisQueryBuilder_ != null)) {
           return iamPolicyAnalysisQueryBuilder_.getMessageOrBuilder();
         } else {
@@ -961,6 +1070,8 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAna
         }
       }
       /**
+       *
+       *
        * 
        * An IAM Policy Analysis query, which could be used in
        * the
@@ -973,23 +1084,30 @@ public com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder getIamPolicyAna
        * .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder> 
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
+              com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
+              com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>
           getIamPolicyAnalysisQueryFieldBuilder() {
         if (iamPolicyAnalysisQueryBuilder_ == null) {
           if (!(queryContentCase_ == 1)) {
             queryContent_ = com.google.cloud.asset.v1.IamPolicyAnalysisQuery.getDefaultInstance();
           }
-          iamPolicyAnalysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.asset.v1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>(
+          iamPolicyAnalysisQueryBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.asset.v1.IamPolicyAnalysisQuery,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisQuery.Builder,
+                  com.google.cloud.asset.v1.IamPolicyAnalysisQueryOrBuilder>(
                   (com.google.cloud.asset.v1.IamPolicyAnalysisQuery) queryContent_,
                   getParentForChildren(),
                   isClean());
           queryContent_ = null;
         }
         queryContentCase_ = 1;
-        onChanged();;
+        onChanged();
+        ;
         return iamPolicyAnalysisQueryBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1002,12 +1120,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SavedQuery.QueryContent)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SavedQuery.QueryContent)
     private static final com.google.cloud.asset.v1.SavedQuery.QueryContent DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SavedQuery.QueryContent();
     }
@@ -1016,16 +1134,16 @@ public static com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public QueryContent parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new QueryContent(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public QueryContent parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new QueryContent(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1040,12 +1158,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -1054,6 +1173,7 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContent getDefaultInstanceForTy
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1062,14 +1182,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -1078,16 +1199,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1098,12 +1218,15 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * The description of this saved query. This value should be fewer than 255
    * characters.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -1112,30 +1235,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The description of this saved query. This value should be fewer than 255
    * 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 { @@ -1146,11 +1269,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1158,11 +1285,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1170,11 +1301,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1184,11 +1318,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int CREATOR_FIELD_NUMBER = 4; private volatile java.lang.Object creator_; /** + * + * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creator. */ @java.lang.Override @@ -1197,29 +1334,29 @@ public java.lang.String getCreator() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creator_ = s; return s; } } /** + * + * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creator. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreatorBytes() { + public com.google.protobuf.ByteString getCreatorBytes() { java.lang.Object ref = creator_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creator_ = b; return b; } else { @@ -1230,11 +1367,16 @@ public java.lang.String getCreator() { public static final int LAST_UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp lastUpdateTime_; /** + * + * *
    * Output only. The last update time of this saved query.
    * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastUpdateTime field is set. */ @java.lang.Override @@ -1242,23 +1384,34 @@ public boolean hasLastUpdateTime() { return lastUpdateTime_ != null; } /** + * + * *
    * Output only. The last update time of this saved query.
    * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastUpdateTime() { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } /** + * + * *
    * Output only. The last update time of this saved query.
    * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { @@ -1268,12 +1421,15 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { public static final int LAST_UPDATER_FIELD_NUMBER = 6; private volatile java.lang.Object lastUpdater_; /** + * + * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The lastUpdater. */ @java.lang.Override @@ -1282,30 +1438,30 @@ public java.lang.String getLastUpdater() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastUpdater_ = s; return s; } } /** + * + * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for lastUpdater. */ @java.lang.Override - public com.google.protobuf.ByteString - getLastUpdaterBytes() { + public com.google.protobuf.ByteString getLastUpdaterBytes() { java.lang.Object ref = lastUpdater_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastUpdater_ = b; return b; } else { @@ -1314,24 +1470,23 @@ public java.lang.String getLastUpdater() { } public static final int LABELS_FIELD_NUMBER = 7; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1340,6 +1495,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1348,22 +1505,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 7;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1373,11 +1530,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1387,16 +1545,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -1406,12 +1564,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1421,11 +1578,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CONTENT_FIELD_NUMBER = 8;
   private com.google.cloud.asset.v1.SavedQuery.QueryContent content_;
   /**
+   *
+   *
    * 
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; + * * @return Whether the content field is set. */ @java.lang.Override @@ -1433,18 +1593,25 @@ public boolean hasContent() { return content_ != null; } /** + * + * *
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; + * * @return The content. */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery.QueryContent getContent() { - return content_ == null ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() + : content_; } /** + * + * *
    * The query content.
    * 
@@ -1457,6 +1624,7 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1468,8 +1636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1488,12 +1655,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdater_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, lastUpdater_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (content_ != null) { output.writeMessage(8, getContent()); } @@ -1513,32 +1676,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, creator_); } if (lastUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getLastUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLastUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUpdater_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, lastUpdater_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, labels__); } if (content_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getContent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getContent()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1548,37 +1708,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.SavedQuery)) { return super.equals(obj); } com.google.cloud.asset.v1.SavedQuery other = (com.google.cloud.asset.v1.SavedQuery) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!getCreator() - .equals(other.getCreator())) return false; + if (!getCreator().equals(other.getCreator())) return false; if (hasLastUpdateTime() != other.hasLastUpdateTime()) return false; if (hasLastUpdateTime()) { - if (!getLastUpdateTime() - .equals(other.getLastUpdateTime())) return false; + if (!getLastUpdateTime().equals(other.getLastUpdateTime())) return false; } - if (!getLastUpdater() - .equals(other.getLastUpdater())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getLastUpdater().equals(other.getLastUpdater())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasContent() != other.hasContent()) return false; if (hasContent()) { - if (!getContent() - .equals(other.getContent())) return false; + if (!getContent().equals(other.getContent())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1620,140 +1772,146 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.SavedQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.SavedQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SavedQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SavedQuery parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1.SavedQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SavedQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.SavedQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SavedQuery parseFrom( - byte[] data, - com.google.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.asset.v1.SavedQuery 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.asset.v1.SavedQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SavedQuery 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.asset.v1.SavedQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SavedQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.SavedQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.SavedQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A saved query which can be shared with others or used later.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SavedQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SavedQuery) com.google.cloud.asset.v1.SavedQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 7: return internalGetMutableLabels(); 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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SavedQuery.class, com.google.cloud.asset.v1.SavedQuery.Builder.class); + com.google.cloud.asset.v1.SavedQuery.class, + com.google.cloud.asset.v1.SavedQuery.Builder.class); } // Construct using com.google.cloud.asset.v1.SavedQuery.newBuilder() @@ -1761,16 +1919,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1805,9 +1962,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SavedQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SavedQuery_descriptor; } @java.lang.Override @@ -1857,38 +2014,39 @@ public com.google.cloud.asset.v1.SavedQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SavedQuery) { - return mergeFrom((com.google.cloud.asset.v1.SavedQuery)other); + return mergeFrom((com.google.cloud.asset.v1.SavedQuery) other); } else { super.mergeFrom(other); return this; @@ -1919,8 +2077,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SavedQuery other) { lastUpdater_ = other.lastUpdater_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasContent()) { mergeContent(other.getContent()); } @@ -1952,10 +2109,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1964,13 +2124,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; @@ -1979,6 +2139,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -1987,15 +2149,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2003,6 +2164,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2011,20 +2174,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2033,15 +2198,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the saved query. The format must be:
      * * projects/project_number/savedQueries/saved_query_id
@@ -2050,16 +2218,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; @@ -2067,19 +2235,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * The description of this saved query. This value should be fewer than 255
      * 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; @@ -2088,21 +2258,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description of this saved query. This value should be fewer than 255
      * 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 { @@ -2110,57 +2281,64 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description of this saved query. This value should be fewer than 255
      * 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 this saved query. This value should be fewer than 255
      * characters.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The description of this saved query. This value should be fewer than 255
      * 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; @@ -2168,39 +2346,58 @@ public Builder setDescriptionBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.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 create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2216,14 +2413,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.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(); @@ -2234,17 +2434,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.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; } @@ -2256,11 +2460,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2274,48 +2482,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.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 create time of this saved query.
      * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -2323,18 +2547,20 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private java.lang.Object creator_ = ""; /** + * + * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creator. */ public java.lang.String getCreator() { java.lang.Object ref = creator_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); creator_ = s; return s; @@ -2343,20 +2569,21 @@ public java.lang.String getCreator() { } } /** + * + * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creator. */ - public com.google.protobuf.ByteString - getCreatorBytes() { + public com.google.protobuf.ByteString getCreatorBytes() { java.lang.Object ref = creator_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); creator_ = b; return b; } else { @@ -2364,54 +2591,61 @@ public java.lang.String getCreator() { } } /** + * + * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The creator to set. * @return This builder for chaining. */ - public Builder setCreator( - java.lang.String value) { + public Builder setCreator(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creator_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCreator() { - + creator_ = getDefaultInstance().getCreator(); onChanged(); return this; } /** + * + * *
      * Output only. The account's email address who has created this saved query.
      * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for creator to set. * @return This builder for chaining. */ - public Builder setCreatorBytes( - com.google.protobuf.ByteString value) { + public Builder setCreatorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creator_ = value; onChanged(); return this; @@ -2419,39 +2653,58 @@ public Builder setCreatorBytes( private com.google.protobuf.Timestamp lastUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastUpdateTimeBuilder_; /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastUpdateTime field is set. */ public boolean hasLastUpdateTime() { return lastUpdateTimeBuilder_ != null || lastUpdateTime_ != null; } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastUpdateTime. */ public com.google.protobuf.Timestamp getLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { - return lastUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } else { return lastUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { @@ -2467,14 +2720,17 @@ public Builder setLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setLastUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastUpdateTimeBuilder_ == null) { lastUpdateTime_ = builderForValue.build(); onChanged(); @@ -2485,17 +2741,23 @@ public Builder setLastUpdateTime( return this; } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { if (lastUpdateTimeBuilder_ == null) { if (lastUpdateTime_ != null) { lastUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { lastUpdateTime_ = value; } @@ -2507,11 +2769,15 @@ public Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearLastUpdateTime() { if (lastUpdateTimeBuilder_ == null) { @@ -2525,48 +2791,64 @@ public Builder clearLastUpdateTime() { return this; } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder() { - + onChanged(); return getLastUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { if (lastUpdateTimeBuilder_ != null) { return lastUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return lastUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdateTime_; + return lastUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastUpdateTime_; } } /** + * + * *
      * Output only. The last update time of this saved query.
      * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastUpdateTimeFieldBuilder() { if (lastUpdateTimeBuilder_ == null) { - lastUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastUpdateTime(), - getParentForChildren(), - isClean()); + lastUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastUpdateTime(), getParentForChildren(), isClean()); lastUpdateTime_ = null; } return lastUpdateTimeBuilder_; @@ -2574,19 +2856,21 @@ public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder() { private java.lang.Object lastUpdater_ = ""; /** + * + * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The lastUpdater. */ public java.lang.String getLastUpdater() { java.lang.Object ref = lastUpdater_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); lastUpdater_ = s; return s; @@ -2595,21 +2879,22 @@ public java.lang.String getLastUpdater() { } } /** + * + * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for lastUpdater. */ - public com.google.protobuf.ByteString - getLastUpdaterBytes() { + public com.google.protobuf.ByteString getLastUpdaterBytes() { java.lang.Object ref = lastUpdater_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); lastUpdater_ = b; return b; } else { @@ -2617,78 +2902,84 @@ public java.lang.String getLastUpdater() { } } /** + * + * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The lastUpdater to set. * @return This builder for chaining. */ - public Builder setLastUpdater( - java.lang.String value) { + public Builder setLastUpdater(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastUpdater_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLastUpdater() { - + lastUpdater_ = getDefaultInstance().getLastUpdater(); onChanged(); return this; } /** + * + * *
      * Output only. The account's email address who has updated this saved query
      * most recently.
      * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for lastUpdater to set. * @return This builder for chaining. */ - public Builder setLastUpdaterBytes( - com.google.protobuf.ByteString value) { + public Builder setLastUpdaterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastUpdater_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2700,6 +2991,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2708,22 +3001,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 7;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2733,11 +3026,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2747,16 +3041,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2766,12 +3061,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2779,11 +3073,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2792,23 +3087,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2817,19 +3110,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 7;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels applied on the resource.
      * This value should not contain more than 10 entries. The key and value of
@@ -2838,44 +3132,54 @@ public Builder putLabels(
      *
      * map<string, string> labels = 7;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.cloud.asset.v1.SavedQuery.QueryContent content_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.SavedQuery.QueryContent, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder> contentBuilder_;
+            com.google.cloud.asset.v1.SavedQuery.QueryContent,
+            com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder,
+            com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder>
+        contentBuilder_;
     /**
+     *
+     *
      * 
      * The query content.
      * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; + * * @return Whether the content field is set. */ public boolean hasContent() { return contentBuilder_ != null || content_ != null; } /** + * + * *
      * The query content.
      * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; + * * @return The content. */ public com.google.cloud.asset.v1.SavedQuery.QueryContent getContent() { if (contentBuilder_ == null) { - return content_ == null ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() + : content_; } else { return contentBuilder_.getMessage(); } } /** + * + * *
      * The query content.
      * 
@@ -2896,6 +3200,8 @@ public Builder setContent(com.google.cloud.asset.v1.SavedQuery.QueryContent valu return this; } /** + * + * *
      * The query content.
      * 
@@ -2914,6 +3220,8 @@ public Builder setContent( return this; } /** + * + * *
      * The query content.
      * 
@@ -2924,7 +3232,9 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va if (contentBuilder_ == null) { if (content_ != null) { content_ = - com.google.cloud.asset.v1.SavedQuery.QueryContent.newBuilder(content_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.SavedQuery.QueryContent.newBuilder(content_) + .mergeFrom(value) + .buildPartial(); } else { content_ = value; } @@ -2936,6 +3246,8 @@ public Builder mergeContent(com.google.cloud.asset.v1.SavedQuery.QueryContent va return this; } /** + * + * *
      * The query content.
      * 
@@ -2954,6 +3266,8 @@ public Builder clearContent() { return this; } /** + * + * *
      * The query content.
      * 
@@ -2961,11 +3275,13 @@ public Builder clearContent() { * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; */ public com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder getContentBuilder() { - + onChanged(); return getContentFieldBuilder().getBuilder(); } /** + * + * *
      * The query content.
      * 
@@ -2976,11 +3292,14 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBu if (contentBuilder_ != null) { return contentBuilder_.getMessageOrBuilder(); } else { - return content_ == null ? - com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() : content_; + return content_ == null + ? com.google.cloud.asset.v1.SavedQuery.QueryContent.getDefaultInstance() + : content_; } } /** + * + * *
      * The query content.
      * 
@@ -2988,21 +3307,24 @@ public com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder getContentOrBu * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery.QueryContent, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder> + com.google.cloud.asset.v1.SavedQuery.QueryContent, + com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, + com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { - contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery.QueryContent, com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder>( - getContent(), - getParentForChildren(), - isClean()); + contentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery.QueryContent, + com.google.cloud.asset.v1.SavedQuery.QueryContent.Builder, + com.google.cloud.asset.v1.SavedQuery.QueryContentOrBuilder>( + getContent(), getParentForChildren(), isClean()); content_ = null; } return contentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3012,12 +3334,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SavedQuery) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SavedQuery) private static final com.google.cloud.asset.v1.SavedQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SavedQuery(); } @@ -3026,16 +3348,16 @@ public static com.google.cloud.asset.v1.SavedQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SavedQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SavedQuery(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SavedQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SavedQuery(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3050,6 +3372,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.SavedQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java index 96eeda6cf..190e281c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SavedQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SavedQueryOrBuilder extends +public interface SavedQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SavedQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -16,10 +34,13 @@ public interface SavedQueryOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the saved query. The format must be:
    * * projects/project_number/savedQueries/saved_query_id
@@ -28,130 +49,172 @@ public interface SavedQueryOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The description of this saved query. This value should be fewer than 255
    * characters.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The description of this saved query. This value should be fewer than 255
    * characters.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The create time of this saved query.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The creator. */ java.lang.String getCreator(); /** + * + * *
    * Output only. The account's email address who has created this saved query.
    * 
* * string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for creator. */ - com.google.protobuf.ByteString - getCreatorBytes(); + com.google.protobuf.ByteString getCreatorBytes(); /** + * + * *
    * Output only. The last update time of this saved query.
    * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the lastUpdateTime field is set. */ boolean hasLastUpdateTime(); /** + * + * *
    * Output only. The last update time of this saved query.
    * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The lastUpdateTime. */ com.google.protobuf.Timestamp getLastUpdateTime(); /** + * + * *
    * Output only. The last update time of this saved query.
    * 
* - * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The lastUpdater. */ java.lang.String getLastUpdater(); /** + * + * *
    * Output only. The account's email address who has updated this saved query
    * most recently.
    * 
* * string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for lastUpdater. */ - com.google.protobuf.ByteString - getLastUpdaterBytes(); + com.google.protobuf.ByteString getLastUpdaterBytes(); /** + * + * *
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -162,6 +225,8 @@ public interface SavedQueryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -170,15 +235,13 @@ public interface SavedQueryOrBuilder extends
    *
    * map<string, string> labels = 7;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -187,9 +250,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -200,11 +264,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels applied on the resource.
    * This value should not contain more than 10 entries. The key and value of
@@ -213,29 +279,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; + * * @return Whether the content field is set. */ boolean hasContent(); /** + * + * *
    * The query content.
    * 
* * .google.cloud.asset.v1.SavedQuery.QueryContent content = 8; + * * @return The content. */ com.google.cloud.asset.v1.SavedQuery.QueryContent getContent(); /** + * + * *
    * The query content.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java similarity index 85% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java index afe6d7732..ea5d5e134 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Search all IAM policies request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesRequest} */ -public final class SearchAllIamPoliciesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllIamPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllIamPoliciesRequest) SearchAllIamPoliciesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesRequest.newBuilder() to construct. private SearchAllIamPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllIamPoliciesRequest() { scope_ = ""; query_ = ""; @@ -29,16 +47,15 @@ private SearchAllIamPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllIamPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,51 +75,56 @@ private SearchAllIamPoliciesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 24: { + scope_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + pageToken_ = s; + break; } - assetTypes_.add(s); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,8 +132,7 @@ private SearchAllIamPoliciesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -120,22 +141,27 @@ private SearchAllIamPoliciesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -150,6 +176,7 @@ private SearchAllIamPoliciesRequest(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -158,14 +185,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -180,16 +208,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -200,6 +227,8 @@ public java.lang.String getScope() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -244,6 +273,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -252,14 +282,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -304,16 +335,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -324,6 +354,8 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -333,6 +365,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -343,6 +376,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -351,6 +386,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -359,14 +395,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -375,16 +412,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -395,6 +431,8 @@ public java.lang.String getPageToken() { public static final int ASSET_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList assetTypes_; /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -413,13 +451,15 @@ public java.lang.String getPageToken() {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -438,12 +478,15 @@ public java.lang.String getPageToken() {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -462,6 +505,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -469,6 +513,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -487,17 +533,19 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int ORDER_BY_FIELD_NUMBER = 7; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -512,6 +560,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -520,14 +569,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -542,16 +592,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -560,6 +609,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -571,8 +621,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -607,8 +656,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -632,25 +680,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.SearchAllIamPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest other = (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) obj; - - if (!getScope() - .equals(other.getScope())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest other = + (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) obj; + + if (!getScope().equals(other.getScope())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,117 +725,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.nio.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.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( - byte[] data, - com.google.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.asset.v1.SearchAllIamPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all IAM policies request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllIamPoliciesRequest) com.google.cloud.asset.v1.SearchAllIamPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.class, + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.newBuilder() @@ -800,16 +853,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -829,9 +881,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override @@ -850,7 +902,8 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest buildPartial() { - com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result = new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(this); + com.google.cloud.asset.v1.SearchAllIamPoliciesRequest result = + new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(this); int from_bitField0_ = bitField0_; result.scope_ = scope_; result.query_ = query_; @@ -870,38 +923,39 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesRequest)other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) other); } else { super.mergeFrom(other); return this; @@ -909,7 +963,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllIamPoliciesRequest other) { - if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesRequest.getDefaultInstance()) + return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -958,7 +1013,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -967,10 +1023,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object scope_ = ""; /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -985,13 +1044,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1000,6 +1059,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1014,15 +1075,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -1030,6 +1090,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1044,20 +1106,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1072,15 +1136,18 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the IAM policies within the `scope`. The caller must
@@ -1095,16 +1162,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -1112,6 +1179,8 @@ public Builder setScopeBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1156,13 +1225,13 @@ public Builder setScopeBytes(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1171,6 +1240,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1215,15 +1286,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1231,6 +1301,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1275,20 +1347,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1333,15 +1407,18 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -1386,23 +1463,25 @@ public Builder clearQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1412,6 +1491,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1419,6 +1499,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1428,16 +1510,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1447,10 +1532,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1458,6 +1544,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1466,13 +1554,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1481,6 +1569,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1489,15 +1579,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1505,6 +1594,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1513,20 +1604,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1535,15 +1628,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding
      * call to this method. `page_token` must be the value of `next_page_token`
@@ -1552,29 +1648,33 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1593,13 +1693,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1618,12 +1720,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1642,6 +1747,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1649,6 +1755,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1667,14 +1775,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1693,21 +1803,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1726,20 +1838,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1758,18 +1872,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1788,6 +1903,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1797,6 +1913,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * Optional. A list of asset types that the IAM policies are attached to. If
      * empty, it will search the IAM policies that are attached to all the
@@ -1815,15 +1933,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1832,6 +1950,8 @@ public Builder addAssetTypesBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1846,13 +1966,13 @@ public Builder addAssetTypesBytes(
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1861,6 +1981,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1875,15 +1997,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1891,6 +2012,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1905,20 +2028,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1933,15 +2058,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1956,23 +2084,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1982,12 +2110,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllIamPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllIamPoliciesRequest) private static final com.google.cloud.asset.v1.SearchAllIamPoliciesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllIamPoliciesRequest(); } @@ -1996,16 +2124,16 @@ public static com.google.cloud.asset.v1.SearchAllIamPoliciesRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2020,6 +2148,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java index 415445896..09719ef39 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllIamPoliciesRequestOrBuilder extends +public interface SearchAllIamPoliciesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllIamPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -22,10 +40,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the IAM policies within the `scope`. The caller must
@@ -40,12 +61,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -90,10 +113,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
@@ -138,12 +164,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -153,11 +181,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -166,10 +197,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding
    * call to this method. `page_token` must be the value of `next_page_token`
@@ -178,12 +212,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -202,11 +238,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -225,10 +263,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -247,11 +288,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * Optional. A list of asset types that the IAM policies are attached to. If
    * empty, it will search the IAM policies that are attached to all the
@@ -270,13 +314,15 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -291,10 +337,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -309,8 +358,8 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string order_by = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java index fa526bc5f..c8ed054de 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Search all IAM policies response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesResponse} */ -public final class SearchAllIamPoliciesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllIamPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllIamPoliciesResponse) SearchAllIamPoliciesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesResponse.newBuilder() to construct. private SearchAllIamPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllIamPoliciesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private SearchAllIamPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllIamPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private SearchAllIamPoliciesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + results_.add( + input.readMessage( + com.google.cloud.asset.v1.IamPolicySearchResult.parser(), extensionRegistry)); + break; } - results_.add( - input.readMessage(com.google.cloud.asset.v1.IamPolicySearchResult.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private SearchAllIamPoliciesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -94,22 +114,27 @@ private SearchAllIamPoliciesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** + * + * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -122,6 +147,8 @@ public java.util.List getResult
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -130,11 +157,13 @@ public java.util.List getResult
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResultsOrBuilderList() {
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -147,6 +176,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -159,6 +190,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
     return results_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -167,14 +200,15 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index) {
     return results_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -182,6 +216,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -190,14 +225,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -205,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -223,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -252,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,17 +300,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.asset.v1.SearchAllIamPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse other = (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) obj; + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse other = + (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) obj; - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +333,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.nio.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.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( - byte[] data, - com.google.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.asset.v1.SearchAllIamPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllIamPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all IAM policies response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllIamPoliciesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllIamPoliciesResponse) com.google.cloud.asset.v1.SearchAllIamPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.class, + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.newBuilder() @@ -418,17 +461,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) { getResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override @@ -465,7 +508,8 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse buildPartial() { - com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result = new com.google.cloud.asset.v1.SearchAllIamPoliciesResponse(this); + com.google.cloud.asset.v1.SearchAllIamPoliciesResponse result = + new com.google.cloud.asset.v1.SearchAllIamPoliciesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -485,38 +529,39 @@ public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesResponse)other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) other); } else { super.mergeFrom(other); return this; @@ -524,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse other) { - if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.SearchAllIamPoliciesResponse.getDefaultInstance()) + return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -543,9 +589,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllIamPoliciesResponse resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResultsFieldBuilder() : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResultsFieldBuilder() + : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -574,7 +621,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.SearchAllIamPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,21 +631,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(results_); + results_ = + new java.util.ArrayList(results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.IamPolicySearchResult, com.google.cloud.asset.v1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder> resultsBuilder_; + com.google.cloud.asset.v1.IamPolicySearchResult, + com.google.cloud.asset.v1.IamPolicySearchResult.Builder, + com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder> + resultsBuilder_; /** + * + * *
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -613,6 +669,8 @@ public java.util.List getResult
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -628,6 +686,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -643,6 +703,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -650,8 +712,7 @@ public com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index) {
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public Builder setResults(
-        int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
+    public Builder setResults(int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -665,6 +726,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -684,6 +747,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -705,6 +770,8 @@ public Builder addResults(com.google.cloud.asset.v1.IamPolicySearchResult value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -712,8 +779,7 @@ public Builder addResults(com.google.cloud.asset.v1.IamPolicySearchResult value)
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public Builder addResults(
-        int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
+    public Builder addResults(int index, com.google.cloud.asset.v1.IamPolicySearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -727,6 +793,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -746,6 +814,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -765,6 +835,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -776,8 +848,7 @@ public Builder addAllResults(
         java.lang.Iterable values) {
       if (resultsBuilder_ == null) {
         ensureResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, results_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
         onChanged();
       } else {
         resultsBuilder_.addAllMessages(values);
@@ -785,6 +856,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -803,6 +876,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -821,6 +896,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -828,11 +905,12 @@ public Builder removeResults(int index) {
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder getResultsBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder getResultsBuilder(int index) {
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -840,14 +918,16 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder getResultsBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index) {
       if (resultsBuilder_ == null) {
-        return results_.get(index);  } else {
+        return results_.get(index);
+      } else {
         return resultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -855,8 +935,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public java.util.List 
-         getResultsOrBuilderList() {
+    public java.util.List
+        getResultsOrBuilderList() {
       if (resultsBuilder_ != null) {
         return resultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -864,6 +944,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -872,10 +954,12 @@ public com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuil
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
     public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder() {
-      return getResultsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
+      return getResultsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -883,12 +967,13 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder(
-        int index) {
-      return getResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
+    public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder(int index) {
+      return getResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -896,20 +981,23 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
      *
      * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
      */
-    public java.util.List 
-         getResultsBuilderList() {
+    public java.util.List
+        getResultsBuilderList() {
       return getResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.IamPolicySearchResult, com.google.cloud.asset.v1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder> 
+            com.google.cloud.asset.v1.IamPolicySearchResult,
+            com.google.cloud.asset.v1.IamPolicySearchResult.Builder,
+            com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>
         getResultsFieldBuilder() {
       if (resultsBuilder_ == null) {
-        resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.IamPolicySearchResult, com.google.cloud.asset.v1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>(
-                results_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        resultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.IamPolicySearchResult,
+                com.google.cloud.asset.v1.IamPolicySearchResult.Builder,
+                com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder>(
+                results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         results_ = null;
       }
       return resultsBuilder_;
@@ -917,6 +1005,8 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -924,13 +1014,13 @@ public com.google.cloud.asset.v1.IamPolicySearchResult.Builder addResultsBuilder
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -939,6 +1029,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -946,15 +1038,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -962,6 +1053,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -969,20 +1062,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -990,15 +1085,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1006,23 +1104,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1032,12 +1130,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllIamPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllIamPoliciesResponse) private static final com.google.cloud.asset.v1.SearchAllIamPoliciesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllIamPoliciesResponse(); } @@ -1046,16 +1144,16 @@ public static com.google.cloud.asset.v1.SearchAllIamPoliciesResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1168,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java index e1866ae58..56d9e7a7a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllIamPoliciesResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllIamPoliciesResponseOrBuilder extends +public interface SearchAllIamPoliciesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllIamPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -15,9 +33,10 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
-  java.util.List 
-      getResultsList();
+  java.util.List getResultsList();
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -27,6 +46,8 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    */
   com.google.cloud.asset.v1.IamPolicySearchResult getResults(int index);
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -36,6 +57,8 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    */
   int getResultsCount();
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -43,9 +66,11 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
-  java.util.List 
+  java.util.List
       getResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -53,10 +78,11 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
    */
-  com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -64,10 +90,13 @@ com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -75,8 +104,8 @@ com.google.cloud.asset.v1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java similarity index 85% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java index 273b4288f..2fca9fd40 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Search all resources request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesRequest} */ -public final class SearchAllResourcesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllResourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllResourcesRequest) SearchAllResourcesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllResourcesRequest.newBuilder() to construct. private SearchAllResourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllResourcesRequest() { scope_ = ""; query_ = ""; @@ -29,16 +47,15 @@ private SearchAllResourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllResourcesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,64 +75,71 @@ private SearchAllResourcesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - scope_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - query_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + scope_ = s; + break; } - assetTypes_.add(s); - break; - } - case 32: { + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; + } + case 32: + { + pageSize_ = input.readInt32(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 66: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (readMask_ != null) { - subBuilder = readMask_.toBuilder(); + orderBy_ = s; + break; } - readMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readMask_); - readMask_ = subBuilder.buildPartial(); + case 66: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -123,8 +147,7 @@ private SearchAllResourcesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -133,22 +156,27 @@ private SearchAllResourcesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesRequest.class, + com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -163,6 +191,7 @@ private SearchAllResourcesRequest(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -171,14 +200,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -193,16 +223,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -213,6 +242,8 @@ public java.lang.String getScope() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -255,6 +286,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -263,14 +295,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -313,16 +346,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -333,6 +365,8 @@ public java.lang.String getQuery() { public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -348,13 +382,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -370,12 +406,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -391,6 +430,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -398,6 +438,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -413,17 +455,19 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -433,6 +477,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -443,6 +488,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -451,6 +498,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -459,14 +507,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -475,16 +524,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -495,6 +543,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 6; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -519,6 +569,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -527,14 +578,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -559,16 +611,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -579,6 +630,8 @@ public java.lang.String getOrderBy() { public static final int READ_MASK_FIELD_NUMBER = 8; private com.google.protobuf.FieldMask readMask_; /** + * + * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -610,7 +663,9 @@ public java.lang.String getOrderBy() {
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ @java.lang.Override @@ -618,6 +673,8 @@ public boolean hasReadMask() { return readMask_ != null; } /** + * + * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -649,7 +706,9 @@ public boolean hasReadMask() {
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ @java.lang.Override @@ -657,6 +716,8 @@ public com.google.protobuf.FieldMask getReadMask() { return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } /** + * + * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -688,7 +749,8 @@ public com.google.protobuf.FieldMask getReadMask() {
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { @@ -696,6 +758,7 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -707,8 +770,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -754,8 +816,7 @@ public int getSerializedSize() { size += 1 * getAssetTypesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -764,8 +825,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } if (readMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getReadMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -775,29 +835,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1.SearchAllResourcesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllResourcesRequest other = (com.google.cloud.asset.v1.SearchAllResourcesRequest) obj; - - if (!getScope() - .equals(other.getScope())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.asset.v1.SearchAllResourcesRequest other = + (com.google.cloud.asset.v1.SearchAllResourcesRequest) obj; + + if (!getScope().equals(other.getScope())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (hasReadMask() != other.hasReadMask()) return false; if (hasReadMask()) { - if (!getReadMask() - .equals(other.getReadMask())) return false; + if (!getReadMask().equals(other.getReadMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -834,117 +888,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( - java.nio.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.asset.v1.SearchAllResourcesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( - byte[] data, - com.google.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.asset.v1.SearchAllResourcesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllResourcesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.SearchAllResourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllResourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all resources request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllResourcesRequest) com.google.cloud.asset.v1.SearchAllResourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesRequest.class, + com.google.cloud.asset.v1.SearchAllResourcesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllResourcesRequest.newBuilder() @@ -952,16 +1015,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -987,9 +1049,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesRequest_descriptor; } @java.lang.Override @@ -1008,7 +1070,8 @@ public com.google.cloud.asset.v1.SearchAllResourcesRequest build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllResourcesRequest buildPartial() { - com.google.cloud.asset.v1.SearchAllResourcesRequest result = new com.google.cloud.asset.v1.SearchAllResourcesRequest(this); + com.google.cloud.asset.v1.SearchAllResourcesRequest result = + new com.google.cloud.asset.v1.SearchAllResourcesRequest(this); int from_bitField0_ = bitField0_; result.scope_ = scope_; result.query_ = query_; @@ -1033,38 +1096,39 @@ public com.google.cloud.asset.v1.SearchAllResourcesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllResourcesRequest) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesRequest)other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesRequest) other); } else { super.mergeFrom(other); return this; @@ -1072,7 +1136,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllResourcesRequest other) { - if (other == com.google.cloud.asset.v1.SearchAllResourcesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.SearchAllResourcesRequest.getDefaultInstance()) + return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -1124,7 +1189,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.SearchAllResourcesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.SearchAllResourcesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1133,10 +1199,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object scope_ = ""; /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1151,13 +1220,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1166,6 +1235,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1180,15 +1251,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -1196,6 +1266,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1210,20 +1282,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1238,15 +1312,18 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * Required. A scope can be a project, a folder, or an organization. The
      * search is limited to the resources within the `scope`. The caller must be
@@ -1261,16 +1338,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -1278,6 +1355,8 @@ public Builder setScopeBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1320,13 +1399,13 @@ public Builder setScopeBytes(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1335,6 +1414,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1377,15 +1458,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1393,6 +1473,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1435,20 +1517,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1491,15 +1575,18 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The query statement. See [how to construct a
      * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -1542,29 +1629,33 @@ public Builder clearQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1580,13 +1671,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1602,12 +1695,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1623,6 +1719,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1630,6 +1727,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1645,14 +1744,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1668,21 +1769,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1698,20 +1801,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1727,18 +1832,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1754,6 +1860,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1763,6 +1870,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty,
      * it will search all the [searchable asset
@@ -1778,23 +1887,25 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1804,6 +1915,7 @@ public Builder addAssetTypesBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1811,6 +1923,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1820,16 +1934,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped
      * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -1839,10 +1956,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1850,6 +1968,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -1858,13 +1978,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1873,6 +1993,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -1881,15 +2003,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1897,6 +2018,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -1905,20 +2028,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -1927,15 +2052,18 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the
      * preceding call to this method. `page_token` must be the value of
@@ -1944,16 +2072,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1961,6 +2089,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -1985,13 +2115,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -2000,6 +2130,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2024,15 +2156,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2040,6 +2171,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2064,20 +2197,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2102,15 +2237,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying the sorting order of
      * the results. The default order is ascending. Add " DESC" after the field
@@ -2135,16 +2273,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -2152,8 +2290,13 @@ public Builder setOrderByBytes( private com.google.protobuf.FieldMask readMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> readMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2185,13 +2328,17 @@ public Builder setOrderByBytes(
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ public boolean hasReadMask() { return readMaskBuilder_ != null || readMask_ != null; } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2223,7 +2370,9 @@ public boolean hasReadMask() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ public com.google.protobuf.FieldMask getReadMask() { @@ -2234,6 +2383,8 @@ public com.google.protobuf.FieldMask getReadMask() { } } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2265,7 +2416,8 @@ public com.google.protobuf.FieldMask getReadMask() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { @@ -2281,6 +2433,8 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2312,10 +2466,10 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setReadMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (readMaskBuilder_ == null) { readMask_ = builderForValue.build(); onChanged(); @@ -2326,6 +2480,8 @@ public Builder setReadMask( return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2357,13 +2513,14 @@ public Builder setReadMask(
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { if (readMaskBuilder_ == null) { if (readMask_ != null) { readMask_ = - com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); } else { readMask_ = value; } @@ -2375,6 +2532,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2406,7 +2565,8 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReadMask() { if (readMaskBuilder_ == null) { @@ -2420,6 +2580,8 @@ public Builder clearReadMask() { return this; } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2451,14 +2613,17 @@ public Builder clearReadMask() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { - + onChanged(); return getReadMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2490,17 +2655,19 @@ public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { if (readMaskBuilder_ != null) { return readMaskBuilder_.getMessageOrBuilder(); } else { - return readMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; } } /** + * + * *
      * Optional. A comma-separated list of fields specifying which fields to be
      * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -2532,24 +2699,28 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
      * Any invalid field path will trigger INVALID_ARGUMENT error.
      * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getReadMaskFieldBuilder() { if (readMaskBuilder_ == null) { - readMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getReadMask(), - getParentForChildren(), - isClean()); + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); readMask_ = null; } return readMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2559,12 +2730,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllResourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllResourcesRequest) private static final com.google.cloud.asset.v1.SearchAllResourcesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllResourcesRequest(); } @@ -2573,16 +2744,16 @@ public static com.google.cloud.asset.v1.SearchAllResourcesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2597,6 +2768,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java similarity index 92% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java index 19bcaa188..8bfa2292b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllResourcesRequestOrBuilder extends +public interface SearchAllResourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllResourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -22,10 +40,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. A scope can be a project, a folder, or an organization. The
    * search is limited to the resources within the `scope`. The caller must be
@@ -40,12 +61,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -88,10 +111,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Optional. The query statement. See [how to construct a
    * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
@@ -134,12 +160,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -155,11 +183,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -175,10 +205,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -194,11 +227,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty,
    * it will search all the [searchable asset
@@ -214,13 +250,15 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped
    * at 500 even if a larger value is given. If set to zero, server will pick an
@@ -230,11 +268,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -243,10 +284,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the
    * preceding call to this method. `page_token` must be the value of
@@ -255,12 +299,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -285,10 +331,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. A comma-separated list of fields specifying the sorting order of
    * the results. The default order is ascending. Add " DESC" after the field
@@ -313,12 +362,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -350,11 +401,15 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the readMask field is set. */ boolean hasReadMask(); /** + * + * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -386,11 +441,15 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The readMask. */ com.google.protobuf.FieldMask getReadMask(); /** + * + * *
    * Optional. A comma-separated list of fields specifying which fields to be
    * returned in ResourceSearchResult. Only '*' or combination of top level
@@ -422,7 +481,8 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * Any invalid field path will trigger INVALID_ARGUMENT error.
    * 
* - * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java index 652140b9c..a5e70696e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Search all resources response.
  * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesResponse} */ -public final class SearchAllResourcesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllResourcesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.SearchAllResourcesResponse) SearchAllResourcesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllResourcesResponse.newBuilder() to construct. private SearchAllResourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllResourcesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private SearchAllResourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllResourcesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private SearchAllResourcesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + results_.add( + input.readMessage( + com.google.cloud.asset.v1.ResourceSearchResult.parser(), extensionRegistry)); + break; } - results_.add( - input.readMessage(com.google.cloud.asset.v1.ResourceSearchResult.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private SearchAllResourcesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -94,22 +114,27 @@ private SearchAllResourcesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesResponse.class, + com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** + * + * *
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -122,6 +147,8 @@ public java.util.List getResults
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -130,11 +157,13 @@ public java.util.List getResults
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResultsOrBuilderList() {
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -147,6 +176,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -159,6 +190,8 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
     return results_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -167,14 +200,15 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
-      int index) {
+  public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(int index) {
     return results_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -182,6 +216,7 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -190,14 +225,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -205,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -223,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -252,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,17 +300,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.asset.v1.SearchAllResourcesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1.SearchAllResourcesResponse other = (com.google.cloud.asset.v1.SearchAllResourcesResponse) obj; + com.google.cloud.asset.v1.SearchAllResourcesResponse other = + (com.google.cloud.asset.v1.SearchAllResourcesResponse) obj; - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( - java.nio.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.asset.v1.SearchAllResourcesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( - byte[] data, - com.google.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.asset.v1.SearchAllResourcesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.SearchAllResourcesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.SearchAllResourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.SearchAllResourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.SearchAllResourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all resources response.
    * 
* * Protobuf type {@code google.cloud.asset.v1.SearchAllResourcesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.SearchAllResourcesResponse) com.google.cloud.asset.v1.SearchAllResourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1.SearchAllResourcesResponse.class, + com.google.cloud.asset.v1.SearchAllResourcesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1.SearchAllResourcesResponse.newBuilder() @@ -418,17 +460,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) { getResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_SearchAllResourcesResponse_descriptor; } @java.lang.Override @@ -465,7 +507,8 @@ public com.google.cloud.asset.v1.SearchAllResourcesResponse build() { @java.lang.Override public com.google.cloud.asset.v1.SearchAllResourcesResponse buildPartial() { - com.google.cloud.asset.v1.SearchAllResourcesResponse result = new com.google.cloud.asset.v1.SearchAllResourcesResponse(this); + com.google.cloud.asset.v1.SearchAllResourcesResponse result = + new com.google.cloud.asset.v1.SearchAllResourcesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -485,38 +528,39 @@ public com.google.cloud.asset.v1.SearchAllResourcesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.SearchAllResourcesResponse) { - return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesResponse)other); + return mergeFrom((com.google.cloud.asset.v1.SearchAllResourcesResponse) other); } else { super.mergeFrom(other); return this; @@ -524,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllResourcesResponse other) { - if (other == com.google.cloud.asset.v1.SearchAllResourcesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.SearchAllResourcesResponse.getDefaultInstance()) + return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -543,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1.SearchAllResourcesResponse ot resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResultsFieldBuilder() : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResultsFieldBuilder() + : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -574,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.SearchAllResourcesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.SearchAllResourcesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,21 +630,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(results_); + results_ = + new java.util.ArrayList(results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1.ResourceSearchResult, com.google.cloud.asset.v1.ResourceSearchResult.Builder, com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> resultsBuilder_; + com.google.cloud.asset.v1.ResourceSearchResult, + com.google.cloud.asset.v1.ResourceSearchResult.Builder, + com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> + resultsBuilder_; /** + * + * *
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -613,6 +668,8 @@ public java.util.List getResults
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -628,6 +685,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -643,6 +702,8 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -650,8 +711,7 @@ public com.google.cloud.asset.v1.ResourceSearchResult getResults(int index) {
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public Builder setResults(
-        int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
+    public Builder setResults(int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -665,6 +725,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -684,6 +746,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -705,6 +769,8 @@ public Builder addResults(com.google.cloud.asset.v1.ResourceSearchResult value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -712,8 +778,7 @@ public Builder addResults(com.google.cloud.asset.v1.ResourceSearchResult value)
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public Builder addResults(
-        int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
+    public Builder addResults(int index, com.google.cloud.asset.v1.ResourceSearchResult value) {
       if (resultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -727,6 +792,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -746,6 +813,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -765,6 +834,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -776,8 +847,7 @@ public Builder addAllResults(
         java.lang.Iterable values) {
       if (resultsBuilder_ == null) {
         ensureResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, results_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
         onChanged();
       } else {
         resultsBuilder_.addAllMessages(values);
@@ -785,6 +855,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -803,6 +875,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -821,6 +895,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -828,11 +904,12 @@ public Builder removeResults(int index) {
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.ResourceSearchResult.Builder getResultsBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.ResourceSearchResult.Builder getResultsBuilder(int index) {
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -840,14 +917,16 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder getResultsBuilder(
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
-        int index) {
+    public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(int index) {
       if (resultsBuilder_ == null) {
-        return results_.get(index);  } else {
+        return results_.get(index);
+      } else {
         return resultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -855,8 +934,8 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public java.util.List 
-         getResultsOrBuilderList() {
+    public java.util.List
+        getResultsOrBuilderList() {
       if (resultsBuilder_ != null) {
         return resultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -864,6 +943,8 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -872,10 +953,12 @@ public com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuild
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
     public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder() {
-      return getResultsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
+      return getResultsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -883,12 +966,13 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
-        int index) {
-      return getResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
+    public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(int index) {
+      return getResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.asset.v1.ResourceSearchResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of Resources that match the search query. It contains the resource
      * standard metadata information.
@@ -896,20 +980,23 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
      *
      * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
      */
-    public java.util.List 
-         getResultsBuilderList() {
+    public java.util.List
+        getResultsBuilderList() {
       return getResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1.ResourceSearchResult, com.google.cloud.asset.v1.ResourceSearchResult.Builder, com.google.cloud.asset.v1.ResourceSearchResultOrBuilder> 
+            com.google.cloud.asset.v1.ResourceSearchResult,
+            com.google.cloud.asset.v1.ResourceSearchResult.Builder,
+            com.google.cloud.asset.v1.ResourceSearchResultOrBuilder>
         getResultsFieldBuilder() {
       if (resultsBuilder_ == null) {
-        resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1.ResourceSearchResult, com.google.cloud.asset.v1.ResourceSearchResult.Builder, com.google.cloud.asset.v1.ResourceSearchResultOrBuilder>(
-                results_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        resultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1.ResourceSearchResult,
+                com.google.cloud.asset.v1.ResourceSearchResult.Builder,
+                com.google.cloud.asset.v1.ResourceSearchResultOrBuilder>(
+                results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         results_ = null;
       }
       return resultsBuilder_;
@@ -917,6 +1004,8 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -924,13 +1013,13 @@ public com.google.cloud.asset.v1.ResourceSearchResult.Builder addResultsBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -939,6 +1028,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -946,15 +1037,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -962,6 +1052,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -969,20 +1061,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -990,15 +1084,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1006,23 +1103,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1032,12 +1129,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.SearchAllResourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.SearchAllResourcesResponse) private static final com.google.cloud.asset.v1.SearchAllResourcesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.SearchAllResourcesResponse(); } @@ -1046,16 +1143,16 @@ public static com.google.cloud.asset.v1.SearchAllResourcesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1167,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java index d0999fac7..2a0215998 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/SearchAllResourcesResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface SearchAllResourcesResponseOrBuilder extends +public interface SearchAllResourcesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.SearchAllResourcesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -15,9 +33,10 @@ public interface SearchAllResourcesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
-  java.util.List 
-      getResultsList();
+  java.util.List getResultsList();
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -27,6 +46,8 @@ public interface SearchAllResourcesResponseOrBuilder extends
    */
   com.google.cloud.asset.v1.ResourceSearchResult getResults(int index);
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -36,6 +57,8 @@ public interface SearchAllResourcesResponseOrBuilder extends
    */
   int getResultsCount();
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -43,9 +66,11 @@ public interface SearchAllResourcesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
-  java.util.List 
+  java.util.List
       getResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of Resources that match the search query. It contains the resource
    * standard metadata information.
@@ -53,10 +78,11 @@ public interface SearchAllResourcesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
    */
-  com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -64,10 +90,13 @@ com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -75,8 +104,8 @@ com.google.cloud.asset.v1.ResourceSearchResultOrBuilder getResultsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java index 0931ef815..7b1a93540 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAsset.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * An asset in Google Cloud and its temporal metadata, including the time window
  * when it was observed and its status during that window.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.TemporalAsset}
  */
-public final class TemporalAsset extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TemporalAsset extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TemporalAsset)
     TemporalAssetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TemporalAsset.newBuilder() to construct.
   private TemporalAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TemporalAsset() {
     priorAssetState_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TemporalAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TemporalAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,63 +71,71 @@ private TemporalAsset(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null;
-            if (window_ != null) {
-              subBuilder = window_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.asset.v1.TimeWindow.Builder subBuilder = null;
+              if (window_ != null) {
+                subBuilder = window_.toBuilder();
+              }
+              window_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(window_);
+                window_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            window_ = input.readMessage(com.google.cloud.asset.v1.TimeWindow.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(window_);
-              window_ = subBuilder.buildPartial();
+          case 16:
+            {
+              deleted_ = input.readBool();
+              break;
             }
-
-            break;
-          }
-          case 16: {
-
-            deleted_ = input.readBool();
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
-            if (asset_ != null) {
-              subBuilder = asset_.toBuilder();
-            }
-            asset_ = input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(asset_);
-              asset_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
+              if (asset_ != null) {
+                subBuilder = asset_.toBuilder();
+              }
+              asset_ =
+                  input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(asset_);
+                asset_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            priorAssetState_ = rawValue;
-            break;
-          }
-          case 42: {
-            com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
-            if (priorAsset_ != null) {
-              subBuilder = priorAsset_.toBuilder();
+              priorAssetState_ = rawValue;
+              break;
             }
-            priorAsset_ = input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(priorAsset_);
-              priorAsset_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.asset.v1.Asset.Builder subBuilder = null;
+              if (priorAsset_ != null) {
+                subBuilder = priorAsset_.toBuilder();
+              }
+              priorAsset_ =
+                  input.readMessage(com.google.cloud.asset.v1.Asset.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(priorAsset_);
+                priorAsset_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -118,36 +143,41 @@ private TemporalAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.TemporalAsset.class, com.google.cloud.asset.v1.TemporalAsset.Builder.class);
+            com.google.cloud.asset.v1.TemporalAsset.class,
+            com.google.cloud.asset.v1.TemporalAsset.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of prior asset.
    * 
* * Protobuf enum {@code google.cloud.asset.v1.TemporalAsset.PriorAssetState} */ - public enum PriorAssetState - implements com.google.protobuf.ProtocolMessageEnum { + public enum PriorAssetState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -156,6 +186,8 @@ public enum PriorAssetState */ PRIOR_ASSET_STATE_UNSPECIFIED(0), /** + * + * *
      * prior_asset is populated correctly.
      * 
@@ -164,6 +196,8 @@ public enum PriorAssetState */ PRESENT(1), /** + * + * *
      * Failed to set prior_asset.
      * 
@@ -172,6 +206,8 @@ public enum PriorAssetState */ INVALID(2), /** + * + * *
      * Current asset is the first known state.
      * 
@@ -180,6 +216,8 @@ public enum PriorAssetState */ DOES_NOT_EXIST(3), /** + * + * *
      * prior_asset is a deletion.
      * 
@@ -191,6 +229,8 @@ public enum PriorAssetState ; /** + * + * *
      * prior_asset is not applicable for the current asset.
      * 
@@ -199,6 +239,8 @@ public enum PriorAssetState */ public static final int PRIOR_ASSET_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * prior_asset is populated correctly.
      * 
@@ -207,6 +249,8 @@ public enum PriorAssetState */ public static final int PRESENT_VALUE = 1; /** + * + * *
      * Failed to set prior_asset.
      * 
@@ -215,6 +259,8 @@ public enum PriorAssetState */ public static final int INVALID_VALUE = 2; /** + * + * *
      * Current asset is the first known state.
      * 
@@ -223,6 +269,8 @@ public enum PriorAssetState */ public static final int DOES_NOT_EXIST_VALUE = 3; /** + * + * *
      * prior_asset is a deletion.
      * 
@@ -231,7 +279,6 @@ public enum PriorAssetState */ public static final int DELETED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -256,41 +303,46 @@ public static PriorAssetState valueOf(int value) { */ public static PriorAssetState forNumber(int value) { switch (value) { - case 0: return PRIOR_ASSET_STATE_UNSPECIFIED; - case 1: return PRESENT; - case 2: return INVALID; - case 3: return DOES_NOT_EXIST; - case 4: return DELETED; - default: return null; + case 0: + return PRIOR_ASSET_STATE_UNSPECIFIED; + case 1: + return PRESENT; + case 2: + return INVALID; + case 3: + return DOES_NOT_EXIST; + case 4: + return DELETED; + 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< - PriorAssetState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PriorAssetState findValueByNumber(int number) { - return PriorAssetState.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PriorAssetState findValueByNumber(int number) { + return PriorAssetState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.asset.v1.TemporalAsset.getDescriptor().getEnumTypes().get(0); } @@ -299,8 +351,7 @@ public PriorAssetState findValueByNumber(int number) { public static PriorAssetState 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; @@ -320,11 +371,14 @@ private PriorAssetState(int value) { public static final int WINDOW_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.TimeWindow window_; /** + * + * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; + * * @return Whether the window field is set. */ @java.lang.Override @@ -332,11 +386,14 @@ public boolean hasWindow() { return window_ != null; } /** + * + * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; + * * @return The window. */ @java.lang.Override @@ -344,6 +401,8 @@ public com.google.cloud.asset.v1.TimeWindow getWindow() { return window_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : window_; } /** + * + * *
    * The time window when the asset data and state was observed.
    * 
@@ -358,11 +417,14 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_; /** + * + * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -373,11 +435,14 @@ public boolean getDeleted() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.asset.v1.Asset asset_; /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return Whether the asset field is set. */ @java.lang.Override @@ -385,11 +450,14 @@ public boolean hasAsset() { return asset_ != null; } /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return The asset. */ @java.lang.Override @@ -397,6 +465,8 @@ public com.google.cloud.asset.v1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : asset_; } /** + * + * *
    * An asset in Google Cloud.
    * 
@@ -411,39 +481,53 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { public static final int PRIOR_ASSET_STATE_FIELD_NUMBER = 4; private int priorAssetState_; /** + * + * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return The enum numeric value on the wire for priorAssetState. */ - @java.lang.Override public int getPriorAssetStateValue() { + @java.lang.Override + public int getPriorAssetStateValue() { return priorAssetState_; } /** + * + * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return The priorAssetState. */ - @java.lang.Override public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { + @java.lang.Override + public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); - return result == null ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED : result; + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); + return result == null + ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED + : result; } public static final int PRIOR_ASSET_FIELD_NUMBER = 5; private com.google.cloud.asset.v1.Asset priorAsset_; /** + * + * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; + * * @return Whether the priorAsset field is set. */ @java.lang.Override @@ -451,12 +535,15 @@ public boolean hasPriorAsset() { return priorAsset_ != null; } /** + * + * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; + * * @return The priorAsset. */ @java.lang.Override @@ -464,6 +551,8 @@ public com.google.cloud.asset.v1.Asset getPriorAsset() { return priorAsset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_; } /** + * + * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
@@ -477,6 +566,7 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -488,8 +578,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (window_ != null) {
       output.writeMessage(1, getWindow());
     }
@@ -499,7 +588,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (asset_ != null) {
       output.writeMessage(3, getAsset());
     }
-    if (priorAssetState_ != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED.getNumber()) {
+    if (priorAssetState_
+        != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(4, priorAssetState_);
     }
     if (priorAsset_ != null) {
@@ -515,24 +606,21 @@ public int getSerializedSize() {
 
     size = 0;
     if (window_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getWindow());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow());
     }
     if (deleted_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(2, deleted_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleted_);
     }
     if (asset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getAsset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset());
     }
-    if (priorAssetState_ != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(4, priorAssetState_);
+    if (priorAssetState_
+        != com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.PRIOR_ASSET_STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, priorAssetState_);
     }
     if (priorAsset_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getPriorAsset());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getPriorAsset());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -542,7 +630,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.TemporalAsset)) {
       return super.equals(obj);
@@ -551,21 +639,17 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasWindow() != other.hasWindow()) return false;
     if (hasWindow()) {
-      if (!getWindow()
-          .equals(other.getWindow())) return false;
+      if (!getWindow().equals(other.getWindow())) return false;
     }
-    if (getDeleted()
-        != other.getDeleted()) return false;
+    if (getDeleted() != other.getDeleted()) return false;
     if (hasAsset() != other.hasAsset()) return false;
     if (hasAsset()) {
-      if (!getAsset()
-          .equals(other.getAsset())) return false;
+      if (!getAsset().equals(other.getAsset())) return false;
     }
     if (priorAssetState_ != other.priorAssetState_) return false;
     if (hasPriorAsset() != other.hasPriorAsset()) return false;
     if (hasPriorAsset()) {
-      if (!getPriorAsset()
-          .equals(other.getPriorAsset())) return false;
+      if (!getPriorAsset().equals(other.getPriorAsset())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -583,8 +667,7 @@ public int hashCode() {
       hash = (53 * hash) + getWindow().hashCode();
     }
     hash = (37 * hash) + DELETED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getDeleted());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted());
     if (hasAsset()) {
       hash = (37 * hash) + ASSET_FIELD_NUMBER;
       hash = (53 * hash) + getAsset().hashCode();
@@ -600,97 +683,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.TemporalAsset parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.TemporalAsset parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TemporalAsset parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.TemporalAsset 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.asset.v1.TemporalAsset parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TemporalAsset parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.TemporalAsset parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.TemporalAsset parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TemporalAsset parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.TemporalAsset parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.TemporalAsset prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * An asset in Google Cloud and its temporal metadata, including the time window
    * when it was observed and its status during that window.
@@ -698,21 +788,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.TemporalAsset}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.TemporalAsset)
       com.google.cloud.asset.v1.TemporalAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_TemporalAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.TemporalAsset.class, com.google.cloud.asset.v1.TemporalAsset.Builder.class);
+              com.google.cloud.asset.v1.TemporalAsset.class,
+              com.google.cloud.asset.v1.TemporalAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.TemporalAsset.newBuilder()
@@ -720,16 +812,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -759,9 +850,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
@@ -780,7 +871,8 @@ public com.google.cloud.asset.v1.TemporalAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
-      com.google.cloud.asset.v1.TemporalAsset result = new com.google.cloud.asset.v1.TemporalAsset(this);
+      com.google.cloud.asset.v1.TemporalAsset result =
+          new com.google.cloud.asset.v1.TemporalAsset(this);
       if (windowBuilder_ == null) {
         result.window_ = window_;
       } else {
@@ -806,38 +898,39 @@ public com.google.cloud.asset.v1.TemporalAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.TemporalAsset) {
-        return mergeFrom((com.google.cloud.asset.v1.TemporalAsset)other);
+        return mergeFrom((com.google.cloud.asset.v1.TemporalAsset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -892,34 +985,47 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1.TimeWindow window_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> windowBuilder_;
+            com.google.cloud.asset.v1.TimeWindow,
+            com.google.cloud.asset.v1.TimeWindow.Builder,
+            com.google.cloud.asset.v1.TimeWindowOrBuilder>
+        windowBuilder_;
     /**
+     *
+     *
      * 
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1.TimeWindow window = 1; + * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1.TimeWindow window = 1; + * * @return The window. */ public com.google.cloud.asset.v1.TimeWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() + : window_; } else { return windowBuilder_.getMessage(); } } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -940,14 +1046,15 @@ public Builder setWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1.TimeWindow window = 1; */ - public Builder setWindow( - com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { + public Builder setWindow(com.google.cloud.asset.v1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -958,6 +1065,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -968,7 +1077,9 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.cloud.asset.v1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.TimeWindow.newBuilder(window_) + .mergeFrom(value) + .buildPartial(); } else { window_ = value; } @@ -980,6 +1091,8 @@ public Builder mergeWindow(com.google.cloud.asset.v1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -998,6 +1111,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -1005,11 +1120,13 @@ public Builder clearWindow() { * .google.cloud.asset.v1.TimeWindow window = 1; */ public com.google.cloud.asset.v1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -1020,11 +1137,14 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? - com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.cloud.asset.v1.TimeWindow.getDefaultInstance() + : window_; } } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -1032,26 +1152,32 @@ public com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder() { * .google.cloud.asset.v1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder> + com.google.cloud.asset.v1.TimeWindow, + com.google.cloud.asset.v1.TimeWindow.Builder, + com.google.cloud.asset.v1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.TimeWindow, com.google.cloud.asset.v1.TimeWindow.Builder, com.google.cloud.asset.v1.TimeWindowOrBuilder>( - getWindow(), - getParentForChildren(), - isClean()); + windowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.TimeWindow, + com.google.cloud.asset.v1.TimeWindow.Builder, + com.google.cloud.asset.v1.TimeWindowOrBuilder>( + getWindow(), getParentForChildren(), isClean()); window_ = null; } return windowBuilder_; } - private boolean deleted_ ; + private boolean deleted_; /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -1059,30 +1185,36 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** + * + * *
      * Whether the asset has been deleted or not.
      * 
* * bool deleted = 2; + * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; @@ -1090,24 +1222,33 @@ public Builder clearDeleted() { private com.google.cloud.asset.v1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> assetBuilder_; + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder> + assetBuilder_; /** + * + * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return Whether the asset field is set. */ public boolean hasAsset() { return assetBuilder_ != null || asset_ != null; } /** + * + * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return The asset. */ public com.google.cloud.asset.v1.Asset getAsset() { @@ -1118,6 +1259,8 @@ public com.google.cloud.asset.v1.Asset getAsset() { } } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1138,14 +1281,15 @@ public Builder setAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
* * .google.cloud.asset.v1.Asset asset = 3; */ - public Builder setAsset( - com.google.cloud.asset.v1.Asset.Builder builderForValue) { + public Builder setAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); onChanged(); @@ -1156,6 +1300,8 @@ public Builder setAsset( return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1166,7 +1312,7 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { if (assetBuilder_ == null) { if (asset_ != null) { asset_ = - com.google.cloud.asset.v1.Asset.newBuilder(asset_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.Asset.newBuilder(asset_).mergeFrom(value).buildPartial(); } else { asset_ = value; } @@ -1178,6 +1324,8 @@ public Builder mergeAsset(com.google.cloud.asset.v1.Asset value) { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1196,6 +1344,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1203,11 +1353,13 @@ public Builder clearAsset() { * .google.cloud.asset.v1.Asset asset = 3; */ public com.google.cloud.asset.v1.Asset.Builder getAssetBuilder() { - + onChanged(); return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1218,11 +1370,12 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? - com.google.cloud.asset.v1.Asset.getDefaultInstance() : asset_; + return asset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : asset_; } } /** + * + * *
      * An asset in Google Cloud.
      * 
@@ -1230,14 +1383,17 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { * .google.cloud.asset.v1.Asset asset = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder>( - getAsset(), - getParentForChildren(), - isClean()); + assetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder>( + getAsset(), getParentForChildren(), isClean()); asset_ = null; } return assetBuilder_; @@ -1245,73 +1401,93 @@ public com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder() { private int priorAssetState_ = 0; /** + * + * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return The enum numeric value on the wire for priorAssetState. */ - @java.lang.Override public int getPriorAssetStateValue() { + @java.lang.Override + public int getPriorAssetStateValue() { return priorAssetState_; } /** + * + * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @param value The enum numeric value on the wire for priorAssetState to set. * @return This builder for chaining. */ public Builder setPriorAssetStateValue(int value) { - + priorAssetState_ = value; onChanged(); return this; } /** + * + * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return The priorAssetState. */ @java.lang.Override public com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); - return result == null ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED : result; + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState result = + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.valueOf(priorAssetState_); + return result == null + ? com.google.cloud.asset.v1.TemporalAsset.PriorAssetState.UNRECOGNIZED + : result; } /** + * + * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @param value The priorAssetState to set. * @return This builder for chaining. */ - public Builder setPriorAssetState(com.google.cloud.asset.v1.TemporalAsset.PriorAssetState value) { + public Builder setPriorAssetState( + com.google.cloud.asset.v1.TemporalAsset.PriorAssetState value) { if (value == null) { throw new NullPointerException(); } - + priorAssetState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * State of prior_asset.
      * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return This builder for chaining. */ public Builder clearPriorAssetState() { - + priorAssetState_ = 0; onChanged(); return this; @@ -1319,36 +1495,49 @@ public Builder clearPriorAssetState() { private com.google.cloud.asset.v1.Asset priorAsset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> priorAssetBuilder_; + com.google.cloud.asset.v1.Asset, + com.google.cloud.asset.v1.Asset.Builder, + com.google.cloud.asset.v1.AssetOrBuilder> + priorAssetBuilder_; /** + * + * *
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
      * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; + * * @return Whether the priorAsset field is set. */ public boolean hasPriorAsset() { return priorAssetBuilder_ != null || priorAsset_ != null; } /** + * + * *
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
      * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; + * * @return The priorAsset. */ public com.google.cloud.asset.v1.Asset getPriorAsset() { if (priorAssetBuilder_ == null) { - return priorAsset_ == null ? com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_; + return priorAsset_ == null + ? com.google.cloud.asset.v1.Asset.getDefaultInstance() + : priorAsset_; } else { return priorAssetBuilder_.getMessage(); } } /** + * + * *
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1370,6 +1559,8 @@ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1377,8 +1568,7 @@ public Builder setPriorAsset(com.google.cloud.asset.v1.Asset value) {
      *
      * .google.cloud.asset.v1.Asset prior_asset = 5;
      */
-    public Builder setPriorAsset(
-        com.google.cloud.asset.v1.Asset.Builder builderForValue) {
+    public Builder setPriorAsset(com.google.cloud.asset.v1.Asset.Builder builderForValue) {
       if (priorAssetBuilder_ == null) {
         priorAsset_ = builderForValue.build();
         onChanged();
@@ -1389,6 +1579,8 @@ public Builder setPriorAsset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1400,7 +1592,9 @@ public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
       if (priorAssetBuilder_ == null) {
         if (priorAsset_ != null) {
           priorAsset_ =
-            com.google.cloud.asset.v1.Asset.newBuilder(priorAsset_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1.Asset.newBuilder(priorAsset_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           priorAsset_ = value;
         }
@@ -1412,6 +1606,8 @@ public Builder mergePriorAsset(com.google.cloud.asset.v1.Asset value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1431,6 +1627,8 @@ public Builder clearPriorAsset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1439,11 +1637,13 @@ public Builder clearPriorAsset() {
      * .google.cloud.asset.v1.Asset prior_asset = 5;
      */
     public com.google.cloud.asset.v1.Asset.Builder getPriorAssetBuilder() {
-      
+
       onChanged();
       return getPriorAssetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1455,11 +1655,14 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
       if (priorAssetBuilder_ != null) {
         return priorAssetBuilder_.getMessageOrBuilder();
       } else {
-        return priorAsset_ == null ?
-            com.google.cloud.asset.v1.Asset.getDefaultInstance() : priorAsset_;
+        return priorAsset_ == null
+            ? com.google.cloud.asset.v1.Asset.getDefaultInstance()
+            : priorAsset_;
       }
     }
     /**
+     *
+     *
      * 
      * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
      * Currently this is only set for responses in Real-Time Feed.
@@ -1468,21 +1671,24 @@ public com.google.cloud.asset.v1.AssetOrBuilder getPriorAssetOrBuilder() {
      * .google.cloud.asset.v1.Asset prior_asset = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder> 
+            com.google.cloud.asset.v1.Asset,
+            com.google.cloud.asset.v1.Asset.Builder,
+            com.google.cloud.asset.v1.AssetOrBuilder>
         getPriorAssetFieldBuilder() {
       if (priorAssetBuilder_ == null) {
-        priorAssetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.Asset, com.google.cloud.asset.v1.Asset.Builder, com.google.cloud.asset.v1.AssetOrBuilder>(
-                getPriorAsset(),
-                getParentForChildren(),
-                isClean());
+        priorAssetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.Asset,
+                com.google.cloud.asset.v1.Asset.Builder,
+                com.google.cloud.asset.v1.AssetOrBuilder>(
+                getPriorAsset(), getParentForChildren(), isClean());
         priorAsset_ = null;
       }
       return priorAssetBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1492,12 +1698,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TemporalAsset)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TemporalAsset)
   private static final com.google.cloud.asset.v1.TemporalAsset DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TemporalAsset();
   }
@@ -1506,16 +1712,16 @@ public static com.google.cloud.asset.v1.TemporalAsset getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TemporalAsset parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TemporalAsset(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TemporalAsset parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TemporalAsset(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1530,6 +1736,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TemporalAsset getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
index 40ba4db44..68d9d1d37 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TemporalAssetOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface TemporalAssetOrBuilder extends
+public interface TemporalAssetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TemporalAsset)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; + * * @return Whether the window field is set. */ boolean hasWindow(); /** + * + * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1.TimeWindow window = 1; + * * @return The window. */ com.google.cloud.asset.v1.TimeWindow getWindow(); /** + * + * *
    * The time window when the asset data and state was observed.
    * 
@@ -35,34 +59,45 @@ public interface TemporalAssetOrBuilder extends com.google.cloud.asset.v1.TimeWindowOrBuilder getWindowOrBuilder(); /** + * + * *
    * Whether the asset has been deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ boolean getDeleted(); /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return Whether the asset field is set. */ boolean hasAsset(); /** + * + * *
    * An asset in Google Cloud.
    * 
* * .google.cloud.asset.v1.Asset asset = 3; + * * @return The asset. */ com.google.cloud.asset.v1.Asset getAsset(); /** + * + * *
    * An asset in Google Cloud.
    * 
@@ -72,45 +107,59 @@ public interface TemporalAssetOrBuilder extends com.google.cloud.asset.v1.AssetOrBuilder getAssetOrBuilder(); /** + * + * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return The enum numeric value on the wire for priorAssetState. */ int getPriorAssetStateValue(); /** + * + * *
    * State of prior_asset.
    * 
* * .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4; + * * @return The priorAssetState. */ com.google.cloud.asset.v1.TemporalAsset.PriorAssetState getPriorAssetState(); /** + * + * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; + * * @return Whether the priorAsset field is set. */ boolean hasPriorAsset(); /** + * + * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
    * 
* * .google.cloud.asset.v1.Asset prior_asset = 5; + * * @return The priorAsset. */ com.google.cloud.asset.v1.Asset getPriorAsset(); /** + * + * *
    * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
    * Currently this is only set for responses in Real-Time Feed.
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
index b266998f2..c38445e5f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindow.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * A time window specified by its `start_time` and `end_time`.
  * 
* * Protobuf type {@code google.cloud.asset.v1.TimeWindow} */ -public final class TimeWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.TimeWindow) TimeWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeWindow() { - } + + private TimeWindow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TimeWindow( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private TimeWindow( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private TimeWindow( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TimeWindow.class, com.google.cloud.asset.v1.TimeWindow.Builder.class); + com.google.cloud.asset.v1.TimeWindow.class, + com.google.cloud.asset.v1.TimeWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -127,11 +152,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -139,6 +167,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -153,12 +183,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -166,12 +199,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -179,6 +215,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
@@ -192,6 +230,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,8 +242,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -221,12 +259,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -236,7 +272,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1.TimeWindow)) {
       return super.equals(obj);
@@ -245,13 +281,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -277,118 +311,126 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.TimeWindow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.TimeWindow parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.asset.v1.TimeWindow parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.TimeWindow parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.TimeWindow 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.asset.v1.TimeWindow parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TimeWindow 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.asset.v1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A time window specified by its `start_time` and `end_time`.
    * 
* * Protobuf type {@code google.cloud.asset.v1.TimeWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.TimeWindow) com.google.cloud.asset.v1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.TimeWindow.class, com.google.cloud.asset.v1.TimeWindow.Builder.class); + com.google.cloud.asset.v1.TimeWindow.class, + com.google.cloud.asset.v1.TimeWindow.Builder.class); } // Construct using com.google.cloud.asset.v1.TimeWindow.newBuilder() @@ -396,16 +438,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetProto + .internal_static_google_cloud_asset_v1_TimeWindow_descriptor; } @java.lang.Override @@ -465,38 +506,39 @@ public com.google.cloud.asset.v1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.TimeWindow) { - return mergeFrom((com.google.cloud.asset.v1.TimeWindow)other); + return mergeFrom((com.google.cloud.asset.v1.TimeWindow) other); } else { super.mergeFrom(other); return this; @@ -542,24 +584,33 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -570,6 +621,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -590,14 +643,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -608,6 +662,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -618,7 +674,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -630,6 +686,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -648,6 +706,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -655,11 +715,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -670,11 +732,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -682,14 +745,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -697,26 +763,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -727,6 +802,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -748,6 +825,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -755,8 +834,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -767,6 +845,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -778,7 +858,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -790,6 +870,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -809,6 +891,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -817,11 +901,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -833,11 +919,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive). If not specified, the current
      * timestamp is used instead.
@@ -846,21 +933,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -870,12 +960,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.TimeWindow)
   private static final com.google.cloud.asset.v1.TimeWindow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.TimeWindow();
   }
@@ -884,16 +974,16 @@ public static com.google.cloud.asset.v1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TimeWindow parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TimeWindow(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TimeWindow(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -908,6 +998,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
index 81646f3d1..a06e2ee59 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/TimeWindowOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface TimeWindowOrBuilder extends
+public interface TimeWindowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -35,26 +59,34 @@ public interface TimeWindowOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * End time of the time window (inclusive). If not specified, the current
    * timestamp is used instead.
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
index e6a118b47..1131722a8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/asset_service.proto
 
 package com.google.cloud.asset.v1;
 
 /**
+ *
+ *
  * 
  * Update asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateFeedRequest} */ -public final class UpdateFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.UpdateFeedRequest) UpdateFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateFeedRequest.newBuilder() to construct. private UpdateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateFeedRequest() { - } + + private UpdateFeedRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,42 @@ private UpdateFeedRequest( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); - } - feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.asset.v1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); + } + feed_ = input.readMessage(com.google.cloud.asset.v1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +111,33 @@ private UpdateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateFeedRequest.class, com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1.UpdateFeedRequest.class, + com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); } public static final int FEED_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.Feed feed_; /** + * + * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -124,6 +147,7 @@ private UpdateFeedRequest(
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ @java.lang.Override @@ -131,6 +155,8 @@ public boolean hasFeed() { return feed_ != null; } /** + * + * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -140,6 +166,7 @@ public boolean hasFeed() {
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ @java.lang.Override @@ -147,6 +174,8 @@ public com.google.cloud.asset.v1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_; } /** + * + * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -165,13 +194,17 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -179,13 +212,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -193,13 +230,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -207,6 +247,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -236,12 +276,10 @@ public int getSerializedSize() { size = 0; if (feed_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFeed()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFeed()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -251,22 +289,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.asset.v1.UpdateFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.UpdateFeedRequest other = (com.google.cloud.asset.v1.UpdateFeedRequest) obj; + com.google.cloud.asset.v1.UpdateFeedRequest other = + (com.google.cloud.asset.v1.UpdateFeedRequest) obj; if (hasFeed() != other.hasFeed()) return false; if (hasFeed()) { - if (!getFeed() - .equals(other.getFeed())) return false; + if (!getFeed().equals(other.getFeed())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -292,118 +329,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.UpdateFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1.UpdateFeedRequest 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.asset.v1.UpdateFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.UpdateFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.UpdateFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.UpdateFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.UpdateFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateFeedRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.UpdateFeedRequest) com.google.cloud.asset.v1.UpdateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateFeedRequest.class, com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1.UpdateFeedRequest.class, + com.google.cloud.asset.v1.UpdateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.UpdateFeedRequest.newBuilder() @@ -411,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateFeedRequest_descriptor; } @java.lang.Override @@ -461,7 +506,8 @@ public com.google.cloud.asset.v1.UpdateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1.UpdateFeedRequest buildPartial() { - com.google.cloud.asset.v1.UpdateFeedRequest result = new com.google.cloud.asset.v1.UpdateFeedRequest(this); + com.google.cloud.asset.v1.UpdateFeedRequest result = + new com.google.cloud.asset.v1.UpdateFeedRequest(this); if (feedBuilder_ == null) { result.feed_ = feed_; } else { @@ -480,38 +526,39 @@ public com.google.cloud.asset.v1.UpdateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.UpdateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1.UpdateFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1.UpdateFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -557,8 +604,13 @@ public Builder mergeFrom( private com.google.cloud.asset.v1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> feedBuilder_; + com.google.cloud.asset.v1.Feed, + com.google.cloud.asset.v1.Feed.Builder, + com.google.cloud.asset.v1.FeedOrBuilder> + feedBuilder_; /** + * + * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -568,12 +620,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -583,6 +638,7 @@ public boolean hasFeed() {
      * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ public com.google.cloud.asset.v1.Feed getFeed() { @@ -593,6 +649,8 @@ public com.google.cloud.asset.v1.Feed getFeed() { } } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -617,6 +675,8 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -627,8 +687,7 @@ public Builder setFeed(com.google.cloud.asset.v1.Feed value) {
      *
      * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
      */
-    public Builder setFeed(
-        com.google.cloud.asset.v1.Feed.Builder builderForValue) {
+    public Builder setFeed(com.google.cloud.asset.v1.Feed.Builder builderForValue) {
       if (feedBuilder_ == null) {
         feed_ = builderForValue.build();
         onChanged();
@@ -639,6 +698,8 @@ public Builder setFeed(
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -652,8 +713,7 @@ public Builder setFeed(
     public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       if (feedBuilder_ == null) {
         if (feed_ != null) {
-          feed_ =
-            com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
+          feed_ = com.google.cloud.asset.v1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial();
         } else {
           feed_ = value;
         }
@@ -665,6 +725,8 @@ public Builder mergeFeed(com.google.cloud.asset.v1.Feed value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -687,6 +749,8 @@ public Builder clearFeed() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -698,11 +762,13 @@ public Builder clearFeed() {
      * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
      */
     public com.google.cloud.asset.v1.Feed.Builder getFeedBuilder() {
-      
+
       onChanged();
       return getFeedFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -717,11 +783,12 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
       if (feedBuilder_ != null) {
         return feedBuilder_.getMessageOrBuilder();
       } else {
-        return feed_ == null ?
-            com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
+        return feed_ == null ? com.google.cloud.asset.v1.Feed.getDefaultInstance() : feed_;
       }
     }
     /**
+     *
+     *
      * 
      * Required. The new values of feed details. It must match an existing feed
      * and the field `name` must be in the format of:
@@ -733,14 +800,17 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
      * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder> 
+            com.google.cloud.asset.v1.Feed,
+            com.google.cloud.asset.v1.Feed.Builder,
+            com.google.cloud.asset.v1.FeedOrBuilder>
         getFeedFieldBuilder() {
       if (feedBuilder_ == null) {
-        feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1.Feed, com.google.cloud.asset.v1.Feed.Builder, com.google.cloud.asset.v1.FeedOrBuilder>(
-                getFeed(),
-                getParentForChildren(),
-                isClean());
+        feedBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1.Feed,
+                com.google.cloud.asset.v1.Feed.Builder,
+                com.google.cloud.asset.v1.FeedOrBuilder>(
+                getFeed(), getParentForChildren(), isClean());
         feed_ = null;
       }
       return feedBuilder_;
@@ -748,45 +818,61 @@ public com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder() {
 
     private com.google.protobuf.FieldMask updateMask_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_;
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
+        updateMaskBuilder_;
     /**
+     *
+     *
      * 
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -802,16 +888,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -822,19 +910,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -846,13 +937,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -866,61 +960,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -930,12 +1037,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.UpdateFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.UpdateFeedRequest) private static final com.google.cloud.asset.v1.UpdateFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.UpdateFeedRequest(); } @@ -944,16 +1051,16 @@ public static com.google.cloud.asset.v1.UpdateFeedRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,6 +1075,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java index 37dafabef..d6cac469d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface UpdateFeedRequestOrBuilder extends +public interface UpdateFeedRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.UpdateFeedRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -17,10 +35,13 @@ public interface UpdateFeedRequestOrBuilder extends
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the feed field is set. */ boolean hasFeed(); /** + * + * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -30,10 +51,13 @@ public interface UpdateFeedRequestOrBuilder extends
    * 
* * .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feed. */ com.google.cloud.asset.v1.Feed getFeed(); /** + * + * *
    * Required. The new values of feed details. It must match an existing feed
    * and the field `name` must be in the format of:
@@ -47,35 +71,46 @@ public interface UpdateFeedRequestOrBuilder extends
   com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java index f42dae545..5723995e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; /** + * + * *
  * Request to update a saved query.
  * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateSavedQueryRequest} */ -public final class UpdateSavedQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateSavedQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.UpdateSavedQueryRequest) UpdateSavedQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateSavedQueryRequest.newBuilder() to construct. private UpdateSavedQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateSavedQueryRequest() { - } + + private UpdateSavedQueryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSavedQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateSavedQueryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateSavedQueryRequest( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; - if (savedQuery_ != null) { - subBuilder = savedQuery_.toBuilder(); - } - savedQuery_ = input.readMessage(com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(savedQuery_); - savedQuery_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.asset.v1.SavedQuery.Builder subBuilder = null; + if (savedQuery_ != null) { + subBuilder = savedQuery_.toBuilder(); + } + savedQuery_ = + input.readMessage( + com.google.cloud.asset.v1.SavedQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(savedQuery_); + savedQuery_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateSavedQueryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, + com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); } public static final int SAVED_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1.SavedQuery savedQuery_; /** + * + * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -124,7 +149,10 @@ private UpdateSavedQueryRequest(
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the savedQuery field is set. */ @java.lang.Override @@ -132,6 +160,8 @@ public boolean hasSavedQuery() { return savedQuery_ != null; } /** + * + * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -141,14 +171,21 @@ public boolean hasSavedQuery() {
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The savedQuery. */ @java.lang.Override public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { - return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } /** + * + * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -158,7 +195,9 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() {
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { @@ -168,11 +207,15 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -180,11 +223,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -192,11 +239,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -204,6 +254,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (savedQuery_ != null) { output.writeMessage(1, getSavedQuery()); } @@ -233,12 +283,10 @@ public int getSerializedSize() { size = 0; if (savedQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSavedQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSavedQuery()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,22 +296,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.asset.v1.UpdateSavedQueryRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1.UpdateSavedQueryRequest other = (com.google.cloud.asset.v1.UpdateSavedQueryRequest) obj; + com.google.cloud.asset.v1.UpdateSavedQueryRequest other = + (com.google.cloud.asset.v1.UpdateSavedQueryRequest) obj; if (hasSavedQuery() != other.hasSavedQuery()) return false; if (hasSavedQuery()) { - if (!getSavedQuery() - .equals(other.getSavedQuery())) return false; + if (!getSavedQuery().equals(other.getSavedQuery())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -290,117 +337,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( - java.nio.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.asset.v1.UpdateSavedQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1.UpdateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( - byte[] data, - com.google.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.asset.v1.UpdateSavedQueryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateSavedQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1.UpdateSavedQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1.UpdateSavedQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1.UpdateSavedQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1.UpdateSavedQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to update a saved query.
    * 
* * Protobuf type {@code google.cloud.asset.v1.UpdateSavedQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.UpdateSavedQueryRequest) com.google.cloud.asset.v1.UpdateSavedQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); + com.google.cloud.asset.v1.UpdateSavedQueryRequest.class, + com.google.cloud.asset.v1.UpdateSavedQueryRequest.Builder.class); } // Construct using com.google.cloud.asset.v1.UpdateSavedQueryRequest.newBuilder() @@ -408,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +492,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1.AssetServiceProto.internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1.AssetServiceProto + .internal_static_google_cloud_asset_v1_UpdateSavedQueryRequest_descriptor; } @java.lang.Override @@ -458,7 +513,8 @@ public com.google.cloud.asset.v1.UpdateSavedQueryRequest build() { @java.lang.Override public com.google.cloud.asset.v1.UpdateSavedQueryRequest buildPartial() { - com.google.cloud.asset.v1.UpdateSavedQueryRequest result = new com.google.cloud.asset.v1.UpdateSavedQueryRequest(this); + com.google.cloud.asset.v1.UpdateSavedQueryRequest result = + new com.google.cloud.asset.v1.UpdateSavedQueryRequest(this); if (savedQueryBuilder_ == null) { result.savedQuery_ = savedQuery_; } else { @@ -477,38 +533,39 @@ public com.google.cloud.asset.v1.UpdateSavedQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1.UpdateSavedQueryRequest) { - return mergeFrom((com.google.cloud.asset.v1.UpdateSavedQueryRequest)other); + return mergeFrom((com.google.cloud.asset.v1.UpdateSavedQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +573,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1.UpdateSavedQueryRequest other) { - if (other == com.google.cloud.asset.v1.UpdateSavedQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1.UpdateSavedQueryRequest.getDefaultInstance()) + return this; if (other.hasSavedQuery()) { mergeSavedQuery(other.getSavedQuery()); } @@ -542,7 +600,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1.UpdateSavedQueryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1.UpdateSavedQueryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,8 +613,13 @@ public Builder mergeFrom( private com.google.cloud.asset.v1.SavedQuery savedQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> savedQueryBuilder_; + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder> + savedQueryBuilder_; /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -565,13 +629,18 @@ public Builder mergeFrom(
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the savedQuery field is set. */ public boolean hasSavedQuery() { return savedQueryBuilder_ != null || savedQuery_ != null; } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -581,17 +650,24 @@ public boolean hasSavedQuery() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The savedQuery. */ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() { if (savedQueryBuilder_ == null) { - return savedQuery_ == null ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } else { return savedQueryBuilder_.getMessage(); } } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -601,7 +677,9 @@ public com.google.cloud.asset.v1.SavedQuery getSavedQuery() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { @@ -617,6 +695,8 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -626,10 +706,11 @@ public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery value) {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSavedQuery( - com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { + public Builder setSavedQuery(com.google.cloud.asset.v1.SavedQuery.Builder builderForValue) { if (savedQueryBuilder_ == null) { savedQuery_ = builderForValue.build(); onChanged(); @@ -640,6 +721,8 @@ public Builder setSavedQuery( return this; } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -649,13 +732,17 @@ public Builder setSavedQuery(
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { if (savedQueryBuilder_ == null) { if (savedQuery_ != null) { savedQuery_ = - com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1.SavedQuery.newBuilder(savedQuery_) + .mergeFrom(value) + .buildPartial(); } else { savedQuery_ = value; } @@ -667,6 +754,8 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) { return this; } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -676,7 +765,9 @@ public Builder mergeSavedQuery(com.google.cloud.asset.v1.SavedQuery value) {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSavedQuery() { if (savedQueryBuilder_ == null) { @@ -690,6 +781,8 @@ public Builder clearSavedQuery() { return this; } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -699,14 +792,18 @@ public Builder clearSavedQuery() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() { - + onChanged(); return getSavedQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -716,17 +813,22 @@ public com.google.cloud.asset.v1.SavedQuery.Builder getSavedQueryBuilder() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { if (savedQueryBuilder_ != null) { return savedQueryBuilder_.getMessageOrBuilder(); } else { - return savedQuery_ == null ? - com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() : savedQuery_; + return savedQuery_ == null + ? com.google.cloud.asset.v1.SavedQuery.getDefaultInstance() + : savedQuery_; } } /** + * + * *
      * Required. The saved query to update.
      * The saved query's `name` field is used to identify the one to update,
@@ -736,17 +838,22 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() {
      * * organizations/organization_number/savedQueries/saved_query_id
      * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder> + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder> getSavedQueryFieldBuilder() { if (savedQueryBuilder_ == null) { - savedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1.SavedQuery, com.google.cloud.asset.v1.SavedQuery.Builder, com.google.cloud.asset.v1.SavedQueryOrBuilder>( - getSavedQuery(), - getParentForChildren(), - isClean()); + savedQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1.SavedQuery, + com.google.cloud.asset.v1.SavedQuery.Builder, + com.google.cloud.asset.v1.SavedQueryOrBuilder>( + getSavedQuery(), getParentForChildren(), isClean()); savedQuery_ = null; } return savedQueryBuilder_; @@ -754,39 +861,55 @@ public com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -802,14 +925,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -820,17 +945,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -842,11 +970,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -860,55 +991,68 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The list of fields to update.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -918,12 +1062,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.UpdateSavedQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.UpdateSavedQueryRequest) private static final com.google.cloud.asset.v1.UpdateSavedQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1.UpdateSavedQueryRequest(); } @@ -932,16 +1076,16 @@ public static com.google.cloud.asset.v1.UpdateSavedQueryRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSavedQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateSavedQueryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSavedQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateSavedQueryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -956,6 +1100,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1.UpdateSavedQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java index 307da869b..636720fe0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateSavedQueryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/asset_service.proto package com.google.cloud.asset.v1; -public interface UpdateSavedQueryRequestOrBuilder extends +public interface UpdateSavedQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.UpdateSavedQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -17,11 +35,16 @@ public interface UpdateSavedQueryRequestOrBuilder extends
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the savedQuery field is set. */ boolean hasSavedQuery(); /** + * + * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -31,11 +54,16 @@ public interface UpdateSavedQueryRequestOrBuilder extends
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The savedQuery. */ com.google.cloud.asset.v1.SavedQuery getSavedQuery(); /** + * + * *
    * Required. The saved query to update.
    * The saved query's `name` field is used to identify the one to update,
@@ -45,34 +73,47 @@ public interface UpdateSavedQueryRequestOrBuilder extends
    * * organizations/organization_number/savedQueries/saved_query_id
    * 
* - * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1.SavedQueryOrBuilder getSavedQueryOrBuilder(); /** + * + * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. The list of fields to update.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java index a6dcee4cc..3e263497a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java +++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResource.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1/assets.proto package com.google.cloud.asset.v1; /** + * + * *
  * Resource representation as defined by the corresponding service providing the
  * resource for a given API version.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.asset.v1.VersionedResource}
  */
-public final class VersionedResource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VersionedResource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1.VersionedResource)
     VersionedResourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VersionedResource.newBuilder() to construct.
   private VersionedResource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private VersionedResource() {
     version_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VersionedResource();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private VersionedResource(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,32 +71,34 @@ private VersionedResource(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (resource_ != null) {
-              subBuilder = resource_.toBuilder();
-            }
-            resource_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(resource_);
-              resource_ = subBuilder.buildPartial();
+              version_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (resource_ != null) {
+                subBuilder = resource_.toBuilder();
+              }
+              resource_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(resource_);
+                resource_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -87,29 +106,33 @@ private VersionedResource(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
+    return com.google.cloud.asset.v1.AssetProto
+        .internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1.VersionedResource.class, com.google.cloud.asset.v1.VersionedResource.Builder.class);
+            com.google.cloud.asset.v1.VersionedResource.class,
+            com.google.cloud.asset.v1.VersionedResource.Builder.class);
   }
 
   public static final int VERSION_FIELD_NUMBER = 1;
   private volatile java.lang.Object version_;
   /**
+   *
+   *
    * 
    * API version of the resource.
    * Example:
@@ -119,6 +142,7 @@ private VersionedResource(
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -127,14 +151,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * API version of the resource.
    * Example:
@@ -144,16 +169,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 1; + * * @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 { @@ -164,6 +188,8 @@ public java.lang.String getVersion() { public static final int RESOURCE_FIELD_NUMBER = 2; private com.google.protobuf.Struct resource_; /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -178,6 +204,7 @@ public java.lang.String getVersion() {
    * 
* * .google.protobuf.Struct resource = 2; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -185,6 +212,8 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -199,6 +228,7 @@ public boolean hasResource() {
    * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ @java.lang.Override @@ -206,6 +236,8 @@ public com.google.protobuf.Struct getResource() { return resource_ == null ? com.google.protobuf.Struct.getDefaultInstance() : resource_; } /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -227,6 +259,7 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -238,8 +271,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
     }
@@ -259,8 +291,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_);
     }
     if (resource_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getResource());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -270,19 +301,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.asset.v1.VersionedResource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1.VersionedResource other = (com.google.cloud.asset.v1.VersionedResource) obj;
+    com.google.cloud.asset.v1.VersionedResource other =
+        (com.google.cloud.asset.v1.VersionedResource) obj;
 
-    if (!getVersion()
-        .equals(other.getVersion())) return false;
+    if (!getVersion().equals(other.getVersion())) return false;
     if (hasResource() != other.hasResource()) return false;
     if (hasResource()) {
-      if (!getResource()
-          .equals(other.getResource())) return false;
+      if (!getResource().equals(other.getResource())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -306,97 +336,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1.VersionedResource parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1.VersionedResource parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1.VersionedResource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1.VersionedResource parseFrom(
-      byte[] data,
-      com.google.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.asset.v1.VersionedResource 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.asset.v1.VersionedResource parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.VersionedResource parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1.VersionedResource parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1.VersionedResource parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1.VersionedResource parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1.VersionedResource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1.VersionedResource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 representation as defined by the corresponding service providing the
    * resource for a given API version.
@@ -404,21 +441,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1.VersionedResource}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1.VersionedResource)
       com.google.cloud.asset.v1.VersionedResourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_VersionedResource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1.VersionedResource.class, com.google.cloud.asset.v1.VersionedResource.Builder.class);
+              com.google.cloud.asset.v1.VersionedResource.class,
+              com.google.cloud.asset.v1.VersionedResource.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1.VersionedResource.newBuilder()
@@ -426,16 +465,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -451,9 +489,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1.AssetProto.internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1.AssetProto
+          .internal_static_google_cloud_asset_v1_VersionedResource_descriptor;
     }
 
     @java.lang.Override
@@ -472,7 +510,8 @@ public com.google.cloud.asset.v1.VersionedResource build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1.VersionedResource buildPartial() {
-      com.google.cloud.asset.v1.VersionedResource result = new com.google.cloud.asset.v1.VersionedResource(this);
+      com.google.cloud.asset.v1.VersionedResource result =
+          new com.google.cloud.asset.v1.VersionedResource(this);
       result.version_ = version_;
       if (resourceBuilder_ == null) {
         result.resource_ = resource_;
@@ -487,38 +526,39 @@ public com.google.cloud.asset.v1.VersionedResource buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1.VersionedResource) {
-        return mergeFrom((com.google.cloud.asset.v1.VersionedResource)other);
+        return mergeFrom((com.google.cloud.asset.v1.VersionedResource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -565,6 +605,8 @@ public Builder mergeFrom(
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * API version of the resource.
      * Example:
@@ -574,13 +616,13 @@ public Builder mergeFrom(
      * 
* * string version = 1; + * * @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; @@ -589,6 +631,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * API version of the resource.
      * Example:
@@ -598,15 +642,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 1; + * * @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 { @@ -614,6 +657,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * API version of the resource.
      * Example:
@@ -623,20 +668,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 1; + * * @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; } /** + * + * *
      * API version of the resource.
      * Example:
@@ -646,15 +693,18 @@ public Builder setVersion(
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * API version of the resource.
      * Example:
@@ -664,16 +714,16 @@ public Builder clearVersion() {
      * 
* * string version = 1; + * * @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; @@ -681,8 +731,13 @@ public Builder setVersionBytes( private com.google.protobuf.Struct resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> resourceBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + resourceBuilder_; /** + * + * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -697,12 +752,15 @@ public Builder setVersionBytes(
      * 
* * .google.protobuf.Struct resource = 2; + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** + * + * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -717,6 +775,7 @@ public boolean hasResource() {
      * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ public com.google.protobuf.Struct getResource() { @@ -727,6 +786,8 @@ public com.google.protobuf.Struct getResource() { } } /** + * + * *
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -756,6 +817,8 @@ public Builder setResource(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -771,8 +834,7 @@ public Builder setResource(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct resource = 2;
      */
-    public Builder setResource(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setResource(com.google.protobuf.Struct.Builder builderForValue) {
       if (resourceBuilder_ == null) {
         resource_ = builderForValue.build();
         onChanged();
@@ -783,6 +845,8 @@ public Builder setResource(
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -802,7 +866,7 @@ public Builder mergeResource(com.google.protobuf.Struct value) {
       if (resourceBuilder_ == null) {
         if (resource_ != null) {
           resource_ =
-            com.google.protobuf.Struct.newBuilder(resource_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Struct.newBuilder(resource_).mergeFrom(value).buildPartial();
         } else {
           resource_ = value;
         }
@@ -814,6 +878,8 @@ public Builder mergeResource(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -841,6 +907,8 @@ public Builder clearResource() {
       return this;
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -857,11 +925,13 @@ public Builder clearResource() {
      * .google.protobuf.Struct resource = 2;
      */
     public com.google.protobuf.Struct.Builder getResourceBuilder() {
-      
+
       onChanged();
       return getResourceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -881,11 +951,12 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
       if (resourceBuilder_ != null) {
         return resourceBuilder_.getMessageOrBuilder();
       } else {
-        return resource_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : resource_;
+        return resource_ == null ? com.google.protobuf.Struct.getDefaultInstance() : resource_;
       }
     }
     /**
+     *
+     *
      * 
      * JSON representation of the resource as defined by the corresponding
      * service providing this resource.
@@ -902,21 +973,24 @@ public com.google.protobuf.StructOrBuilder getResourceOrBuilder() {
      * .google.protobuf.Struct resource = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getResourceFieldBuilder() {
       if (resourceBuilder_ == null) {
-        resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getResource(),
-                getParentForChildren(),
-                isClean());
+        resourceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getResource(), getParentForChildren(), isClean());
         resource_ = null;
       }
       return resourceBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -926,12 +1000,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1.VersionedResource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1.VersionedResource)
   private static final com.google.cloud.asset.v1.VersionedResource DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1.VersionedResource();
   }
@@ -940,16 +1014,16 @@ public static com.google.cloud.asset.v1.VersionedResource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public VersionedResource parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new VersionedResource(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public VersionedResource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new VersionedResource(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -964,6 +1038,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1.VersionedResource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
rename to proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
index 9f9efa604..d86916246 100644
--- a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
+++ b/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/VersionedResourceOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1/assets.proto
 
 package com.google.cloud.asset.v1;
 
-public interface VersionedResourceOrBuilder extends
+public interface VersionedResourceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.VersionedResource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * API version of the resource.
    * Example:
@@ -17,10 +35,13 @@ public interface VersionedResourceOrBuilder extends
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * API version of the resource.
    * Example:
@@ -30,12 +51,14 @@ public interface VersionedResourceOrBuilder extends
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -50,10 +73,13 @@ public interface VersionedResourceOrBuilder extends
    * 
* * .google.protobuf.Struct resource = 2; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
@@ -68,10 +94,13 @@ public interface VersionedResourceOrBuilder extends
    * 
* * .google.protobuf.Struct resource = 2; + * * @return The resource. */ com.google.protobuf.Struct getResource(); /** + * + * *
    * JSON representation of the resource as defined by the corresponding
    * service providing this resource.
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto b/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
rename to proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto b/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
rename to proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto
diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java
new file mode 100644
index 000000000..dec4e4f90
--- /dev/null
+++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java
@@ -0,0 +1,166 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/asset/v1p1beta1/assets.proto
+
+package com.google.cloud.asset.v1p1beta1;
+
+public final class AssetProto {
+  private AssetProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public 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_asset_v1p1beta1_StandardResourceMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_Permissions_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/asset/v1p1beta1/assets.pr"
+          + "oto\022\034google.cloud.asset.v1p1beta1\032\032googl"
+          + "e/iam/v1/policy.proto\032\034google/api/annota"
+          + "tions.proto\"\302\002\n\030StandardResourceMetadata"
+          + "\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\022\017\n\007pr"
+          + "oject\030\003 \001(\t\022\024\n\014display_name\030\004 \001(\t\022\023\n\013des"
+          + "cription\030\005 \001(\t\022\035\n\025additional_attributes\030"
+          + "\n \003(\t\022\020\n\010location\030\013 \001(\t\022R\n\006labels\030\014 \003(\0132"
+          + "B.google.cloud.asset.v1p1beta1.StandardR"
+          + "esourceMetadata.LabelsEntry\022\024\n\014network_t"
+          + "ags\030\r \003(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
+          + "\005value\030\002 \001(\t:\0028\001\"\243\003\n\025IamPolicySearchResu"
+          + "lt\022\020\n\010resource\030\001 \001(\t\022\017\n\007project\030\003 \001(\t\022%\n"
+          + "\006policy\030\004 \001(\0132\025.google.iam.v1.Policy\022T\n\013"
+          + "explanation\030\005 \001(\0132?.google.cloud.asset.v"
+          + "1p1beta1.IamPolicySearchResult.Explanati"
+          + "on\032\351\001\n\013Explanation\022t\n\023matched_permission"
+          + "s\030\001 \003(\0132W.google.cloud.asset.v1p1beta1.I"
+          + "amPolicySearchResult.Explanation.Matched"
+          + "PermissionsEntry\032d\n\027MatchedPermissionsEn"
+          + "try\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(\0132).google"
+          + ".cloud.asset.v1p1beta1.Permissions:\0028\001\"\""
+          + "\n\013Permissions\022\023\n\013permissions\030\001 \003(\tB\264\001\n c"
+          + "om.google.cloud.asset.v1p1beta1B\nAssetPr"
+          + "otoP\001ZAgoogle.golang.org/genproto/google"
+          + "apis/cloud/asset/v1p1beta1;asset\370\001\001\252\002\034Go"
+          + "ogle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Clou"
+          + "d\\Asset\\V1p1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.iam.v1.PolicyProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "AssetType",
+              "Project",
+              "DisplayName",
+              "Description",
+              "AdditionalAttributes",
+              "Location",
+              "Labels",
+              "NetworkTags",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor =
+        internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor,
+            new java.lang.String[] {
+              "Resource", "Project", "Policy", "Explanation",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor =
+        internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor,
+            new java.lang.String[] {
+              "MatchedPermissions",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor =
+        internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor,
+            new java.lang.String[] {
+              "Permissions",
+            });
+    com.google.iam.v1.PolicyProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java
new file mode 100644
index 000000000..1b0e9289c
--- /dev/null
+++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java
@@ -0,0 +1,150 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/asset/v1p1beta1/asset_service.proto
+
+package com.google.cloud.asset.v1p1beta1;
+
+public final class AssetServiceProto {
+  private AssetServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public 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_asset_v1p1beta1_SearchAllResourcesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_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/asset/v1p1beta1/asset_ser"
+          + "vice.proto\022\034google.cloud.asset.v1p1beta1"
+          + "\032\034google/api/annotations.proto\032\027google/a"
+          + "pi/client.proto\032\037google/api/field_behavi"
+          + "or.proto\032)google/cloud/asset/v1p1beta1/a"
+          + "ssets.proto\"\245\001\n\031SearchAllResourcesReques"
+          + "t\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022\n\005query\030\002 \001(\tB\003\340A"
+          + "\001\022\030\n\013asset_types\030\003 \003(\tB\003\340A\001\022\026\n\tpage_size"
+          + "\030\004 \001(\005B\003\340A\001\022\027\n\npage_token\030\005 \001(\tB\003\340A\001\022\025\n\010"
+          + "order_by\030\n \001(\tB\003\340A\001\"~\n\032SearchAllResource"
+          + "sResponse\022G\n\007results\030\001 \003(\01326.google.clou"
+          + "d.asset.v1p1beta1.StandardResourceMetada"
+          + "ta\022\027\n\017next_page_token\030\002 \001(\t\"v\n\033SearchAll"
+          + "IamPoliciesRequest\022\022\n\005scope\030\001 \001(\tB\003\340A\002\022\022"
+          + "\n\005query\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340"
+          + "A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\"}\n\034SearchAll"
+          + "IamPoliciesResponse\022D\n\007results\030\001 \003(\01323.g"
+          + "oogle.cloud.asset.v1p1beta1.IamPolicySea"
+          + "rchResult\022\027\n\017next_page_token\030\002 \001(\t2\211\004\n\014A"
+          + "ssetService\022\325\001\n\022SearchAllResources\0227.goo"
+          + "gle.cloud.asset.v1p1beta1.SearchAllResou"
+          + "rcesRequest\0328.google.cloud.asset.v1p1bet"
+          + "a1.SearchAllResourcesResponse\"L\202\323\344\223\002,\022*/"
+          + "v1p1beta1/{scope=*/*}/resources:searchAl"
+          + "l\332A\027scope,query,asset_types\022\321\001\n\024SearchAl"
+          + "lIamPolicies\0229.google.cloud.asset.v1p1be"
+          + "ta1.SearchAllIamPoliciesRequest\032:.google"
+          + ".cloud.asset.v1p1beta1.SearchAllIamPolic"
+          + "iesResponse\"B\202\323\344\223\002.\022,/v1p1beta1/{scope=*"
+          + "/*}/iamPolicies:searchAll\332A\013scope,query\032"
+          + "M\312A\031cloudasset.googleapis.com\322A.https://"
+          + "www.googleapis.com/auth/cloud-platformB\270"
+          + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass"
+          + "etServiceProtoP\001ZAgoogle.golang.org/genp"
+          + "roto/googleapis/cloud/asset/v1p1beta1;as"
+          + "set\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goo"
+          + "gle\\Cloud\\Asset\\V1p1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor(),
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor,
+            new java.lang.String[] {
+              "Scope", "Query", "AssetTypes", "PageSize", "PageToken", "OrderBy",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor,
+            new java.lang.String[] {
+              "Results", "NextPageToken",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor,
+            new java.lang.String[] {
+              "Scope", "Query", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor,
+            new java.lang.String[] {
+              "Results", "NextPageToken",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.cloud.asset.v1p1beta1.AssetProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
similarity index 71%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
index f45a17763..674f16a22 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
+++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p1beta1/assets.proto
 
 package com.google.cloud.asset.v1p1beta1;
 
 /**
+ *
+ *
  * 
  * The result for a IAM Policy search.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult} */ -public final class IamPolicySearchResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IamPolicySearchResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult) IamPolicySearchResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicySearchResult.newBuilder() to construct. private IamPolicySearchResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IamPolicySearchResult() { resource_ = ""; project_ = ""; @@ -26,16 +44,15 @@ private IamPolicySearchResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicySearchResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicySearchResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,59 @@ private IamPolicySearchResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 34: { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); + resource_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder subBuilder = null; - if (explanation_ != null) { - subBuilder = explanation_.toBuilder(); + project_ = s; + break; } - explanation_ = input.readMessage(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(explanation_); - explanation_ = subBuilder.buildPartial(); + case 34: + { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder + subBuilder = null; + if (explanation_ != null) { + subBuilder = explanation_.toBuilder(); + } + explanation_ = + input.readMessage( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(explanation_); + explanation_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,31 +131,36 @@ private IamPolicySearchResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); } - public interface ExplanationOrBuilder extends + public interface ExplanationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -139,10 +169,13 @@ public interface ExplanationOrBuilder extends
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ int getMatchedPermissionsCount(); /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -151,17 +184,17 @@ public interface ExplanationOrBuilder extends
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; - */ - boolean containsMatchedPermissions( - java.lang.String key); - /** - * Use {@link #getMatchedPermissionsMap()} instead. + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ + boolean containsMatchedPermissions(java.lang.String key); + /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Deprecated java.util.Map - getMatchedPermissions(); + getMatchedPermissions(); /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -170,11 +203,14 @@ boolean containsMatchedPermissions(
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ java.util.Map - getMatchedPermissionsMap(); + getMatchedPermissionsMap(); /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -183,15 +219,18 @@ boolean containsMatchedPermissions(
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ /* nullable */ -com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( + com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.asset.v1p1beta1.Permissions defaultValue); + com.google.cloud.asset.v1p1beta1.Permissions defaultValue); /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -200,43 +239,43 @@ com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault(
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ - - com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow( - java.lang.String key); + com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow(java.lang.String key); } /** + * + * *
    * Explanation about the IAM policy search result.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation} */ - public static final class Explanation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Explanation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) ExplanationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Explanation.newBuilder() to construct. private Explanation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Explanation() { - } + + private Explanation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Explanation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Explanation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -256,26 +295,32 @@ private Explanation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - matchedPermissions_ = com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + matchedPermissions_ = + com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + matchedPermissions__ = + input.readMessage( + MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + matchedPermissions_ + .getMutableMap() + .put(matchedPermissions__.getKey(), matchedPermissions__.getValue()); + break; } - com.google.protobuf.MapEntry - matchedPermissions__ = input.readMessage( - MatchedPermissionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - matchedPermissions_.getMutableMap().put( - matchedPermissions__.getKey(), matchedPermissions__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -283,54 +328,63 @@ private Explanation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_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 internalGetMatchedPermissions(); 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.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); } public static final int MATCHED_PERMISSIONS_FIELD_NUMBER = 1; + private static final class MatchedPermissionsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> defaultEntry = + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.asset.v1p1beta1.Permissions.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_MatchedPermissionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.asset.v1p1beta1.Permissions.getDefaultInstance()); } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + matchedPermissions_; + private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> matchedPermissions_; - private com.google.protobuf.MapField - internalGetMatchedPermissions() { + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); @@ -342,6 +396,8 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -350,24 +406,26 @@ public int getMatchedPermissionsCount() {
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ - @java.lang.Override - public boolean containsMatchedPermissions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMatchedPermissions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** - * Use {@link #getMatchedPermissionsMap()} instead. - */ + /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMatchedPermissions() { + public java.util.Map + getMatchedPermissions() { return getMatchedPermissionsMap(); } /** + * + * *
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -376,14 +434,17 @@ public java.util.Map
      *
-     * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+     * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getMatchedPermissionsMap() {
+    public java.util.Map
+        getMatchedPermissionsMap() {
       return internalGetMatchedPermissions().getMap();
     }
     /**
+     *
+     *
      * 
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -392,19 +453,22 @@ public java.util.Map
      *
-     * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+     * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+     * 
      */
     @java.lang.Override
-
     public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault(
-        java.lang.String key,
-        com.google.cloud.asset.v1p1beta1.Permissions defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.asset.v1p1beta1.Permissions defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetMatchedPermissions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The map from roles to their included permission matching the permission
      * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -413,13 +477,15 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefau
      * requesting with a permission query.
      * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { @@ -429,6 +495,7 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,10 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMatchedPermissions(), MatchedPermissionsDefaultEntryHolder.defaultEntry, @@ -457,15 +522,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetMatchedPermissions().getMap().entrySet()) { + for (java.util.Map.Entry + entry : internalGetMatchedPermissions().getMap().entrySet()) { com.google.protobuf.MapEntry - matchedPermissions__ = MatchedPermissionsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchedPermissions__); + matchedPermissions__ = + MatchedPermissionsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchedPermissions__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -475,15 +541,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.asset.v1p1beta1.IamPolicySearchResult.Explanation)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) obj; + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other = + (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) obj; - if (!internalGetMatchedPermissions().equals( - other.internalGetMatchedPermissions())) return false; + if (!internalGetMatchedPermissions().equals(other.internalGetMatchedPermissions())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -505,87 +572,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.nio.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation parseDelimitedFrom( - java.io.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.asset.v1p1beta1.IamPolicySearchResult.Explanation + parseDelimitedFrom( + java.io.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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.IamPolicySearchResult.Explanation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -595,66 +670,69 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Explanation about the IAM policy search result.
      * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetMatchedPermissions(); 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 internalGetMutableMatchedPermissions(); 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.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.class, + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder.class); } - // Construct using com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder() + // Construct using + // com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -663,14 +741,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_Explanation_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { - return com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance(); + public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + .getDefaultInstance(); } @java.lang.Override @@ -684,7 +764,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation build( @java.lang.Override public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation buildPartial() { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(this); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation result = + new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(this); int from_bitField0_ = bitField0_; result.matchedPermissions_ = internalGetMatchedPermissions(); result.matchedPermissions_.makeImmutable(); @@ -696,48 +777,54 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation)other); + return mergeFrom( + (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other) { - if (other == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance()) return this; - internalGetMutableMatchedPermissions().mergeFrom( - other.internalGetMatchedPermissions()); + public Builder mergeFrom( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation other) { + if (other + == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + .getDefaultInstance()) return this; + internalGetMutableMatchedPermissions().mergeFrom(other.internalGetMatchedPermissions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -757,7 +844,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -766,24 +855,32 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> matchedPermissions_; - private com.google.protobuf.MapField - internalGetMatchedPermissions() { + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + matchedPermissions_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + internalGetMatchedPermissions() { if (matchedPermissions_ == null) { return com.google.protobuf.MapField.emptyMapField( MatchedPermissionsDefaultEntryHolder.defaultEntry); } return matchedPermissions_; } - private com.google.protobuf.MapField - internalGetMutableMatchedPermissions() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.asset.v1p1beta1.Permissions> + internalGetMutableMatchedPermissions() { + onChanged(); + ; if (matchedPermissions_ == null) { - matchedPermissions_ = com.google.protobuf.MapField.newMapField( - MatchedPermissionsDefaultEntryHolder.defaultEntry); + matchedPermissions_ = + com.google.protobuf.MapField.newMapField( + MatchedPermissionsDefaultEntryHolder.defaultEntry); } if (!matchedPermissions_.isMutable()) { matchedPermissions_ = matchedPermissions_.copy(); @@ -795,6 +892,8 @@ public int getMatchedPermissionsCount() { return internalGetMatchedPermissions().getMap().size(); } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -803,24 +902,26 @@ public int getMatchedPermissionsCount() {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ - @java.lang.Override - public boolean containsMatchedPermissions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMatchedPermissions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMatchedPermissions().getMap().containsKey(key); } - /** - * Use {@link #getMatchedPermissionsMap()} instead. - */ + /** Use {@link #getMatchedPermissionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMatchedPermissions() { + public java.util.Map + getMatchedPermissions() { return getMatchedPermissionsMap(); } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -829,14 +930,17 @@ public java.util.Map
        *
-       * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+       * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+       * 
        */
       @java.lang.Override
-
-      public java.util.Map getMatchedPermissionsMap() {
+      public java.util.Map
+          getMatchedPermissionsMap() {
         return internalGetMatchedPermissions().getMap();
       }
       /**
+       *
+       *
        * 
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -845,19 +949,22 @@ public java.util.Map
        *
-       * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+       * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
+       * 
        */
       @java.lang.Override
-
       public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefault(
-          java.lang.String key,
-          com.google.cloud.asset.v1p1beta1.Permissions defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+          java.lang.String key, com.google.cloud.asset.v1p1beta1.Permissions defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetMatchedPermissions().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -866,13 +973,15 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrDefau
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMatchedPermissions().getMap(); if (!map.containsKey(key)) { @@ -882,11 +991,12 @@ public com.google.cloud.asset.v1p1beta1.Permissions getMatchedPermissionsOrThrow } public Builder clearMatchedPermissions() { - internalGetMutableMatchedPermissions().getMutableMap() - .clear(); + internalGetMutableMatchedPermissions().getMutableMap().clear(); return this; } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -895,25 +1005,25 @@ public Builder clearMatchedPermissions() {
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ - - public Builder removeMatchedPermissions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMatchedPermissions().getMutableMap() - .remove(key); + public Builder removeMatchedPermissions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMatchedPermissions().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableMatchedPermissions() { + getMutableMatchedPermissions() { return internalGetMutableMatchedPermissions().getMutableMap(); } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -922,21 +1032,24 @@ public Builder removeMatchedPermissions(
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ public Builder putMatchedPermissions( - java.lang.String key, - com.google.cloud.asset.v1p1beta1.Permissions value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.asset.v1p1beta1.Permissions value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableMatchedPermissions().getMutableMap() - .put(key, value); + internalGetMutableMatchedPermissions().getMutableMap().put(key, value); return this; } /** + * + * *
        * The map from roles to their included permission matching the permission
        * query (e.g. containing `policy.role.permissions:`). A sample role string:
@@ -945,15 +1058,15 @@ public Builder putMatchedPermissions(
        * requesting with a permission query.
        * 
* - * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1; + * */ - public Builder putAllMatchedPermissions( java.util.Map values) { - internalGetMutableMatchedPermissions().getMutableMap() - .putAll(values); + internalGetMutableMatchedPermissions().getMutableMap().putAll(values); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -966,30 +1079,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation) - private static final com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation(); } - public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDefaultInstance() { + public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Explanation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Explanation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Explanation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Explanation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,15 +1116,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDefaultInstanceForType() { + public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int RESOURCE_FIELD_NUMBER = 1; private volatile java.lang.Object resource_; /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1017,6 +1134,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getDef
    * 
* * string resource = 1; + * * @return The resource. */ @java.lang.Override @@ -1025,14 +1143,15 @@ 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; } } /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1040,16 +1159,15 @@ public java.lang.String getResource() {
    * 
* * string resource = 1; + * * @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 { @@ -1060,6 +1178,8 @@ public java.lang.String getResource() { public static final int PROJECT_FIELD_NUMBER = 3; private volatile java.lang.Object project_; /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1069,6 +1189,7 @@ public java.lang.String getResource() {
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -1077,14 +1198,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1094,16 +1216,15 @@ public java.lang.String getProject() {
    * 
* * string project = 3; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -1114,6 +1235,8 @@ public java.lang.String getProject() { public static final int POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy policy_; /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1122,6 +1245,7 @@ public java.lang.String getProject() {
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ @java.lang.Override @@ -1129,6 +1253,8 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1137,6 +1263,7 @@ public boolean hasPolicy() {
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ @java.lang.Override @@ -1144,6 +1271,8 @@ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1161,12 +1290,15 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
   public static final int EXPLANATION_FIELD_NUMBER = 5;
   private com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation_;
   /**
+   *
+   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; + * * @return Whether the explanation field is set. */ @java.lang.Override @@ -1174,19 +1306,26 @@ public boolean hasExplanation() { return explanation_ != null; } /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; + * * @return The explanation. */ @java.lang.Override public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExplanation() { - return explanation_ == null ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; + return explanation_ == null + ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() + : explanation_; } /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
@@ -1195,11 +1334,13 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExp
    * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
+  public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
+      getExplanationOrBuilder() {
     return getExplanation();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1211,8 +1352,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
     }
@@ -1241,12 +1381,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, project_);
     }
     if (policy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getPolicy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPolicy());
     }
     if (explanation_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getExplanation());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getExplanation());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1256,26 +1394,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1p1beta1.IamPolicySearchResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p1beta1.IamPolicySearchResult other = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) obj;
+    com.google.cloud.asset.v1p1beta1.IamPolicySearchResult other =
+        (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) obj;
 
-    if (!getResource()
-        .equals(other.getResource())) return false;
-    if (!getProject()
-        .equals(other.getProject())) return false;
+    if (!getResource().equals(other.getResource())) return false;
+    if (!getProject().equals(other.getProject())) return false;
     if (hasPolicy() != other.hasPolicy()) return false;
     if (hasPolicy()) {
-      if (!getPolicy()
-          .equals(other.getPolicy())) return false;
+      if (!getPolicy().equals(other.getPolicy())) return false;
     }
     if (hasExplanation() != other.hasExplanation()) return false;
     if (hasExplanation()) {
-      if (!getExplanation()
-          .equals(other.getExplanation())) return false;
+      if (!getExplanation().equals(other.getExplanation())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1306,117 +1441,127 @@ public int hashCode() {
   }
 
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.nio.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      byte[] data,
-      com.google.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p1beta1.IamPolicySearchResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1p1beta1.IamPolicySearchResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.asset.v1p1beta1.IamPolicySearchResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result for a IAM Policy search.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.IamPolicySearchResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.IamPolicySearchResult) com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.class, + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.newBuilder() @@ -1424,16 +1569,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1457,9 +1601,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_IamPolicySearchResult_descriptor; } @java.lang.Override @@ -1478,7 +1622,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult buildPartial() { - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult result = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult(this); + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult result = + new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult(this); result.resource_ = resource_; result.project_ = project_; if (policyBuilder_ == null) { @@ -1499,38 +1644,39 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.IamPolicySearchResult)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) other); } else { super.mergeFrom(other); return this; @@ -1538,7 +1684,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult other) { - if (other == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance()) + return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -1572,7 +1719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.IamPolicySearchResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1584,6 +1732,8 @@ public Builder mergeFrom( private java.lang.Object resource_ = ""; /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1591,13 +1741,13 @@ public Builder mergeFrom(
      * 
* * string resource = 1; + * * @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; @@ -1606,6 +1756,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1613,15 +1765,14 @@ public java.lang.String getResource() {
      * 
* * string resource = 1; + * * @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 { @@ -1629,6 +1780,8 @@ public java.lang.String getResource() { } } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1636,20 +1789,22 @@ public java.lang.String getResource() {
      * 
* * string resource = 1; + * * @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; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1657,15 +1812,18 @@ public Builder setResource(
      * 
* * string resource = 1; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -1673,16 +1831,16 @@ public Builder clearResource() {
      * 
* * string resource = 1; + * * @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; @@ -1690,6 +1848,8 @@ public Builder setResourceBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1699,13 +1859,13 @@ public Builder setResourceBytes(
      * 
* * string project = 3; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -1714,6 +1874,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1723,15 +1885,14 @@ public java.lang.String getProject() {
      * 
* * string project = 3; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -1739,6 +1900,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1748,20 +1911,22 @@ public java.lang.String getProject() {
      * 
* * string project = 3; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1771,15 +1936,18 @@ public Builder setProject(
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * The project that the associated GCP resource belongs to, in the form of
      * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -1789,16 +1957,16 @@ public Builder clearProject() {
      * 
* * string project = 3; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -1806,8 +1974,13 @@ public Builder setProjectBytes( private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + policyBuilder_; /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1816,12 +1989,15 @@ public Builder setProjectBytes(
      * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1830,6 +2006,7 @@ public boolean hasPolicy() {
      * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ public com.google.iam.v1.Policy getPolicy() { @@ -1840,6 +2017,8 @@ public com.google.iam.v1.Policy getPolicy() { } } /** + * + * *
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1863,6 +2042,8 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1872,8 +2053,7 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy policy = 4;
      */
-    public Builder setPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (policyBuilder_ == null) {
         policy_ = builderForValue.build();
         onChanged();
@@ -1884,6 +2064,8 @@ public Builder setPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1896,8 +2078,7 @@ public Builder setPolicy(
     public Builder mergePolicy(com.google.iam.v1.Policy value) {
       if (policyBuilder_ == null) {
         if (policy_ != null) {
-          policy_ =
-            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
+          policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -1909,6 +2090,8 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1930,6 +2113,8 @@ public Builder clearPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1940,11 +2125,13 @@ public Builder clearPolicy() {
      * .google.iam.v1.Policy policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
-      
+
       onChanged();
       return getPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1958,11 +2145,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
       if (policyBuilder_ != null) {
         return policyBuilder_.getMessageOrBuilder();
       } else {
-        return policy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
+        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
       }
     }
     /**
+     *
+     *
      * 
      * The IAM policy directly set on the given resource. Note that the original
      * IAM policy can contain multiple bindings. This only contains the bindings
@@ -1973,14 +2161,16 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
      * .google.iam.v1.Policy policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getPolicyFieldBuilder() {
       if (policyBuilder_ == null) {
-        policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getPolicy(),
-                getParentForChildren(),
-                isClean());
+        policyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean());
         policy_ = null;
       }
       return policyBuilder_;
@@ -1988,36 +2178,50 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
 
     private com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder> explanationBuilder_;
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation,
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder,
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>
+        explanationBuilder_;
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; + * * @return Whether the explanation field is set. */ public boolean hasExplanation() { return explanationBuilder_ != null || explanation_ != null; } /** + * + * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
      * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; + * * @return The explanation. */ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExplanation() { if (explanationBuilder_ == null) { - return explanation_ == null ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_; + return explanation_ == null + ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation + .getDefaultInstance() + : explanation_; } else { return explanationBuilder_.getMessage(); } } /** + * + * *
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2025,7 +2229,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExp
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public Builder setExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
+    public Builder setExplanation(
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2039,6 +2244,8 @@ public Builder setExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchRe
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2047,7 +2254,8 @@ public Builder setExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchRe
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
     public Builder setExplanation(
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder builderForValue) {
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder
+            builderForValue) {
       if (explanationBuilder_ == null) {
         explanation_ = builderForValue.build();
         onChanged();
@@ -2058,6 +2266,8 @@ public Builder setExplanation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2065,11 +2275,15 @@ public Builder setExplanation(
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public Builder mergeExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
+    public Builder mergeExplanation(
+        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation value) {
       if (explanationBuilder_ == null) {
         if (explanation_ != null) {
           explanation_ =
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder(explanation_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.newBuilder(
+                      explanation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           explanation_ = value;
         }
@@ -2081,6 +2295,8 @@ public Builder mergeExplanation(com.google.cloud.asset.v1p1beta1.IamPolicySearch
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2100,6 +2316,8 @@ public Builder clearExplanation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2107,12 +2325,15 @@ public Builder clearExplanation() {
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder getExplanationBuilder() {
-      
+    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder
+        getExplanationBuilder() {
+
       onChanged();
       return getExplanationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2120,15 +2341,20 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builde
      *
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
-    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder() {
+    public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
+        getExplanationOrBuilder() {
       if (explanationBuilder_ != null) {
         return explanationBuilder_.getMessageOrBuilder();
       } else {
-        return explanation_ == null ?
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.getDefaultInstance() : explanation_;
+        return explanation_ == null
+            ? com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation
+                .getDefaultInstance()
+            : explanation_;
       }
     }
     /**
+     *
+     *
      * 
      * Explanation about the IAM policy search result. It contains additional
      * information to explain why the search result matches the query.
@@ -2137,21 +2363,24 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuild
      * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder> 
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation,
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder,
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>
         getExplanationFieldBuilder() {
       if (explanationBuilder_ == null) {
-        explanationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>(
-                getExplanation(),
-                getParentForChildren(),
-                isClean());
+        explanationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation,
+                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation.Builder,
+                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder>(
+                getExplanation(), getParentForChildren(), isClean());
         explanation_ = null;
       }
       return explanationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2161,12 +2390,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.IamPolicySearchResult)
   private static final com.google.cloud.asset.v1p1beta1.IamPolicySearchResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.IamPolicySearchResult();
   }
@@ -2175,16 +2404,16 @@ public static com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public IamPolicySearchResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new IamPolicySearchResult(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public IamPolicySearchResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new IamPolicySearchResult(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2199,6 +2428,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
index 66b38341f..908e23727 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
+++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p1beta1/assets.proto
 
 package com.google.cloud.asset.v1p1beta1;
 
-public interface IamPolicySearchResultOrBuilder extends
+public interface IamPolicySearchResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.IamPolicySearchResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -15,10 +33,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string resource = 1; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * The [full resource
    * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -26,12 +47,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string resource = 1; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -41,10 +64,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string project = 3; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The project that the associated GCP resource belongs to, in the form of
    * `projects/{project_number}`. If an IAM policy is set on a resource (like VM
@@ -54,12 +80,14 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * string project = 3; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -68,10 +96,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -80,10 +111,13 @@ public interface IamPolicySearchResultOrBuilder extends
    * 
* * .google.iam.v1.Policy policy = 4; + * * @return The policy. */ com.google.iam.v1.Policy getPolicy(); /** + * + * *
    * The IAM policy directly set on the given resource. Note that the original
    * IAM policy can contain multiple bindings. This only contains the bindings
@@ -96,26 +130,34 @@ public interface IamPolicySearchResultOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; + * * @return Whether the explanation field is set. */ boolean hasExplanation(); /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
    * 
* * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5; + * * @return The explanation. */ com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation getExplanation(); /** + * + * *
    * Explanation about the IAM policy search result. It contains additional
    * information to explain why the search result matches the query.
@@ -123,5 +165,6 @@ public interface IamPolicySearchResultOrBuilder extends
    *
    * .google.cloud.asset.v1p1beta1.IamPolicySearchResult.Explanation explanation = 5;
    */
-  com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder getExplanationOrBuilder();
+  com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.ExplanationOrBuilder
+      getExplanationOrBuilder();
 }
diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
similarity index 70%
rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
index 41af01602..46891f376 100644
--- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
+++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/Permissions.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p1beta1/assets.proto
 
 package com.google.cloud.asset.v1p1beta1;
 
 /**
+ *
+ *
  * 
  * IAM permissions
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.Permissions} */ -public final class Permissions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Permissions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.Permissions) PermissionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Permissions.newBuilder() to construct. private Permissions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Permissions() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Permissions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Permissions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private Permissions( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + permissions_.add(s); + break; } - permissions_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private Permissions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { permissions_ = permissions_.getUnmodifiableView(); @@ -87,50 +104,61 @@ private Permissions( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.Permissions.class, com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); + com.google.cloud.asset.v1p1beta1.Permissions.class, + com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); } public static final int PERMISSIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList permissions_; /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_; } /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -138,20 +166,23 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } @@ -193,15 +223,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.asset.v1p1beta1.Permissions)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.Permissions other = (com.google.cloud.asset.v1p1beta1.Permissions) obj; + com.google.cloud.asset.v1p1beta1.Permissions other = + (com.google.cloud.asset.v1p1beta1.Permissions) obj; - if (!getPermissionsList() - .equals(other.getPermissionsList())) return false; + if (!getPermissionsList().equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -222,118 +252,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.Permissions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.Permissions parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.Permissions 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.asset.v1p1beta1.Permissions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.Permissions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.Permissions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.Permissions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.Permissions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.Permissions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.Permissions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IAM permissions
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.Permissions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.Permissions) com.google.cloud.asset.v1p1beta1.PermissionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_Permissions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.Permissions.class, com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); + com.google.cloud.asset.v1p1beta1.Permissions.class, + com.google.cloud.asset.v1p1beta1.Permissions.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.Permissions.newBuilder() @@ -341,16 +380,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_Permissions_descriptor; } @java.lang.Override @@ -381,7 +419,8 @@ public com.google.cloud.asset.v1p1beta1.Permissions build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.Permissions buildPartial() { - com.google.cloud.asset.v1p1beta1.Permissions result = new com.google.cloud.asset.v1p1beta1.Permissions(this); + com.google.cloud.asset.v1p1beta1.Permissions result = + new com.google.cloud.asset.v1p1beta1.Permissions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); @@ -396,38 +435,39 @@ public com.google.cloud.asset.v1p1beta1.Permissions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.Permissions) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.Permissions)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.Permissions) other); } else { super.mergeFrom(other); return this; @@ -474,44 +514,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList permissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_.getUnmodifiableView(); } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -519,80 +570,90 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - int index, java.lang.String value) { + public Builder setPermissions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions( - java.lang.String value) { + public Builder addPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions( - java.lang.Iterable values) { + public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); onChanged(); return this; } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -602,28 +663,30 @@ public Builder clearPermissions() { return this; } /** + * + * *
      * A list of permissions. A sample permission string: "compute.disk.get".
      * 
* * repeated string permissions = 1; + * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.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); } @@ -633,12 +696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.Permissions) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.Permissions) private static final com.google.cloud.asset.v1p1beta1.Permissions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.Permissions(); } @@ -647,16 +710,16 @@ public static com.google.cloud.asset.v1p1beta1.Permissions getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Permissions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Permissions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Permissions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Permissions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,6 +734,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.Permissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java similarity index 61% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java index ef7bee984..8a7116a8c 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/PermissionsOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; -public interface PermissionsOrBuilder extends +public interface PermissionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.Permissions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @return A list containing the permissions. */ - java.util.List - getPermissionsList(); + java.util.List getPermissionsList(); /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** + * + * *
    * A list of permissions. A sample permission string: "compute.disk.get".
    * 
* * repeated string permissions = 1; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString - getPermissionsBytes(int index); + com.google.protobuf.ByteString getPermissionsBytes(int index); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java similarity index 74% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java index 6c2f777c0..5a6167667 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** + * + * *
  * Search all IAM policies request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest} */ -public final class SearchAllIamPoliciesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllIamPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) SearchAllIamPoliciesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesRequest.newBuilder() to construct. private SearchAllIamPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllIamPoliciesRequest() { scope_ = ""; query_ = ""; @@ -27,16 +45,15 @@ private SearchAllIamPoliciesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllIamPoliciesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private SearchAllIamPoliciesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 24: { + scope_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +112,33 @@ private SearchAllIamPoliciesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -125,6 +149,7 @@ private SearchAllIamPoliciesRequest(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -133,14 +158,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -151,16 +177,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -171,6 +196,8 @@ public java.lang.String getScope() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Optional. The query statement.
    * Examples:
@@ -179,6 +206,7 @@ public java.lang.String getScope() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -187,14 +215,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Optional. The query statement.
    * Examples:
@@ -203,16 +232,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -223,6 +251,8 @@ public java.lang.String getQuery() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -231,6 +261,7 @@ public java.lang.String getQuery() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -241,6 +272,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -249,6 +282,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -257,14 +291,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -273,16 +308,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -291,6 +325,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,8 +337,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -332,8 +366,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, query_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -346,21 +379,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.asset.v1p1beta1.SearchAllIamPoliciesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest other = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) obj; - - if (!getScope() - .equals(other.getScope())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest other = + (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) obj; + + if (!getScope().equals(other.getScope())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -386,117 +416,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.SearchAllIamPoliciesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all IAM policies request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.class, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.newBuilder() @@ -504,16 +544,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -529,13 +568,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesRequest_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { + public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest + getDefaultInstanceForType() { return com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance(); } @@ -550,7 +590,8 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(this); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest result = + new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(this); result.scope_ = scope_; result.query_ = query_; result.pageSize_ = pageSize_; @@ -563,38 +604,39 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) other); } else { super.mergeFrom(other); return this; @@ -602,7 +644,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest other) { - if (other == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest.getDefaultInstance()) + return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -637,7 +681,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,6 +694,8 @@ public Builder mergeFrom( private java.lang.Object scope_ = ""; /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -659,13 +706,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -674,6 +721,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -684,15 +733,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -700,6 +748,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -710,20 +760,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -734,15 +786,18 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -753,16 +808,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -770,6 +825,8 @@ public Builder setScopeBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query statement.
      * Examples:
@@ -778,13 +835,13 @@ public Builder setScopeBytes(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -793,6 +850,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement.
      * Examples:
@@ -801,15 +860,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -817,6 +875,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement.
      * Examples:
@@ -825,20 +885,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The query statement.
      * Examples:
@@ -847,15 +909,18 @@ public Builder setQuery(
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The query statement.
      * Examples:
@@ -864,23 +929,25 @@ public Builder clearQuery() {
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -889,6 +956,7 @@ public Builder setQueryBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -896,6 +964,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -904,16 +974,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -922,10 +995,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -933,6 +1007,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -941,13 +1017,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -956,6 +1032,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -964,15 +1042,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -980,6 +1057,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -988,20 +1067,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1010,15 +1091,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. If present, retrieve the next batch of results from the preceding call to
      * this method. `page_token` must be the value of `next_page_token` from the
@@ -1027,23 +1111,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1053,12 +1137,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) - private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest(); } @@ -1067,16 +1152,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1091,6 +1176,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java index afcbed816..91f2d39a5 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllIamPoliciesRequestOrBuilder extends +public interface SearchAllIamPoliciesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -18,10 +36,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -32,12 +53,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional. The query statement.
    * Examples:
@@ -46,10 +69,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Optional. The query statement.
    * Examples:
@@ -58,12 +84,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -72,11 +100,14 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -85,10 +116,13 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. If present, retrieve the next batch of results from the preceding call to
    * this method. `page_token` must be the value of `next_page_token` from the
@@ -97,8 +131,8 @@ public interface SearchAllIamPoliciesRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java similarity index 75% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java index 7b8d7fddf..7893f7cc7 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** + * + * *
  * Search all IAM policies response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse} */ -public final class SearchAllIamPoliciesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllIamPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) SearchAllIamPoliciesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllIamPoliciesResponse.newBuilder() to construct. private SearchAllIamPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllIamPoliciesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private SearchAllIamPoliciesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllIamPoliciesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllIamPoliciesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private SearchAllIamPoliciesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult>(); + mutable_bitField0_ |= 0x00000001; + } + results_.add( + input.readMessage( + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), + extensionRegistry)); + break; } - results_.add( - input.readMessage(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private SearchAllIamPoliciesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -94,22 +116,27 @@ private SearchAllIamPoliciesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** + * + * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -122,6 +149,8 @@ public java.util.List ge
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -130,11 +159,13 @@ public java.util.List ge
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResultsOrBuilderList() {
     return results_;
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -147,6 +178,8 @@ public int getResultsCount() {
     return results_.size();
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -159,6 +192,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
     return results_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -175,6 +210,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -182,6 +219,7 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -190,14 +228,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -205,16 +244,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -223,6 +261,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -252,8 +290,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,17 +303,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.asset.v1p1beta1.SearchAllIamPoliciesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse other = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) obj; + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse other = + (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) obj; - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +336,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.SearchAllIamPoliciesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all IAM policies response.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.class, + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.newBuilder() @@ -418,17 +464,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) { getResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,13 +490,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllIamPoliciesResponse_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse + getDefaultInstanceForType() { return com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance(); } @@ -465,7 +512,8 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse(this); + com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse result = + new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -485,38 +533,39 @@ public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) other); } else { super.mergeFrom(other); return this; @@ -524,7 +573,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse other) { - if (other == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse.getDefaultInstance()) + return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -543,9 +594,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesRe resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResultsFieldBuilder() : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResultsFieldBuilder() + : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -574,7 +626,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,21 +637,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(results_); + results_ = + new java.util.ArrayList( + results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> resultsBuilder_; + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, + com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, + com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> + resultsBuilder_; /** + * + * *
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -613,6 +676,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -628,6 +693,8 @@ public int getResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -643,6 +710,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int ind
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -665,6 +734,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -684,6 +755,8 @@ public Builder setResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -705,6 +778,8 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -727,6 +802,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -746,6 +823,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -765,6 +844,8 @@ public Builder addResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -773,11 +854,11 @@ public Builder addResults(
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
     public Builder addAllResults(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (resultsBuilder_ == null) {
         ensureResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, results_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
         onChanged();
       } else {
         resultsBuilder_.addAllMessages(values);
@@ -785,6 +866,8 @@ public Builder addAllResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -803,6 +886,8 @@ public Builder clearResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -821,6 +906,8 @@ public Builder removeResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -833,6 +920,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder getResults
       return getResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -843,11 +932,14 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder getResults
     public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
         int index) {
       if (resultsBuilder_ == null) {
-        return results_.get(index);  } else {
+        return results_.get(index);
+      } else {
         return resultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -855,8 +947,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
      *
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
-    public java.util.List 
-         getResultsOrBuilderList() {
+    public java.util.List
+        getResultsOrBuilderList() {
       if (resultsBuilder_ != null) {
         return resultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -864,6 +956,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
       }
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -872,10 +966,12 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResult
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
     public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResultsBuilder() {
-      return getResultsFieldBuilder().addBuilder(
-          com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
+      return getResultsFieldBuilder()
+          .addBuilder(com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -885,10 +981,13 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
      */
     public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResultsBuilder(
         int index) {
-      return getResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
+      return getResultsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of IamPolicy that match the search query. Related information such
      * as the associated resource is returned along with the policy.
@@ -896,20 +995,23 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
      *
      * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
      */
-    public java.util.List 
-         getResultsBuilderList() {
+    public java.util.List
+        getResultsBuilderList() {
       return getResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder> 
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult,
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder,
+            com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>
         getResultsFieldBuilder() {
       if (resultsBuilder_ == null) {
-        resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.asset.v1p1beta1.IamPolicySearchResult, com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder, com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>(
-                results_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        resultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult,
+                com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder,
+                com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder>(
+                results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         results_ = null;
       }
       return resultsBuilder_;
@@ -917,6 +1019,8 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -924,13 +1028,13 @@ public com.google.cloud.asset.v1p1beta1.IamPolicySearchResult.Builder addResults
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -939,6 +1043,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -946,15 +1052,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -962,6 +1067,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -969,20 +1076,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -990,15 +1099,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Set if there are more results than those appearing in this response; to get
      * the next set of results, call this method again, using this value as the
@@ -1006,23 +1118,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1032,12 +1144,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) - private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse(); } @@ -1046,16 +1159,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllIamPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllIamPoliciesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllIamPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllIamPoliciesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,6 +1183,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java index eb39db5c9..6407224fc 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllIamPoliciesResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllIamPoliciesResponseOrBuilder extends +public interface SearchAllIamPoliciesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllIamPoliciesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -15,9 +33,10 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
-  java.util.List 
-      getResultsList();
+  java.util.List getResultsList();
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -27,6 +46,8 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    */
   com.google.cloud.asset.v1p1beta1.IamPolicySearchResult getResults(int index);
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -36,6 +57,8 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    */
   int getResultsCount();
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -43,9 +66,11 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
-  java.util.List 
+  java.util.List
       getResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of IamPolicy that match the search query. Related information such
    * as the associated resource is returned along with the policy.
@@ -53,10 +78,11 @@ public interface SearchAllIamPoliciesResponseOrBuilder extends
    *
    * repeated .google.cloud.asset.v1p1beta1.IamPolicySearchResult results = 1;
    */
-  com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuilder(
-      int index);
+  com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -64,10 +90,13 @@ com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Set if there are more results than those appearing in this response; to get
    * the next set of results, call this method again, using this value as the
@@ -75,8 +104,8 @@ com.google.cloud.asset.v1p1beta1.IamPolicySearchResultOrBuilder getResultsOrBuil
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java similarity index 76% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java index 026f16c77..c872d832f 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** + * + * *
  * Search all resources request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesRequest} */ -public final class SearchAllResourcesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllResourcesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) SearchAllResourcesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllResourcesRequest.newBuilder() to construct. private SearchAllResourcesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllResourcesRequest() { scope_ = ""; query_ = ""; @@ -29,16 +47,15 @@ private SearchAllResourcesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllResourcesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,51 +75,56 @@ private SearchAllResourcesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - scope_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + scope_ = s; + break; } - assetTypes_.add(s); - break; - } - case 32: { + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + query_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; + } + case 32: + { + pageSize_ = input.readInt32(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,8 +132,7 @@ private SearchAllResourcesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -120,22 +141,27 @@ private SearchAllResourcesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); } public static final int SCOPE_FIELD_NUMBER = 1; private volatile java.lang.Object scope_; /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -146,6 +172,7 @@ private SearchAllResourcesRequest(
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ @java.lang.Override @@ -154,14 +181,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -172,16 +200,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -192,11 +219,14 @@ public java.lang.String getScope() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ @java.lang.Override @@ -205,29 +235,29 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -238,37 +268,45 @@ public java.lang.String getQuery() { public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -276,23 +314,27 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -301,6 +343,7 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -311,6 +354,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -319,6 +364,7 @@ public int getPageSize() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -327,14 +373,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -343,16 +390,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -363,6 +409,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 10; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -371,6 +419,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -379,14 +428,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -395,16 +445,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -413,6 +462,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,8 +474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -468,8 +517,7 @@ public int getSerializedSize() { size += 1 * getAssetTypesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -485,25 +533,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest other = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) obj; - - if (!getScope() - .equals(other.getScope())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest other = + (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) obj; + + if (!getScope().equals(other.getScope())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -535,117 +578,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.SearchAllResourcesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all resources request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.class, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.newBuilder() @@ -653,16 +706,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +734,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesRequest_descriptor; } @java.lang.Override @@ -703,7 +755,8 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(this); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest result = + new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(this); int from_bitField0_ = bitField0_; result.scope_ = scope_; result.query_ = query_; @@ -723,38 +776,39 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) other); } else { super.mergeFrom(other); return this; @@ -762,7 +816,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest other) { - if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest.getDefaultInstance()) + return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); @@ -811,7 +866,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -820,10 +876,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object scope_ = ""; /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -834,13 +893,13 @@ public Builder mergeFrom(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -849,6 +908,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -859,15 +920,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -875,6 +935,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -885,20 +947,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -909,15 +973,18 @@ public Builder setScope(
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * Required. The relative name of an asset. The search is limited to the resources
      * within the `scope`. The allowed value must be:
@@ -928,16 +995,16 @@ public Builder clearScope() {
      * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; @@ -945,18 +1012,20 @@ public Builder setScopeBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -965,20 +1034,21 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -986,98 +1056,115 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Optional. The query statement.
      * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1085,85 +1172,95 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1173,29 +1270,33 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * Optional. A list of asset types that this request searches for. If empty, it will
      * search all the supported asset types.
      * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -1204,6 +1305,7 @@ public Builder addAssetTypesBytes(
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1211,6 +1313,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -1219,16 +1323,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The page size for search result pagination. Page size is capped at 500 even
      * if a larger value is given. If set to zero, server will pick an appropriate
@@ -1237,10 +1344,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1248,6 +1356,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1256,13 +1366,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1271,6 +1381,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1279,15 +1391,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1295,6 +1406,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1303,20 +1416,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1325,15 +1440,18 @@ public Builder setPageToken(
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. If present, then retrieve the next batch of results from the preceding call
      * to this method.  `page_token` must be the value of `next_page_token` from
@@ -1342,16 +1460,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1359,6 +1477,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1367,13 +1487,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1382,6 +1502,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1390,15 +1512,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1406,6 +1527,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1414,20 +1537,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1436,15 +1561,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. A comma separated list of fields specifying the sorting order of the
      * results. The default order is ascending. Add " desc" after the field name
@@ -1453,23 +1581,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1479,12 +1607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) private static final com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest(); } @@ -1493,16 +1621,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1517,6 +1645,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java index ac3074628..9b27969f4 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllResourcesRequestOrBuilder extends +public interface SearchAllResourcesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllResourcesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -18,10 +36,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Required. The relative name of an asset. The search is limited to the resources
    * within the `scope`. The allowed value must be:
@@ -32,77 +53,94 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string scope = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Optional. The query statement.
    * 
* * string query = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * Optional. A list of asset types that this request searches for. If empty, it will
    * search all the supported asset types.
    * 
* * repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Optional. The page size for search result pagination. Page size is capped at 500 even
    * if a larger value is given. If set to zero, server will pick an appropriate
@@ -111,11 +149,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -124,10 +165,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. If present, then retrieve the next batch of results from the preceding call
    * to this method.  `page_token` must be the value of `next_page_token` from
@@ -136,12 +180,14 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string page_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -150,10 +196,13 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. A comma separated list of fields specifying the sorting order of the
    * results. The default order is ascending. Add " desc" after the field name
@@ -162,8 +211,8 @@ public interface SearchAllResourcesRequestOrBuilder extends
    * 
* * string order_by = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java similarity index 73% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java index ddd19c83b..4e85d5501 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; /** + * + * *
  * Search all resources response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesResponse} */ -public final class SearchAllResourcesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchAllResourcesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) SearchAllResourcesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchAllResourcesResponse.newBuilder() to construct. private SearchAllResourcesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchAllResourcesResponse() { results_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private SearchAllResourcesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAllResourcesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SearchAllResourcesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private SearchAllResourcesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + results_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata>(); + mutable_bitField0_ |= 0x00000001; + } + results_.add( + input.readMessage( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), + extensionRegistry)); + break; } - results_.add( - input.readMessage(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private SearchAllResourcesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { results_ = java.util.Collections.unmodifiableList(results_); @@ -94,22 +116,27 @@ private SearchAllResourcesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -117,10 +144,13 @@ private SearchAllResourcesResponse( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ @java.lang.Override - public java.util.List getResultsList() { + public java.util.List + getResultsList() { return results_; } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -128,11 +158,14 @@ public java.util.List * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> getResultsOrBuilderList() { return results_; } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -144,6 +177,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -155,6 +190,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int return results_.get(index); } /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -170,6 +207,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -177,6 +216,7 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,14 +225,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -200,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -218,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < results_.size(); i++) { output.writeMessage(1, results_.get(i)); } @@ -247,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < results_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, results_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -261,17 +300,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.asset.v1p1beta1.SearchAllResourcesResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse other = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) obj; + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse other = + (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) obj; - if (!getResultsList() - .equals(other.getResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getResultsList().equals(other.getResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,117 +333,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.nio.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.SearchAllResourcesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Search all resources response.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.SearchAllResourcesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.class, + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.newBuilder() @@ -413,17 +461,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) { getResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p1beta1_SearchAllResourcesResponse_descriptor; } @java.lang.Override @@ -460,7 +508,8 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse buildPartial() { - com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse(this); + com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse result = + new com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse(this); int from_bitField0_ = bitField0_; if (resultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -480,38 +529,39 @@ public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) other); } else { super.mergeFrom(other); return this; @@ -519,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse other) { - if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse.getDefaultInstance()) + return this; if (resultsBuilder_ == null) { if (!other.results_.isEmpty()) { if (results_.isEmpty()) { @@ -538,9 +589,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.SearchAllResourcesResp resultsBuilder_ = null; results_ = other.results_; bitField0_ = (bitField0_ & ~0x00000001); - resultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getResultsFieldBuilder() : null; + resultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getResultsFieldBuilder() + : null; } else { resultsBuilder_.addAllMessages(other.results_); } @@ -569,7 +621,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,28 +631,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List results_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - results_ = new java.util.ArrayList(results_); + results_ = + new java.util.ArrayList( + results_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> resultsBuilder_; + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> + resultsBuilder_; /** + * + * *
      * A list of resource that match the search query.
      * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - public java.util.List getResultsList() { + public java.util.List + getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { @@ -607,6 +670,8 @@ public java.util.List } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -621,6 +686,8 @@ public int getResultsCount() { } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -635,6 +702,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -656,6 +725,8 @@ public Builder setResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -663,7 +734,8 @@ public Builder setResults( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public Builder setResults( - int index, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); @@ -674,6 +746,8 @@ public Builder setResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -694,6 +768,8 @@ public Builder addResults(com.google.cloud.asset.v1p1beta1.StandardResourceMetad return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -715,6 +791,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -733,6 +811,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -740,7 +820,8 @@ public Builder addResults( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public Builder addResults( - int index, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); @@ -751,6 +832,8 @@ public Builder addResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -758,11 +841,11 @@ public Builder addResults( * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public Builder addAllResults( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -770,6 +853,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -787,6 +872,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -804,6 +891,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -815,6 +904,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu return getResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -824,19 +915,23 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder getResu public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { - return results_.get(index); } else { + return results_.get(index); + } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of resource that match the search query.
      * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - public java.util.List - getResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> + getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { @@ -844,6 +939,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes } } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -851,10 +948,13 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getRes * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResultsBuilder() { - return getResultsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); } /** + * + * *
      * A list of resource that match the search query.
      * 
@@ -863,30 +963,37 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResu */ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResultsBuilder( int index) { - return getResultsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); + return getResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()); } /** + * + * *
      * A list of resource that match the search query.
      * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - public java.util.List - getResultsBuilderList() { + public java.util.List + getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { - resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder>( - results_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder>( + results_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); results_ = null; } return resultsBuilder_; @@ -894,6 +1001,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResu private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -901,13 +1010,13 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder addResu
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -916,6 +1025,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -923,15 +1034,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -939,6 +1049,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -946,20 +1058,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -967,15 +1081,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there are more results than those appearing in this response, then
      * `next_page_token` is included.  To get the next set of results, call this
@@ -983,23 +1100,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) private static final com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse(); } @@ -1023,16 +1140,16 @@ public static com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchAllResourcesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SearchAllResourcesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchAllResourcesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchAllResourcesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,6 +1164,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.asset.v1p1beta1.SearchAllResourcesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java index cea3d70ab..183a1d699 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/SearchAllResourcesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/asset_service.proto package com.google.cloud.asset.v1p1beta1; -public interface SearchAllResourcesResponseOrBuilder extends +public interface SearchAllResourcesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.SearchAllResourcesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of resource that match the search query.
    * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - java.util.List - getResultsList(); + java.util.List getResultsList(); /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -25,6 +44,8 @@ public interface SearchAllResourcesResponseOrBuilder extends */ com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getResults(int index); /** + * + * *
    * A list of resource that match the search query.
    * 
@@ -33,25 +54,30 @@ public interface SearchAllResourcesResponseOrBuilder extends */ int getResultsCount(); /** + * + * *
    * A list of resource that match the search query.
    * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - java.util.List + java.util.List getResultsOrBuilderList(); /** + * + * *
    * A list of resource that match the search query.
    * 
* * repeated .google.cloud.asset.v1p1beta1.StandardResourceMetadata results = 1; */ - com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrBuilder( - int index); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrBuilder(int index); /** + * + * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -59,10 +85,13 @@ com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrB
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there are more results than those appearing in this response, then
    * `next_page_token` is included.  To get the next set of results, call this
@@ -70,8 +99,8 @@ com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder getResultsOrB
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java similarity index 73% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java index f69059be5..670f18077 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; /** + * + * *
  * The standard metadata of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.StandardResourceMetadata} */ -public final class StandardResourceMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StandardResourceMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p1beta1.StandardResourceMetadata) StandardResourceMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StandardResourceMetadata.newBuilder() to construct. private StandardResourceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StandardResourceMetadata() { name_ = ""; assetType_ = ""; @@ -32,16 +50,15 @@ private StandardResourceMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StandardResourceMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StandardResourceMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -61,80 +78,88 @@ private StandardResourceMetadata( 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(); - assetType_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + assetType_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - project_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + project_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + description_ = s; + break; } - additionalAttributes_.add(s); - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + additionalAttributes_.add(s); + break; + } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 98: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + location_ = s; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - networkTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 98: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - networkTags_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + networkTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + networkTags_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,8 +167,7 @@ private StandardResourceMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { additionalAttributes_ = additionalAttributes_.getUnmodifiableView(); @@ -155,34 +179,38 @@ private StandardResourceMetadata( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_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 12: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -192,6 +220,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -200,14 +229,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -217,16 +247,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -237,12 +266,15 @@ public java.lang.String getName() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -251,30 +283,30 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -285,12 +317,15 @@ public java.lang.String getAssetType() { public static final int PROJECT_FIELD_NUMBER = 3; private volatile java.lang.Object project_; /** + * + * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; + * * @return The project. */ @java.lang.Override @@ -299,30 +334,30 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -333,11 +368,14 @@ public java.lang.String getProject() { public static final int DISPLAY_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of this resource.
    * 
* * string display_name = 4; + * * @return The displayName. */ @java.lang.Override @@ -346,29 +384,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of this resource.
    * 
* * string display_name = 4; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -379,12 +417,15 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -393,30 +434,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; + * * @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 { @@ -427,6 +468,8 @@ public java.lang.String getDescription() { public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList additionalAttributes_; /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -434,13 +477,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string additional_attributes = 10; + * * @return A list containing the additionalAttributes. */ - public com.google.protobuf.ProtocolStringList - getAdditionalAttributesList() { + public com.google.protobuf.ProtocolStringList getAdditionalAttributesList() { return additionalAttributes_; } /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -448,12 +493,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string additional_attributes = 10; + * * @return The count of additionalAttributes. */ public int getAdditionalAttributesCount() { return additionalAttributes_.size(); } /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -461,6 +509,7 @@ public int getAdditionalAttributesCount() {
    * 
* * repeated string additional_attributes = 10; + * * @param index The index of the element to return. * @return The additionalAttributes at the given index. */ @@ -468,6 +517,8 @@ public java.lang.String getAdditionalAttributes(int index) { return additionalAttributes_.get(index); } /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -475,23 +526,26 @@ public java.lang.String getAdditionalAttributes(int index) {
    * 
* * repeated string additional_attributes = 10; + * * @param index The index of the value to return. * @return The bytes of the additionalAttributes at the given index. */ - public com.google.protobuf.ByteString - getAdditionalAttributesBytes(int index) { + public com.google.protobuf.ByteString getAdditionalAttributesBytes(int index) { return additionalAttributes_.getByteString(index); } public static final int LOCATION_FIELD_NUMBER = 11; private volatile java.lang.Object location_; /** + * + * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; + * * @return The location. */ @java.lang.Override @@ -500,30 +554,30 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -532,24 +586,23 @@ public java.lang.String getLocation() { } public static final int LABELS_FIELD_NUMBER = 12; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -558,6 +611,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -566,22 +621,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 12;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -591,11 +646,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -605,16 +661,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -624,12 +680,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 12;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -639,6 +694,8 @@ public java.lang.String getLabelsOrThrow(
   public static final int NETWORK_TAGS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList networkTags_;
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -647,13 +704,15 @@ public java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 13; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_; } /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -662,12 +721,15 @@ public java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 13; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -676,6 +738,7 @@ public int getNetworkTagsCount() {
    * 
* * repeated string network_tags = 13; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -683,6 +746,8 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -691,15 +756,16 @@ public java.lang.String getNetworkTags(int index) {
    * 
* * repeated string network_tags = 13; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -711,8 +777,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -729,17 +794,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } for (int i = 0; i < additionalAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, additionalAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 10, additionalAttributes_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, location_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 12); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 12); for (int i = 0; i < networkTags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, networkTags_.getRaw(i)); } @@ -778,15 +840,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, location_); } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, labels__); + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, labels__); } { int dataSize = 0; @@ -804,31 +866,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p1beta1.StandardResourceMetadata)) { return super.equals(obj); } - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata other = (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; - if (!getProject() - .equals(other.getProject())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getAdditionalAttributesList() - .equals(other.getAdditionalAttributesList())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getNetworkTagsList() - .equals(other.getNetworkTagsList())) return false; + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata other = + (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) obj; + + if (!getName().equals(other.getName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAdditionalAttributesList().equals(other.getAdditionalAttributesList())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getNetworkTagsList().equals(other.getNetworkTagsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -870,139 +924,147 @@ public int hashCode() { } public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.nio.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.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p1beta1.StandardResourceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( - byte[] data, - com.google.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.asset.v1p1beta1.StandardResourceMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.StandardResourceMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p1beta1.StandardResourceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p1beta1.StandardResourceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The standard metadata of a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p1beta1.StandardResourceMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p1beta1.StandardResourceMetadata) com.google.cloud.asset.v1p1beta1.StandardResourceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 12: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 12: return internalGetMutableLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.class, + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.Builder.class); } // Construct using com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.newBuilder() @@ -1010,16 +1072,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1044,9 +1105,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p1beta1.AssetProto.internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p1beta1.AssetProto + .internal_static_google_cloud_asset_v1p1beta1_StandardResourceMetadata_descriptor; } @java.lang.Override @@ -1065,7 +1126,8 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata build() { @java.lang.Override public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata buildPartial() { - com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result = new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(this); + com.google.cloud.asset.v1p1beta1.StandardResourceMetadata result = + new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.assetType_ = assetType_; @@ -1093,38 +1155,39 @@ public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) { - return mergeFrom((com.google.cloud.asset.v1p1beta1.StandardResourceMetadata)other); + return mergeFrom((com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) other); } else { super.mergeFrom(other); return this; @@ -1132,7 +1195,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.StandardResourceMetadata other) { - if (other == com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p1beta1.StandardResourceMetadata.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1167,8 +1231,7 @@ public Builder mergeFrom(com.google.cloud.asset.v1p1beta1.StandardResourceMetada location_ = other.location_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (!other.networkTags_.isEmpty()) { if (networkTags_.isEmpty()) { networkTags_ = other.networkTags_; @@ -1198,7 +1261,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p1beta1.StandardResourceMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1207,10 +1271,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1220,13 +1287,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; @@ -1235,6 +1302,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1244,15 +1313,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1260,6 +1328,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1269,20 +1339,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1292,15 +1364,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full resource name. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1310,16 +1385,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; @@ -1327,19 +1402,21 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1348,21 +1425,22 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -1370,57 +1448,64 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of this resource.
      * For example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1428,19 +1513,21 @@ public Builder setAssetTypeBytes( private java.lang.Object project_ = ""; /** + * + * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -1449,21 +1536,22 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -1471,57 +1559,64 @@ public java.lang.String getProject() { } } /** + * + * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { + public Builder setProject(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + project_ = value; onChanged(); return this; } /** + * + * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; + * * @return This builder for chaining. */ public Builder clearProject() { - + project_ = getDefaultInstance().getProject(); onChanged(); return this; } /** + * + * *
      * The project that this resource belongs to, in the form of
      * `projects/{project_number}`.
      * 
* * string project = 3; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + project_ = value; onChanged(); return this; @@ -1529,18 +1624,20 @@ public Builder setProjectBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of this resource.
      * 
* * string display_name = 4; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1549,20 +1646,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource.
      * 
* * string display_name = 4; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -1570,54 +1668,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of this resource.
      * 
* * string display_name = 4; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of this resource.
      * 
* * string display_name = 4; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of this resource.
      * 
* * string display_name = 4; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1625,19 +1730,21 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; + * * @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; @@ -1646,21 +1753,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; + * * @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 { @@ -1668,70 +1776,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; + * * @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; } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of this resource. Maximum length
      * could be up to 1M bytes.
      * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList additionalAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList additionalAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAdditionalAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { additionalAttributes_ = new com.google.protobuf.LazyStringArrayList(additionalAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1739,13 +1858,15 @@ private void ensureAdditionalAttributesIsMutable() {
      * 
* * repeated string additional_attributes = 10; + * * @return A list containing the additionalAttributes. */ - public com.google.protobuf.ProtocolStringList - getAdditionalAttributesList() { + public com.google.protobuf.ProtocolStringList getAdditionalAttributesList() { return additionalAttributes_.getUnmodifiableView(); } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1753,12 +1874,15 @@ private void ensureAdditionalAttributesIsMutable() {
      * 
* * repeated string additional_attributes = 10; + * * @return The count of additionalAttributes. */ public int getAdditionalAttributesCount() { return additionalAttributes_.size(); } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1766,6 +1890,7 @@ public int getAdditionalAttributesCount() {
      * 
* * repeated string additional_attributes = 10; + * * @param index The index of the element to return. * @return The additionalAttributes at the given index. */ @@ -1773,6 +1898,8 @@ public java.lang.String getAdditionalAttributes(int index) { return additionalAttributes_.get(index); } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1780,14 +1907,16 @@ public java.lang.String getAdditionalAttributes(int index) {
      * 
* * repeated string additional_attributes = 10; + * * @param index The index of the value to return. * @return The bytes of the additionalAttributes at the given index. */ - public com.google.protobuf.ByteString - getAdditionalAttributesBytes(int index) { + public com.google.protobuf.ByteString getAdditionalAttributesBytes(int index) { return additionalAttributes_.getByteString(index); } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1795,21 +1924,23 @@ public java.lang.String getAdditionalAttributes(int index) {
      * 
* * repeated string additional_attributes = 10; + * * @param index The index to set the value at. * @param value The additionalAttributes to set. * @return This builder for chaining. */ - public Builder setAdditionalAttributes( - int index, java.lang.String value) { + public Builder setAdditionalAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalAttributesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalAttributesIsMutable(); additionalAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1817,20 +1948,22 @@ public Builder setAdditionalAttributes(
      * 
* * repeated string additional_attributes = 10; + * * @param value The additionalAttributes to add. * @return This builder for chaining. */ - public Builder addAdditionalAttributes( - java.lang.String value) { + public Builder addAdditionalAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAdditionalAttributesIsMutable(); + throw new NullPointerException(); + } + ensureAdditionalAttributesIsMutable(); additionalAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1838,18 +1971,19 @@ public Builder addAdditionalAttributes(
      * 
* * repeated string additional_attributes = 10; + * * @param values The additionalAttributes to add. * @return This builder for chaining. */ - public Builder addAllAdditionalAttributes( - java.lang.Iterable values) { + public Builder addAllAdditionalAttributes(java.lang.Iterable values) { ensureAdditionalAttributesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, additionalAttributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, additionalAttributes_); onChanged(); return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1857,6 +1991,7 @@ public Builder addAllAdditionalAttributes(
      * 
* * repeated string additional_attributes = 10; + * * @return This builder for chaining. */ public Builder clearAdditionalAttributes() { @@ -1866,6 +2001,8 @@ public Builder clearAdditionalAttributes() { return this; } /** + * + * *
      * Additional searchable attributes of this resource.
      * Informational only. The exact set of attributes is subject to change.
@@ -1873,15 +2010,15 @@ public Builder clearAdditionalAttributes() {
      * 
* * repeated string additional_attributes = 10; + * * @param value The bytes of the additionalAttributes to add. * @return This builder for chaining. */ - public Builder addAdditionalAttributesBytes( - com.google.protobuf.ByteString value) { + public Builder addAdditionalAttributesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAdditionalAttributesIsMutable(); additionalAttributes_.add(value); onChanged(); @@ -1890,19 +2027,21 @@ public Builder addAdditionalAttributesBytes( private java.lang.Object location_ = ""; /** + * + * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1911,21 +2050,22 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1933,78 +2073,84 @@ public java.lang.String getLocation() { } } /** + * + * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * Location can be "global", regional like "us-east1", or zonal like
      * "us-west1-b".
      * 
* * string location = 11; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2016,6 +2162,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2024,22 +2172,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 12;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2049,11 +2197,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 12;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2063,16 +2212,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 12;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2082,12 +2232,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 12;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2095,11 +2244,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2108,23 +2258,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 12;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2133,19 +2281,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 12;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this resource. See [Labelling and grouping GCP
      * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -2154,22 +2303,23 @@ public Builder putLabels(
      *
      * map<string, string> labels = 12;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private com.google.protobuf.LazyStringList networkTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList networkTags_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureNetworkTagsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         networkTags_ = new com.google.protobuf.LazyStringArrayList(networkTags_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2178,13 +2328,15 @@ private void ensureNetworkTagsIsMutable() {
      * 
* * repeated string network_tags = 13; + * * @return A list containing the networkTags. */ - public com.google.protobuf.ProtocolStringList - getNetworkTagsList() { + public com.google.protobuf.ProtocolStringList getNetworkTagsList() { return networkTags_.getUnmodifiableView(); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2193,12 +2345,15 @@ private void ensureNetworkTagsIsMutable() {
      * 
* * repeated string network_tags = 13; + * * @return The count of networkTags. */ public int getNetworkTagsCount() { return networkTags_.size(); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2207,6 +2362,7 @@ public int getNetworkTagsCount() {
      * 
* * repeated string network_tags = 13; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ @@ -2214,6 +2370,8 @@ public java.lang.String getNetworkTags(int index) { return networkTags_.get(index); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2222,14 +2380,16 @@ public java.lang.String getNetworkTags(int index) {
      * 
* * repeated string network_tags = 13; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - public com.google.protobuf.ByteString - getNetworkTagsBytes(int index) { + public com.google.protobuf.ByteString getNetworkTagsBytes(int index) { return networkTags_.getByteString(index); } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2238,21 +2398,23 @@ public java.lang.String getNetworkTags(int index) {
      * 
* * repeated string network_tags = 13; + * * @param index The index to set the value at. * @param value The networkTags to set. * @return This builder for chaining. */ - public Builder setNetworkTags( - int index, java.lang.String value) { + public Builder setNetworkTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2261,20 +2423,22 @@ public Builder setNetworkTags(
      * 
* * repeated string network_tags = 13; + * * @param value The networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTags( - java.lang.String value) { + public Builder addNetworkTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNetworkTagsIsMutable(); + throw new NullPointerException(); + } + ensureNetworkTagsIsMutable(); networkTags_.add(value); onChanged(); return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2283,18 +2447,19 @@ public Builder addNetworkTags(
      * 
* * repeated string network_tags = 13; + * * @param values The networkTags to add. * @return This builder for chaining. */ - public Builder addAllNetworkTags( - java.lang.Iterable values) { + public Builder addAllNetworkTags(java.lang.Iterable values) { ensureNetworkTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, networkTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, networkTags_); onChanged(); return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2303,6 +2468,7 @@ public Builder addAllNetworkTags(
      * 
* * repeated string network_tags = 13; + * * @return This builder for chaining. */ public Builder clearNetworkTags() { @@ -2312,6 +2478,8 @@ public Builder clearNetworkTags() { return this; } /** + * + * *
      * Network tags associated with this resource. Like labels, network tags are a
      * type of annotations used to group GCP resources. See [Labelling GCP
@@ -2320,23 +2488,23 @@ public Builder clearNetworkTags() {
      * 
* * repeated string network_tags = 13; + * * @param value The bytes of the networkTags to add. * @return This builder for chaining. */ - public Builder addNetworkTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addNetworkTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNetworkTagsIsMutable(); networkTags_.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); } @@ -2346,12 +2514,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p1beta1.StandardResourceMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p1beta1.StandardResourceMetadata) private static final com.google.cloud.asset.v1p1beta1.StandardResourceMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p1beta1.StandardResourceMetadata(); } @@ -2360,16 +2528,16 @@ public static com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardResourceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StandardResourceMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardResourceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StandardResourceMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2384,6 +2552,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p1beta1.StandardResourceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java similarity index 81% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java rename to proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java index 5a4547c2d..bb204bb0e 100644 --- a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java +++ b/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/StandardResourceMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p1beta1/assets.proto package com.google.cloud.asset.v1p1beta1; -public interface StandardResourceMetadataOrBuilder extends +public interface StandardResourceMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p1beta1.StandardResourceMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -17,10 +35,13 @@ public interface StandardResourceMetadataOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full resource name. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -30,98 +51,120 @@ public interface StandardResourceMetadataOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of this resource.
    * For example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * The project that this resource belongs to, in the form of
    * `projects/{project_number}`.
    * 
* * string project = 3; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * The display name of this resource.
    * 
* * string display_name = 4; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of this resource.
    * 
* * string display_name = 4; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of this resource. Maximum length
    * could be up to 1M bytes.
    * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -129,11 +172,13 @@ public interface StandardResourceMetadataOrBuilder extends
    * 
* * repeated string additional_attributes = 10; + * * @return A list containing the additionalAttributes. */ - java.util.List - getAdditionalAttributesList(); + java.util.List getAdditionalAttributesList(); /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -141,10 +186,13 @@ public interface StandardResourceMetadataOrBuilder extends
    * 
* * repeated string additional_attributes = 10; + * * @return The count of additionalAttributes. */ int getAdditionalAttributesCount(); /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -152,11 +200,14 @@ public interface StandardResourceMetadataOrBuilder extends
    * 
* * repeated string additional_attributes = 10; + * * @param index The index of the element to return. * @return The additionalAttributes at the given index. */ java.lang.String getAdditionalAttributes(int index); /** + * + * *
    * Additional searchable attributes of this resource.
    * Informational only. The exact set of attributes is subject to change.
@@ -164,35 +215,42 @@ public interface StandardResourceMetadataOrBuilder extends
    * 
* * repeated string additional_attributes = 10; + * * @param index The index of the value to return. * @return The bytes of the additionalAttributes at the given index. */ - com.google.protobuf.ByteString - getAdditionalAttributesBytes(int index); + com.google.protobuf.ByteString getAdditionalAttributesBytes(int index); /** + * + * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * Location can be "global", regional like "us-east1", or zonal like
    * "us-west1-b".
    * 
* * string location = 11; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -203,6 +261,8 @@ public interface StandardResourceMetadataOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -211,15 +271,13 @@ public interface StandardResourceMetadataOrBuilder extends
    *
    * map<string, string> labels = 12;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -228,9 +286,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 12;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -241,11 +300,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels associated with this resource. See [Labelling and grouping GCP
    * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
@@ -254,11 +315,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 12;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -267,11 +328,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 13; + * * @return A list containing the networkTags. */ - java.util.List - getNetworkTagsList(); + java.util.List getNetworkTagsList(); /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -280,10 +343,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 13; + * * @return The count of networkTags. */ int getNetworkTagsCount(); /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -292,11 +358,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 13; + * * @param index The index of the element to return. * @return The networkTags at the given index. */ java.lang.String getNetworkTags(int index); /** + * + * *
    * Network tags associated with this resource. Like labels, network tags are a
    * type of annotations used to group GCP resources. See [Labelling GCP
@@ -305,9 +374,9 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string network_tags = 13; + * * @param index The index of the value to return. * @return The bytes of the networkTags at the given index. */ - com.google.protobuf.ByteString - getNetworkTagsBytes(int index); + com.google.protobuf.ByteString getNetworkTagsBytes(int index); } diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto b/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto rename to proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto diff --git a/owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto b/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto similarity index 100% rename from owl-bot-staging/v1p1beta1/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto rename to proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java similarity index 75% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java index bcb258585..704e28ff5 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Asset.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Cloud asset. This includes all Google Cloud Platform resources,
  * Cloud IAM policies, and other non-GCP assets.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.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_ = "";
     assetType_ = "";
@@ -28,16 +46,15 @@ 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)
@@ -57,60 +74,67 @@ 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;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1p2beta1.Resource.Builder subBuilder = null;
-            if (resource_ != null) {
-              subBuilder = resource_.toBuilder();
-            }
-            resource_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Resource.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(resource_);
-              resource_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            com.google.iam.v1.Policy.Builder subBuilder = null;
-            if (iamPolicy_ != null) {
-              subBuilder = iamPolicy_.toBuilder();
+              assetType_ = s;
+              break;
             }
-            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(iamPolicy_);
-              iamPolicy_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.asset.v1p2beta1.Resource.Builder subBuilder = null;
+              if (resource_ != null) {
+                subBuilder = resource_.toBuilder();
+              }
+              resource_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p2beta1.Resource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 34:
+            {
+              com.google.iam.v1.Policy.Builder subBuilder = null;
+              if (iamPolicy_ != null) {
+                subBuilder = iamPolicy_.toBuilder();
+              }
+              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(iamPolicy_);
+                iamPolicy_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              ancestors_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              break;
             }
-            ancestors_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ancestors_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              ancestors_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -118,8 +142,7 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         ancestors_ = ancestors_.getUnmodifiableView();
@@ -128,22 +151,27 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.Asset.class, com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
+            com.google.cloud.asset.v1p2beta1.Asset.class,
+            com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -153,6 +181,7 @@ private Asset(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -161,14 +190,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -178,16 +208,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -198,11 +227,14 @@ public java.lang.String getName() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -211,29 +243,29 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -244,11 +276,14 @@ public java.lang.String getAssetType() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Resource resource_; /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -256,18 +291,25 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return The resource. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.Resource getResource() { - return resource_ == null ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() + : resource_; } /** + * + * *
    * Representation of the resource.
    * 
@@ -282,12 +324,15 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -295,12 +340,15 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -308,6 +356,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -323,6 +373,8 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ANCESTORS_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList ancestors_;
   /**
+   *
+   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -332,13 +384,15 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
    * 
* * repeated string ancestors = 6; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -348,12 +402,15 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
    * 
* * repeated string ancestors = 6; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -363,6 +420,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -370,6 +428,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -379,15 +439,16 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 6; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,8 +460,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -432,12 +492,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); } { int dataSize = 0; @@ -455,29 +513,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.asset.v1p2beta1.Asset)) { return super.equals(obj); } com.google.cloud.asset.v1p2beta1.Asset other = (com.google.cloud.asset.v1p2beta1.Asset) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) 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 (!getAncestorsList() - .equals(other.getAncestorsList())) return false; + if (!getAncestorsList().equals(other.getAncestorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -510,97 +563,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.Asset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.Asset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.Asset 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.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.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.asset.v1p2beta1.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; } /** + * + * *
    * Cloud asset. This includes all Google Cloud Platform resources,
    * Cloud IAM policies, and other non-GCP assets.
@@ -608,21 +668,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset)
       com.google.cloud.asset.v1p2beta1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.Asset.class, com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
+              com.google.cloud.asset.v1p2beta1.Asset.class,
+              com.google.cloud.asset.v1p2beta1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.Asset.newBuilder()
@@ -630,16 +692,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -665,9 +726,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -686,7 +747,8 @@ public com.google.cloud.asset.v1p2beta1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.Asset buildPartial() {
-      com.google.cloud.asset.v1p2beta1.Asset result = new com.google.cloud.asset.v1p2beta1.Asset(this);
+      com.google.cloud.asset.v1p2beta1.Asset result =
+          new com.google.cloud.asset.v1p2beta1.Asset(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.assetType_ = assetType_;
@@ -713,38 +775,39 @@ public com.google.cloud.asset.v1p2beta1.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.asset.v1p2beta1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.Asset)other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.Asset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -805,10 +868,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -818,13 +884,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; @@ -833,6 +899,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -842,15 +910,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -858,6 +925,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -867,20 +936,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -890,15 +961,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -908,16 +982,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; @@ -925,18 +999,20 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -945,20 +1021,21 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -966,54 +1043,61 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1021,34 +1105,47 @@ public Builder setAssetTypeBytes( private com.google.cloud.asset.v1p2beta1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Resource, com.google.cloud.asset.v1p2beta1.Resource.Builder, com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> resourceBuilder_; + com.google.cloud.asset.v1p2beta1.Resource, + com.google.cloud.asset.v1p2beta1.Resource.Builder, + com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> + resourceBuilder_; /** + * + * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** + * + * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return The resource. */ public com.google.cloud.asset.v1p2beta1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * Representation of the resource.
      * 
@@ -1069,14 +1166,15 @@ public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** + * + * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; */ - public Builder setResource( - com.google.cloud.asset.v1p2beta1.Resource.Builder builderForValue) { + public Builder setResource(com.google.cloud.asset.v1p2beta1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1087,6 +1185,8 @@ public Builder setResource( return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1097,7 +1197,9 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1p2beta1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p2beta1.Resource.newBuilder(resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1109,6 +1211,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p2beta1.Resource value) { return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1127,6 +1231,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1134,11 +1240,13 @@ public Builder clearResource() { * .google.cloud.asset.v1p2beta1.Resource resource = 3; */ public com.google.cloud.asset.v1p2beta1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Representation of the resource.
      * 
@@ -1149,11 +1257,14 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p2beta1.Resource.getDefaultInstance() + : resource_; } } /** + * + * *
      * Representation of the resource.
      * 
@@ -1161,14 +1272,17 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() * .google.cloud.asset.v1p2beta1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Resource, com.google.cloud.asset.v1p2beta1.Resource.Builder, com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> + com.google.cloud.asset.v1p2beta1.Resource, + com.google.cloud.asset.v1p2beta1.Resource.Builder, + com.google.cloud.asset.v1p2beta1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Resource, com.google.cloud.asset.v1p2beta1.Resource.Builder, com.google.cloud.asset.v1p2beta1.ResourceOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Resource, + com.google.cloud.asset.v1p2beta1.Resource.Builder, + com.google.cloud.asset.v1p2beta1.ResourceOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; @@ -1176,26 +1290,35 @@ public com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder() private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + iamPolicyBuilder_; /** + * + * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** + * + * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1206,6 +1329,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1227,6 +1352,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1234,8 +1361,7 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -1246,6 +1372,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1257,7 +1385,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -1269,6 +1397,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1288,6 +1418,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1296,11 +1428,13 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-      
+
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1312,11 +1446,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1325,27 +1460,34 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(),
-                getParentForChildren(),
-                isClean());
+        iamPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(), getParentForChildren(), isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList ancestors_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAncestorsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1355,13 +1497,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 6; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1371,12 +1515,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 6; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1386,6 +1533,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -1393,6 +1541,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1402,14 +1552,16 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 6; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1419,21 +1571,23 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 6; + * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors( - int index, java.lang.String value) { + public Builder setAncestors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1443,20 +1597,22 @@ public Builder setAncestors(
      * 
* * repeated string ancestors = 6; + * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors( - java.lang.String value) { + public Builder addAncestors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1466,18 +1622,19 @@ public Builder addAncestors(
      * 
* * repeated string ancestors = 6; + * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors( - java.lang.Iterable values) { + public Builder addAllAncestors(java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); onChanged(); return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1487,6 +1644,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 6; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1496,6 +1654,8 @@ public Builder clearAncestors() { return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -1505,23 +1665,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 6; + * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -1531,12 +1691,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.Asset) private static final com.google.cloud.asset.v1p2beta1.Asset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.Asset(); } @@ -1545,16 +1705,16 @@ public static com.google.cloud.asset.v1p2beta1.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; @@ -1569,6 +1729,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java similarity index 83% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java index c7aacd763..6396365ad 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; -public interface AssetOrBuilder extends +public interface AssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.Asset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -17,10 +35,13 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -30,50 +51,63 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p2beta1.Resource resource = 3; + * * @return The resource. */ com.google.cloud.asset.v1p2beta1.Resource getResource(); /** + * + * *
    * Representation of the resource.
    * 
@@ -83,26 +117,34 @@ public interface AssetOrBuilder extends com.google.cloud.asset.v1p2beta1.ResourceOrBuilder getResourceOrBuilder(); /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -113,6 +155,8 @@ public interface AssetOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -122,11 +166,13 @@ public interface AssetOrBuilder extends
    * 
* * repeated string ancestors = 6; + * * @return A list containing the ancestors. */ - java.util.List - getAncestorsList(); + java.util.List getAncestorsList(); /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -136,10 +182,13 @@ public interface AssetOrBuilder extends
    * 
* * repeated string ancestors = 6; + * * @return The count of ancestors. */ int getAncestorsCount(); /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -149,11 +198,14 @@ public interface AssetOrBuilder extends
    * 
* * repeated string ancestors = 6; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -163,9 +215,9 @@ public interface AssetOrBuilder extends
    * 
* * repeated string ancestors = 6; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString - getAncestorsBytes(int index); + com.google.protobuf.ByteString getAncestorsBytes(int index); } diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java new file mode 100644 index 000000000..488434d61 --- /dev/null +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java @@ -0,0 +1,131 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/assets.proto + +package com.google.cloud.asset.v1p2beta1; + +public final class AssetProto { + private AssetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p2beta1_TemporalAsset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/asset/v1p2beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p2beta1\032\034googl" + + "e/api/annotations.proto\032\032google/iam/v1/p" + + "olicy.proto\032\031google/protobuf/any.proto\032\034" + + "google/protobuf/struct.proto\032\037google/pro" + + "tobuf/timestamp.proto\"\216\001\n\rTemporalAsset\022" + + "8\n\006window\030\001 \001(\0132(.google.cloud.asset.v1p" + + "2beta1.TimeWindow\022\017\n\007deleted\030\002 \001(\010\0222\n\005as" + + "set\030\003 \001(\0132#.google.cloud.asset.v1p2beta1" + + ".Asset\"j\n\nTimeWindow\022.\n\nstart_time\030\001 \001(\013" + + "2\032.google.protobuf.Timestamp\022,\n\010end_time" + + "\030\002 \001(\0132\032.google.protobuf.Timestamp\"\241\001\n\005A" + + "sset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(\t\0228" + + "\n\010resource\030\003 \001(\0132&.google.cloud.asset.v1" + + "p2beta1.Resource\022)\n\niam_policy\030\004 \001(\0132\025.g" + + "oogle.iam.v1.Policy\022\021\n\tancestors\030\006 \003(\t\"\240" + + "\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036\n\026discover" + + "y_document_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003" + + " \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001" + + "(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf.Struc" + + "tB\264\001\n com.google.cloud.asset.v1p2beta1B\n" + + "AssetProtoP\001ZAgoogle.golang.org/genproto" + + "/googleapis/cloud/asset/v1p2beta1;asset\370" + + "\001\001\252\002\034Google.Cloud.Asset.v1p2beta1\312\002\034Goog" + + "le\\Cloud\\Asset\\V1p2beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor, + new java.lang.String[] { + "Window", "Deleted", "Asset", + }); + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p2beta1_Asset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_Asset_descriptor, + new java.lang.String[] { + "Name", "AssetType", "Resource", "IamPolicy", "Ancestors", + }); + internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor, + new java.lang.String[] { + "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", + }); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java new file mode 100644 index 000000000..0c021b602 --- /dev/null +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java @@ -0,0 +1,276 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/asset_service.proto + +package com.google.cloud.asset.v1p2beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p2beta1_CreateFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p2beta1_Feed_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/asset/v1p2beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p2beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032)goo" + + "gle/cloud/asset/v1p2beta1/assets.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"u\n\021CreateFeedRequest\022\023\n\006pare" + + "nt\030\001 \001(\tB\003\340A\002\022\024\n\007feed_id\030\002 \001(\tB\003\340A\002\0225\n\004f" + + "eed\030\003 \001(\0132\".google.cloud.asset.v1p2beta1" + + ".FeedB\003\340A\002\"F\n\016GetFeedRequest\0224\n\004name\030\001 \001" + + "(\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fe" + + "ed\"\'\n\020ListFeedsRequest\022\023\n\006parent\030\001 \001(\tB\003" + + "\340A\002\"F\n\021ListFeedsResponse\0221\n\005feeds\030\001 \003(\0132" + + "\".google.cloud.asset.v1p2beta1.Feed\"\200\001\n\021" + + "UpdateFeedRequest\0225\n\004feed\030\001 \001(\0132\".google" + + ".cloud.asset.v1p2beta1.FeedB\003\340A\002\0224\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\003\340A\002\"I\n\021DeleteFeedRequest\0224\n\004name\030\001 \001(" + + "\tB&\340A\002\372A \n\036cloudasset.googleapis.com/Fee" + + "d\"f\n\014OutputConfig\022G\n\017gcs_destination\030\001 \001" + + "(\0132,.google.cloud.asset.v1p2beta1.GcsDes" + + "tinationH\000B\r\n\013destination\"-\n\016GcsDestinat" + + "ion\022\r\n\003uri\030\001 \001(\tH\000B\014\n\nobject_uri\"\"\n\021Pubs" + + "ubDestination\022\r\n\005topic\030\001 \001(\t\"p\n\020FeedOutp" + + "utConfig\022M\n\022pubsub_destination\030\001 \001(\0132/.g" + + "oogle.cloud.asset.v1p2beta1.PubsubDestin" + + "ationH\000B\r\n\013destination\"\351\002\n\004Feed\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\002\022\023\n\013asset_names\030\002 \003(\t\022\023\n\013asset" + + "_types\030\003 \003(\t\022?\n\014content_type\030\004 \001(\0162).goo" + + "gle.cloud.asset.v1p2beta1.ContentType\022O\n" + + "\022feed_output_config\030\005 \001(\0132..google.cloud" + + ".asset.v1p2beta1.FeedOutputConfigB\003\340A\002:\221" + + "\001\352A\215\001\n\036cloudasset.googleapis.com/Feed\022\037p" + + "rojects/{project}/feeds/{feed}\022\035folders/" + + "{folder}/feeds/{feed}\022)organizations/{or" + + "ganization}/feeds/{feed} \001*I\n\013ContentTyp" + + "e\022\034\n\030CONTENT_TYPE_UNSPECIFIED\020\000\022\014\n\010RESOU" + + "RCE\020\001\022\016\n\nIAM_POLICY\020\0022\277\006\n\014AssetService\022\224" + + "\001\n\nCreateFeed\022/.google.cloud.asset.v1p2b" + + "eta1.CreateFeedRequest\032\".google.cloud.as" + + "set.v1p2beta1.Feed\"1\202\323\344\223\002\"\"\035/v1p2beta1/{" + + "parent=*/*}/feeds:\001*\332A\006parent\022\211\001\n\007GetFee" + + "d\022,.google.cloud.asset.v1p2beta1.GetFeed" + + "Request\032\".google.cloud.asset.v1p2beta1.F" + + "eed\",\202\323\344\223\002\037\022\035/v1p2beta1/{name=*/*/feeds/" + + "*}\332A\004name\022\234\001\n\tListFeeds\022..google.cloud.a" + + "sset.v1p2beta1.ListFeedsRequest\032/.google" + + ".cloud.asset.v1p2beta1.ListFeedsResponse" + + "\".\202\323\344\223\002\037\022\035/v1p2beta1/{parent=*/*}/feeds\332" + + "A\006parent\022\227\001\n\nUpdateFeed\022/.google.cloud.a" + + "sset.v1p2beta1.UpdateFeedRequest\032\".googl" + + "e.cloud.asset.v1p2beta1.Feed\"4\202\323\344\223\002\'2\"/v" + + "1p2beta1/{feed.name=*/*/feeds/*}:\001*\332A\004fe" + + "ed\022\203\001\n\nDeleteFeed\022/.google.cloud.asset.v" + + "1p2beta1.DeleteFeedRequest\032\026.google.prot" + + "obuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1/{name=*/*" + + "/feeds/*}\332A\004name\032M\312A\031cloudasset.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\270\001\n com.google.cloud.ass" + + "et.v1p2beta1B\021AssetServiceProtoP\001ZAgoogl" + + "e.golang.org/genproto/googleapis/cloud/a" + + "sset/v1p2beta1;asset\252\002\034Google.Cloud.Asse" + + "t.V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2bet" + + "a1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor, + new java.lang.String[] { + "Parent", "FeedId", "Feed", + }); + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor, + new java.lang.String[] { + "Parent", + }); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor, + new java.lang.String[] { + "Feeds", + }); + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor, + new java.lang.String[] { + "Feed", "UpdateMask", + }); + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor, + new java.lang.String[] { + "GcsDestination", "Destination", + }); + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor, + new java.lang.String[] { + "Uri", "ObjectUri", + }); + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor, + new java.lang.String[] { + "Topic", + }); + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor, + new java.lang.String[] { + "PubsubDestination", "Destination", + }); + internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor, + new java.lang.String[] { + "Name", "AssetNames", "AssetTypes", "ContentType", "FeedOutputConfig", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1p2beta1.AssetProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java similarity index 66% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java index dffdb7a8c..6d7dda275 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ContentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1p2beta1.ContentType} */ -public enum ContentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified content type.
    * 
@@ -21,6 +39,8 @@ public enum ContentType */ CONTENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource metadata.
    * 
@@ -29,6 +49,8 @@ public enum ContentType */ RESOURCE(1), /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -40,6 +62,8 @@ public enum ContentType ; /** + * + * *
    * Unspecified content type.
    * 
@@ -48,6 +72,8 @@ public enum ContentType */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource metadata.
    * 
@@ -56,6 +82,8 @@ public enum ContentType */ public static final int RESOURCE_VALUE = 1; /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -64,7 +92,6 @@ public enum ContentType */ public static final int IAM_POLICY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: return CONTENT_TYPE_UNSPECIFIED; - case 1: return RESOURCE; - case 2: return IAM_POLICY; - default: return null; + case 0: + return CONTENT_TYPE_UNSPECIFIED; + case 1: + return RESOURCE; + case 2: + return IAM_POLICY; + 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< - ContentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.asset.v1p2beta1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType 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; @@ -147,4 +174,3 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1p2beta1.ContentType) } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java similarity index 73% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java index d71caa2b7..bac9e67c1 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Create asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.CreateFeedRequest} */ -public final class CreateFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.CreateFeedRequest) CreateFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateFeedRequest.newBuilder() to construct. private CreateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateFeedRequest() { parent_ = ""; feedId_ = ""; @@ -26,16 +44,15 @@ private CreateFeedRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateFeedRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - feedId_ = s; - break; - } - case 26: { - com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); + parent_ = s; + break; } - feed_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + feedId_ = s; + break; } + case 26: + { + com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); + } + feed_ = + input.readMessage( + com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,29 +115,33 @@ private CreateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -125,6 +151,7 @@ private CreateFeedRequest(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -133,14 +160,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -150,16 +178,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,12 +197,15 @@ public java.lang.String getParent() { public static final int FEED_ID_FIELD_NUMBER = 2; private volatile java.lang.Object feedId_; /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feedId. */ @java.lang.Override @@ -184,30 +214,30 @@ public java.lang.String getFeedId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; } } /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for feedId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFeedIdBytes() { + public com.google.protobuf.ByteString getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); feedId_ = b; return b; } else { @@ -218,6 +248,8 @@ public java.lang.String getFeedId() { public static final int FEED_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Feed feed_; /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -226,7 +258,9 @@ public java.lang.String getFeedId() {
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feed field is set. */ @java.lang.Override @@ -234,6 +268,8 @@ public boolean hasFeed() { return feed_ != null; } /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -242,7 +278,9 @@ public boolean hasFeed() {
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feed. */ @java.lang.Override @@ -250,6 +288,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -258,7 +298,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { @@ -266,6 +307,7 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,8 +319,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -304,8 +345,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, feedId_); } if (feed_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getFeed()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFeed()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -315,21 +355,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.asset.v1p2beta1.CreateFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.CreateFeedRequest other = (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.CreateFeedRequest other = + (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFeedId() - .equals(other.getFeedId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFeedId().equals(other.getFeedId())) return false; if (hasFeed() != other.hasFeed()) return false; if (hasFeed()) { - if (!getFeed() - .equals(other.getFeed())) return false; + if (!getFeed().equals(other.getFeed())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -356,117 +394,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.nio.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.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.CreateFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.CreateFeedRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.CreateFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.CreateFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.CreateFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.CreateFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.CreateFeedRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.CreateFeedRequest) com.google.cloud.asset.v1p2beta1.CreateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.class, + com.google.cloud.asset.v1p2beta1.CreateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.CreateFeedRequest.newBuilder() @@ -474,16 +521,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +547,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_CreateFeedRequest_descriptor; } @java.lang.Override @@ -522,7 +568,8 @@ public com.google.cloud.asset.v1p2beta1.CreateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.CreateFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.CreateFeedRequest result = new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(this); + com.google.cloud.asset.v1p2beta1.CreateFeedRequest result = + new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(this); result.parent_ = parent_; result.feedId_ = feedId_; if (feedBuilder_ == null) { @@ -538,38 +585,39 @@ public com.google.cloud.asset.v1p2beta1.CreateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.CreateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.CreateFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.CreateFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -577,7 +625,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.CreateFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.CreateFeedRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.CreateFeedRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -608,7 +657,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.CreateFeedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,6 +670,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -629,13 +681,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -644,6 +696,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -653,15 +707,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -669,6 +722,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -678,20 +733,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -701,15 +758,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the project/folder/organization where this feed
      * should be created in. It can only be an organization number (such as
@@ -719,16 +779,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -736,19 +796,21 @@ public Builder setParentBytes( private java.lang.Object feedId_ = ""; /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feedId. */ public java.lang.String getFeedId() { java.lang.Object ref = feedId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); feedId_ = s; return s; @@ -757,21 +819,22 @@ public java.lang.String getFeedId() { } } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for feedId. */ - public com.google.protobuf.ByteString - getFeedIdBytes() { + public com.google.protobuf.ByteString getFeedIdBytes() { java.lang.Object ref = feedId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); feedId_ = b; return b; } else { @@ -779,57 +842,64 @@ public java.lang.String getFeedId() { } } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The feedId to set. * @return This builder for chaining. */ - public Builder setFeedId( - java.lang.String value) { + public Builder setFeedId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + feedId_ = value; onChanged(); return this; } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFeedId() { - + feedId_ = getDefaultInstance().getFeedId(); onChanged(); return this; } /** + * + * *
      * Required. This is the client-assigned asset feed identifier and it needs to
      * be unique under a specific parent project/folder/organization.
      * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for feedId to set. * @return This builder for chaining. */ - public Builder setFeedIdBytes( - com.google.protobuf.ByteString value) { + public Builder setFeedIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + feedId_ = value; onChanged(); return this; @@ -837,8 +907,13 @@ public Builder setFeedIdBytes( private com.google.cloud.asset.v1p2beta1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> feedBuilder_; + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + feedBuilder_; /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -847,13 +922,17 @@ public Builder setFeedIdBytes(
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -862,7 +941,9 @@ public boolean hasFeed() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feed. */ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { @@ -873,6 +954,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { } } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -881,7 +964,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { @@ -897,6 +981,8 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -905,10 +991,10 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFeed( - com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { + public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { if (feedBuilder_ == null) { feed_ = builderForValue.build(); onChanged(); @@ -919,6 +1005,8 @@ public Builder setFeed( return this; } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -927,13 +1015,16 @@ public Builder setFeed(
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { if (feed_ != null) { feed_ = - com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_) + .mergeFrom(value) + .buildPartial(); } else { feed_ = value; } @@ -945,6 +1036,8 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -953,7 +1046,8 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFeed() { if (feedBuilder_ == null) { @@ -967,6 +1061,8 @@ public Builder clearFeed() { return this; } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -975,14 +1071,17 @@ public Builder clearFeed() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { - + onChanged(); return getFeedFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -991,17 +1090,19 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { if (feedBuilder_ != null) { return feedBuilder_.getMessageOrBuilder(); } else { - return feed_ == null ? - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; + return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } } /** + * + * *
      * Required. The feed details. The field `name` must be empty and it will be generated
      * in the format of:
@@ -1010,24 +1111,28 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder> getFeedFieldBuilder() { if (feedBuilder_ == null) { - feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( - getFeed(), - getParentForChildren(), - isClean()); + feedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( + getFeed(), getParentForChildren(), isClean()); feed_ = null; } return feedBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1037,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.CreateFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.CreateFeedRequest) private static final com.google.cloud.asset.v1p2beta1.CreateFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.CreateFeedRequest(); } @@ -1051,16 +1156,16 @@ public static com.google.cloud.asset.v1p2beta1.CreateFeedRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,6 +1180,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.CreateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java index c8fc92543..559d9f10b 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/CreateFeedRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface CreateFeedRequestOrBuilder extends +public interface CreateFeedRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.CreateFeedRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -17,10 +35,13 @@ public interface CreateFeedRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the project/folder/organization where this feed
    * should be created in. It can only be an organization number (such as
@@ -30,34 +51,41 @@ public interface CreateFeedRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The feedId. */ java.lang.String getFeedId(); /** + * + * *
    * Required. This is the client-assigned asset feed identifier and it needs to
    * be unique under a specific parent project/folder/organization.
    * 
* * string feed_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for feedId. */ - com.google.protobuf.ByteString - getFeedIdBytes(); + com.google.protobuf.ByteString getFeedIdBytes(); /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -66,11 +94,15 @@ public interface CreateFeedRequestOrBuilder extends
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feed field is set. */ boolean hasFeed(); /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -79,11 +111,15 @@ public interface CreateFeedRequestOrBuilder extends
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feed. */ com.google.cloud.asset.v1p2beta1.Feed getFeed(); /** + * + * *
    * Required. The feed details. The field `name` must be empty and it will be generated
    * in the format of:
@@ -92,7 +128,8 @@ public interface CreateFeedRequestOrBuilder extends
    * organizations/organization_number/feeds/feed_id
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java similarity index 65% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java index a1f0cd948..efbf7b40d 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequest.java @@ -1,36 +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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -/** - * Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} - */ -public final class DeleteFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} */ +public final class DeleteFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.DeleteFeedRequest) DeleteFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFeedRequest.newBuilder() to construct. private DeleteFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -49,19 +62,20 @@ private DeleteFeedRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -69,29 +83,33 @@ private DeleteFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -99,7 +117,10 @@ private DeleteFeedRequest(
    * organizations/organization_number/feeds/feed_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 @@ -108,14 +129,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -123,17 +145,18 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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 { @@ -142,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +201,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.asset.v1p2beta1.DeleteFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest other = (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest other = + (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,113 +229,118 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.nio.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.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.DeleteFeedRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.DeleteFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.DeleteFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.DeleteFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.asset.v1p2beta1.DeleteFeedRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.DeleteFeedRequest) com.google.cloud.asset.v1p2beta1.DeleteFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.class, + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.newBuilder() @@ -320,16 +348,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +366,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_DeleteFeedRequest_descriptor; } @java.lang.Override @@ -360,7 +387,8 @@ public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.DeleteFeedRequest result = new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(this); + com.google.cloud.asset.v1p2beta1.DeleteFeedRequest result = + new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -370,38 +398,39 @@ public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.DeleteFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -409,7 +438,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.DeleteFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.DeleteFeedRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,7 +463,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.DeleteFeedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,6 +476,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -452,14 +485,16 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -468,6 +503,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -475,16 +512,17 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -492,6 +530,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -499,21 +539,25 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -521,16 +565,21 @@ public Builder setName(
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -538,24 +587,26 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -565,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.DeleteFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.DeleteFeedRequest) private static final com.google.cloud.asset.v1p2beta1.DeleteFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.DeleteFeedRequest(); } @@ -579,16 +630,16 @@ public static com.google.cloud.asset.v1p2beta1.DeleteFeedRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.DeleteFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java new file mode 100644 index 000000000..ee25e690f --- /dev/null +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/DeleteFeedRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/asset_service.proto + +package com.google.cloud.asset.v1p2beta1; + +public interface DeleteFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.DeleteFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java similarity index 76% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java index 3b05f4e0d..44085428c 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Feed.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * An asset feed used to export asset updates to a destinations.
  * An asset feed filter controls what updates are exported.
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.Feed}
  */
-public final class Feed extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Feed extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.Feed)
     FeedOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Feed.newBuilder() to construct.
   private Feed(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Feed() {
     name_ = "";
     assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -32,16 +50,15 @@ private Feed() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Feed();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Feed(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,56 +78,64 @@ private Feed(
           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)) {
-              assetNames_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            assetNames_.add(s);
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              assetTypes_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                assetNames_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              assetNames_.add(s);
+              break;
             }
-            assetTypes_.add(s);
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            contentType_ = rawValue;
-            break;
-          }
-          case 42: {
-            com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder subBuilder = null;
-            if (feedOutputConfig_ != null) {
-              subBuilder = feedOutputConfig_.toBuilder();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                assetTypes_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              assetTypes_.add(s);
+              break;
             }
-            feedOutputConfig_ = input.readMessage(com.google.cloud.asset.v1p2beta1.FeedOutputConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(feedOutputConfig_);
-              feedOutputConfig_ = subBuilder.buildPartial();
+          case 32:
+            {
+              int rawValue = input.readEnum();
+
+              contentType_ = rawValue;
+              break;
             }
+          case 42:
+            {
+              com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder subBuilder = null;
+              if (feedOutputConfig_ != null) {
+                subBuilder = feedOutputConfig_.toBuilder();
+              }
+              feedOutputConfig_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p2beta1.FeedOutputConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(feedOutputConfig_);
+                feedOutputConfig_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -118,8 +143,7 @@ private Feed(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         assetNames_ = assetNames_.getUnmodifiableView();
@@ -131,22 +155,27 @@ private Feed(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.Feed.class, com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
+            com.google.cloud.asset.v1p2beta1.Feed.class,
+            com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -157,6 +186,7 @@ private Feed(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -165,14 +195,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -183,16 +214,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -203,6 +233,8 @@ public java.lang.String getName() { public static final int ASSET_NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList assetNames_; /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -215,13 +247,15 @@ public java.lang.String getName() {
    * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList - getAssetNamesList() { + public com.google.protobuf.ProtocolStringList getAssetNamesList() { return assetNames_; } /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -234,12 +268,15 @@ public java.lang.String getName() {
    * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -252,6 +289,7 @@ public int getAssetNamesCount() {
    * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -259,6 +297,8 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -271,17 +311,19 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString - getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } public static final int ASSET_TYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList assetTypes_; /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -293,13 +335,15 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -311,12 +355,15 @@ public java.lang.String getAssetNames(int index) {
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -328,6 +375,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -335,6 +383,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -346,52 +396,66 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p2beta1.ContentType result = + com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p2beta1.ContentType.UNRECOGNIZED : result; } public static final int FEED_OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1p2beta1.FeedOutputConfig feedOutputConfig_; /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feedOutputConfig field is set. */ @java.lang.Override @@ -399,25 +463,36 @@ public boolean hasFeedOutputConfig() { return feedOutputConfig_ != null; } /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feedOutputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getFeedOutputConfig() { - return feedOutputConfig_ == null ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { @@ -425,6 +500,7 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputC } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,8 +512,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -447,7 +522,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (feedOutputConfig_ != null) { @@ -481,13 +557,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, contentType_); + if (contentType_ + != com.google.cloud.asset.v1p2beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); } if (feedOutputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFeedOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFeedOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -497,24 +572,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p2beta1.Feed)) { return super.equals(obj); } com.google.cloud.asset.v1p2beta1.Feed other = (com.google.cloud.asset.v1p2beta1.Feed) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAssetNamesList() - .equals(other.getAssetNamesList())) return false; - if (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAssetNamesList().equals(other.getAssetNamesList())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasFeedOutputConfig() != other.hasFeedOutputConfig()) return false; if (hasFeedOutputConfig()) { - if (!getFeedOutputConfig() - .equals(other.getFeedOutputConfig())) return false; + if (!getFeedOutputConfig().equals(other.getFeedOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -548,97 +619,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.Feed parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.Feed parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.Feed 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.asset.v1p2beta1.Feed parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.Feed 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.asset.v1p2beta1.Feed parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.Feed parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.Feed parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.Feed prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An asset feed used to export asset updates to a destinations.
    * An asset feed filter controls what updates are exported.
@@ -649,21 +726,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.Feed}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.Feed)
       com.google.cloud.asset.v1p2beta1.FeedOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p2beta1_Feed_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.Feed.class, com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
+              com.google.cloud.asset.v1p2beta1.Feed.class,
+              com.google.cloud.asset.v1p2beta1.Feed.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.Feed.newBuilder()
@@ -671,16 +750,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -702,9 +780,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p2beta1_Feed_descriptor;
     }
 
     @java.lang.Override
@@ -723,7 +801,8 @@ public com.google.cloud.asset.v1p2beta1.Feed build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.Feed buildPartial() {
-      com.google.cloud.asset.v1p2beta1.Feed result = new com.google.cloud.asset.v1p2beta1.Feed(this);
+      com.google.cloud.asset.v1p2beta1.Feed result =
+          new com.google.cloud.asset.v1p2beta1.Feed(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -750,38 +829,39 @@ public com.google.cloud.asset.v1p2beta1.Feed buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p2beta1.Feed) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.Feed)other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.Feed) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -848,10 +928,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -862,13 +945,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -877,6 +960,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -887,15 +972,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -903,6 +987,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -913,20 +999,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -937,15 +1025,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The format will be
      * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -956,29 +1047,33 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList assetNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assetNames_ = new com.google.protobuf.LazyStringArrayList(assetNames_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -991,13 +1086,15 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - public com.google.protobuf.ProtocolStringList - getAssetNamesList() { + public com.google.protobuf.ProtocolStringList getAssetNamesList() { return assetNames_.getUnmodifiableView(); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1010,12 +1107,15 @@ private void ensureAssetNamesIsMutable() {
      * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ public int getAssetNamesCount() { return assetNames_.size(); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1028,6 +1128,7 @@ public int getAssetNamesCount() {
      * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ @@ -1035,6 +1136,8 @@ public java.lang.String getAssetNames(int index) { return assetNames_.get(index); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1047,14 +1150,16 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - public com.google.protobuf.ByteString - getAssetNamesBytes(int index) { + public com.google.protobuf.ByteString getAssetNamesBytes(int index) { return assetNames_.getByteString(index); } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1067,21 +1172,23 @@ public java.lang.String getAssetNames(int index) {
      * 
* * repeated string asset_names = 2; + * * @param index The index to set the value at. * @param value The assetNames to set. * @return This builder for chaining. */ - public Builder setAssetNames( - int index, java.lang.String value) { + public Builder setAssetNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1094,20 +1201,22 @@ public Builder setAssetNames(
      * 
* * repeated string asset_names = 2; + * * @param value The assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNames( - java.lang.String value) { + public Builder addAssetNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetNamesIsMutable(); + throw new NullPointerException(); + } + ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1120,18 +1229,19 @@ public Builder addAssetNames(
      * 
* * repeated string asset_names = 2; + * * @param values The assetNames to add. * @return This builder for chaining. */ - public Builder addAllAssetNames( - java.lang.Iterable values) { + public Builder addAllAssetNames(java.lang.Iterable values) { ensureAssetNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetNames_); onChanged(); return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1144,6 +1254,7 @@ public Builder addAllAssetNames(
      * 
* * repeated string asset_names = 2; + * * @return This builder for chaining. */ public Builder clearAssetNames() { @@ -1153,6 +1264,8 @@ public Builder clearAssetNames() { return this; } /** + * + * *
      * A list of the full names of the assets to receive updates. You must specify
      * either or both of asset_names and asset_types. Only asset updates matching
@@ -1165,29 +1278,33 @@ public Builder clearAssetNames() {
      * 
* * repeated string asset_names = 2; + * * @param value The bytes of the assetNames to add. * @return This builder for chaining. */ - public Builder addAssetNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetNamesIsMutable(); assetNames_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList assetTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAssetTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1199,13 +1316,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1217,12 +1336,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1234,6 +1356,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1241,6 +1364,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1252,14 +1377,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1271,21 +1398,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1297,20 +1426,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1322,18 +1453,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1345,6 +1477,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1354,6 +1487,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of types of the assets to receive updates. You must specify either
      * or both of asset_names and asset_types. Only asset updates matching
@@ -1365,15 +1500,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1382,55 +1517,69 @@ public Builder addAssetTypesBytes( private int contentType_ = 0; /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p2beta1.ContentType result = com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p2beta1.ContentType result = + com.google.cloud.asset.v1p2beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p2beta1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1438,22 +1587,25 @@ public Builder setContentType(com.google.cloud.asset.v1p2beta1.ContentType value if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name and
      * type will be returned.
      * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1461,42 +1613,61 @@ public Builder clearContentType() { private com.google.cloud.asset.v1p2beta1.FeedOutputConfig feedOutputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.FeedOutputConfig, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> feedOutputConfigBuilder_; + com.google.cloud.asset.v1p2beta1.FeedOutputConfig, + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, + com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> + feedOutputConfigBuilder_; /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feedOutputConfig field is set. */ public boolean hasFeedOutputConfig() { return feedOutputConfigBuilder_ != null || feedOutputConfig_ != null; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feedOutputConfig. */ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { - return feedOutputConfig_ == null ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } else { return feedOutputConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { @@ -1512,12 +1683,16 @@ public Builder setFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutputCo return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeedOutputConfig( com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder builderForValue) { @@ -1531,18 +1706,24 @@ public Builder setFeedOutputConfig( return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutputConfig value) { if (feedOutputConfigBuilder_ == null) { if (feedOutputConfig_ != null) { feedOutputConfig_ = - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.newBuilder(feedOutputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.newBuilder(feedOutputConfig_) + .mergeFrom(value) + .buildPartial(); } else { feedOutputConfig_ = value; } @@ -1554,12 +1735,16 @@ public Builder mergeFeedOutputConfig(com.google.cloud.asset.v1p2beta1.FeedOutput return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFeedOutputConfig() { if (feedOutputConfigBuilder_ == null) { @@ -1573,58 +1758,75 @@ public Builder clearFeedOutputConfig() { return this; } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder getFeedOutputConfigBuilder() { - + onChanged(); return getFeedOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder + getFeedOutputConfigOrBuilder() { if (feedOutputConfigBuilder_ != null) { return feedOutputConfigBuilder_.getMessageOrBuilder(); } else { - return feedOutputConfig_ == null ? - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() : feedOutputConfig_; + return feedOutputConfig_ == null + ? com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance() + : feedOutputConfig_; } } /** + * + * *
      * Required. Feed output configuration defining where the asset updates are
      * published to.
      * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.FeedOutputConfig, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> + com.google.cloud.asset.v1p2beta1.FeedOutputConfig, + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, + com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder> getFeedOutputConfigFieldBuilder() { if (feedOutputConfigBuilder_ == null) { - feedOutputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.FeedOutputConfig, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder>( - getFeedOutputConfig(), - getParentForChildren(), - isClean()); + feedOutputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.FeedOutputConfig, + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder, + com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder>( + getFeedOutputConfig(), getParentForChildren(), isClean()); feedOutputConfig_ = null; } return feedOutputConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1634,12 +1836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.Feed) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.Feed) private static final com.google.cloud.asset.v1p2beta1.Feed DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.Feed(); } @@ -1648,16 +1850,16 @@ public static com.google.cloud.asset.v1p2beta1.Feed getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Feed parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Feed(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Feed parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Feed(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1672,6 +1874,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.Feed getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java similarity index 100% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedName.java diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java similarity index 83% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java index 66d4f4391..846765f2e 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface FeedOrBuilder extends +public interface FeedOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.Feed) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -18,10 +36,13 @@ public interface FeedOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The format will be
    * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
@@ -32,12 +53,14 @@ public interface FeedOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -50,11 +73,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @return A list containing the assetNames. */ - java.util.List - getAssetNamesList(); + java.util.List getAssetNamesList(); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -67,10 +92,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @return The count of assetNames. */ int getAssetNamesCount(); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -83,11 +111,14 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @param index The index of the element to return. * @return The assetNames at the given index. */ java.lang.String getAssetNames(int index); /** + * + * *
    * A list of the full names of the assets to receive updates. You must specify
    * either or both of asset_names and asset_types. Only asset updates matching
@@ -100,13 +131,15 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_names = 2; + * * @param index The index of the value to return. * @return The bytes of the assetNames at the given index. */ - com.google.protobuf.ByteString - getAssetNamesBytes(int index); + com.google.protobuf.ByteString getAssetNamesBytes(int index); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -118,11 +151,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -134,10 +169,13 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -149,11 +187,14 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * A list of types of the assets to receive updates. You must specify either
    * or both of asset_names and asset_types. Only asset updates matching
@@ -165,60 +206,80 @@ public interface FeedOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Asset content type. If not specified, no content but the asset name and
    * type will be returned.
    * 
* * .google.cloud.asset.v1p2beta1.ContentType content_type = 4; + * * @return The contentType. */ com.google.cloud.asset.v1p2beta1.ContentType getContentType(); /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feedOutputConfig field is set. */ boolean hasFeedOutputConfig(); /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feedOutputConfig. */ com.google.cloud.asset.v1p2beta1.FeedOutputConfig getFeedOutputConfig(); /** + * + * *
    * Required. Feed output configuration defining where the asset updates are
    * published to.
    * 
* - * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p2beta1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder getFeedOutputConfigOrBuilder(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java index 4eb85f514..ee1dfa076 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Output configuration for asset feed destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.FeedOutputConfig} */ -public final class FeedOutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FeedOutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.FeedOutputConfig) FeedOutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FeedOutputConfig.newBuilder() to construct. private FeedOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FeedOutputConfig() { - } + + private FeedOutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FeedOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FeedOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,32 @@ private FeedOutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_).toBuilder(); + case 10: + { + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1p2beta1.PubsubDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destination_ = - input.readMessage(com.google.cloud.asset.v1p2beta1.PubsubDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); - destination_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - destinationCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +101,39 @@ private FeedOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PUBSUB_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -123,29 +149,34 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return PUBSUB_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return PUBSUB_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int PUBSUB_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -153,21 +184,26 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; } return com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance(); } /** + * + * *
    * Destination on Cloud Pubsub.
    * 
@@ -175,14 +211,16 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { + public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder + getPubsubDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_; } return com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); } @@ -209,8 +246,9 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +258,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.asset.v1p2beta1.FeedOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.FeedOutputConfig other = (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) obj; + com.google.cloud.asset.v1p2beta1.FeedOutputConfig other = + (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getPubsubDestination() - .equals(other.getPubsubDestination())) return false; + if (!getPubsubDestination().equals(other.getPubsubDestination())) return false; break; case 0: default: @@ -261,117 +299,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.nio.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.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.FeedOutputConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.FeedOutputConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.FeedOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.FeedOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.FeedOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output configuration for asset feed destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.FeedOutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.FeedOutputConfig) com.google.cloud.asset.v1p2beta1.FeedOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.class, + com.google.cloud.asset.v1p2beta1.FeedOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.FeedOutputConfig.newBuilder() @@ -379,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_FeedOutputConfig_descriptor; } @java.lang.Override @@ -419,7 +465,8 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOutputConfig buildPartial() { - com.google.cloud.asset.v1p2beta1.FeedOutputConfig result = new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(this); + com.google.cloud.asset.v1p2beta1.FeedOutputConfig result = + new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(this); if (destinationCase_ == 1) { if (pubsubDestinationBuilder_ == null) { result.destination_ = destination_; @@ -436,38 +483,39 @@ public com.google.cloud.asset.v1p2beta1.FeedOutputConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.FeedOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.FeedOutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.FeedOutputConfig) other); } else { super.mergeFrom(other); return this; @@ -475,15 +523,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.FeedOutputConfig other) { - if (other == com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.FeedOutputConfig.getDefaultInstance()) + return this; switch (other.getDestinationCase()) { - case PUBSUB_DESTINATION: { - mergePubsubDestination(other.getPubsubDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case PUBSUB_DESTINATION: + { + mergePubsubDestination(other.getPubsubDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -504,7 +555,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.FeedOutputConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -513,12 +565,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -528,15 +580,20 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.PubsubDestination, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> pubsubDestinationBuilder_; + com.google.cloud.asset.v1p2beta1.PubsubDestination, + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, + com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> + pubsubDestinationBuilder_; /** + * + * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ @java.lang.Override @@ -544,11 +601,14 @@ public boolean hasPubsubDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ @java.lang.Override @@ -566,6 +626,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination() } } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -586,6 +648,8 @@ public Builder setPubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDesti return this; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -604,18 +668,25 @@ public Builder setPubsubDestination( return this; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ - public Builder mergePubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDestination value) { + public Builder mergePubsubDestination( + com.google.cloud.asset.v1p2beta1.PubsubDestination value) { if (pubsubDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1p2beta1.PubsubDestination.newBuilder((com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ + != com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1p2beta1.PubsubDestination.newBuilder( + (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -631,6 +702,8 @@ public Builder mergePubsubDestination(com.google.cloud.asset.v1p2beta1.PubsubDes return this; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -654,16 +727,21 @@ public Builder clearPubsubDestination() { return this; } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ - public com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder getPubsubDestinationBuilder() { + public com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder + getPubsubDestinationBuilder() { return getPubsubDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -671,7 +749,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder getPubsubDesti * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDestinationOrBuilder() { + public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder + getPubsubDestinationOrBuilder() { if ((destinationCase_ == 1) && (pubsubDestinationBuilder_ != null)) { return pubsubDestinationBuilder_.getMessageOrBuilder(); } else { @@ -682,6 +761,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDest } } /** + * + * *
      * Destination on Cloud Pubsub.
      * 
@@ -689,26 +770,32 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder getPubsubDest * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.PubsubDestination, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> + com.google.cloud.asset.v1p2beta1.PubsubDestination, + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, + com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder> getPubsubDestinationFieldBuilder() { if (pubsubDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance(); } - pubsubDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.PubsubDestination, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder>( + pubsubDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.PubsubDestination, + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder, + com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder>( (com.google.cloud.asset.v1p2beta1.PubsubDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return pubsubDestinationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.FeedOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.FeedOutputConfig) private static final com.google.cloud.asset.v1p2beta1.FeedOutputConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.FeedOutputConfig(); } @@ -732,16 +819,16 @@ public static com.google.cloud.asset.v1p2beta1.FeedOutputConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeedOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FeedOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeedOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FeedOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +843,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.FeedOutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java similarity index 63% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java index be3215779..91029b15a 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/FeedOutputConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface FeedOutputConfigOrBuilder extends +public interface FeedOutputConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.FeedOutputConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return Whether the pubsubDestination field is set. */ boolean hasPubsubDestination(); /** + * + * *
    * Destination on Cloud Pubsub.
    * 
* * .google.cloud.asset.v1p2beta1.PubsubDestination pubsub_destination = 1; + * * @return The pubsubDestination. */ com.google.cloud.asset.v1p2beta1.PubsubDestination getPubsubDestination(); /** + * + * *
    * Destination on Cloud Pubsub.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java similarity index 72% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java index 976185abc..614e99188 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestination.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GcsDestination} */ -public final class GcsDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.GcsDestination) GcsDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestination() { - } + + private GcsDestination() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,19 +68,20 @@ private GcsDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -72,34 +89,39 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GcsDestination.class, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.GcsDestination.class, + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); } private int objectUriCase_ = 0; private java.lang.Object objectUri_; + public enum ObjectUriCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { URI(1), OBJECTURI_NOT_SET(0); private final int value; + private ObjectUriCase(int value) { this.value = value; } @@ -115,24 +137,28 @@ public static ObjectUriCase valueOf(int value) { public static ObjectUriCase forNumber(int value) { switch (value) { - case 1: return URI; - case 0: return OBJECTURI_NOT_SET; - default: return null; + case 1: + return URI; + case 0: + return OBJECTURI_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ObjectUriCase - getObjectUriCase() { - return ObjectUriCase.forNumber( - objectUriCase_); + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); } public static final int URI_FIELD_NUMBER = 1; /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -142,12 +168,15 @@ public int getNumber() {
    * 
* * string uri = 1; + * * @return Whether the uri field is set. */ public boolean hasUri() { return objectUriCase_ == 1; } /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -157,6 +186,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -167,8 +197,7 @@ 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(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -177,6 +206,8 @@ public java.lang.String getUri() { } } /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -186,18 +217,17 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -208,6 +238,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +250,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -244,18 +274,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.asset.v1p2beta1.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.GcsDestination other = (com.google.cloud.asset.v1p2beta1.GcsDestination) obj; + com.google.cloud.asset.v1p2beta1.GcsDestination other = + (com.google.cloud.asset.v1p2beta1.GcsDestination) obj; if (!getObjectUriCase().equals(other.getObjectUriCase())) return false; switch (objectUriCase_) { case 1: - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; break; case 0: default: @@ -284,118 +314,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.GcsDestination 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.asset.v1p2beta1.GcsDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GcsDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.GcsDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GcsDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.GcsDestination) com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GcsDestination.class, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.GcsDestination.class, + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.GcsDestination.newBuilder() @@ -403,16 +442,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GcsDestination_descriptor; } @java.lang.Override @@ -443,7 +481,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.GcsDestination buildPartial() { - com.google.cloud.asset.v1p2beta1.GcsDestination result = new com.google.cloud.asset.v1p2beta1.GcsDestination(this); + com.google.cloud.asset.v1p2beta1.GcsDestination result = + new com.google.cloud.asset.v1p2beta1.GcsDestination(this); if (objectUriCase_ == 1) { result.objectUri_ = objectUri_; } @@ -456,38 +495,39 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.GcsDestination)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.GcsDestination) other); } else { super.mergeFrom(other); return this; @@ -495,17 +535,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.GcsDestination other) { - if (other == com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) + return this; switch (other.getObjectUriCase()) { - case URI: { - objectUriCase_ = 1; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case OBJECTURI_NOT_SET: { - break; - } + case URI: + { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -535,12 +578,12 @@ public Builder mergeFrom( } return this; } + private int objectUriCase_ = 0; private java.lang.Object objectUri_; - public ObjectUriCase - getObjectUriCase() { - return ObjectUriCase.forNumber( - objectUriCase_); + + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); } public Builder clearObjectUri() { @@ -550,8 +593,9 @@ public Builder clearObjectUri() { return this; } - /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -561,6 +605,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -568,6 +613,8 @@ public boolean hasUri() { return objectUriCase_ == 1; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -577,6 +624,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -586,8 +634,7 @@ public java.lang.String getUri() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -598,6 +645,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -607,19 +656,18 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -629,6 +677,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -638,20 +688,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @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(); - } - objectUriCase_ = 1; + throw new NullPointerException(); + } + objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -661,6 +713,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -672,6 +725,8 @@ public Builder clearUri() { return this; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -681,23 +736,23 @@ public Builder clearUri() {
      * 
* * string uri = 1; + * * @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); objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -707,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.GcsDestination) private static final com.google.cloud.asset.v1p2beta1.GcsDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.GcsDestination(); } @@ -721,16 +776,16 @@ public static com.google.cloud.asset.v1p2beta1.GcsDestination getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,6 +800,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java index 083a2c545..3cefb0ca9 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GcsDestinationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface GcsDestinationOrBuilder extends +public interface GcsDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.GcsDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -17,10 +35,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return Whether the uri field is set. */ boolean hasUri(); /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -30,10 +51,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -43,10 +67,10 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); public com.google.cloud.asset.v1p2beta1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java similarity index 67% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java index e5959c1a5..3540a81af 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Get asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GetFeedRequest} */ -public final class GetFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.GetFeedRequest) GetFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFeedRequest.newBuilder() to construct. private GetFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFeedRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFeedRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private GetFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, + com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -103,7 +125,10 @@ private GetFeedRequest(
    * organizations/organization_number/feeds/feed_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 @@ -112,14 +137,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Feed and it must be in the format of:
    * projects/project_number/feeds/feed_id
@@ -127,17 +153,18 @@ public java.lang.String getName() {
    * organizations/organization_number/feeds/feed_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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -182,15 +209,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p2beta1.GetFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.GetFeedRequest other = (com.google.cloud.asset.v1p2beta1.GetFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.GetFeedRequest other = + (com.google.cloud.asset.v1p2beta1.GetFeedRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,118 +236,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.GetFeedRequest 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.asset.v1p2beta1.GetFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GetFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.GetFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.GetFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.GetFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.GetFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.GetFeedRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.GetFeedRequest) com.google.cloud.asset.v1p2beta1.GetFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.GetFeedRequest.class, + com.google.cloud.asset.v1p2beta1.GetFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.GetFeedRequest.newBuilder() @@ -328,16 +364,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_GetFeedRequest_descriptor; } @java.lang.Override @@ -368,7 +403,8 @@ public com.google.cloud.asset.v1p2beta1.GetFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.GetFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.GetFeedRequest result = new com.google.cloud.asset.v1p2beta1.GetFeedRequest(this); + com.google.cloud.asset.v1p2beta1.GetFeedRequest result = + new com.google.cloud.asset.v1p2beta1.GetFeedRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,38 +414,39 @@ public com.google.cloud.asset.v1p2beta1.GetFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.GetFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.GetFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.GetFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -417,7 +454,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.GetFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.GetFeedRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -453,6 +491,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -460,14 +500,16 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_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; @@ -476,6 +518,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -483,16 +527,17 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_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 { @@ -500,6 +545,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -507,21 +554,25 @@ public java.lang.String getName() {
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -529,16 +580,21 @@ public Builder setName(
      * organizations/organization_number/feeds/feed_id
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Feed and it must be in the format of:
      * projects/project_number/feeds/feed_id
@@ -546,24 +602,26 @@ public Builder clearName() {
      * organizations/organization_number/feeds/feed_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); } @@ -573,12 +631,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.GetFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.GetFeedRequest) private static final com.google.cloud.asset.v1p2beta1.GetFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.GetFeedRequest(); } @@ -587,16 +645,16 @@ public static com.google.cloud.asset.v1p2beta1.GetFeedRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -611,6 +669,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.GetFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java new file mode 100644 index 000000000..53061113e --- /dev/null +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/GetFeedRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p2beta1/asset_service.proto + +package com.google.cloud.asset.v1p2beta1; + +public interface GetFeedRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.GetFeedRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_id
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Feed and it must be in the format of:
+   * projects/project_number/feeds/feed_id
+   * folders/folder_number/feeds/feed_id
+   * organizations/organization_number/feeds/feed_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/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java similarity index 70% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java index ce368c5c9..3c4df6dd0 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * List asset feeds request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsRequest} */ -public final class ListFeedsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFeedsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.ListFeedsRequest) ListFeedsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFeedsRequest.newBuilder() to construct. private ListFeedsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFeedsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFeedsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFeedsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ListFeedsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,29 +91,33 @@ private ListFeedsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -103,6 +125,7 @@ private ListFeedsRequest(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -111,14 +134,15 @@ 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 project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -126,16 +150,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -144,6 +167,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -180,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p2beta1.ListFeedsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.ListFeedsRequest other = (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) obj; + com.google.cloud.asset.v1p2beta1.ListFeedsRequest other = + (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +231,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.nio.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.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.ListFeedsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.ListFeedsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.ListFeedsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List asset feeds request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.ListFeedsRequest) com.google.cloud.asset.v1p2beta1.ListFeedsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.class, + com.google.cloud.asset.v1p2beta1.ListFeedsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.ListFeedsRequest.newBuilder() @@ -326,16 +358,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsRequest_descriptor; } @java.lang.Override @@ -366,7 +397,8 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.ListFeedsRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.ListFeedsRequest result = new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(this); + com.google.cloud.asset.v1p2beta1.ListFeedsRequest result = + new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -376,38 +408,39 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.ListFeedsRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsRequest)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +448,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ListFeedsRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.ListFeedsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.ListFeedsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -439,7 +473,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.ListFeedsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,6 +486,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -458,13 +495,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -473,6 +510,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -480,15 +519,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -496,6 +534,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -503,20 +543,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -524,15 +566,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent project/folder/organization whose feeds are to be
      * listed. It can only be using project/folder/organization number (such as
@@ -540,23 +585,23 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -566,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.ListFeedsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.ListFeedsRequest) private static final com.google.cloud.asset.v1p2beta1.ListFeedsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.ListFeedsRequest(); } @@ -580,16 +625,16 @@ public static com.google.cloud.asset.v1p2beta1.ListFeedsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java index 65b8118c4..07ffeb181 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface ListFeedsRequestOrBuilder extends +public interface ListFeedsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.ListFeedsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -15,10 +33,13 @@ public interface ListFeedsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent project/folder/organization whose feeds are to be
    * listed. It can only be using project/folder/organization number (such as
@@ -26,8 +47,8 @@ public interface ListFeedsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java index cd36a4886..84c147ebf 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponse.java @@ -1,36 +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/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -/** - * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} - */ -public final class ListFeedsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} */ +public final class ListFeedsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.ListFeedsResponse) ListFeedsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFeedsResponse.newBuilder() to construct. private ListFeedsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFeedsResponse() { feeds_ = 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 ListFeedsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFeedsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50,22 +63,24 @@ private ListFeedsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - feeds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + feeds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + feeds_.add( + input.readMessage( + com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry)); + break; } - feeds_.add( - input.readMessage(com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,8 +88,7 @@ private ListFeedsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { feeds_ = java.util.Collections.unmodifiableList(feeds_); @@ -83,22 +97,27 @@ private ListFeedsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); } public static final int FEEDS_FIELD_NUMBER = 1; private java.util.List feeds_; /** + * + * *
    * A list of feeds.
    * 
@@ -110,6 +129,8 @@ public java.util.List getFeedsList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -117,11 +138,13 @@ public java.util.List getFeedsList() { * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFeedsOrBuilderList() { return feeds_; } /** + * + * *
    * A list of feeds.
    * 
@@ -133,6 +156,8 @@ public int getFeedsCount() { return feeds_.size(); } /** + * + * *
    * A list of feeds.
    * 
@@ -144,6 +169,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { return feeds_.get(index); } /** + * + * *
    * A list of feeds.
    * 
@@ -151,12 +178,12 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( - int index) { + public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int index) { return feeds_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < feeds_.size(); i++) { output.writeMessage(1, feeds_.get(i)); } @@ -183,8 +209,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < feeds_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, feeds_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, feeds_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -194,15 +219,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.asset.v1p2beta1.ListFeedsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.ListFeedsResponse other = (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) obj; + com.google.cloud.asset.v1p2beta1.ListFeedsResponse other = + (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) obj; - if (!getFeedsList() - .equals(other.getFeedsList())) return false; + if (!getFeedsList().equals(other.getFeedsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -224,113 +249,118 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.nio.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.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.ListFeedsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.ListFeedsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.ListFeedsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.ListFeedsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.asset.v1p2beta1.ListFeedsResponse} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.ListFeedsResponse) com.google.cloud.asset.v1p2beta1.ListFeedsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.class, + com.google.cloud.asset.v1p2beta1.ListFeedsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.ListFeedsResponse.newBuilder() @@ -338,17 +368,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) { getFeedsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -362,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_ListFeedsResponse_descriptor; } @java.lang.Override @@ -383,7 +413,8 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsResponse build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.ListFeedsResponse buildPartial() { - com.google.cloud.asset.v1p2beta1.ListFeedsResponse result = new com.google.cloud.asset.v1p2beta1.ListFeedsResponse(this); + com.google.cloud.asset.v1p2beta1.ListFeedsResponse result = + new com.google.cloud.asset.v1p2beta1.ListFeedsResponse(this); int from_bitField0_ = bitField0_; if (feedsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -402,38 +433,39 @@ public com.google.cloud.asset.v1p2beta1.ListFeedsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.ListFeedsResponse) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsResponse)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.ListFeedsResponse) other); } else { super.mergeFrom(other); return this; @@ -441,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ListFeedsResponse other) { - if (other == com.google.cloud.asset.v1p2beta1.ListFeedsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.ListFeedsResponse.getDefaultInstance()) + return this; if (feedsBuilder_ == null) { if (!other.feeds_.isEmpty()) { if (feeds_.isEmpty()) { @@ -460,9 +493,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.ListFeedsResponse othe feedsBuilder_ = null; feeds_ = other.feeds_; bitField0_ = (bitField0_ & ~0x00000001); - feedsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFeedsFieldBuilder() : null; + feedsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFeedsFieldBuilder() + : null; } else { feedsBuilder_.addAllMessages(other.feeds_); } @@ -487,7 +521,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.ListFeedsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,21 +531,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List feeds_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFeedsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { feeds_ = new java.util.ArrayList(feeds_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> feedsBuilder_; + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + feedsBuilder_; /** + * + * *
      * A list of feeds.
      * 
@@ -525,6 +567,8 @@ public java.util.List getFeedsList() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -539,6 +583,8 @@ public int getFeedsCount() { } } /** + * + * *
      * A list of feeds.
      * 
@@ -553,14 +599,15 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index) { } } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public Builder setFeeds( - int index, com.google.cloud.asset.v1p2beta1.Feed value) { + public Builder setFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -574,6 +621,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -592,6 +641,8 @@ public Builder setFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -612,14 +663,15 @@ public Builder addFeeds(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public Builder addFeeds( - int index, com.google.cloud.asset.v1p2beta1.Feed value) { + public Builder addFeeds(int index, com.google.cloud.asset.v1p2beta1.Feed value) { if (feedsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -633,14 +685,15 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public Builder addFeeds( - com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { + public Builder addFeeds(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); feeds_.add(builderForValue.build()); @@ -651,6 +704,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -669,6 +724,8 @@ public Builder addFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -679,8 +736,7 @@ public Builder addAllFeeds( java.lang.Iterable values) { if (feedsBuilder_ == null) { ensureFeedsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, feeds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, feeds_); onChanged(); } else { feedsBuilder_.addAllMessages(values); @@ -688,6 +744,8 @@ public Builder addAllFeeds( return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -705,6 +763,8 @@ public Builder clearFeeds() { return this; } /** + * + * *
      * A list of feeds.
      * 
@@ -722,39 +782,44 @@ public Builder removeFeeds(int index) { return this; } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedsBuilder( - int index) { + public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedsBuilder(int index) { return getFeedsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( - int index) { + public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int index) { if (feedsBuilder_ == null) { - return feeds_.get(index); } else { + return feeds_.get(index); + } else { return feedsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public java.util.List - getFeedsOrBuilderList() { + public java.util.List + getFeedsOrBuilderList() { if (feedsBuilder_ != null) { return feedsBuilder_.getMessageOrBuilderList(); } else { @@ -762,6 +827,8 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( } } /** + * + * *
      * A list of feeds.
      * 
@@ -769,49 +836,54 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ public com.google.cloud.asset.v1p2beta1.Feed.Builder addFeedsBuilder() { - return getFeedsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); + return getFeedsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public com.google.cloud.asset.v1p2beta1.Feed.Builder addFeedsBuilder( - int index) { - return getFeedsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); + public com.google.cloud.asset.v1p2beta1.Feed.Builder addFeedsBuilder(int index) { + return getFeedsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance()); } /** + * + * *
      * A list of feeds.
      * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - public java.util.List - getFeedsBuilderList() { + public java.util.List getFeedsBuilderList() { return getFeedsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder> getFeedsFieldBuilder() { if (feedsBuilder_ == null) { - feedsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( - feeds_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + feedsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( + feeds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); feeds_ = null; } return feedsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -821,12 +893,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.ListFeedsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.ListFeedsResponse) private static final com.google.cloud.asset.v1p2beta1.ListFeedsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.ListFeedsResponse(); } @@ -835,16 +907,16 @@ public static com.google.cloud.asset.v1p2beta1.ListFeedsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFeedsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFeedsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFeedsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFeedsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -859,6 +931,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.ListFeedsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java index b80afe70f..3f00050eb 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ListFeedsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface ListFeedsResponseOrBuilder extends +public interface ListFeedsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.ListFeedsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - java.util.List - getFeedsList(); + java.util.List getFeedsList(); /** + * + * *
    * A list of feeds.
    * 
@@ -25,6 +44,8 @@ public interface ListFeedsResponseOrBuilder extends */ com.google.cloud.asset.v1p2beta1.Feed getFeeds(int index); /** + * + * *
    * A list of feeds.
    * 
@@ -33,21 +54,23 @@ public interface ListFeedsResponseOrBuilder extends */ int getFeedsCount(); /** + * + * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - java.util.List - getFeedsOrBuilderList(); + java.util.List getFeedsOrBuilderList(); /** + * + * *
    * A list of feeds.
    * 
* * repeated .google.cloud.asset.v1p2beta1.Feed feeds = 1; */ - com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder( - int index); + com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java similarity index 69% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java index 59309fe70..f2ed4e0bb 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Output configuration for export assets destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.OutputConfig} */ -public final class OutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.OutputConfig) OutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputConfig() { - } + + private OutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,31 @@ private OutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p2beta1.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage(com.google.cloud.asset.v1p2beta1.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1p2beta1.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destinationCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,39 @@ private OutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.OutputConfig.class, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.OutputConfig.class, + com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -123,29 +148,34 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return GCS_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return GCS_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -153,21 +183,26 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance(); } /** + * + * *
    * Destination on Cloud Storage.
    * 
@@ -177,12 +212,13 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (destinationCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); } @@ -209,8 +244,9 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +256,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.asset.v1p2beta1.OutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.OutputConfig other = (com.google.cloud.asset.v1p2beta1.OutputConfig) obj; + com.google.cloud.asset.v1p2beta1.OutputConfig other = + (com.google.cloud.asset.v1p2beta1.OutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getGcsDestination() - .equals(other.getGcsDestination())) return false; + if (!getGcsDestination().equals(other.getGcsDestination())) return false; break; case 0: default: @@ -260,118 +296,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.OutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.OutputConfig 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.asset.v1p2beta1.OutputConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.OutputConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.OutputConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.OutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.OutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.OutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output configuration for export assets destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.OutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.OutputConfig) com.google.cloud.asset.v1p2beta1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.OutputConfig.class, com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p2beta1.OutputConfig.class, + com.google.cloud.asset.v1p2beta1.OutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.OutputConfig.newBuilder() @@ -379,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +442,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_OutputConfig_descriptor; } @java.lang.Override @@ -419,7 +463,8 @@ public com.google.cloud.asset.v1p2beta1.OutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.OutputConfig buildPartial() { - com.google.cloud.asset.v1p2beta1.OutputConfig result = new com.google.cloud.asset.v1p2beta1.OutputConfig(this); + com.google.cloud.asset.v1p2beta1.OutputConfig result = + new com.google.cloud.asset.v1p2beta1.OutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -436,38 +481,39 @@ public com.google.cloud.asset.v1p2beta1.OutputConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.OutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.OutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.OutputConfig) other); } else { super.mergeFrom(other); return this; @@ -477,13 +523,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.OutputConfig other) { if (other == com.google.cloud.asset.v1p2beta1.OutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case GCS_DESTINATION: + { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -513,12 +561,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -528,15 +576,20 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.GcsDestination, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> gcsDestinationBuilder_; + com.google.cloud.asset.v1p2beta1.GcsDestination, + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, + com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> + gcsDestinationBuilder_; /** + * + * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -544,11 +597,14 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ @java.lang.Override @@ -566,6 +622,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -586,6 +644,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -604,6 +664,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -612,10 +674,14 @@ public Builder setGcsDestination( */ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1p2beta1.GcsDestination.newBuilder((com.google.cloud.asset.v1p2beta1.GcsDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ + != com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1p2beta1.GcsDestination.newBuilder( + (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -631,6 +697,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p2beta1.GcsDestinati return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -654,6 +722,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -664,6 +734,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -682,6 +754,8 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -689,26 +763,32 @@ public com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder getGcsDestinatio * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.GcsDestination, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> + com.google.cloud.asset.v1p2beta1.GcsDestination, + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, + com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1p2beta1.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.GcsDestination, com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder>( + gcsDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.GcsDestination, + com.google.cloud.asset.v1p2beta1.GcsDestination.Builder, + com.google.cloud.asset.v1p2beta1.GcsDestinationOrBuilder>( (com.google.cloud.asset.v1p2beta1.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return gcsDestinationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.OutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.OutputConfig) private static final com.google.cloud.asset.v1p2beta1.OutputConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.OutputConfig(); } @@ -732,16 +812,16 @@ public static com.google.cloud.asset.v1p2beta1.OutputConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.OutputConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java index ce0072cbc..2eadb8a87 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/OutputConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface OutputConfigOrBuilder extends +public interface OutputConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.OutputConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p2beta1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ com.google.cloud.asset.v1p2beta1.GcsDestination getGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java similarity index 68% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java index 10650ce96..5f5caea81 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestination.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * A Cloud Pubsub destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.PubsubDestination} */ -public final class PubsubDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PubsubDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.PubsubDestination) PubsubDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubsubDestination.newBuilder() to construct. private PubsubDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PubsubDestination() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PubsubDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PubsubDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PubsubDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - topic_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + topic_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private PubsubDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.PubsubDestination.class, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.PubsubDestination.class, + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); } public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** + * + * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -110,30 +133,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -142,6 +165,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } @@ -178,15 +201,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.asset.v1p2beta1.PubsubDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.PubsubDestination other = (com.google.cloud.asset.v1p2beta1.PubsubDestination) obj; + com.google.cloud.asset.v1p2beta1.PubsubDestination other = + (com.google.cloud.asset.v1p2beta1.PubsubDestination) obj; - if (!getTopic() - .equals(other.getTopic())) return false; + if (!getTopic().equals(other.getTopic())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +229,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( - java.nio.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.asset.v1p2beta1.PubsubDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.PubsubDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.PubsubDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.PubsubDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.PubsubDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.PubsubDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.PubsubDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.PubsubDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Pubsub destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.PubsubDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.PubsubDestination) com.google.cloud.asset.v1p2beta1.PubsubDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.PubsubDestination.class, com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); + com.google.cloud.asset.v1p2beta1.PubsubDestination.class, + com.google.cloud.asset.v1p2beta1.PubsubDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.PubsubDestination.newBuilder() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_PubsubDestination_descriptor; } @java.lang.Override @@ -364,7 +395,8 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.PubsubDestination buildPartial() { - com.google.cloud.asset.v1p2beta1.PubsubDestination result = new com.google.cloud.asset.v1p2beta1.PubsubDestination(this); + com.google.cloud.asset.v1p2beta1.PubsubDestination result = + new com.google.cloud.asset.v1p2beta1.PubsubDestination(this); result.topic_ = topic_; onBuilt(); return result; @@ -374,38 +406,39 @@ public com.google.cloud.asset.v1p2beta1.PubsubDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.PubsubDestination) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.PubsubDestination)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.PubsubDestination) other); } else { super.mergeFrom(other); return this; @@ -413,7 +446,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.PubsubDestination other) { - if (other == com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.PubsubDestination.getDefaultInstance()) + return this; if (!other.getTopic().isEmpty()) { topic_ = other.topic_; onChanged(); @@ -437,7 +471,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.PubsubDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.PubsubDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +484,21 @@ public Builder mergeFrom( private java.lang.Object topic_ = ""; /** + * + * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -470,21 +507,22 @@ public java.lang.String getTopic() { } } /** + * + * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -492,64 +530,71 @@ public java.lang.String getTopic() { } } /** + * + * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
      * The name of the Cloud Pub/Sub topic to publish to.
      * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
      * 
* * string topic = 1; + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.PubsubDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.PubsubDestination) private static final com.google.cloud.asset.v1p2beta1.PubsubDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.PubsubDestination(); } @@ -573,16 +618,16 @@ public static com.google.cloud.asset.v1p2beta1.PubsubDestination getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubsubDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubsubDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubsubDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubsubDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.PubsubDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java similarity index 51% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java index e6d950141..b52b0f9aa 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/PubsubDestinationOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface PubsubDestinationOrBuilder extends +public interface PubsubDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.PubsubDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
    * The name of the Cloud Pub/Sub topic to publish to.
    * For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
    * 
* * string topic = 1; + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java similarity index 76% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java index 49979cd20..8de2f53df 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/Resource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * Representation of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.Resource} */ -public final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Resource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.Resource) ResourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -29,16 +47,15 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,56 +74,62 @@ private Resource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 50: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); + parent_ = s; + break; } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,34 +137,39 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.Resource.class, com.google.cloud.asset.v1p2beta1.Resource.Builder.class); + com.google.cloud.asset.v1p2beta1.Resource.class, + com.google.cloud.asset.v1p2beta1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -150,29 +178,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; } } /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @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 { @@ -183,6 +211,8 @@ public java.lang.String getVersion() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -192,6 +222,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -200,14 +231,15 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -217,16 +249,15 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -237,6 +268,8 @@ public java.lang.String getDiscoveryDocumentUri() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -244,6 +277,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -252,14 +286,15 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -267,16 +302,15 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -287,6 +321,8 @@ public java.lang.String getDiscoveryName() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -296,6 +332,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -304,14 +341,15 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -321,16 +359,15 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -341,6 +378,8 @@ public java.lang.String getResourceUrl() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -354,6 +393,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -362,14 +402,15 @@ 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 full name of the immediate parent of this resource. See
    * [Resource
@@ -383,16 +424,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; + * * @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 { @@ -403,12 +443,15 @@ public java.lang.String getParent() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ @java.lang.Override @@ -416,12 +459,15 @@ public boolean hasData() { return data_ != null; } /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ @java.lang.Override @@ -429,6 +475,8 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
@@ -442,6 +490,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +502,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
     }
@@ -498,8 +546,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_);
     }
     if (data_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getData());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -509,27 +556,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.asset.v1p2beta1.Resource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p2beta1.Resource other = (com.google.cloud.asset.v1p2beta1.Resource) obj;
-
-    if (!getVersion()
-        .equals(other.getVersion())) return false;
-    if (!getDiscoveryDocumentUri()
-        .equals(other.getDiscoveryDocumentUri())) return false;
-    if (!getDiscoveryName()
-        .equals(other.getDiscoveryName())) return false;
-    if (!getResourceUrl()
-        .equals(other.getResourceUrl())) return false;
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    com.google.cloud.asset.v1p2beta1.Resource other =
+        (com.google.cloud.asset.v1p2beta1.Resource) obj;
+
+    if (!getVersion().equals(other.getVersion())) return false;
+    if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false;
+    if (!getDiscoveryName().equals(other.getDiscoveryName())) return false;
+    if (!getResourceUrl().equals(other.getResourceUrl())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasData() != other.hasData()) return false;
     if (hasData()) {
-      if (!getData()
-          .equals(other.getData())) return false;
+      if (!getData().equals(other.getData())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -561,118 +603,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.Resource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p2beta1.Resource parseFrom(
-      byte[] data,
-      com.google.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.asset.v1p2beta1.Resource 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.asset.v1p2beta1.Resource parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.Resource parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p2beta1.Resource parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p2beta1.Resource parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.Resource parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1p2beta1.Resource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.Resource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.Resource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.Resource) com.google.cloud.asset.v1p2beta1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.Resource.class, com.google.cloud.asset.v1p2beta1.Resource.Builder.class); + com.google.cloud.asset.v1p2beta1.Resource.class, + com.google.cloud.asset.v1p2beta1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.Resource.newBuilder() @@ -680,16 +731,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -713,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_Resource_descriptor; } @java.lang.Override @@ -734,7 +784,8 @@ public com.google.cloud.asset.v1p2beta1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.Resource buildPartial() { - com.google.cloud.asset.v1p2beta1.Resource result = new com.google.cloud.asset.v1p2beta1.Resource(this); + com.google.cloud.asset.v1p2beta1.Resource result = + new com.google.cloud.asset.v1p2beta1.Resource(this); result.version_ = version_; result.discoveryDocumentUri_ = discoveryDocumentUri_; result.discoveryName_ = discoveryName_; @@ -753,38 +804,39 @@ public com.google.cloud.asset.v1p2beta1.Resource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.Resource) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.Resource)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.Resource) other); } else { super.mergeFrom(other); return this; @@ -847,18 +899,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @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; @@ -867,20 +921,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @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 { @@ -888,54 +943,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @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; @@ -943,6 +1005,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -952,13 +1016,13 @@ public Builder setVersionBytes(
      * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -967,6 +1031,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -976,15 +1042,14 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -992,6 +1057,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1001,20 +1068,22 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri( - java.lang.String value) { + public Builder setDiscoveryDocumentUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1024,15 +1093,18 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1042,16 +1114,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1059,6 +1131,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1066,13 +1140,13 @@ public Builder setDiscoveryDocumentUriBytes(
      * 
* * string discovery_name = 3; + * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1081,6 +1155,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1088,15 +1164,14 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1104,6 +1179,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1111,20 +1188,22 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName( - java.lang.String value) { + public Builder setDiscoveryName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1132,15 +1211,18 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1148,16 +1230,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1165,6 +1247,8 @@ public Builder setDiscoveryNameBytes( private java.lang.Object resourceUrl_ = ""; /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1174,13 +1258,13 @@ public Builder setDiscoveryNameBytes(
      * 
* * string resource_url = 4; + * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1189,6 +1273,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1198,15 +1284,14 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1214,6 +1299,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1223,20 +1310,22 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl( - java.lang.String value) { + public Builder setResourceUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1246,15 +1335,18 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1264,16 +1356,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1281,6 +1373,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1294,13 +1388,13 @@ public Builder setResourceUrlBytes(
      * 
* * string parent = 5; + * * @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; @@ -1309,6 +1403,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1322,15 +1418,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 { @@ -1338,6 +1433,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1351,20 +1448,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1378,15 +1477,18 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1400,16 +1502,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; + * * @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; @@ -1417,26 +1519,35 @@ public Builder setParentBytes( private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + dataBuilder_; /** + * + * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** + * + * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1447,6 +1558,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1468,6 +1581,8 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1475,8 +1590,7 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1487,6 +1601,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1497,8 +1613,7 @@ public Builder setData(
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ =
-            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1510,6 +1625,8 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1529,6 +1646,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1537,11 +1656,13 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-      
+
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1553,11 +1674,12 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1566,21 +1688,23 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getData(),
-                getParentForChildren(),
-                isClean());
+        dataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
         data_ = null;
       }
       return dataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1590,12 +1714,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.Resource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.Resource)
   private static final com.google.cloud.asset.v1p2beta1.Resource DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.Resource();
   }
@@ -1604,16 +1728,16 @@ public static com.google.cloud.asset.v1p2beta1.Resource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Resource parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Resource(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Resource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Resource(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1628,6 +1752,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
index 8e45f66a2..106c7dfff 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
+++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/ResourceOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
-public interface ResourceOrBuilder extends
+public interface ResourceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.Resource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -37,10 +60,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -50,12 +76,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -63,10 +91,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -74,12 +105,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString - getDiscoveryNameBytes(); + com.google.protobuf.ByteString getDiscoveryNameBytes(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -89,10 +122,13 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -102,12 +138,14 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString - getResourceUrlBytes(); + com.google.protobuf.ByteString getResourceUrlBytes(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -121,10 +159,13 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -138,32 +179,40 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ boolean hasData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ com.google.protobuf.Struct getData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
similarity index 69%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
index 0aedc3535..10b8a416d 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
+++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAsset.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
 /**
+ *
+ *
  * 
  * Temporal asset. In addition to the asset, the temporal asset includes the
  * status of the asset and valid from and to time of it.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p2beta1.TemporalAsset}
  */
-public final class TemporalAsset extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TemporalAsset extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.TemporalAsset)
     TemporalAssetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TemporalAsset.newBuilder() to construct.
   private TemporalAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TemporalAsset() {
-  }
+
+  private TemporalAsset() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TemporalAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TemporalAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,44 +69,50 @@ private TemporalAsset(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1p2beta1.TimeWindow.Builder subBuilder = null;
-            if (window_ != null) {
-              subBuilder = window_.toBuilder();
-            }
-            window_ = input.readMessage(com.google.cloud.asset.v1p2beta1.TimeWindow.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(window_);
-              window_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.cloud.asset.v1p2beta1.TimeWindow.Builder subBuilder = null;
+              if (window_ != null) {
+                subBuilder = window_.toBuilder();
+              }
+              window_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p2beta1.TimeWindow.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(window_);
+                window_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 16: {
-
-            deleted_ = input.readBool();
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1p2beta1.Asset.Builder subBuilder = null;
-            if (asset_ != null) {
-              subBuilder = asset_.toBuilder();
+              break;
             }
-            asset_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Asset.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(asset_);
-              asset_ = subBuilder.buildPartial();
+          case 16:
+            {
+              deleted_ = input.readBool();
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.asset.v1p2beta1.Asset.Builder subBuilder = null;
+              if (asset_ != null) {
+                subBuilder = asset_.toBuilder();
+              }
+              asset_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p2beta1.Asset.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(asset_);
+                asset_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -98,34 +120,39 @@ private TemporalAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p2beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1p2beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p2beta1.TemporalAsset.class, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
+            com.google.cloud.asset.v1p2beta1.TemporalAsset.class,
+            com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
   }
 
   public static final int WINDOW_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1p2beta1.TimeWindow window_;
   /**
+   *
+   *
    * 
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; + * * @return Whether the window field is set. */ @java.lang.Override @@ -133,18 +160,25 @@ public boolean hasWindow() { return window_ != null; } /** + * + * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; + * * @return The window. */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.TimeWindow getWindow() { - return window_ == null ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() + : window_; } /** + * + * *
    * The time window when the asset data and state was observed.
    * 
@@ -159,11 +193,14 @@ public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() public static final int DELETED_FIELD_NUMBER = 2; private boolean deleted_; /** + * + * *
    * If the asset is deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -174,11 +211,14 @@ public boolean getDeleted() { public static final int ASSET_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p2beta1.Asset asset_; /** + * + * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return Whether the asset field is set. */ @java.lang.Override @@ -186,11 +226,14 @@ public boolean hasAsset() { return asset_ != null; } /** + * + * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return The asset. */ @java.lang.Override @@ -198,6 +241,8 @@ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; } /** + * + * *
    * Asset.
    * 
@@ -210,6 +255,7 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -242,16 +287,13 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); } if (deleted_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, deleted_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, deleted_); } if (asset_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAsset()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAsset()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -261,24 +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.asset.v1p2beta1.TemporalAsset)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.TemporalAsset other = (com.google.cloud.asset.v1p2beta1.TemporalAsset) obj; + com.google.cloud.asset.v1p2beta1.TemporalAsset other = + (com.google.cloud.asset.v1p2beta1.TemporalAsset) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow() - .equals(other.getWindow())) return false; + if (!getWindow().equals(other.getWindow())) return false; } - if (getDeleted() - != other.getDeleted()) return false; + if (getDeleted() != other.getDeleted()) return false; if (hasAsset() != other.hasAsset()) return false; if (hasAsset()) { - if (!getAsset() - .equals(other.getAsset())) return false; + if (!getAsset().equals(other.getAsset())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -296,8 +336,7 @@ public int hashCode() { hash = (53 * hash) + getWindow().hashCode(); } hash = (37 * hash) + DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleted()); if (hasAsset()) { hash = (37 * hash) + ASSET_FIELD_NUMBER; hash = (53 * hash) + getAsset().hashCode(); @@ -307,97 +346,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.TemporalAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.TemporalAsset 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.asset.v1p2beta1.TemporalAsset parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.TemporalAsset parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.TemporalAsset parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.TemporalAsset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.TemporalAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.TemporalAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Temporal asset. In addition to the asset, the temporal asset includes the
    * status of the asset and valid from and to time of it.
@@ -405,21 +451,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p2beta1.TemporalAsset}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.TemporalAsset)
       com.google.cloud.asset.v1p2beta1.TemporalAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1p2beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p2beta1.TemporalAsset.class, com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
+              com.google.cloud.asset.v1p2beta1.TemporalAsset.class,
+              com.google.cloud.asset.v1p2beta1.TemporalAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p2beta1.TemporalAsset.newBuilder()
@@ -427,16 +475,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +505,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p2beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p2beta1_TemporalAsset_descriptor;
     }
 
     @java.lang.Override
@@ -479,7 +526,8 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p2beta1.TemporalAsset buildPartial() {
-      com.google.cloud.asset.v1p2beta1.TemporalAsset result = new com.google.cloud.asset.v1p2beta1.TemporalAsset(this);
+      com.google.cloud.asset.v1p2beta1.TemporalAsset result =
+          new com.google.cloud.asset.v1p2beta1.TemporalAsset(this);
       if (windowBuilder_ == null) {
         result.window_ = window_;
       } else {
@@ -499,38 +547,39 @@ public com.google.cloud.asset.v1p2beta1.TemporalAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p2beta1.TemporalAsset) {
-        return mergeFrom((com.google.cloud.asset.v1p2beta1.TemporalAsset)other);
+        return mergeFrom((com.google.cloud.asset.v1p2beta1.TemporalAsset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,34 +628,47 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1p2beta1.TimeWindow window_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p2beta1.TimeWindow, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder> windowBuilder_;
+            com.google.cloud.asset.v1p2beta1.TimeWindow,
+            com.google.cloud.asset.v1p2beta1.TimeWindow.Builder,
+            com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder>
+        windowBuilder_;
     /**
+     *
+     *
      * 
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; + * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; + * * @return The window. */ public com.google.cloud.asset.v1p2beta1.TimeWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() + : window_; } else { return windowBuilder_.getMessage(); } } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -627,14 +689,15 @@ public Builder setWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; */ - public Builder setWindow( - com.google.cloud.asset.v1p2beta1.TimeWindow.Builder builderForValue) { + public Builder setWindow(com.google.cloud.asset.v1p2beta1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -645,6 +708,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -655,7 +720,9 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.cloud.asset.v1p2beta1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p2beta1.TimeWindow.newBuilder(window_) + .mergeFrom(value) + .buildPartial(); } else { window_ = value; } @@ -667,6 +734,8 @@ public Builder mergeWindow(com.google.cloud.asset.v1p2beta1.TimeWindow value) { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -685,6 +754,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -692,11 +763,13 @@ public Builder clearWindow() { * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; */ public com.google.cloud.asset.v1p2beta1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -707,11 +780,14 @@ public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? - com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.cloud.asset.v1p2beta1.TimeWindow.getDefaultInstance() + : window_; } } /** + * + * *
      * The time window when the asset data and state was observed.
      * 
@@ -719,26 +795,32 @@ public com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder() * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.TimeWindow, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder> + com.google.cloud.asset.v1p2beta1.TimeWindow, + com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, + com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.TimeWindow, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder>( - getWindow(), - getParentForChildren(), - isClean()); + windowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.TimeWindow, + com.google.cloud.asset.v1p2beta1.TimeWindow.Builder, + com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder>( + getWindow(), getParentForChildren(), isClean()); window_ = null; } return windowBuilder_; } - private boolean deleted_ ; + private boolean deleted_; /** + * + * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; + * * @return The deleted. */ @java.lang.Override @@ -746,30 +828,36 @@ public boolean getDeleted() { return deleted_; } /** + * + * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; + * * @param value The deleted to set. * @return This builder for chaining. */ public Builder setDeleted(boolean value) { - + deleted_ = value; onChanged(); return this; } /** + * + * *
      * If the asset is deleted or not.
      * 
* * bool deleted = 2; + * * @return This builder for chaining. */ public Builder clearDeleted() { - + deleted_ = false; onChanged(); return this; @@ -777,34 +865,47 @@ public Builder clearDeleted() { private com.google.cloud.asset.v1p2beta1.Asset asset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Asset, com.google.cloud.asset.v1p2beta1.Asset.Builder, com.google.cloud.asset.v1p2beta1.AssetOrBuilder> assetBuilder_; + com.google.cloud.asset.v1p2beta1.Asset, + com.google.cloud.asset.v1p2beta1.Asset.Builder, + com.google.cloud.asset.v1p2beta1.AssetOrBuilder> + assetBuilder_; /** + * + * *
      * Asset.
      * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return Whether the asset field is set. */ public boolean hasAsset() { return assetBuilder_ != null || asset_ != null; } /** + * + * *
      * Asset.
      * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return The asset. */ public com.google.cloud.asset.v1p2beta1.Asset getAsset() { if (assetBuilder_ == null) { - return asset_ == null ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; + return asset_ == null + ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() + : asset_; } else { return assetBuilder_.getMessage(); } } /** + * + * *
      * Asset.
      * 
@@ -825,14 +926,15 @@ public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** + * + * *
      * Asset.
      * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; */ - public Builder setAsset( - com.google.cloud.asset.v1p2beta1.Asset.Builder builderForValue) { + public Builder setAsset(com.google.cloud.asset.v1p2beta1.Asset.Builder builderForValue) { if (assetBuilder_ == null) { asset_ = builderForValue.build(); onChanged(); @@ -843,6 +945,8 @@ public Builder setAsset( return this; } /** + * + * *
      * Asset.
      * 
@@ -853,7 +957,9 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { if (assetBuilder_ == null) { if (asset_ != null) { asset_ = - com.google.cloud.asset.v1p2beta1.Asset.newBuilder(asset_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p2beta1.Asset.newBuilder(asset_) + .mergeFrom(value) + .buildPartial(); } else { asset_ = value; } @@ -865,6 +971,8 @@ public Builder mergeAsset(com.google.cloud.asset.v1p2beta1.Asset value) { return this; } /** + * + * *
      * Asset.
      * 
@@ -883,6 +991,8 @@ public Builder clearAsset() { return this; } /** + * + * *
      * Asset.
      * 
@@ -890,11 +1000,13 @@ public Builder clearAsset() { * .google.cloud.asset.v1p2beta1.Asset asset = 3; */ public com.google.cloud.asset.v1p2beta1.Asset.Builder getAssetBuilder() { - + onChanged(); return getAssetFieldBuilder().getBuilder(); } /** + * + * *
      * Asset.
      * 
@@ -905,11 +1017,14 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { if (assetBuilder_ != null) { return assetBuilder_.getMessageOrBuilder(); } else { - return asset_ == null ? - com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() : asset_; + return asset_ == null + ? com.google.cloud.asset.v1p2beta1.Asset.getDefaultInstance() + : asset_; } } /** + * + * *
      * Asset.
      * 
@@ -917,21 +1032,24 @@ public com.google.cloud.asset.v1p2beta1.AssetOrBuilder getAssetOrBuilder() { * .google.cloud.asset.v1p2beta1.Asset asset = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Asset, com.google.cloud.asset.v1p2beta1.Asset.Builder, com.google.cloud.asset.v1p2beta1.AssetOrBuilder> + com.google.cloud.asset.v1p2beta1.Asset, + com.google.cloud.asset.v1p2beta1.Asset.Builder, + com.google.cloud.asset.v1p2beta1.AssetOrBuilder> getAssetFieldBuilder() { if (assetBuilder_ == null) { - assetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Asset, com.google.cloud.asset.v1p2beta1.Asset.Builder, com.google.cloud.asset.v1p2beta1.AssetOrBuilder>( - getAsset(), - getParentForChildren(), - isClean()); + assetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Asset, + com.google.cloud.asset.v1p2beta1.Asset.Builder, + com.google.cloud.asset.v1p2beta1.AssetOrBuilder>( + getAsset(), getParentForChildren(), isClean()); asset_ = null; } return assetBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.TemporalAsset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.TemporalAsset) private static final com.google.cloud.asset.v1p2beta1.TemporalAsset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.TemporalAsset(); } @@ -955,16 +1073,16 @@ public static com.google.cloud.asset.v1p2beta1.TemporalAsset getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TemporalAsset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TemporalAsset(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TemporalAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TemporalAsset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -979,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.TemporalAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java similarity index 70% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java index d927836ba..f2666eaba 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TemporalAssetOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; -public interface TemporalAssetOrBuilder extends +public interface TemporalAssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.TemporalAsset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; + * * @return Whether the window field is set. */ boolean hasWindow(); /** + * + * *
    * The time window when the asset data and state was observed.
    * 
* * .google.cloud.asset.v1p2beta1.TimeWindow window = 1; + * * @return The window. */ com.google.cloud.asset.v1p2beta1.TimeWindow getWindow(); /** + * + * *
    * The time window when the asset data and state was observed.
    * 
@@ -35,34 +59,45 @@ public interface TemporalAssetOrBuilder extends com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder getWindowOrBuilder(); /** + * + * *
    * If the asset is deleted or not.
    * 
* * bool deleted = 2; + * * @return The deleted. */ boolean getDeleted(); /** + * + * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return Whether the asset field is set. */ boolean hasAsset(); /** + * + * *
    * Asset.
    * 
* * .google.cloud.asset.v1p2beta1.Asset asset = 3; + * * @return The asset. */ com.google.cloud.asset.v1p2beta1.Asset getAsset(); /** + * + * *
    * Asset.
    * 
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java similarity index 71% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java index 37ab68d91..af7ed1677 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindow.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/assets.proto package com.google.cloud.asset.v1p2beta1; /** + * + * *
  * A time window of (start_time, end_time].
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.TimeWindow} */ -public final class TimeWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.TimeWindow) TimeWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeWindow() { - } + + private TimeWindow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TimeWindow( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private TimeWindow( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private TimeWindow( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.TimeWindow.class, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); + com.google.cloud.asset.v1p2beta1.TimeWindow.class, + com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -127,11 +152,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -139,6 +167,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -153,12 +183,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -166,12 +199,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -179,6 +215,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
@@ -192,6 +230,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,8 +242,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -221,12 +259,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -236,22 +272,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.asset.v1p2beta1.TimeWindow)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p2beta1.TimeWindow other = (com.google.cloud.asset.v1p2beta1.TimeWindow) obj;
+    com.google.cloud.asset.v1p2beta1.TimeWindow other =
+        (com.google.cloud.asset.v1p2beta1.TimeWindow) obj;
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -277,118 +312,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.TimeWindow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseFrom(
-      byte[] data,
-      com.google.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.asset.v1p2beta1.TimeWindow 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.asset.v1p2beta1.TimeWindow parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.TimeWindow parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p2beta1.TimeWindow parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p2beta1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p2beta1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1p2beta1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A time window of (start_time, end_time].
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.TimeWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.TimeWindow) com.google.cloud.asset.v1p2beta1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.TimeWindow.class, com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); + com.google.cloud.asset.v1p2beta1.TimeWindow.class, + com.google.cloud.asset.v1p2beta1.TimeWindow.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.TimeWindow.newBuilder() @@ -396,16 +440,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetProto.internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetProto + .internal_static_google_cloud_asset_v1p2beta1_TimeWindow_descriptor; } @java.lang.Override @@ -446,7 +489,8 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.TimeWindow buildPartial() { - com.google.cloud.asset.v1p2beta1.TimeWindow result = new com.google.cloud.asset.v1p2beta1.TimeWindow(this); + com.google.cloud.asset.v1p2beta1.TimeWindow result = + new com.google.cloud.asset.v1p2beta1.TimeWindow(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -465,38 +509,39 @@ public com.google.cloud.asset.v1p2beta1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.TimeWindow) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.TimeWindow)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.TimeWindow) other); } else { super.mergeFrom(other); return this; @@ -542,24 +587,33 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -570,6 +624,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -590,14 +646,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -608,6 +665,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -618,7 +677,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -630,6 +689,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -648,6 +709,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -655,11 +718,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -670,11 +735,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Start time of the time window (exclusive).
      * 
@@ -682,14 +748,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -697,26 +766,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -727,6 +805,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -748,6 +828,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -755,8 +837,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -767,6 +848,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -778,7 +861,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -790,6 +873,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -809,6 +894,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -817,11 +904,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -833,11 +922,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * End time of the time window (inclusive).
      * Current timestamp if not specified.
@@ -846,21 +936,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -870,12 +963,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.TimeWindow)
   private static final com.google.cloud.asset.v1p2beta1.TimeWindow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.TimeWindow();
   }
@@ -884,16 +977,16 @@ public static com.google.cloud.asset.v1p2beta1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TimeWindow parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TimeWindow(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TimeWindow(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -908,6 +1001,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p2beta1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
index c80313df9..2b5701c7d 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
+++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/TimeWindowOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/assets.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
-public interface TimeWindowOrBuilder extends
+public interface TimeWindowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Start time of the time window (exclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Start time of the time window (exclusive).
    * 
@@ -35,26 +59,34 @@ public interface TimeWindowOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * End time of the time window (inclusive).
    * Current timestamp if not specified.
diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
similarity index 71%
rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
index a6a771069..040fd53d6 100644
--- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
+++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p2beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p2beta1;
 
 /**
+ *
+ *
  * 
  * Update asset feed request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.UpdateFeedRequest} */ -public final class UpdateFeedRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateFeedRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p2beta1.UpdateFeedRequest) UpdateFeedRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateFeedRequest.newBuilder() to construct. private UpdateFeedRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateFeedRequest() { - } + + private UpdateFeedRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateFeedRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateFeedRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateFeedRequest( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; - if (feed_ != null) { - subBuilder = feed_.toBuilder(); - } - feed_ = input.readMessage(com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(feed_); - feed_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.asset.v1p2beta1.Feed.Builder subBuilder = null; + if (feed_ != null) { + subBuilder = feed_.toBuilder(); + } + feed_ = + input.readMessage( + com.google.cloud.asset.v1p2beta1.Feed.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(feed_); + feed_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +113,33 @@ private UpdateFeedRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); } public static final int FEED_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p2beta1.Feed feed_; /** + * + * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -123,7 +148,9 @@ private UpdateFeedRequest(
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feed field is set. */ @java.lang.Override @@ -131,6 +158,8 @@ public boolean hasFeed() { return feed_ != null; } /** + * + * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -139,7 +168,9 @@ public boolean hasFeed() {
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feed. */ @java.lang.Override @@ -147,6 +178,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } /** + * + * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -155,7 +188,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { @@ -165,13 +199,17 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -179,13 +217,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -193,13 +235,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -207,6 +252,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (feed_ != null) { output.writeMessage(1, getFeed()); } @@ -236,12 +281,10 @@ public int getSerializedSize() { size = 0; if (feed_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFeed()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFeed()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -251,22 +294,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.asset.v1p2beta1.UpdateFeedRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest other = (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) obj; + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest other = + (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) obj; if (hasFeed() != other.hasFeed()) return false; if (hasFeed()) { - if (!getFeed() - .equals(other.getFeed())) return false; + if (!getFeed().equals(other.getFeed())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -293,117 +335,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.nio.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.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p2beta1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( - byte[] data, - com.google.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.asset.v1p2beta1.UpdateFeedRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.UpdateFeedRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p2beta1.UpdateFeedRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p2beta1.UpdateFeedRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Update asset feed request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p2beta1.UpdateFeedRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p2beta1.UpdateFeedRequest) com.google.cloud.asset.v1p2beta1.UpdateFeedRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.class, + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.newBuilder() @@ -411,16 +462,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p2beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p2beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p2beta1_UpdateFeedRequest_descriptor; } @java.lang.Override @@ -461,7 +511,8 @@ public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest build() { @java.lang.Override public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest buildPartial() { - com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result = new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(this); + com.google.cloud.asset.v1p2beta1.UpdateFeedRequest result = + new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(this); if (feedBuilder_ == null) { result.feed_ = feed_; } else { @@ -480,38 +531,39 @@ public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) { - return mergeFrom((com.google.cloud.asset.v1p2beta1.UpdateFeedRequest)other); + return mergeFrom((com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) other); } else { super.mergeFrom(other); return this; @@ -519,7 +571,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p2beta1.UpdateFeedRequest other) { - if (other == com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p2beta1.UpdateFeedRequest.getDefaultInstance()) + return this; if (other.hasFeed()) { mergeFeed(other.getFeed()); } @@ -545,7 +598,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p2beta1.UpdateFeedRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -557,8 +611,13 @@ public Builder mergeFrom( private com.google.cloud.asset.v1p2beta1.Feed feed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> feedBuilder_; + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + feedBuilder_; /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -567,13 +626,17 @@ public Builder mergeFrom(
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feed field is set. */ public boolean hasFeed() { return feedBuilder_ != null || feed_ != null; } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -582,7 +645,9 @@ public boolean hasFeed() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feed. */ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { @@ -593,6 +658,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() { } } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -601,7 +668,8 @@ public com.google.cloud.asset.v1p2beta1.Feed getFeed() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { @@ -617,6 +685,8 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -625,10 +695,10 @@ public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFeed( - com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { + public Builder setFeed(com.google.cloud.asset.v1p2beta1.Feed.Builder builderForValue) { if (feedBuilder_ == null) { feed_ = builderForValue.build(); onChanged(); @@ -639,6 +709,8 @@ public Builder setFeed( return this; } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -647,13 +719,16 @@ public Builder setFeed(
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { if (feedBuilder_ == null) { if (feed_ != null) { feed_ = - com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p2beta1.Feed.newBuilder(feed_) + .mergeFrom(value) + .buildPartial(); } else { feed_ = value; } @@ -665,6 +740,8 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) { return this; } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -673,7 +750,8 @@ public Builder mergeFeed(com.google.cloud.asset.v1p2beta1.Feed value) {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFeed() { if (feedBuilder_ == null) { @@ -687,6 +765,8 @@ public Builder clearFeed() { return this; } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -695,14 +775,17 @@ public Builder clearFeed() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() { - + onChanged(); return getFeedFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -711,17 +794,19 @@ public com.google.cloud.asset.v1p2beta1.Feed.Builder getFeedBuilder() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { if (feedBuilder_ != null) { return feedBuilder_.getMessageOrBuilder(); } else { - return feed_ == null ? - com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; + return feed_ == null ? com.google.cloud.asset.v1p2beta1.Feed.getDefaultInstance() : feed_; } } /** + * + * *
      * Required. The new values of feed details. It must match an existing feed and the
      * field `name` must be in the format of:
@@ -730,17 +815,21 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() {
      * organizations/organization_number/feeds/feed_id.
      * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder> + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder> getFeedFieldBuilder() { if (feedBuilder_ == null) { - feedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p2beta1.Feed, com.google.cloud.asset.v1p2beta1.Feed.Builder, com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( - getFeed(), - getParentForChildren(), - isClean()); + feedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p2beta1.Feed, + com.google.cloud.asset.v1p2beta1.Feed.Builder, + com.google.cloud.asset.v1p2beta1.FeedOrBuilder>( + getFeed(), getParentForChildren(), isClean()); feed_ = null; } return feedBuilder_; @@ -748,45 +837,61 @@ public com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -802,16 +907,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -822,19 +929,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -846,13 +956,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -866,61 +979,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Only updates the `feed` fields indicated by this mask.
      * The field mask must not be empty, and it must not contain fields that
      * are immutable or only set by the server.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -930,12 +1056,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p2beta1.UpdateFeedRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p2beta1.UpdateFeedRequest) private static final com.google.cloud.asset.v1p2beta1.UpdateFeedRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p2beta1.UpdateFeedRequest(); } @@ -944,16 +1070,16 @@ public static com.google.cloud.asset.v1p2beta1.UpdateFeedRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateFeedRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateFeedRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateFeedRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateFeedRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,6 +1094,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p2beta1.UpdateFeedRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java rename to proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java index dc99969d8..f47a2da67 100644 --- a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/UpdateFeedRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p2beta1/asset_service.proto package com.google.cloud.asset.v1p2beta1; -public interface UpdateFeedRequestOrBuilder extends +public interface UpdateFeedRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p2beta1.UpdateFeedRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -16,11 +34,15 @@ public interface UpdateFeedRequestOrBuilder extends
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the feed field is set. */ boolean hasFeed(); /** + * + * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -29,11 +51,15 @@ public interface UpdateFeedRequestOrBuilder extends
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The feed. */ com.google.cloud.asset.v1p2beta1.Feed getFeed(); /** + * + * *
    * Required. The new values of feed details. It must match an existing feed and the
    * field `name` must be in the format of:
@@ -42,40 +68,52 @@ public interface UpdateFeedRequestOrBuilder extends
    * organizations/organization_number/feeds/feed_id.
    * 
* - * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.asset.v1p2beta1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1p2beta1.FeedOrBuilder getFeedOrBuilder(); /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Only updates the `feed` fields indicated by this mask.
    * The field mask must not be empty, and it must not contain fields that
    * are immutable or only set by the server.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto b/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto rename to proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto diff --git a/owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto b/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto similarity index 100% rename from owl-bot-staging/v1p2beta1/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto rename to proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java similarity index 72% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java index b3627c24a..85941f94b 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** + * + * *
  * A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} */ -public final class AnalyzeIamPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalyzeIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) AnalyzeIamPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalyzeIamPolicyRequest.newBuilder() to construct. private AnalyzeIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AnalyzeIamPolicyRequest() { - } + + private AnalyzeIamPolicyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalyzeIamPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnalyzeIamPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,48 @@ private AnalyzeIamPolicyRequest( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); - } - analysisQuery_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); + } + analysisQuery_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = input.readMessage(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder subBuilder = + null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,31 +117,36 @@ private AnalyzeIamPolicyRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); } - public interface OptionsOrBuilder extends + public interface OptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -126,11 +156,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ boolean getExpandGroups(); /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -140,11 +173,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ boolean getExpandRoles(); /** + * + * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -159,11 +195,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ boolean getExpandResources(); /** + * + * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -171,11 +210,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ boolean getOutputResourceEdges(); /** + * + * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -183,11 +225,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ boolean getOutputGroupEdges(); /** + * + * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -210,12 +255,17 @@ public interface OptionsOrBuilder extends
      * Default is false.
      * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ boolean getAnalyzeServiceAccountImpersonation(); /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -227,11 +277,16 @@ public interface OptionsOrBuilder extends
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ boolean hasExecutionTimeout(); /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -243,11 +298,16 @@ public interface OptionsOrBuilder extends
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ com.google.protobuf.Duration getExecutionTimeout(); /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -259,41 +319,44 @@ public interface OptionsOrBuilder extends
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder(); } /** + * + * *
    * Contains request options.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} */ - public static final class Options extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Options extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Options() { - } + + private Options() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Options( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -312,56 +375,58 @@ private Options( case 0: done = true; break; - case 8: { - - expandGroups_ = input.readBool(); - break; - } - case 16: { - - expandRoles_ = input.readBool(); - break; - } - case 24: { - - expandResources_ = input.readBool(); - break; - } - case 32: { - - outputResourceEdges_ = input.readBool(); - break; - } - case 40: { - - outputGroupEdges_ = input.readBool(); - break; - } - case 48: { - - analyzeServiceAccountImpersonation_ = input.readBool(); - break; - } - case 58: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (executionTimeout_ != null) { - subBuilder = executionTimeout_.toBuilder(); + case 8: + { + expandGroups_ = input.readBool(); + break; } - executionTimeout_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(executionTimeout_); - executionTimeout_ = subBuilder.buildPartial(); + case 16: + { + expandRoles_ = input.readBool(); + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 24: + { + expandResources_ = input.readBool(); + break; + } + case 32: + { + outputResourceEdges_ = input.readBool(); + break; + } + case 40: + { + outputGroupEdges_ = input.readBool(); + break; + } + case 48: + { + analyzeServiceAccountImpersonation_ = input.readBool(); + break; + } + case 58: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (executionTimeout_ != null) { + subBuilder = executionTimeout_.toBuilder(); + } + executionTimeout_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(executionTimeout_); + executionTimeout_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -369,29 +434,33 @@ private Options( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); } public static final int EXPAND_GROUPS_FIELD_NUMBER = 1; private boolean expandGroups_; /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -401,6 +470,7 @@ private Options(
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -411,6 +481,8 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_; /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -420,6 +492,7 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -430,6 +503,8 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_; /** + * + * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -444,6 +519,7 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -454,6 +530,8 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_; /** + * + * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -461,6 +539,7 @@ public boolean getExpandResources() {
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ @java.lang.Override @@ -471,6 +550,8 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_; /** + * + * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -478,6 +559,7 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -488,6 +570,8 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_; /** + * + * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -510,7 +594,10 @@ public boolean getOutputGroupEdges() {
      * Default is false.
      * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -521,6 +608,8 @@ public boolean getAnalyzeServiceAccountImpersonation() { public static final int EXECUTION_TIMEOUT_FIELD_NUMBER = 7; private com.google.protobuf.Duration executionTimeout_; /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -532,7 +621,10 @@ public boolean getAnalyzeServiceAccountImpersonation() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ @java.lang.Override @@ -540,6 +632,8 @@ public boolean hasExecutionTimeout() { return executionTimeout_ != null; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -551,14 +645,21 @@ public boolean hasExecutionTimeout() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ @java.lang.Override public com.google.protobuf.Duration getExecutionTimeout() { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } /** + * + * *
      * Optional. Amount of time executable has to complete.  See JSON representation of
      * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -570,7 +671,9 @@ public com.google.protobuf.Duration getExecutionTimeout() {
      * Default is empty.
      * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { @@ -578,6 +681,7 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -589,8 +693,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (expandGroups_ != false) { output.writeBool(1, expandGroups_); } @@ -622,32 +725,27 @@ public int getSerializedSize() { size = 0; if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, expandGroups_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandGroups_); } if (expandRoles_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, expandRoles_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, expandRoles_); } if (expandResources_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, expandResources_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, expandResources_); } if (outputResourceEdges_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, outputResourceEdges_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outputResourceEdges_); } if (outputGroupEdges_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, outputGroupEdges_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outputGroupEdges_); } if (analyzeServiceAccountImpersonation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, analyzeServiceAccountImpersonation_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 6, analyzeServiceAccountImpersonation_); } if (executionTimeout_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getExecutionTimeout()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExecutionTimeout()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -657,29 +755,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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) obj; - - if (getExpandGroups() - != other.getExpandGroups()) return false; - if (getExpandRoles() - != other.getExpandRoles()) return false; - if (getExpandResources() - != other.getExpandResources()) return false; - if (getOutputResourceEdges() - != other.getOutputResourceEdges()) return false; - if (getOutputGroupEdges() - != other.getOutputGroupEdges()) return false; - if (getAnalyzeServiceAccountImpersonation() - != other.getAnalyzeServiceAccountImpersonation()) return false; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) obj; + + if (getExpandGroups() != other.getExpandGroups()) return false; + if (getExpandRoles() != other.getExpandRoles()) return false; + if (getExpandResources() != other.getExpandResources()) return false; + if (getOutputResourceEdges() != other.getOutputResourceEdges()) return false; + if (getOutputGroupEdges() != other.getOutputGroupEdges()) return false; + if (getAnalyzeServiceAccountImpersonation() != other.getAnalyzeServiceAccountImpersonation()) + return false; if (hasExecutionTimeout() != other.hasExecutionTimeout()) return false; if (hasExecutionTimeout()) { - if (!getExecutionTimeout() - .equals(other.getExecutionTimeout())) return false; + if (!getExecutionTimeout().equals(other.getExecutionTimeout())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -693,23 +786,19 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); hash = (37 * hash) + EXPAND_ROLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandRoles()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandRoles()); hash = (37 * hash) + EXPAND_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandResources()); hash = (37 * hash) + OUTPUT_RESOURCE_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutputResourceEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputResourceEdges()); hash = (37 * hash) + OUTPUT_GROUP_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutputGroupEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputGroupEdges()); hash = (37 * hash) + ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAnalyzeServiceAccountImpersonation()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getAnalyzeServiceAccountImpersonation()); if (hasExecutionTimeout()) { hash = (37 * hash) + EXECUTION_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getExecutionTimeout().hashCode(); @@ -720,87 +809,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.nio.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseDelimitedFrom( - java.io.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -810,44 +907,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains request options.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder.class); } - // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -873,14 +975,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + .getDefaultInstance(); } @java.lang.Override @@ -894,7 +998,8 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options build() @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(this); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options result = + new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(this); result.expandGroups_ = expandGroups_; result.expandRoles_ = expandRoles_; result.expandResources_ = expandResources_; @@ -914,46 +1019,53 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options)other); + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other) { - if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options other) { + if (other + == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + .getDefaultInstance()) return this; if (other.getExpandGroups() != false) { setExpandGroups(other.getExpandGroups()); } @@ -994,7 +1106,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1004,8 +1118,10 @@ public Builder mergeFrom( return this; } - private boolean expandGroups_ ; + private boolean expandGroups_; /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1015,6 +1131,7 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -1022,6 +1139,8 @@ public boolean getExpandGroups() { return expandGroups_; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1031,16 +1150,19 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandGroups to set. * @return This builder for chaining. */ public Builder setExpandGroups(boolean value) { - + expandGroups_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -1050,17 +1172,20 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandGroups() { - + expandGroups_ = false; onChanged(); return this; } - private boolean expandRoles_ ; + private boolean expandRoles_; /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1070,6 +1195,7 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -1077,6 +1203,8 @@ public boolean getExpandRoles() { return expandRoles_; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1086,16 +1214,19 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandRoles to set. * @return This builder for chaining. */ public Builder setExpandRoles(boolean value) { - + expandRoles_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -1105,17 +1236,20 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandRoles() { - + expandRoles_ = false; onChanged(); return this; } - private boolean expandResources_ ; + private boolean expandResources_; /** + * + * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1130,6 +1264,7 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -1137,6 +1272,8 @@ public boolean getExpandResources() { return expandResources_; } /** + * + * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1151,16 +1288,19 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandResources to set. * @return This builder for chaining. */ public Builder setExpandResources(boolean value) { - + expandResources_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1175,17 +1315,20 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandResources() { - + expandResources_ = false; onChanged(); return this; } - private boolean outputResourceEdges_ ; + private boolean outputResourceEdges_; /** + * + * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1193,6 +1336,7 @@ public Builder clearExpandResources() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ @java.lang.Override @@ -1200,6 +1344,8 @@ public boolean getOutputResourceEdges() { return outputResourceEdges_; } /** + * + * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1207,16 +1353,19 @@ public boolean getOutputResourceEdges() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputResourceEdges to set. * @return This builder for chaining. */ public Builder setOutputResourceEdges(boolean value) { - + outputResourceEdges_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1224,17 +1373,20 @@ public Builder setOutputResourceEdges(boolean value) {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputResourceEdges() { - + outputResourceEdges_ = false; onChanged(); return this; } - private boolean outputGroupEdges_ ; + private boolean outputGroupEdges_; /** + * + * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1242,6 +1394,7 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -1249,6 +1402,8 @@ public boolean getOutputGroupEdges() { return outputGroupEdges_; } /** + * + * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1256,16 +1411,19 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ public Builder setOutputGroupEdges(boolean value) { - + outputGroupEdges_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1273,17 +1431,20 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { - + outputGroupEdges_ = false; onChanged(); return this; } - private boolean analyzeServiceAccountImpersonation_ ; + private boolean analyzeServiceAccountImpersonation_; /** + * + * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1306,7 +1467,10 @@ public Builder clearOutputGroupEdges() {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -1314,6 +1478,8 @@ public boolean getAnalyzeServiceAccountImpersonation() { return analyzeServiceAccountImpersonation_; } /** + * + * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1336,17 +1502,22 @@ public boolean getAnalyzeServiceAccountImpersonation() {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The analyzeServiceAccountImpersonation to set. * @return This builder for chaining. */ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { - + analyzeServiceAccountImpersonation_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1369,11 +1540,14 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearAnalyzeServiceAccountImpersonation() { - + analyzeServiceAccountImpersonation_ = false; onChanged(); return this; @@ -1381,8 +1555,13 @@ public Builder clearAnalyzeServiceAccountImpersonation() { private com.google.protobuf.Duration executionTimeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionTimeoutBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + executionTimeoutBuilder_; /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1394,13 +1573,18 @@ public Builder clearAnalyzeServiceAccountImpersonation() {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the executionTimeout field is set. */ public boolean hasExecutionTimeout() { return executionTimeoutBuilder_ != null || executionTimeout_ != null; } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1412,17 +1596,24 @@ public boolean hasExecutionTimeout() {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The executionTimeout. */ public com.google.protobuf.Duration getExecutionTimeout() { if (executionTimeoutBuilder_ == null) { - return executionTimeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } else { return executionTimeoutBuilder_.getMessage(); } } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1434,7 +1625,9 @@ public com.google.protobuf.Duration getExecutionTimeout() {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { @@ -1450,6 +1643,8 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1461,10 +1656,11 @@ public Builder setExecutionTimeout(com.google.protobuf.Duration value) {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setExecutionTimeout( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionTimeout(com.google.protobuf.Duration.Builder builderForValue) { if (executionTimeoutBuilder_ == null) { executionTimeout_ = builderForValue.build(); onChanged(); @@ -1475,6 +1671,8 @@ public Builder setExecutionTimeout( return this; } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1486,13 +1684,17 @@ public Builder setExecutionTimeout(
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { if (executionTimeoutBuilder_ == null) { if (executionTimeout_ != null) { executionTimeout_ = - com.google.protobuf.Duration.newBuilder(executionTimeout_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(executionTimeout_) + .mergeFrom(value) + .buildPartial(); } else { executionTimeout_ = value; } @@ -1504,6 +1706,8 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1515,7 +1719,9 @@ public Builder mergeExecutionTimeout(com.google.protobuf.Duration value) {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExecutionTimeout() { if (executionTimeoutBuilder_ == null) { @@ -1529,6 +1735,8 @@ public Builder clearExecutionTimeout() { return this; } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1540,14 +1748,18 @@ public Builder clearExecutionTimeout() {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() { - + onChanged(); return getExecutionTimeoutFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1559,17 +1771,22 @@ public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder() {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() { if (executionTimeoutBuilder_ != null) { return executionTimeoutBuilder_.getMessageOrBuilder(); } else { - return executionTimeout_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : executionTimeout_; + return executionTimeout_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionTimeout_; } } /** + * + * *
        * Optional. Amount of time executable has to complete.  See JSON representation of
        * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
@@ -1581,21 +1798,27 @@ public com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder() {
        * Default is empty.
        * 
* - * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.protobuf.Duration execution_timeout = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getExecutionTimeoutFieldBuilder() { if (executionTimeoutBuilder_ == null) { - executionTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExecutionTimeout(), - getParentForChildren(), - isClean()); + executionTimeoutBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getExecutionTimeout(), getParentForChildren(), isClean()); executionTimeout_ = null; } return executionTimeoutBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1608,30 +1831,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options) - private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options(); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Options(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Options(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1643,20 +1868,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -1664,37 +1894,54 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder + getAnalysisQueryOrBuilder() { return getAnalysisQuery(); } public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options_; /** + * + * *
    * Optional. The request options.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ @java.lang.Override @@ -1702,30 +1949,43 @@ public boolean hasOptions() { return options_ != null; } /** + * + * *
    * Optional. The request options.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions() { - return options_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() + : options_; } /** + * + * *
    * Optional. The request options.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder + getOptionsOrBuilder() { return getOptions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1737,8 +1997,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -1755,12 +2014,10 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1770,22 +2027,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.asset.v1p4beta1.AnalyzeIamPolicyRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) obj; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest other = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery() - .equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions() - .equals(other.getOptions())) return false; + if (!getOptions().equals(other.getOptions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1812,117 +2068,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.nio.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.AnalyzeIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.newBuilder() @@ -1930,16 +2196,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1959,9 +2224,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; } @java.lang.Override @@ -1980,7 +2245,8 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(this); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest result = + new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(this); if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; } else { @@ -1999,38 +2265,39 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -2038,7 +2305,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest other) { - if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.getDefaultInstance()) + return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -2064,7 +2332,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2076,39 +2345,58 @@ public Builder mergeFrom( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + analysisQueryBuilder_; /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -2124,11 +2412,15 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -2142,17 +2434,24 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder mergeAnalysisQuery( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) + .mergeFrom(value) + .buildPartial(); } else { analysisQuery_ = value; } @@ -2164,11 +2463,15 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -2182,48 +2485,66 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder + getAnalysisQueryBuilder() { + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder + getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), - getParentForChildren(), - isClean()); + analysisQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), getParentForChildren(), isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -2231,41 +2552,61 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnaly private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> optionsBuilder_; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> + optionsBuilder_; /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() + : options_; } else { return optionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setOptions(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { + public Builder setOptions( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2279,11 +2620,15 @@ public Builder setOptions(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyReque return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setOptions( com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder builderForValue) { @@ -2297,17 +2642,24 @@ public Builder setOptions( return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeOptions(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { + public Builder mergeOptions( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder(options_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.newBuilder(options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -2319,11 +2671,15 @@ public Builder mergeOptions(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyReq return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearOptions() { if (optionsBuilder_ == null) { @@ -2337,55 +2693,73 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder getOptionsBuilder() { - + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder + getOptionsBuilder() { + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder + getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null ? - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.getDefaultInstance() + : options_; } } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder>( - getOptions(), - getParentForChildren(), - isClean()); + optionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder>( + getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2395,12 +2769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest(); } @@ -2409,16 +2783,16 @@ public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2433,6 +2807,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java new file mode 100644 index 000000000..64076113a --- /dev/null +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyRequestOrBuilder.java @@ -0,0 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public interface AnalyzeIamPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The request query.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the analysisQuery field is set. + */ + boolean hasAnalysisQuery(); + /** + * + * + *
+   * Required. The request query.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The analysisQuery. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); + /** + * + * + *
+   * Required. The request query.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); + + /** + * + * + *
+   * Optional. The request options.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the options field is set. + */ + boolean hasOptions(); + /** + * + * + *
+   * Optional. The request options.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The options. + */ + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options getOptions(); + /** + * + * + *
+   * Optional. The request options.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRequest.OptionsOrBuilder getOptionsOrBuilder(); +} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java similarity index 66% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java index 25d9f321e..c3acf59c9 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** + * + * *
  * A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} */ -public final class AnalyzeIamPolicyResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AnalyzeIamPolicyResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) AnalyzeIamPolicyResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AnalyzeIamPolicyResponse.newBuilder() to construct. private AnalyzeIamPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AnalyzeIamPolicyResponse() { serviceAccountImpersonationAnalysis_ = java.util.Collections.emptyList(); nonCriticalErrors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private AnalyzeIamPolicyResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AnalyzeIamPolicyResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AnalyzeIamPolicyResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,49 +72,68 @@ private AnalyzeIamPolicyResponse( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder subBuilder = null; - if (mainAnalysis_ != null) { - subBuilder = mainAnalysis_.toBuilder(); + case 10: + { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + subBuilder = null; + if (mainAnalysis_ != null) { + subBuilder = mainAnalysis_.toBuilder(); + } + mainAnalysis_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(mainAnalysis_); + mainAnalysis_ = subBuilder.buildPartial(); + } + + break; } - mainAnalysis_ = input.readMessage(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(mainAnalysis_); - mainAnalysis_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serviceAccountImpersonationAnalysis_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse + .IamPolicyAnalysis>(); + mutable_bitField0_ |= 0x00000001; + } + serviceAccountImpersonationAnalysis_.add( + input.readMessage( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 24: + { + fullyExplored_ = input.readBool(); + break; } - serviceAccountImpersonationAnalysis_.add( - input.readMessage(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.parser(), extensionRegistry)); - break; - } - case 24: { - - fullyExplored_ = input.readBool(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + nonCriticalErrors_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState>(); + mutable_bitField0_ |= 0x00000002; + } + nonCriticalErrors_.add( + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .parser(), + extensionRegistry)); + break; } - nonCriticalErrors_.add( - input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,11 +141,11 @@ private AnalyzeIamPolicyResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { - serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = + java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { nonCriticalErrors_ = java.util.Collections.unmodifiableList(nonCriticalErrors_); @@ -118,42 +154,54 @@ private AnalyzeIamPolicyResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); } - public interface IamPolicyAnalysisOrBuilder extends + public interface IamPolicyAnalysisOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return Whether the analysisQuery field is set. */ boolean hasAnalysisQuery(); /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return The analysisQuery. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); /** + * + * *
      * The analysis query.
      * 
@@ -163,97 +211,117 @@ public interface IamPolicyAnalysisOrBuilder extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - java.util.List + java.util.List getAnalysisResultsList(); /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults(int index); /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ int getAnalysisResultsCount(); /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - java.util.List + java.util.List getAnalysisResultsOrBuilderList(); /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder( int index); /** + * + * *
      * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
      * fully explored to answer the query.
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ boolean getFullyExplored(); } /** + * + * *
    * An analysis message to group the query and results.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class IamPolicyAnalysis extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IamPolicyAnalysis extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) IamPolicyAnalysisOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysis.newBuilder() to construct. private IamPolicyAnalysis(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IamPolicyAnalysis() { analysisResults_ = 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 IamPolicyAnalysis(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicyAnalysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -273,40 +341,49 @@ private IamPolicyAnalysis( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); + case 10: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); + } + analysisQuery_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); + } + + break; } - analysisQuery_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analysisResults_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult>(); + mutable_bitField0_ |= 0x00000001; + } + analysisResults_.add( + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.parser(), + extensionRegistry)); + break; } - - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analysisResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 24: + { + fullyExplored_ = input.readBool(); + break; } - analysisResults_.add( - input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.parser(), extensionRegistry)); - break; - } - case 24: { - - fullyExplored_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -314,8 +391,7 @@ private IamPolicyAnalysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { analysisResults_ = java.util.Collections.unmodifiableList(analysisResults_); @@ -324,27 +400,34 @@ private IamPolicyAnalysis( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + .class); } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -352,18 +435,25 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** + * + * *
      * The analysis query.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } /** + * + * *
      * The analysis query.
      * 
@@ -371,84 +461,106 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery( * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder + getAnalysisQueryOrBuilder() { return getAnalysisQuery(); } public static final int ANALYSIS_RESULTS_FIELD_NUMBER = 2; - private java.util.List analysisResults_; + private java.util.List + analysisResults_; /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ @java.lang.Override - public java.util.List getAnalysisResultsList() { + public java.util.List + getAnalysisResultsList() { return analysisResults_; } /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> getAnalysisResultsOrBuilderList() { return analysisResults_; } /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ @java.lang.Override public int getAnalysisResultsCount() { return analysisResults_.size(); } /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults(int index) { return analysisResults_.get(index); } /** + * + * *
      * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
      * empty if no result is found.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder + getAnalysisResultsOrBuilder(int index) { return analysisResults_.get(index); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 3; private boolean fullyExplored_; /** + * + * *
      * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
      * fully explored to answer the query.
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -457,6 +569,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,8 +581,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -489,16 +601,14 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); } for (int i = 0; i < analysisResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, analysisResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, analysisResults_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -508,22 +618,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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery() - .equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; } - if (!getAnalysisResultsList() - .equals(other.getAnalysisResultsList())) return false; - if (getFullyExplored() - != other.getFullyExplored()) return false; + if (!getAnalysisResultsList().equals(other.getAnalysisResultsList())) return false; + if (getFullyExplored() != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -544,95 +653,107 @@ public int hashCode() { hash = (53 * hash) + getAnalysisResultsList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseDelimitedFrom( - java.io.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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + 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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -642,45 +763,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An analysis message to group the query and results.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + .class); } - // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAnalysisResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -702,19 +830,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis build() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = buildPartial(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -722,8 +853,10 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + buildPartial() { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis result = + new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(this); int from_bitField0_ = bitField0_; if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; @@ -748,46 +881,55 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis)other); + if (other + instanceof + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) { + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { - if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis other) { + if (other + == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()) return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -809,9 +951,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRespon analysisResultsBuilder_ = null; analysisResults_ = other.analysisResults_; bitField0_ = (bitField0_ & ~0x00000001); - analysisResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAnalysisResultsFieldBuilder() : null; + analysisResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAnalysisResultsFieldBuilder() + : null; } else { analysisResultsBuilder_.addAllMessages(other.analysisResults_); } @@ -835,11 +978,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parsedMessage = null; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -848,45 +994,60 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + analysisQueryBuilder_; /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; + * * @return The analysisQuery. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder setAnalysisQuery( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -900,6 +1061,8 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
        * The analysis query.
        * 
@@ -918,17 +1081,22 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder mergeAnalysisQuery( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) + .mergeFrom(value) + .buildPartial(); } else { analysisQuery_ = value; } @@ -940,6 +1108,8 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
        * The analysis query.
        * 
@@ -958,33 +1128,42 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder + getAnalysisQueryBuilder() { + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis query.
        * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder + getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } } /** + * + * *
        * The analysis query.
        * 
@@ -992,40 +1171,53 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnaly * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), - getParentForChildren(), - isClean()); + analysisQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), getParentForChildren(), isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; } - private java.util.List analysisResults_ = - java.util.Collections.emptyList(); + private java.util.List + analysisResults_ = java.util.Collections.emptyList(); + private void ensureAnalysisResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - analysisResults_ = new java.util.ArrayList(analysisResults_); + analysisResults_ = + new java.util.ArrayList( + analysisResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> analysisResultsBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> + analysisResultsBuilder_; /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public java.util.List getAnalysisResultsList() { + public java.util.List + getAnalysisResultsList() { if (analysisResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(analysisResults_); } else { @@ -1033,12 +1225,15 @@ public java.util.List } } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public int getAnalysisResultsCount() { if (analysisResultsBuilder_ == null) { @@ -1048,14 +1243,18 @@ public int getAnalysisResultsCount() { } } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResults( + int index) { if (analysisResultsBuilder_ == null) { return analysisResults_.get(index); } else { @@ -1063,12 +1262,15 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getAnalysisResul } } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder setAnalysisResults( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { @@ -1085,15 +1287,19 @@ public Builder setAnalysisResults( return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder setAnalysisResults( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { if (analysisResultsBuilder_ == null) { ensureAnalysisResultsIsMutable(); analysisResults_.set(index, builderForValue.build()); @@ -1104,14 +1310,18 @@ public Builder setAnalysisResults( return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public Builder addAnalysisResults(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { + public Builder addAnalysisResults( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { if (analysisResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1125,12 +1335,15 @@ public Builder addAnalysisResults(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder addAnalysisResults( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult value) { @@ -1147,12 +1360,15 @@ public Builder addAnalysisResults( return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder addAnalysisResults( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { @@ -1166,15 +1382,19 @@ public Builder addAnalysisResults( return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder addAnalysisResults( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder builderForValue) { if (analysisResultsBuilder_ == null) { ensureAnalysisResultsIsMutable(); analysisResults_.add(index, builderForValue.build()); @@ -1185,19 +1405,22 @@ public Builder addAnalysisResults( return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder addAllAnalysisResults( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (analysisResultsBuilder_ == null) { ensureAnalysisResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, analysisResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, analysisResults_); onChanged(); } else { analysisResultsBuilder_.addAllMessages(values); @@ -1205,12 +1428,15 @@ public Builder addAllAnalysisResults( return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder clearAnalysisResults() { if (analysisResultsBuilder_ == null) { @@ -1223,12 +1449,15 @@ public Builder clearAnalysisResults() { return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ public Builder removeAnalysisResults(int index) { if (analysisResultsBuilder_ == null) { @@ -1241,42 +1470,53 @@ public Builder removeAnalysisResults(int index) { return this; } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder getAnalysisResultsBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder + getAnalysisResultsBuilder(int index) { return getAnalysisResultsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnalysisResultsOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder + getAnalysisResultsOrBuilder(int index) { if (analysisResultsBuilder_ == null) { - return analysisResults_.get(index); } else { + return analysisResults_.get(index); + } else { return analysisResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public java.util.List - getAnalysisResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> + getAnalysisResultsOrBuilderList() { if (analysisResultsBuilder_ != null) { return analysisResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1284,48 +1524,67 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder getAnal } } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder() { - return getAnalysisResultsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder + addAnalysisResultsBuilder() { + return getAnalysisResultsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder addAnalysisResultsBuilder( - int index) { - return getAnalysisResultsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder + addAnalysisResultsBuilder(int index) { + return getAnalysisResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()); } /** + * + * *
        * A list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] that matches the analysis query, or
        * empty if no result is found.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult analysis_results = 2; + * */ - public java.util.List - getAnalysisResultsBuilderList() { + public java.util.List + getAnalysisResultsBuilderList() { return getAnalysisResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder> getAnalysisResultsFieldBuilder() { if (analysisResultsBuilder_ == null) { - analysisResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder>( + analysisResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder>( analysisResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1335,14 +1594,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder addAnaly return analysisResultsBuilder_; } - private boolean fullyExplored_ ; + private boolean fullyExplored_; /** + * + * *
        * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
        * fully explored to answer the query.
        * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1350,36 +1612,43 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
        * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
        * fully explored to answer the query.
        * 
* * bool fully_explored = 3; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** + * + * *
        * Represents whether all entries in the [analysis_results][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results] have been
        * fully explored to answer the query.
        * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1392,30 +1661,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis) - private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis(); } - public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysis parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysis(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysis parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1427,20 +1699,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int MAIN_ANALYSIS_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_; /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return Whether the mainAnalysis field is set. */ @java.lang.Override @@ -1448,102 +1725,144 @@ public boolean hasMainAnalysis() { return mainAnalysis_ != null; } /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return The mainAnalysis. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { - return mainAnalysis_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getMainAnalysis() { + return mainAnalysis_ == null + ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance() + : mainAnalysis_; } /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder() { return getMainAnalysis(); } public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER = 2; - private java.util.List serviceAccountImpersonationAnalysis_; + private java.util.List< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> + serviceAccountImpersonationAnalysis_; /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public java.util.List getServiceAccountImpersonationAnalysisList() { + public java.util.List + getServiceAccountImpersonationAnalysisList() { return serviceAccountImpersonationAnalysis_; } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList() { return serviceAccountImpersonationAnalysis_; } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override public int getServiceAccountImpersonationAnalysisCount() { return serviceAccountImpersonationAnalysis_.size(); } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getServiceAccountImpersonationAnalysis(int index) { return serviceAccountImpersonationAnalysis_.get(index); } /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getServiceAccountImpersonationAnalysisOrBuilder(int index) { return serviceAccountImpersonationAnalysis_.get(index); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 3; private boolean fullyExplored_; /** + * + * *
    * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
    * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -1551,6 +1870,7 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys
    * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -1559,71 +1879,96 @@ public boolean getFullyExplored() { } public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER = 4; - private java.util.List nonCriticalErrors_; + private java.util.List + nonCriticalErrors_; /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ @java.lang.Override - public java.util.List getNonCriticalErrorsList() { + public java.util.List + getNonCriticalErrorsList() { return nonCriticalErrors_; } /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getNonCriticalErrorsOrBuilderList() { return nonCriticalErrors_; } /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ @java.lang.Override public int getNonCriticalErrorsCount() { return nonCriticalErrors_.size(); } /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getNonCriticalErrors(int index) { return nonCriticalErrors_.get(index); } /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getNonCriticalErrorsOrBuilder(int index) { return nonCriticalErrors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1635,8 +1980,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (mainAnalysis_ != null) { output.writeMessage(1, getMainAnalysis()); } @@ -1659,20 +2003,19 @@ public int getSerializedSize() { size = 0; if (mainAnalysis_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMainAnalysis()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMainAnalysis()); } for (int i = 0; i < serviceAccountImpersonationAnalysis_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, serviceAccountImpersonationAnalysis_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, serviceAccountImpersonationAnalysis_.get(i)); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fullyExplored_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, fullyExplored_); } for (int i = 0; i < nonCriticalErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, nonCriticalErrors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, nonCriticalErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1682,24 +2025,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.asset.v1p4beta1.AnalyzeIamPolicyResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse other = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) obj; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse other = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) obj; if (hasMainAnalysis() != other.hasMainAnalysis()) return false; if (hasMainAnalysis()) { - if (!getMainAnalysis() - .equals(other.getMainAnalysis())) return false; + if (!getMainAnalysis().equals(other.getMainAnalysis())) return false; } if (!getServiceAccountImpersonationAnalysisList() .equals(other.getServiceAccountImpersonationAnalysisList())) return false; - if (getFullyExplored() - != other.getFullyExplored()) return false; - if (!getNonCriticalErrorsList() - .equals(other.getNonCriticalErrorsList())) return false; + if (getFullyExplored() != other.getFullyExplored()) return false; + if (!getNonCriticalErrorsList().equals(other.getNonCriticalErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1720,8 +2061,7 @@ public int hashCode() { hash = (53 * hash) + getServiceAccountImpersonationAnalysisList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); if (getNonCriticalErrorsCount() > 0) { hash = (37 * hash) + NON_CRITICAL_ERRORS_FIELD_NUMBER; hash = (53 * hash) + getNonCriticalErrorsList().hashCode(); @@ -1732,117 +2072,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.nio.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.AnalyzeIamPolicyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy].
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.class, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.newBuilder() @@ -1850,18 +2200,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) { getServiceAccountImpersonationAnalysisFieldBuilder(); getNonCriticalErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1889,9 +2239,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; } @java.lang.Override @@ -1910,7 +2260,8 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse buildPartial() { - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse result = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(this); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse result = + new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(this); int from_bitField0_ = bitField0_; if (mainAnalysisBuilder_ == null) { result.mainAnalysis_ = mainAnalysis_; @@ -1919,12 +2270,14 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse buildPartial() } if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = + java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); bitField0_ = (bitField0_ & ~0x00000001); } result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysis_; } else { - result.serviceAccountImpersonationAnalysis_ = serviceAccountImpersonationAnalysisBuilder_.build(); + result.serviceAccountImpersonationAnalysis_ = + serviceAccountImpersonationAnalysisBuilder_.build(); } result.fullyExplored_ = fullyExplored_; if (nonCriticalErrorsBuilder_ == null) { @@ -1944,38 +2297,39 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) other); } else { super.mergeFrom(other); return this; @@ -1983,7 +2337,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse other) { - if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.getDefaultInstance()) + return this; if (other.hasMainAnalysis()) { mergeMainAnalysis(other.getMainAnalysis()); } @@ -2005,11 +2360,13 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRespon serviceAccountImpersonationAnalysisBuilder_ = null; serviceAccountImpersonationAnalysis_ = other.serviceAccountImpersonationAnalysis_; bitField0_ = (bitField0_ & ~0x00000001); - serviceAccountImpersonationAnalysisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getServiceAccountImpersonationAnalysisFieldBuilder() : null; + serviceAccountImpersonationAnalysisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getServiceAccountImpersonationAnalysisFieldBuilder() + : null; } else { - serviceAccountImpersonationAnalysisBuilder_.addAllMessages(other.serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysisBuilder_.addAllMessages( + other.serviceAccountImpersonationAnalysis_); } } } @@ -2034,9 +2391,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyRespon nonCriticalErrorsBuilder_ = null; nonCriticalErrors_ = other.nonCriticalErrors_; bitField0_ = (bitField0_ & ~0x00000002); - nonCriticalErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNonCriticalErrorsFieldBuilder() : null; + nonCriticalErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNonCriticalErrorsFieldBuilder() + : null; } else { nonCriticalErrorsBuilder_.addAllMessages(other.nonCriticalErrors_); } @@ -2061,7 +2419,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2070,45 +2429,69 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis mainAnalysis_; + private com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + mainAnalysis_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> mainAnalysisBuilder_; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + mainAnalysisBuilder_; /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return Whether the mainAnalysis field is set. */ public boolean hasMainAnalysis() { return mainAnalysisBuilder_ != null || mainAnalysis_ != null; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return The mainAnalysis. */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getMainAnalysis() { if (mainAnalysisBuilder_ == null) { - return mainAnalysis_ == null ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + return mainAnalysis_ == null + ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance() + : mainAnalysis_; } else { return mainAnalysisBuilder_.getMessage(); } } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public Builder setMainAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder setMainAnalysis( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2122,14 +2505,19 @@ public Builder setMainAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicy return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ public Builder setMainAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (mainAnalysisBuilder_ == null) { mainAnalysis_ = builderForValue.build(); onChanged(); @@ -2140,17 +2528,25 @@ public Builder setMainAnalysis( return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public Builder mergeMainAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder mergeMainAnalysis( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (mainAnalysisBuilder_ == null) { if (mainAnalysis_ != null) { mainAnalysis_ = - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.newBuilder(mainAnalysis_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .newBuilder(mainAnalysis_) + .mergeFrom(value) + .buildPartial(); } else { mainAnalysis_ = value; } @@ -2162,11 +2558,15 @@ public Builder mergeMainAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPoli return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ public Builder clearMainAnalysis() { if (mainAnalysisBuilder_ == null) { @@ -2180,75 +2580,109 @@ public Builder clearMainAnalysis() { return this; } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder() { - + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + getMainAnalysisBuilder() { + onChanged(); return getMainAnalysisFieldBuilder().getBuilder(); } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder() { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder() { if (mainAnalysisBuilder_ != null) { return mainAnalysisBuilder_.getMessageOrBuilder(); } else { - return mainAnalysis_ == null ? - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance() : mainAnalysis_; + return mainAnalysis_ == null + ? com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance() + : mainAnalysis_; } } /** + * + * *
      * The main analysis that matches the original request.
      * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getMainAnalysisFieldBuilder() { if (mainAnalysisBuilder_ == null) { - mainAnalysisBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( - getMainAnalysis(), - getParentForChildren(), - isClean()); + mainAnalysisBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse + .IamPolicyAnalysisOrBuilder>( + getMainAnalysis(), getParentForChildren(), isClean()); mainAnalysis_ = null; } return mainAnalysisBuilder_; } - private java.util.List serviceAccountImpersonationAnalysis_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> + serviceAccountImpersonationAnalysis_ = java.util.Collections.emptyList(); + private void ensureServiceAccountImpersonationAnalysisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - serviceAccountImpersonationAnalysis_ = new java.util.ArrayList(serviceAccountImpersonationAnalysis_); + serviceAccountImpersonationAnalysis_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>( + serviceAccountImpersonationAnalysis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> serviceAccountImpersonationAnalysisBuilder_; + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + serviceAccountImpersonationAnalysisBuilder_; /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public java.util.List getServiceAccountImpersonationAnalysisList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> + getServiceAccountImpersonationAnalysisList() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return java.util.Collections.unmodifiableList(serviceAccountImpersonationAnalysis_); } else { @@ -2256,13 +2690,17 @@ public java.util.List * The service account impersonation analysis if * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is * enabled. *
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public int getServiceAccountImpersonationAnalysisCount() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2272,15 +2710,20 @@ public int getServiceAccountImpersonationAnalysisCount() { } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { return serviceAccountImpersonationAnalysis_.get(index); } else { @@ -2288,16 +2731,21 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder setServiceAccountImpersonationAnalysis( - int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + int index, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2311,16 +2759,22 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder setServiceAccountImpersonationAnalysis( - int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.set(index, builderForValue.build()); @@ -2331,15 +2785,20 @@ public Builder setServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public Builder addServiceAccountImpersonationAnalysis(com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + public Builder addServiceAccountImpersonationAnalysis( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2353,16 +2812,21 @@ public Builder addServiceAccountImpersonationAnalysis(com.google.cloud.asset.v1p return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addServiceAccountImpersonationAnalysis( - int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { + int index, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis value) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2376,16 +2840,21 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addServiceAccountImpersonationAnalysis( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(builderForValue.build()); @@ -2396,16 +2865,22 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addServiceAccountImpersonationAnalysis( - int index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + builderForValue) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); serviceAccountImpersonationAnalysis_.add(index, builderForValue.build()); @@ -2416,16 +2891,23 @@ public Builder addServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder addAllServiceAccountImpersonationAnalysis( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis> + values) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { ensureServiceAccountImpersonationAnalysisIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -2437,13 +2919,17 @@ public Builder addAllServiceAccountImpersonationAnalysis( return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder clearServiceAccountImpersonationAnalysis() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2456,13 +2942,17 @@ public Builder clearServiceAccountImpersonationAnalysis() { return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ public Builder removeServiceAccountImpersonationAnalysis(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { @@ -2475,45 +2965,61 @@ public Builder removeServiceAccountImpersonationAnalysis(int index) { return this; } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + getServiceAccountImpersonationAnalysisBuilder(int index) { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilder(index); } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getServiceAccountImpersonationAnalysisOrBuilder(int index) { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - return serviceAccountImpersonationAnalysis_.get(index); } else { + return serviceAccountImpersonationAnalysis_.get(index); + } else { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public java.util.List - getServiceAccountImpersonationAnalysisOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse + .IamPolicyAnalysisOrBuilder> + getServiceAccountImpersonationAnalysisOrBuilderList() { if (serviceAccountImpersonationAnalysisBuilder_ != null) { return serviceAccountImpersonationAnalysisBuilder_.getMessageOrBuilderList(); } else { @@ -2521,51 +3027,77 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys } } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder() { - return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + addServiceAccountImpersonationAnalysisBuilder() { + return getServiceAccountImpersonationAnalysisFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()); } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder( - int index) { - return getServiceAccountImpersonationAnalysisFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder + addServiceAccountImpersonationAnalysisBuilder(int index) { + return getServiceAccountImpersonationAnalysisFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + .getDefaultInstance()); } /** + * + * *
      * The service account impersonation analysis if
      * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
      * enabled.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - public java.util.List - getServiceAccountImpersonationAnalysisBuilderList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> + getServiceAccountImpersonationAnalysisBuilderList() { return getServiceAccountImpersonationAnalysisFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisFieldBuilder() { if (serviceAccountImpersonationAnalysisBuilder_ == null) { - serviceAccountImpersonationAnalysisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>( + serviceAccountImpersonationAnalysisBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder, + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse + .IamPolicyAnalysisOrBuilder>( serviceAccountImpersonationAnalysis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2575,8 +3107,10 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys return serviceAccountImpersonationAnalysisBuilder_; } - private boolean fullyExplored_ ; + private boolean fullyExplored_; /** + * + * *
      * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
      * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -2584,6 +3118,7 @@ public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalys
      * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ @java.lang.Override @@ -2591,6 +3126,8 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
      * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -2598,16 +3135,19 @@ public boolean getFullyExplored() {
      * 
* * bool fully_explored = 3; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** + * + * *
      * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
      * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -2615,36 +3155,49 @@ public Builder setFullyExplored(boolean value) {
      * 
* * bool fully_explored = 3; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = false; onChanged(); return this; } - private java.util.List nonCriticalErrors_ = - java.util.Collections.emptyList(); + private java.util.List + nonCriticalErrors_ = java.util.Collections.emptyList(); + private void ensureNonCriticalErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nonCriticalErrors_ = new java.util.ArrayList(nonCriticalErrors_); + nonCriticalErrors_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState>( + nonCriticalErrors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> nonCriticalErrorsBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + nonCriticalErrorsBuilder_; /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public java.util.List getNonCriticalErrorsList() { + public java.util.List + getNonCriticalErrorsList() { if (nonCriticalErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(nonCriticalErrors_); } else { @@ -2652,12 +3205,16 @@ public java.util.List * A list of non-critical errors happened during the request handling to * explain why `fully_explored` is false, or empty if no error happened. *
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public int getNonCriticalErrorsCount() { if (nonCriticalErrorsBuilder_ == null) { @@ -2667,14 +3224,19 @@ public int getNonCriticalErrorsCount() { } } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { return nonCriticalErrors_.get(index); } else { @@ -2682,12 +3244,16 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState ge } } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder setNonCriticalErrors( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { @@ -2704,15 +3270,21 @@ public Builder setNonCriticalErrors( return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder setNonCriticalErrors( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + builderForValue) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); nonCriticalErrors_.set(index, builderForValue.build()); @@ -2723,14 +3295,19 @@ public Builder setNonCriticalErrors( return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public Builder addNonCriticalErrors(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder addNonCriticalErrors( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (nonCriticalErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2744,12 +3321,16 @@ public Builder addNonCriticalErrors(com.google.cloud.asset.v1p4beta1.IamPolicyAn return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder addNonCriticalErrors( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { @@ -2766,15 +3347,20 @@ public Builder addNonCriticalErrors( return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder addNonCriticalErrors( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + builderForValue) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); nonCriticalErrors_.add(builderForValue.build()); @@ -2785,15 +3371,21 @@ public Builder addNonCriticalErrors( return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder addNonCriticalErrors( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + builderForValue) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); nonCriticalErrors_.add(index, builderForValue.build()); @@ -2804,19 +3396,24 @@ public Builder addNonCriticalErrors( return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder addAllNonCriticalErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState> + values) { if (nonCriticalErrorsBuilder_ == null) { ensureNonCriticalErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nonCriticalErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nonCriticalErrors_); onChanged(); } else { nonCriticalErrorsBuilder_.addAllMessages(values); @@ -2824,12 +3421,16 @@ public Builder addAllNonCriticalErrors( return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder clearNonCriticalErrors() { if (nonCriticalErrorsBuilder_ == null) { @@ -2842,12 +3443,16 @@ public Builder clearNonCriticalErrors() { return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ public Builder removeNonCriticalErrors(int index) { if (nonCriticalErrorsBuilder_ == null) { @@ -2860,42 +3465,57 @@ public Builder removeNonCriticalErrors(int index) { return this; } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getNonCriticalErrorsBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + getNonCriticalErrorsBuilder(int index) { return getNonCriticalErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getNonCriticalErrorsOrBuilder(int index) { if (nonCriticalErrorsBuilder_ == null) { - return nonCriticalErrors_.get(index); } else { + return nonCriticalErrors_.get(index); + } else { return nonCriticalErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public java.util.List - getNonCriticalErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + getNonCriticalErrorsOrBuilderList() { if (nonCriticalErrorsBuilder_ != null) { return nonCriticalErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -2903,48 +3523,73 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrB } } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder addNonCriticalErrorsBuilder() { - return getNonCriticalErrorsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + addNonCriticalErrorsBuilder() { + return getNonCriticalErrorsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance()); } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder addNonCriticalErrorsBuilder( - int index) { - return getNonCriticalErrorsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + addNonCriticalErrorsBuilder(int index) { + return getNonCriticalErrorsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance()); } /** + * + * *
      * A list of non-critical errors happened during the request handling to
      * explain why `fully_explored` is false, or empty if no error happened.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - public java.util.List - getNonCriticalErrorsBuilderList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder> + getNonCriticalErrorsBuilderList() { return getNonCriticalErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getNonCriticalErrorsFieldBuilder() { if (nonCriticalErrorsBuilder_ == null) { - nonCriticalErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + nonCriticalErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( nonCriticalErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2953,9 +3598,9 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Bu } return nonCriticalErrorsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2965,12 +3610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) private static final com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse(); } @@ -2979,16 +3624,16 @@ public static com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalyzeIamPolicyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalyzeIamPolicyResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalyzeIamPolicyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalyzeIamPolicyResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3003,6 +3648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java similarity index 54% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java index 55a09ef83..86daf478d 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AnalyzeIamPolicyResponseOrBuilder.java @@ -1,94 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; -public interface AnalyzeIamPolicyResponseOrBuilder extends +public interface AnalyzeIamPolicyResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return Whether the mainAnalysis field is set. */ boolean hasMainAnalysis(); /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * * @return The mainAnalysis. */ com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis(); /** + * + * *
    * The main analysis that matches the original request.
    * 
* - * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * + * .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1; + * */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder(); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getMainAnalysisOrBuilder(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - java.util.List + java.util.List getServiceAccountImpersonationAnalysisList(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis + getServiceAccountImpersonationAnalysis(int index); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ int getServiceAccountImpersonationAnalysisCount(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList(); /** + * + * *
    * The service account impersonation analysis if
    * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
    * enabled.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * + * repeated .google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2; + * */ - com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder( - int index); + com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder + getServiceAccountImpersonationAnalysisOrBuilder(int index); /** + * + * *
    * Represents whether all entries in the [main_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.main_analysis] and
    * [service_account_impersonation_analysis][google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis] have been fully explored to
@@ -96,56 +152,79 @@ com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBui
    * 
* * bool fully_explored = 3; + * * @return The fullyExplored. */ boolean getFullyExplored(); /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - java.util.List + java.util.List getNonCriticalErrorsList(); /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors( + int index); /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ int getNonCriticalErrorsCount(); /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getNonCriticalErrorsOrBuilderList(); /** + * + * *
    * A list of non-critical errors happened during the request handling to
    * explain why `fully_explored` is false, or empty if no error happened.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getNonCriticalErrorsOrBuilder(int index); } diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java new file mode 100644 index 000000000..487881890 --- /dev/null +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetProto.java @@ -0,0 +1,210 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/assets.proto + +package com.google.cloud.asset.v1p4beta1; + +public final class AssetProto { + private AssetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_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/asset/v1p4beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p4beta1\032\032googl" + + "e/iam/v1/policy.proto\032\025google/rpc/code.p" + + "roto\032\034google/api/annotations.proto\"\225\n\n\027I" + + "amPolicyAnalysisResult\022#\n\033attached_resou" + + "rce_full_name\030\001 \001(\t\022+\n\013iam_binding\030\002 \001(\013" + + "2\026.google.iam.v1.Binding\022e\n\024access_contr" + + "ol_lists\030\003 \003(\0132G.google.cloud.asset.v1p4" + + "beta1.IamPolicyAnalysisResult.AccessCont" + + "rolList\022Y\n\ridentity_list\030\004 \001(\0132B.google." + + "cloud.asset.v1p4beta1.IamPolicyAnalysisR" + + "esult.IdentityList\022\026\n\016fully_explored\030\005 \001" + + "(\010\032>\n\rAnalysisState\022\036\n\004code\030\001 \001(\0162\020.goog" + + "le.rpc.Code\022\r\n\005cause\030\002 \001(\t\032\203\001\n\010Resource\022" + + "\032\n\022full_resource_name\030\001 \001(\t\022[\n\016analysis_" + + "state\030\002 \001(\0132C.google.cloud.asset.v1p4bet" + + "a1.IamPolicyAnalysisResult.AnalysisState" + + "\032\233\001\n\006Access\022\016\n\004role\030\001 \001(\tH\000\022\024\n\npermissio" + + "n\030\002 \001(\tH\000\022[\n\016analysis_state\030\003 \001(\0132C.goog" + + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + + "isResult.AnalysisStateB\016\n\014oneof_access\0320" + + "\n\004Edge\022\023\n\013source_node\030\001 \001(\t\022\023\n\013target_no" + + "de\030\002 \001(\t\032u\n\010Identity\022\014\n\004name\030\001 \001(\t\022[\n\016an" + + "alysis_state\030\002 \001(\0132C.google.cloud.asset." + + "v1p4beta1.IamPolicyAnalysisResult.Analys" + + "isState\032\212\002\n\021AccessControlList\022Q\n\tresourc" + + "es\030\001 \003(\0132>.google.cloud.asset.v1p4beta1." + + "IamPolicyAnalysisResult.Resource\022N\n\010acce" + + "sses\030\002 \003(\0132<.google.cloud.asset.v1p4beta" + + "1.IamPolicyAnalysisResult.Access\022R\n\016reso" + + "urce_edges\030\003 \003(\0132:.google.cloud.asset.v1" + + "p4beta1.IamPolicyAnalysisResult.Edge\032\263\001\n" + + "\014IdentityList\022R\n\nidentities\030\001 \003(\0132>.goog" + + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + + "isResult.Identity\022O\n\013group_edges\030\002 \003(\0132:" + + ".google.cloud.asset.v1p4beta1.IamPolicyA" + + "nalysisResult.EdgeB\264\001\n com.google.cloud." + + "asset.v1p4beta1B\nAssetProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/asset" + + "/v1p4beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" + + ".V1P4Beta1\312\002\034Google\\Cloud\\Asset\\V1p4beta" + + "1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.rpc.CodeProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor, + new java.lang.String[] { + "AttachedResourceFullName", + "IamBinding", + "AccessControlLists", + "IdentityList", + "FullyExplored", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor, + new java.lang.String[] { + "Code", "Cause", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor, + new java.lang.String[] { + "FullResourceName", "AnalysisState", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor, + new java.lang.String[] { + "Role", "Permission", "AnalysisState", "OneofAccess", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor, + new java.lang.String[] { + "SourceNode", "TargetNode", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(4); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor, + new java.lang.String[] { + "Name", "AnalysisState", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(5); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor, + new java.lang.String[] { + "Resources", "Accesses", "ResourceEdges", + }); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor = + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor + .getNestedTypes() + .get(6); + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor, + new java.lang.String[] { + "Identities", "GroupEdges", + }); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.rpc.CodeProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java new file mode 100644 index 000000000..9ee955198 --- /dev/null +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceProto.java @@ -0,0 +1,343 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyRequest_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_AnalyzeIamPolicyResponse_IamPolicyAnalysis_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_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/asset/v1p4beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p4beta1" + + "\032\034google/api/annotations.proto\032\037google/a" + + "pi/field_behavior.proto\032)google/cloud/as" + + "set/v1p4beta1/assets.proto\032\032google/iam/v" + + "1/policy.proto\032#google/longrunning/opera" + + "tions.proto\032\036google/protobuf/duration.pr" + + "oto\032\027google/api/client.proto\"\376\003\n\026IamPoli" + + "cyAnalysisQuery\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022e\n\021" + + "resource_selector\030\002 \001(\0132E.google.cloud.a" + + "sset.v1p4beta1.IamPolicyAnalysisQuery.Re" + + "sourceSelectorB\003\340A\001\022e\n\021identity_selector" + + "\030\003 \001(\0132E.google.cloud.asset.v1p4beta1.Ia" + + "mPolicyAnalysisQuery.IdentitySelectorB\003\340" + + "A\001\022a\n\017access_selector\030\004 \001(\0132C.google.clo" + + "ud.asset.v1p4beta1.IamPolicyAnalysisQuer" + + "y.AccessSelectorB\003\340A\001\0323\n\020ResourceSelecto" + + "r\022\037\n\022full_resource_name\030\001 \001(\tB\003\340A\002\032)\n\020Id" + + "entitySelector\022\025\n\010identity\030\001 \001(\tB\003\340A\002\032>\n" + + "\016AccessSelector\022\022\n\005roles\030\001 \003(\tB\003\340A\001\022\030\n\013p" + + "ermissions\030\002 \003(\tB\003\340A\001\"\327\003\n\027AnalyzeIamPoli" + + "cyRequest\022Q\n\016analysis_query\030\001 \001(\01324.goog" + + "le.cloud.asset.v1p4beta1.IamPolicyAnalys" + + "isQueryB\003\340A\002\022S\n\007options\030\002 \001(\0132=.google.c" + + "loud.asset.v1p4beta1.AnalyzeIamPolicyReq" + + "uest.OptionsB\003\340A\001\032\223\002\n\007Options\022\032\n\rexpand_" + + "groups\030\001 \001(\010B\003\340A\001\022\031\n\014expand_roles\030\002 \001(\010B" + + "\003\340A\001\022\035\n\020expand_resources\030\003 \001(\010B\003\340A\001\022\"\n\025o" + + "utput_resource_edges\030\004 \001(\010B\003\340A\001\022\037\n\022outpu" + + "t_group_edges\030\005 \001(\010B\003\340A\001\0222\n%analyze_serv" + + "ice_account_impersonation\030\006 \001(\010B\003\340A\001\0229\n\021" + + "execution_timeout\030\007 \001(\0132\031.google.protobu" + + "f.DurationB\003\340A\001\"\274\004\n\030AnalyzeIamPolicyResp" + + "onse\022_\n\rmain_analysis\030\001 \001(\0132H.google.clo" + + "ud.asset.v1p4beta1.AnalyzeIamPolicyRespo" + + "nse.IamPolicyAnalysis\022x\n&service_account" + + "_impersonation_analysis\030\002 \003(\0132H.google.c" + + "loud.asset.v1p4beta1.AnalyzeIamPolicyRes" + + "ponse.IamPolicyAnalysis\022\026\n\016fully_explore" + + "d\030\003 \001(\010\022`\n\023non_critical_errors\030\004 \003(\0132C.g" + + "oogle.cloud.asset.v1p4beta1.IamPolicyAna" + + "lysisResult.AnalysisState\032\312\001\n\021IamPolicyA" + + "nalysis\022L\n\016analysis_query\030\001 \001(\01324.google" + + ".cloud.asset.v1p4beta1.IamPolicyAnalysis" + + "Query\022O\n\020analysis_results\030\002 \003(\01325.google" + + ".cloud.asset.v1p4beta1.IamPolicyAnalysis" + + "Result\022\026\n\016fully_explored\030\003 \001(\010\"\271\001\n\035IamPo" + + "licyAnalysisOutputConfig\022e\n\017gcs_destinat" + + "ion\030\001 \001(\0132J.google.cloud.asset.v1p4beta1" + + ".IamPolicyAnalysisOutputConfig.GcsDestin" + + "ationH\000\032\"\n\016GcsDestination\022\020\n\003uri\030\001 \001(\tB\003" + + "\340A\002B\r\n\013destination\"\203\004\n\036ExportIamPolicyAn" + + "alysisRequest\022Q\n\016analysis_query\030\001 \001(\01324." + + "google.cloud.asset.v1p4beta1.IamPolicyAn" + + "alysisQueryB\003\340A\002\022Z\n\007options\030\002 \001(\0132D.goog" + + "le.cloud.asset.v1p4beta1.ExportIamPolicy" + + "AnalysisRequest.OptionsB\003\340A\001\022W\n\routput_c" + + "onfig\030\003 \001(\0132;.google.cloud.asset.v1p4bet" + + "a1.IamPolicyAnalysisOutputConfigB\003\340A\002\032\330\001" + + "\n\007Options\022\032\n\rexpand_groups\030\001 \001(\010B\003\340A\001\022\031\n" + + "\014expand_roles\030\002 \001(\010B\003\340A\001\022\035\n\020expand_resou" + + "rces\030\003 \001(\010B\003\340A\001\022\"\n\025output_resource_edges" + + "\030\004 \001(\010B\003\340A\001\022\037\n\022output_group_edges\030\005 \001(\010B" + + "\003\340A\001\0222\n%analyze_service_account_imperson" + + "ation\030\006 \001(\010B\003\340A\001\"u\n\037ExportIamPolicyAnaly" + + "sisResponse\022R\n\routput_config\030\001 \001(\0132;.goo" + + "gle.cloud.asset.v1p4beta1.IamPolicyAnaly" + + "sisOutputConfig2\345\004\n\014AssetService\022\302\001\n\020Ana" + + "lyzeIamPolicy\0225.google.cloud.asset.v1p4b" + + "eta1.AnalyzeIamPolicyRequest\0326.google.cl" + + "oud.asset.v1p4beta1.AnalyzeIamPolicyResp" + + "onse\"?\202\323\344\223\0029\0227/v1p4beta1/{analysis_query" + + ".parent=*/*}:analyzeIamPolicy\022\300\002\n\027Export" + + "IamPolicyAnalysis\022<.google.cloud.asset.v" + + "1p4beta1.ExportIamPolicyAnalysisRequest\032" + + "\035.google.longrunning.Operation\"\307\001\202\323\344\223\002C\"" + + ">/v1p4beta1/{analysis_query.parent=*/*}:" + + "exportIamPolicyAnalysis:\001*\312A{\n * A request message for [AssetService.ExportIamPolicyAnalysis][google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis]. *
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} */ -public final class ExportIamPolicyAnalysisRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportIamPolicyAnalysisRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) ExportIamPolicyAnalysisRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportIamPolicyAnalysisRequest.newBuilder() to construct. - private ExportIamPolicyAnalysisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ExportIamPolicyAnalysisRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportIamPolicyAnalysisRequest() { - } + + private ExportIamPolicyAnalysisRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportIamPolicyAnalysisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExportIamPolicyAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +69,67 @@ private ExportIamPolicyAnalysisRequest( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; - if (analysisQuery_ != null) { - subBuilder = analysisQuery_.toBuilder(); - } - analysisQuery_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisQuery_); - analysisQuery_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder subBuilder = null; + if (analysisQuery_ != null) { + subBuilder = analysisQuery_.toBuilder(); + } + analysisQuery_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisQuery_); + analysisQuery_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = input.readMessage(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder + subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null; - if (outputConfig_ != null) { - subBuilder = outputConfig_.toBuilder(); - } - outputConfig_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputConfig_); - outputConfig_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder = + null; + if (outputConfig_ != null) { + subBuilder = outputConfig_.toBuilder(); + } + outputConfig_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputConfig_); + outputConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,31 +137,36 @@ private ExportIamPolicyAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); } - public interface OptionsOrBuilder extends + public interface OptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -139,11 +176,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ boolean getExpandGroups(); /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -153,11 +193,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ boolean getExpandRoles(); /** + * + * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -172,11 +215,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ boolean getExpandResources(); /** + * + * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -184,11 +230,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ boolean getOutputResourceEdges(); /** + * + * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -196,11 +245,14 @@ public interface OptionsOrBuilder extends
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ boolean getOutputGroupEdges(); /** + * + * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -222,42 +274,46 @@ public interface OptionsOrBuilder extends
      * Default is false.
      * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ boolean getAnalyzeServiceAccountImpersonation(); } /** + * + * *
    * Contains request options.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} */ - public static final class Options extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Options extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) OptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Options.newBuilder() to construct. private Options(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Options() { - } + + private Options() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Options(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Options( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -276,43 +332,43 @@ private Options( case 0: done = true; break; - case 8: { - - expandGroups_ = input.readBool(); - break; - } - case 16: { - - expandRoles_ = input.readBool(); - break; - } - case 24: { - - expandResources_ = input.readBool(); - break; - } - case 32: { - - outputResourceEdges_ = input.readBool(); - break; - } - case 40: { - - outputGroupEdges_ = input.readBool(); - break; - } - case 48: { - - analyzeServiceAccountImpersonation_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + expandGroups_ = input.readBool(); + break; + } + case 16: + { + expandRoles_ = input.readBool(); + break; + } + case 24: + { + expandResources_ = input.readBool(); + break; + } + case 32: + { + outputResourceEdges_ = input.readBool(); + break; + } + case 40: + { + outputGroupEdges_ = input.readBool(); + break; + } + case 48: + { + analyzeServiceAccountImpersonation_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -320,29 +376,34 @@ private Options( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder.class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder + .class); } public static final int EXPAND_GROUPS_FIELD_NUMBER = 1; private boolean expandGroups_; /** + * + * *
      * Optional. If true, the identities section of the result will expand any
      * Google groups appearing in an IAM policy binding.
@@ -352,6 +413,7 @@ private Options(
      * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -362,6 +424,8 @@ public boolean getExpandGroups() { public static final int EXPAND_ROLES_FIELD_NUMBER = 2; private boolean expandRoles_; /** + * + * *
      * Optional. If true, the access section of result will expand any roles
      * appearing in IAM policy bindings to include their permissions.
@@ -371,6 +435,7 @@ public boolean getExpandGroups() {
      * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -381,6 +446,8 @@ public boolean getExpandRoles() { public static final int EXPAND_RESOURCES_FIELD_NUMBER = 3; private boolean expandResources_; /** + * + * *
      * Optional. If true, the resource section of the result will expand any
      * resource attached to an IAM policy to include resources lower in the
@@ -395,6 +462,7 @@ public boolean getExpandRoles() {
      * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -405,6 +473,8 @@ public boolean getExpandResources() { public static final int OUTPUT_RESOURCE_EDGES_FIELD_NUMBER = 4; private boolean outputResourceEdges_; /** + * + * *
      * Optional. If true, the result will output resource edges, starting
      * from the policy attached resource, to any expanded resources.
@@ -412,6 +482,7 @@ public boolean getExpandResources() {
      * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ @java.lang.Override @@ -422,6 +493,8 @@ public boolean getOutputResourceEdges() { public static final int OUTPUT_GROUP_EDGES_FIELD_NUMBER = 5; private boolean outputGroupEdges_; /** + * + * *
      * Optional. If true, the result will output group identity edges, starting
      * from the binding's group members, to any expanded identities.
@@ -429,6 +502,7 @@ public boolean getOutputResourceEdges() {
      * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -439,6 +513,8 @@ public boolean getOutputGroupEdges() { public static final int ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER = 6; private boolean analyzeServiceAccountImpersonation_; /** + * + * *
      * Optional. If true, the response will include access analysis from identities to
      * resources via service account impersonation. This is a very expensive
@@ -460,7 +536,10 @@ public boolean getOutputGroupEdges() {
      * Default is false.
      * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -469,6 +548,7 @@ public boolean getAnalyzeServiceAccountImpersonation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -480,8 +560,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (expandGroups_ != false) { output.writeBool(1, expandGroups_); } @@ -510,28 +589,24 @@ public int getSerializedSize() { size = 0; if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, expandGroups_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, expandGroups_); } if (expandRoles_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, expandRoles_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, expandRoles_); } if (expandResources_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, expandResources_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, expandResources_); } if (outputResourceEdges_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, outputResourceEdges_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outputResourceEdges_); } if (outputGroupEdges_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, outputGroupEdges_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, outputGroupEdges_); } if (analyzeServiceAccountImpersonation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, analyzeServiceAccountImpersonation_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 6, analyzeServiceAccountImpersonation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -541,25 +616,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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) obj; - - if (getExpandGroups() - != other.getExpandGroups()) return false; - if (getExpandRoles() - != other.getExpandRoles()) return false; - if (getExpandResources() - != other.getExpandResources()) return false; - if (getOutputResourceEdges() - != other.getOutputResourceEdges()) return false; - if (getOutputGroupEdges() - != other.getOutputGroupEdges()) return false; - if (getAnalyzeServiceAccountImpersonation() - != other.getAnalyzeServiceAccountImpersonation()) return false; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other = + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) obj; + + if (getExpandGroups() != other.getExpandGroups()) return false; + if (getExpandRoles() != other.getExpandRoles()) return false; + if (getExpandResources() != other.getExpandResources()) return false; + if (getOutputResourceEdges() != other.getOutputResourceEdges()) return false; + if (getOutputGroupEdges() != other.getOutputGroupEdges()) return false; + if (getAnalyzeServiceAccountImpersonation() != other.getAnalyzeServiceAccountImpersonation()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -572,110 +644,114 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); hash = (37 * hash) + EXPAND_ROLES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandRoles()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandRoles()); hash = (37 * hash) + EXPAND_RESOURCES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandResources()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandResources()); hash = (37 * hash) + OUTPUT_RESOURCE_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutputResourceEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputResourceEdges()); hash = (37 * hash) + OUTPUT_GROUP_EDGES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutputGroupEdges()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutputGroupEdges()); hash = (37 * hash) + ANALYZE_SERVICE_ACCOUNT_IMPERSONATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAnalyzeServiceAccountImpersonation()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getAnalyzeServiceAccountImpersonation()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.nio.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseDelimitedFrom( - java.io.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -685,44 +761,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Contains request options.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder.class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.class, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder + .class); } - // Construct using com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -742,19 +824,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_Options_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options build() { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = buildPartial(); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -762,8 +847,10 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options b } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options buildPartial() { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(this); + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + buildPartial() { + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options result = + new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(this); result.expandGroups_ = expandGroups_; result.expandRoles_ = expandRoles_; result.expandResources_ = expandResources_; @@ -778,46 +865,54 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options)other); + if (other + instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) { + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other) { - if (other == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options other) { + if (other + == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + .getDefaultInstance()) return this; if (other.getExpandGroups() != false) { setExpandGroups(other.getExpandGroups()); } @@ -851,11 +946,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parsedMessage = null; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -865,8 +963,10 @@ public Builder mergeFrom( return this; } - private boolean expandGroups_ ; + private boolean expandGroups_; /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -876,6 +976,7 @@ public Builder mergeFrom(
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -883,6 +984,8 @@ public boolean getExpandGroups() { return expandGroups_; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -892,16 +995,19 @@ public boolean getExpandGroups() {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandGroups to set. * @return This builder for chaining. */ public Builder setExpandGroups(boolean value) { - + expandGroups_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the identities section of the result will expand any
        * Google groups appearing in an IAM policy binding.
@@ -911,17 +1017,20 @@ public Builder setExpandGroups(boolean value) {
        * 
* * bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandGroups() { - + expandGroups_ = false; onChanged(); return this; } - private boolean expandRoles_ ; + private boolean expandRoles_; /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -931,6 +1040,7 @@ public Builder clearExpandGroups() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandRoles. */ @java.lang.Override @@ -938,6 +1048,8 @@ public boolean getExpandRoles() { return expandRoles_; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -947,16 +1059,19 @@ public boolean getExpandRoles() {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandRoles to set. * @return This builder for chaining. */ public Builder setExpandRoles(boolean value) { - + expandRoles_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the access section of result will expand any roles
        * appearing in IAM policy bindings to include their permissions.
@@ -966,17 +1081,20 @@ public Builder setExpandRoles(boolean value) {
        * 
* * bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandRoles() { - + expandRoles_ = false; onChanged(); return this; } - private boolean expandResources_ ; + private boolean expandResources_; /** + * + * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -991,6 +1109,7 @@ public Builder clearExpandRoles() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandResources. */ @java.lang.Override @@ -998,6 +1117,8 @@ public boolean getExpandResources() { return expandResources_; } /** + * + * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1012,16 +1133,19 @@ public boolean getExpandResources() {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandResources to set. * @return This builder for chaining. */ public Builder setExpandResources(boolean value) { - + expandResources_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the resource section of the result will expand any
        * resource attached to an IAM policy to include resources lower in the
@@ -1036,17 +1160,20 @@ public Builder setExpandResources(boolean value) {
        * 
* * bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandResources() { - + expandResources_ = false; onChanged(); return this; } - private boolean outputResourceEdges_ ; + private boolean outputResourceEdges_; /** + * + * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1054,6 +1181,7 @@ public Builder clearExpandResources() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputResourceEdges. */ @java.lang.Override @@ -1061,6 +1189,8 @@ public boolean getOutputResourceEdges() { return outputResourceEdges_; } /** + * + * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1068,16 +1198,19 @@ public boolean getOutputResourceEdges() {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputResourceEdges to set. * @return This builder for chaining. */ public Builder setOutputResourceEdges(boolean value) { - + outputResourceEdges_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output resource edges, starting
        * from the policy attached resource, to any expanded resources.
@@ -1085,17 +1218,20 @@ public Builder setOutputResourceEdges(boolean value) {
        * 
* * bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputResourceEdges() { - + outputResourceEdges_ = false; onChanged(); return this; } - private boolean outputGroupEdges_ ; + private boolean outputGroupEdges_; /** + * + * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1103,6 +1239,7 @@ public Builder clearOutputResourceEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The outputGroupEdges. */ @java.lang.Override @@ -1110,6 +1247,8 @@ public boolean getOutputGroupEdges() { return outputGroupEdges_; } /** + * + * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1117,16 +1256,19 @@ public boolean getOutputGroupEdges() {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The outputGroupEdges to set. * @return This builder for chaining. */ public Builder setOutputGroupEdges(boolean value) { - + outputGroupEdges_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the result will output group identity edges, starting
        * from the binding's group members, to any expanded identities.
@@ -1134,17 +1276,20 @@ public Builder setOutputGroupEdges(boolean value) {
        * 
* * bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOutputGroupEdges() { - + outputGroupEdges_ = false; onChanged(); return this; } - private boolean analyzeServiceAccountImpersonation_ ; + private boolean analyzeServiceAccountImpersonation_; /** + * + * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1166,7 +1311,10 @@ public Builder clearOutputGroupEdges() {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The analyzeServiceAccountImpersonation. */ @java.lang.Override @@ -1174,6 +1322,8 @@ public boolean getAnalyzeServiceAccountImpersonation() { return analyzeServiceAccountImpersonation_; } /** + * + * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1195,17 +1345,22 @@ public boolean getAnalyzeServiceAccountImpersonation() {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The analyzeServiceAccountImpersonation to set. * @return This builder for chaining. */ public Builder setAnalyzeServiceAccountImpersonation(boolean value) { - + analyzeServiceAccountImpersonation_ = value; onChanged(); return this; } /** + * + * *
        * Optional. If true, the response will include access analysis from identities to
        * resources via service account impersonation. This is a very expensive
@@ -1227,15 +1382,19 @@ public Builder setAnalyzeServiceAccountImpersonation(boolean value) {
        * Default is false.
        * 
* - * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearAnalyzeServiceAccountImpersonation() { - + analyzeServiceAccountImpersonation_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1248,30 +1407,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options) - private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options(); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Options parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Options(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Options parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Options(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,20 +1445,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ANALYSIS_QUERY_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ @java.lang.Override @@ -1304,37 +1471,54 @@ public boolean hasAnalysisQuery() { return analysisQuery_ != null; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { - return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } /** + * + * *
    * Required. The request query.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder + getAnalysisQueryOrBuilder() { return getAnalysisQuery(); } public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options_; /** + * + * *
    * Optional. The request options.
    * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ @java.lang.Override @@ -1342,37 +1526,55 @@ public boolean hasOptions() { return options_ != null; } /** + * + * *
    * Optional. The request options.
    * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions() { - return options_ == null ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + .getDefaultInstance() + : options_; } /** + * + * *
    * Optional. The request options.
    * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder + getOptionsOrBuilder() { return getOptions(); } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_; /** + * + * *
    * Required. Output configuration indicating where the results will be output to.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -1380,30 +1582,43 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Required. Output configuration indicating where the results will be output to.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Required. Output configuration indicating where the results will be output to.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { return getOutputConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1415,8 +1630,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (analysisQuery_ != null) { output.writeMessage(1, getAnalysisQuery()); } @@ -1436,16 +1650,13 @@ public int getSerializedSize() { size = 0; if (analysisQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAnalysisQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAnalysisQuery()); } if (options_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1455,27 +1666,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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) obj; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other = + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) obj; if (hasAnalysisQuery() != other.hasAnalysisQuery()) return false; if (hasAnalysisQuery()) { - if (!getAnalysisQuery() - .equals(other.getAnalysisQuery())) return false; + if (!getAnalysisQuery().equals(other.getAnalysisQuery())) return false; } if (hasOptions() != other.hasOptions()) return false; if (hasOptions()) { - if (!getOptions() - .equals(other.getOptions())) return false; + if (!getOptions().equals(other.getOptions())) return false; } if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig() - .equals(other.getOutputConfig())) return false; + if (!getOutputConfig().equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1506,117 +1715,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.nio.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request message for [AssetService.ExportIamPolicyAnalysis][google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis].
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.class, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.newBuilder() @@ -1624,16 +1843,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1659,13 +1877,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisRequest_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest + getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance(); } @@ -1680,7 +1899,8 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest buildPartial() { - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest result = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(this); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest result = + new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(this); if (analysisQueryBuilder_ == null) { result.analysisQuery_ = analysisQuery_; } else { @@ -1704,46 +1924,50 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest 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.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other) { - if (other == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest other) { + if (other + == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.getDefaultInstance()) + return this; if (other.hasAnalysisQuery()) { mergeAnalysisQuery(other.getAnalysisQuery()); } @@ -1772,7 +1996,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1784,39 +2010,58 @@ public Builder mergeFrom( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysisQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> analysisQueryBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + analysisQueryBuilder_; /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the analysisQuery field is set. */ public boolean hasAnalysisQuery() { return analysisQueryBuilder_ != null || analysisQuery_ != null; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The analysisQuery. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery() { if (analysisQueryBuilder_ == null) { - return analysisQuery_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } else { return analysisQueryBuilder_.getMessage(); } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { @@ -1832,11 +2077,15 @@ public Builder setAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAnalysisQuery( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder builderForValue) { @@ -1850,17 +2099,24 @@ public Builder setAnalysisQuery( return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { + public Builder mergeAnalysisQuery( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery value) { if (analysisQueryBuilder_ == null) { if (analysisQuery_ != null) { analysisQuery_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder(analysisQuery_) + .mergeFrom(value) + .buildPartial(); } else { analysisQuery_ = value; } @@ -1872,11 +2128,15 @@ public Builder mergeAnalysisQuery(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAnalysisQuery() { if (analysisQueryBuilder_ == null) { @@ -1890,48 +2150,66 @@ public Builder clearAnalysisQuery() { return this; } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder getAnalysisQueryBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder + getAnalysisQueryBuilder() { + onChanged(); return getAnalysisQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder + getAnalysisQueryOrBuilder() { if (analysisQueryBuilder_ != null) { return analysisQueryBuilder_.getMessageOrBuilder(); } else { - return analysisQuery_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() : analysisQuery_; + return analysisQuery_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance() + : analysisQuery_; } } /** + * + * *
      * Required. The request query.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder> getAnalysisQueryFieldBuilder() { if (analysisQueryBuilder_ == null) { - analysisQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( - getAnalysisQuery(), - getParentForChildren(), - isClean()); + analysisQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder>( + getAnalysisQuery(), getParentForChildren(), isClean()); analysisQuery_ = null; } return analysisQueryBuilder_; @@ -1939,41 +2217,62 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnaly private com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> optionsBuilder_; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> + optionsBuilder_; /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The options. */ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + .getDefaultInstance() + : options_; } else { return optionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setOptions(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { + public Builder setOptions( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1987,14 +2286,19 @@ public Builder setOptions(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalys return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setOptions( - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder + builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); @@ -2005,17 +2309,25 @@ public Builder setOptions( return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeOptions(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { + public Builder mergeOptions( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options value) { if (optionsBuilder_ == null) { if (options_ != null) { options_ = - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder(options_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.newBuilder( + options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -2027,11 +2339,15 @@ public Builder mergeOptions(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnal return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearOptions() { if (optionsBuilder_ == null) { @@ -2045,48 +2361,67 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder getOptionsBuilder() { - + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder + getOptionsBuilder() { + onChanged(); return getOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder getOptionsOrBuilder() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder + getOptionsOrBuilder() { if (optionsBuilder_ != null) { return optionsBuilder_.getMessageOrBuilder(); } else { - return options_ == null ? - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.getDefaultInstance() : options_; + return options_ == null + ? com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options + .getDefaultInstance() + : options_; } } /** + * + * *
      * Optional. The request options.
      * 
* - * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder> getOptionsFieldBuilder() { if (optionsBuilder_ == null) { - optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder>( - getOptions(), - getParentForChildren(), - isClean()); + optionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options.Builder, + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder>( + getOptions(), getParentForChildren(), isClean()); options_ = null; } return optionsBuilder_; @@ -2094,41 +2429,61 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOr private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder setOutputConfig( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2142,11 +2497,15 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysi return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder builderForValue) { @@ -2160,17 +2519,25 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder mergeOutputConfig( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder( + outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -2182,11 +2549,15 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnaly return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -2200,55 +2571,73 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder + getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Required. Output configuration indicating where the results will be output to.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2258,30 +2647,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) - private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest(); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportIamPolicyAnalysisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportIamPolicyAnalysisRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportIamPolicyAnalysisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportIamPolicyAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2293,9 +2684,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java new file mode 100644 index 000000000..e629aa1b8 --- /dev/null +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisRequestOrBuilder.java @@ -0,0 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public interface ExportIamPolicyAnalysisRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The request query.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the analysisQuery field is set. + */ + boolean hasAnalysisQuery(); + /** + * + * + *
+   * Required. The request query.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The analysisQuery. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getAnalysisQuery(); + /** + * + * + *
+   * Required. The request query.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder getAnalysisQueryOrBuilder(); + + /** + * + * + *
+   * Optional. The request options.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the options field is set. + */ + boolean hasOptions(); + /** + * + * + *
+   * Optional. The request options.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The options. + */ + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options getOptions(); + /** + * + * + *
+   * Optional. The request options.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.Options options = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest.OptionsOrBuilder + getOptionsOrBuilder(); + + /** + * + * + *
+   * Required. Output configuration indicating where the results will be output to.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the outputConfig field is set. + */ + boolean hasOutputConfig(); + /** + * + * + *
+   * Required. Output configuration indicating where the results will be output to.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The outputConfig. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig(); + /** + * + * + *
+   * Required. Output configuration indicating where the results will be output to.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder(); +} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java similarity index 65% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java index ae0903a55..27f65306c 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** + * + * *
  * The export IAM policy analysis response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][] method in the returned
@@ -12,30 +29,30 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse}
  */
-public final class ExportIamPolicyAnalysisResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportIamPolicyAnalysisResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)
     ExportIamPolicyAnalysisResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportIamPolicyAnalysisResponse.newBuilder() to construct.
-  private ExportIamPolicyAnalysisResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ExportIamPolicyAnalysisResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ExportIamPolicyAnalysisResponse() {
-  }
+
+  private ExportIamPolicyAnalysisResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportIamPolicyAnalysisResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExportIamPolicyAnalysisResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,26 +71,31 @@ private ExportIamPolicyAnalysisResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder = null;
-            if (outputConfig_ != null) {
-              subBuilder = outputConfig_.toBuilder();
+          case 10:
+            {
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder subBuilder =
+                  null;
+              if (outputConfig_ != null) {
+                subBuilder = outputConfig_.toBuilder();
+              }
+              outputConfig_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputConfig_);
+                outputConfig_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            outputConfig_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputConfig_);
-              outputConfig_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +103,39 @@ private ExportIamPolicyAnalysisResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
+            com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class,
+            com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
   }
 
   public static final int OUTPUT_CONFIG_FIELD_NUMBER = 1;
   private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_;
   /**
+   *
+   *
    * 
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -116,18 +143,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
@@ -135,11 +169,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputC * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { return getOutputConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (outputConfig_ != null) { output.writeMessage(1, getOutputConfig()); } @@ -166,8 +201,7 @@ public int getSerializedSize() { size = 0; if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -177,17 +211,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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) obj; + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other = + (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) obj; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig() - .equals(other.getOutputConfig())) return false; + if (!getOutputConfig().equals(other.getOutputConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -210,96 +244,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.nio.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.ExportIamPolicyAnalysisResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The export IAM policy analysis response. This message is returned by the
    * [google.longrunning.Operations.GetOperation][] method in the returned
@@ -308,21 +350,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)
       com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class, com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
+              com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.class,
+              com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.newBuilder()
@@ -330,16 +374,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,13 +396,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_ExportIamPolicyAnalysisResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse getDefaultInstanceForType() {
+    public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.getDefaultInstance();
     }
 
@@ -374,7 +418,8 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse build()
 
     @java.lang.Override
     public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse buildPartial() {
-      com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse result = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(this);
+      com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse result =
+          new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(this);
       if (outputConfigBuilder_ == null) {
         result.outputConfig_ = outputConfig_;
       } else {
@@ -388,46 +433,50 @@ public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) {
-        return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other) {
-      if (other == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse other) {
+      if (other
+          == com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse.getDefaultInstance())
+        return this;
       if (other.hasOutputConfig()) {
         mergeOutputConfig(other.getOutputConfig());
       }
@@ -450,7 +499,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -462,41 +513,55 @@ public Builder mergeFrom(
 
     private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig outputConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> outputConfigBuilder_;
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig,
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder,
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>
+        outputConfigBuilder_;
     /**
+     *
+     *
      * 
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; + * * @return The outputConfig. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public Builder setOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder setOutputConfig( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -510,6 +575,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysi return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -528,17 +595,23 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public Builder mergeOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { + public Builder mergeOutputConfig( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder( + outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -550,6 +623,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p4beta1.IamPolicyAnaly return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -568,33 +643,42 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder getOutputConfigBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder + getOutputConfigBuilder() { + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -602,21 +686,24 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder g * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; } + @java.lang.Override - 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,30 +713,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) - private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse(); } - public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportIamPolicyAnalysisResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportIamPolicyAnalysisResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportIamPolicyAnalysisResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportIamPolicyAnalysisResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,9 +750,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java index b41735687..612b86db0 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/ExportIamPolicyAnalysisResponseOrBuilder.java @@ -1,36 +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/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; -public interface ExportIamPolicyAnalysisResponseOrBuilder extends +public interface ExportIamPolicyAnalysisResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; + * * @return The outputConfig. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig output_config = 1; */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder getOutputConfigOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder + getOutputConfigOrBuilder(); } diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java similarity index 61% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java index 0b51d34bc..14df0eadb 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** + * + * *
  * Output configuration for export IAM policy analysis destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} */ -public final class IamPolicyAnalysisOutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IamPolicyAnalysisOutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) IamPolicyAnalysisOutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisOutputConfig.newBuilder() to construct. private IamPolicyAnalysisOutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IamPolicyAnalysisOutputConfig() { - } + + private IamPolicyAnalysisOutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicyAnalysisOutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicyAnalysisOutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,37 @@ private IamPolicyAnalysisOutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_) + .toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destinationCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,31 +106,36 @@ private IamPolicyAnalysisOutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); } - public interface GcsDestinationOrBuilder extends + public interface GcsDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -114,10 +145,13 @@ public interface GcsDestinationOrBuilder extends
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -127,43 +161,45 @@ public interface GcsDestinationOrBuilder extends
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); } /** + * + * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class GcsDestination extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) GcsDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsDestination() { uri_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -182,19 +218,20 @@ private GcsDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + uri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -202,29 +239,34 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + .class); } public static final int URI_FIELD_NUMBER = 1; private volatile java.lang.Object uri_; /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -234,6 +276,7 @@ private GcsDestination(
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -242,14 +285,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
      * Required. The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -259,16 +303,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -277,6 +320,7 @@ public java.lang.String getUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +332,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_); } @@ -313,15 +356,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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination)) { + if (!(obj + instanceof + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) obj; - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -340,88 +385,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -431,44 +489,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A Cloud Storage location.
      * 
* - * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} + * Protobuf type {@code + * google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .Builder.class); } - // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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,19 +543,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_GcsDestination_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination build() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -498,8 +566,10 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestina } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(this); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + buildPartial() { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(this); result.uri_ = uri_; onBuilt(); return result; @@ -509,46 +579,56 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestina public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination)other); + if (other + instanceof + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) { + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination other) { + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance()) return this; if (!other.getUri().isEmpty()) { uri_ = other.uri_; onChanged(); @@ -568,11 +648,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination parsedMessage = null; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,6 +667,8 @@ public Builder mergeFrom( private java.lang.Object uri_ = ""; /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -593,13 +678,13 @@ public Builder mergeFrom(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -608,6 +693,8 @@ public java.lang.String getUri() { } } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -617,15 +704,14 @@ public java.lang.String getUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -633,6 +719,8 @@ public java.lang.String getUri() { } } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -642,20 +730,22 @@ public java.lang.String getUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -665,15 +755,18 @@ public Builder setUri(
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
        * Required. The uri of the Cloud Storage object. It's the same uri that is used by
        * gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
@@ -683,20 +776,21 @@ public Builder clearUri() {
        * 
* * string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -709,30 +803,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + .GcsDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -744,20 +842,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -773,29 +874,36 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return GCS_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return GCS_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -803,36 +911,52 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } /** + * + * *
    * Destination on Cloud Storage.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder + getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -844,10 +968,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (destinationCase_ == 1) { - output.writeMessage(1, (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + output.writeMessage( + 1, + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_); } unknownFields.writeTo(output); } @@ -859,8 +985,11 @@ public int getSerializedSize() { size = 0; if (destinationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -870,18 +999,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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) obj; if (!getDestinationCase().equals(other.getDestinationCase())) return false; switch (destinationCase_) { case 1: - if (!getGcsDestination() - .equals(other.getGcsDestination())) return false; + if (!getGcsDestination().equals(other.getGcsDestination())) return false; break; case 0: default: @@ -911,117 +1040,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output configuration for export IAM policy analysis destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.newBuilder() @@ -1029,16 +1168,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1048,13 +1186,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisOutputConfig_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance(); } @@ -1069,7 +1208,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -1086,38 +1226,39 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig 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.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) other); } else { super.mergeFrom(other); return this; @@ -1125,15 +1266,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) return this; + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.getDefaultInstance()) + return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case GCS_DESTINATION: + { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1154,7 +1299,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1163,12 +1310,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -1178,15 +1325,22 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> gcsDestinationBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> + gcsDestinationBuilder_; /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -1194,35 +1348,49 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * * @return The gcsDestination. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + getGcsDestination() { if (gcsDestinationBuilder_ == null) { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } else { if (destinationCase_ == 1) { return gcsDestinationBuilder_.getMessage(); } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - public Builder setGcsDestination(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder setGcsDestination( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1236,14 +1404,19 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p4beta1.IamPolicyAnaly return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ public Builder setGcsDestination( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + builderForValue) { if (gcsDestinationBuilder_ == null) { destination_ = builderForValue.build(); onChanged(); @@ -1254,18 +1427,31 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - public Builder mergeGcsDestination(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { + public Builder mergeGcsDestination( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.newBuilder((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ + != com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .newBuilder( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + .GcsDestination) + destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -1281,11 +1467,15 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p4beta1.IamPolicyAna return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ public Builder clearGcsDestination() { if (gcsDestinationBuilder_ == null) { @@ -1304,61 +1494,88 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder getGcsDestinationBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder + getGcsDestinationBuilder() { return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder + getGcsDestinationOrBuilder() { if ((destinationCase_ == 1) && (gcsDestinationBuilder_ != null)) { return gcsDestinationBuilder_.getMessageOrBuilder(); } else { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_; + return (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_; } - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } } /** + * + * *
      * Destination on Cloud Storage.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { - destination_ = com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.getDefaultInstance(); + destination_ = + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .getDefaultInstance(); } - gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder>( - (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) destination_, + gcsDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination + .Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + .GcsDestinationOrBuilder>( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination) + destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return gcsDestinationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,30 +1585,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisOutputConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisOutputConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisOutputConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1403,9 +1622,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java new file mode 100644 index 000000000..edc8507e0 --- /dev/null +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisOutputConfigOrBuilder.java @@ -0,0 +1,70 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p4beta1/asset_service.proto + +package com.google.cloud.asset.v1p4beta1; + +public interface IamPolicyAnalysisOutputConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Destination on Cloud Storage.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * + * @return Whether the gcsDestination field is set. + */ + boolean hasGcsDestination(); + /** + * + * + *
+   * Destination on Cloud Storage.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + * + * @return The gcsDestination. + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination getGcsDestination(); + /** + * + * + *
+   * Destination on Cloud Storage.
+   * 
+ * + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1; + * + */ + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.GcsDestinationOrBuilder + getGcsDestinationOrBuilder(); + + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisOutputConfig.DestinationCase + getDestinationCase(); +} diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java similarity index 65% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java index ec97312f1..1312ace54 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQuery.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; /** + * + * *
  * IAM policy analysis query message.
  * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} */ -public final class IamPolicyAnalysisQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IamPolicyAnalysisQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) IamPolicyAnalysisQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IamPolicyAnalysisQuery.newBuilder() to construct. private IamPolicyAnalysisQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IamPolicyAnalysisQuery() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamPolicyAnalysisQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IamPolicyAnalysisQuery( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,58 +70,77 @@ private IamPolicyAnalysisQuery( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder subBuilder = null; - if (resourceSelector_ != null) { - subBuilder = resourceSelector_.toBuilder(); - } - resourceSelector_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(resourceSelector_); - resourceSelector_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder + subBuilder = null; + if (resourceSelector_ != null) { + subBuilder = resourceSelector_.toBuilder(); + } + resourceSelector_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resourceSelector_); + resourceSelector_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder subBuilder = null; - if (identitySelector_ != null) { - subBuilder = identitySelector_.toBuilder(); - } - identitySelector_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(identitySelector_); - identitySelector_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder + subBuilder = null; + if (identitySelector_ != null) { + subBuilder = identitySelector_.toBuilder(); + } + identitySelector_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(identitySelector_); + identitySelector_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder subBuilder = null; - if (accessSelector_ != null) { - subBuilder = accessSelector_.toBuilder(); - } - accessSelector_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(accessSelector_); - accessSelector_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder + subBuilder = null; + if (accessSelector_ != null) { + subBuilder = accessSelector_.toBuilder(); + } + accessSelector_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(accessSelector_); + accessSelector_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,31 +148,36 @@ private IamPolicyAnalysisQuery( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); } - public interface ResourceSelectorOrBuilder extends + public interface ResourceSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -144,10 +185,13 @@ public interface ResourceSelectorOrBuilder extends
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -155,12 +199,14 @@ public interface ResourceSelectorOrBuilder extends
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); } /** + * + * *
    * Specifies the resource to analyze for access policies, which may be set
    * directly on the resource, or on ancestors such as organizations, folders or
@@ -170,31 +216,31 @@ public interface ResourceSelectorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector}
    */
-  public static final class ResourceSelector extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ResourceSelector extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)
       ResourceSelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ResourceSelector.newBuilder() to construct.
     private ResourceSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ResourceSelector() {
       fullResourceName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ResourceSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ResourceSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -213,19 +259,20 @@ private ResourceSelector(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              fullResourceName_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                fullResourceName_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -233,29 +280,34 @@ private ResourceSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder
+                  .class);
     }
 
     public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object fullResourceName_;
     /**
+     *
+     *
      * 
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -263,6 +315,7 @@ private ResourceSelector(
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ @java.lang.Override @@ -271,14 +324,15 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
      * Required. The [full resource
      * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -286,16 +340,15 @@ public java.lang.String getFullResourceName() {
      * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -304,6 +357,7 @@ public java.lang.String getFullResourceName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,8 +369,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -340,15 +393,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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) obj; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,88 +421,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + 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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -458,6 +525,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies the resource to analyze for access policies, which may be set
      * directly on the resource, or on ancestors such as organizations, folders or
@@ -467,38 +536,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder.class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.class,
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -508,19 +581,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_ResourceSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result = buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -528,8 +604,10 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(this);
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
+          buildPartial() {
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector result =
+            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(this);
         result.fullResourceName_ = fullResourceName_;
         onBuilt();
         return result;
@@ -539,46 +617,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) {
-          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)other);
+        if (other
+            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) {
+          return mergeFrom(
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other) {
-        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector other) {
+        if (other
+            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector
+                .getDefaultInstance()) return this;
         if (!other.getFullResourceName().isEmpty()) {
           fullResourceName_ = other.fullResourceName_;
           onChanged();
@@ -598,11 +684,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parsedMessage = null;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -614,6 +703,8 @@ public Builder mergeFrom(
 
       private java.lang.Object fullResourceName_ = "";
       /**
+       *
+       *
        * 
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -621,13 +712,13 @@ public Builder mergeFrom(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -636,6 +727,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -643,15 +736,14 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -659,6 +751,8 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -666,20 +760,22 @@ public java.lang.String getFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { + public Builder setFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -687,15 +783,18 @@ public Builder setFullResourceName(
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** + * + * *
        * Required. The [full resource
        * name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
@@ -703,20 +802,21 @@ public Builder clearFullResourceName() {
        * 
* * string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -729,30 +829,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResourceSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResourceSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -764,17 +867,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IdentitySelectorOrBuilder extends + public interface IdentitySelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -782,10 +888,13 @@ public interface IdentitySelectorOrBuilder extends
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ java.lang.String getIdentity(); /** + * + * *
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -793,12 +902,14 @@ public interface IdentitySelectorOrBuilder extends
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for identity. */ - com.google.protobuf.ByteString - getIdentityBytes(); + com.google.protobuf.ByteString getIdentityBytes(); } /** + * + * *
    * Specifies an identity for which to determine resource access, based on
    * roles assigned either directly to them or to the groups they belong to,
@@ -807,31 +918,31 @@ public interface IdentitySelectorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector}
    */
-  public static final class IdentitySelector extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class IdentitySelector extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)
       IdentitySelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use IdentitySelector.newBuilder() to construct.
     private IdentitySelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private IdentitySelector() {
       identity_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new IdentitySelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private IdentitySelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -850,19 +961,20 @@ private IdentitySelector(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              identity_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                identity_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -870,29 +982,34 @@ private IdentitySelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder
+                  .class);
     }
 
     public static final int IDENTITY_FIELD_NUMBER = 1;
     private volatile java.lang.Object identity_;
     /**
+     *
+     *
      * 
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -900,6 +1017,7 @@ private IdentitySelector(
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ @java.lang.Override @@ -908,14 +1026,15 @@ public java.lang.String getIdentity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; } } /** + * + * *
      * Required. The identity appear in the form of members in
      * [IAM policy
@@ -923,16 +1042,15 @@ public java.lang.String getIdentity() {
      * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for identity. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -941,6 +1059,7 @@ public java.lang.String getIdentity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -952,8 +1071,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identity_); } @@ -977,15 +1095,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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) obj; - if (!getIdentity() - .equals(other.getIdentity())) return false; + if (!getIdentity().equals(other.getIdentity())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1004,88 +1123,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + 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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1095,6 +1227,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies an identity for which to determine resource access, based on
      * roles assigned either directly to them or to the groups they belong to,
@@ -1103,38 +1237,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder.class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.class,
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1144,19 +1282,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_IdentitySelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result = buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1164,8 +1305,10 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(this);
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
+          buildPartial() {
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector result =
+            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(this);
         result.identity_ = identity_;
         onBuilt();
         return result;
@@ -1175,46 +1318,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) {
-          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)other);
+        if (other
+            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) {
+          return mergeFrom(
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other) {
-        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector other) {
+        if (other
+            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector
+                .getDefaultInstance()) return this;
         if (!other.getIdentity().isEmpty()) {
           identity_ = other.identity_;
           onChanged();
@@ -1234,11 +1385,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parsedMessage = null;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1250,6 +1404,8 @@ public Builder mergeFrom(
 
       private java.lang.Object identity_ = "";
       /**
+       *
+       *
        * 
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1257,13 +1413,13 @@ public Builder mergeFrom(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The identity. */ public java.lang.String getIdentity() { java.lang.Object ref = identity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identity_ = s; return s; @@ -1272,6 +1428,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1279,15 +1437,14 @@ public java.lang.String getIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for identity. */ - public com.google.protobuf.ByteString - getIdentityBytes() { + public com.google.protobuf.ByteString getIdentityBytes() { java.lang.Object ref = identity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identity_ = b; return b; } else { @@ -1295,6 +1452,8 @@ public java.lang.String getIdentity() { } } /** + * + * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1302,20 +1461,22 @@ public java.lang.String getIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The identity to set. * @return This builder for chaining. */ - public Builder setIdentity( - java.lang.String value) { + public Builder setIdentity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identity_ = value; onChanged(); return this; } /** + * + * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1323,15 +1484,18 @@ public Builder setIdentity(
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIdentity() { - + identity_ = getDefaultInstance().getIdentity(); onChanged(); return this; } /** + * + * *
        * Required. The identity appear in the form of members in
        * [IAM policy
@@ -1339,20 +1503,21 @@ public Builder clearIdentity() {
        * 
* * string identity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for identity to set. * @return This builder for chaining. */ - public Builder setIdentityBytes( - com.google.protobuf.ByteString value) { + public Builder setIdentityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identity_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1365,30 +1530,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentitySelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentitySelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentitySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentitySelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1400,99 +1568,122 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AccessSelectorOrBuilder extends + public interface AccessSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the roles. */ - java.util.List - getRolesList(); + java.util.List getRolesList(); /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of roles. */ int getRolesCount(); /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The roles at the given index. */ java.lang.String getRoles(int index); /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - com.google.protobuf.ByteString - getRolesBytes(int index); + com.google.protobuf.ByteString getRolesBytes(int index); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the permissions. */ - java.util.List - getPermissionsList(); + java.util.List getPermissionsList(); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The permissions at the given index. */ java.lang.String getPermissions(int index); /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString - getPermissionsBytes(int index); + com.google.protobuf.ByteString getPermissionsBytes(int index); } /** + * + * *
    * Specifies roles and/or permissions to analyze, to determine both the
    * identities possessing them and the resources they control. If multiple
@@ -1502,15 +1693,16 @@ public interface AccessSelectorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector}
    */
-  public static final class AccessSelector extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AccessSelector extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)
       AccessSelectorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AccessSelector.newBuilder() to construct.
     private AccessSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AccessSelector() {
       roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1518,16 +1710,15 @@ private AccessSelector() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AccessSelector();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AccessSelector(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1547,31 +1738,33 @@ private AccessSelector(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                roles_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  roles_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                roles_.add(s);
+                break;
               }
-              roles_.add(s);
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                permissions_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  permissions_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                permissions_.add(s);
+                break;
               }
-              permissions_.add(s);
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1579,8 +1772,7 @@ private AccessSelector(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           roles_ = roles_.getUnmodifiableView();
@@ -1592,50 +1784,61 @@ private AccessSelector(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
     }
 
     public static final int ROLES_FIELD_NUMBER = 1;
     private com.google.protobuf.LazyStringList roles_;
     /**
+     *
+     *
      * 
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList - getRolesList() { + public com.google.protobuf.ProtocolStringList getRolesList() { return roles_; } /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -1643,50 +1846,60 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** + * + * *
      * Optional. The roles to appear in result.
      * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString - getRolesBytes(int index) { + public com.google.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } public static final int PERMISSIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList permissions_; /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_; } /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -1694,20 +1907,23 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
      * Optional. The permissions to appear in result.
      * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1719,8 +1935,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < roles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roles_.getRaw(i)); } @@ -1760,17 +1975,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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) obj; - if (!getRolesList() - .equals(other.getRolesList())) return false; - if (!getPermissionsList() - .equals(other.getPermissionsList())) return false; + if (!getRolesList().equals(other.getRolesList())) return false; + if (!getPermissionsList().equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1796,87 +2011,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1886,6 +2109,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies roles and/or permissions to analyze, to determine both the
      * identities possessing them and the resources they control. If multiple
@@ -1895,38 +2120,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder.class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.class,
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1938,19 +2167,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetServiceProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_AccessSelector_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result = buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1959,7 +2191,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector bu
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(this);
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector result =
+            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           roles_ = roles_.getUnmodifiableView();
@@ -1979,46 +2212,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector bu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) {
-          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)other);
+        if (other
+            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) {
+          return mergeFrom(
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other) {
-        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector other) {
+        if (other
+            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector
+                .getDefaultInstance()) return this;
         if (!other.roles_.isEmpty()) {
           if (roles_.isEmpty()) {
             roles_ = other.roles_;
@@ -2058,7 +2299,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2067,44 +2310,55 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList roles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList roles_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureRolesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           roles_ = new com.google.protobuf.LazyStringArrayList(roles_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList - getRolesList() { + public com.google.protobuf.ProtocolStringList getRolesList() { return roles_.getUnmodifiableView(); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -2112,80 +2366,90 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString - getRolesBytes(int index) { + public com.google.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The roles to set. * @return This builder for chaining. */ - public Builder setRoles( - int index, java.lang.String value) { + public Builder setRoles(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.set(index, value); onChanged(); return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The roles to add. * @return This builder for chaining. */ - public Builder addRoles( - java.lang.String value) { + public Builder addRoles(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRolesIsMutable(); + throw new NullPointerException(); + } + ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The roles to add. * @return This builder for chaining. */ - public Builder addAllRoles( - java.lang.Iterable values) { + public Builder addAllRoles(java.lang.Iterable values) { ensureRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, roles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, roles_); onChanged(); return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRoles() { @@ -2195,62 +2459,74 @@ public Builder clearRoles() { return this; } /** + * + * *
        * Optional. The roles to appear in result.
        * 
* * repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the roles to add. * @return This builder for chaining. */ - public Builder addRolesBytes( - com.google.protobuf.ByteString value) { + public Builder addRolesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList permissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_.getUnmodifiableView(); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The permissions at the given index. */ @@ -2258,80 +2534,90 @@ public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The permissions to set. * @return This builder for chaining. */ - public Builder setPermissions( - int index, java.lang.String value) { + public Builder setPermissions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The permissions to add. * @return This builder for chaining. */ - public Builder addPermissions( - java.lang.String value) { + public Builder addPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The permissions to add. * @return This builder for chaining. */ - public Builder addAllPermissions( - java.lang.Iterable values) { + public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); onChanged(); return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPermissions() { @@ -2341,25 +2627,28 @@ public Builder clearPermissions() { return this; } /** + * + * *
        * Optional. The permissions to appear in result.
        * 
* * repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the permissions to add. * @return This builder for chaining. */ - public Builder addPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2372,30 +2661,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AccessSelector(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AccessSelector(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2407,15 +2699,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -2423,6 +2717,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector ge
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -2431,14 +2726,15 @@ 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 relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -2446,16 +2742,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -2464,13 +2759,19 @@ public java.lang.String getParent() { } public static final int RESOURCE_SELECTOR_FIELD_NUMBER = 2; - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + resourceSelector_; /** + * + * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceSelector field is set. */ @java.lang.Override @@ -2478,37 +2779,57 @@ public boolean hasResourceSelector() { return resourceSelector_ != null; } /** + * + * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceSelector. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { - return resourceSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + getResourceSelector() { + return resourceSelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + .getDefaultInstance() + : resourceSelector_; } /** + * + * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder() { return getResourceSelector(); } public static final int IDENTITY_SELECTOR_FIELD_NUMBER = 3; - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + identitySelector_; /** + * + * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the identitySelector field is set. */ @java.lang.Override @@ -2516,38 +2837,57 @@ public boolean hasIdentitySelector() { return identitySelector_ != null; } /** + * + * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The identitySelector. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { - return identitySelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + getIdentitySelector() { + return identitySelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + .getDefaultInstance() + : identitySelector_; } /** + * + * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder() { return getIdentitySelector(); } public static final int ACCESS_SELECTOR_FIELD_NUMBER = 4; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; /** + * + * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the accessSelector field is set. */ @java.lang.Override @@ -2555,32 +2895,47 @@ public boolean hasAccessSelector() { return accessSelector_ != null; } /** + * + * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The accessSelector. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { - return accessSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + getAccessSelector() { + return accessSelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + .getDefaultInstance() + : accessSelector_; } /** + * + * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder() { return getAccessSelector(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2592,8 +2947,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2619,16 +2973,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (resourceSelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getResourceSelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResourceSelector()); } if (identitySelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getIdentitySelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIdentitySelector()); } if (accessSelector_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAccessSelector()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAccessSelector()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2638,29 +2989,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasResourceSelector() != other.hasResourceSelector()) return false; if (hasResourceSelector()) { - if (!getResourceSelector() - .equals(other.getResourceSelector())) return false; + if (!getResourceSelector().equals(other.getResourceSelector())) return false; } if (hasIdentitySelector() != other.hasIdentitySelector()) return false; if (hasIdentitySelector()) { - if (!getIdentitySelector() - .equals(other.getIdentitySelector())) return false; + if (!getIdentitySelector().equals(other.getIdentitySelector())) return false; } if (hasAccessSelector() != other.hasAccessSelector()) return false; if (hasAccessSelector()) { - if (!getAccessSelector() - .equals(other.getAccessSelector())) return false; + if (!getAccessSelector().equals(other.getAccessSelector())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2693,117 +3041,127 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IAM policy analysis query message.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.newBuilder() @@ -2811,16 +3169,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2848,9 +3205,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisQuery_descriptor; } @java.lang.Override @@ -2869,7 +3226,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(this); result.parent_ = parent_; if (resourceSelectorBuilder_ == null) { result.resourceSelector_ = resourceSelector_; @@ -2894,38 +3252,39 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) other); } else { super.mergeFrom(other); return this; @@ -2933,7 +3292,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -2966,7 +3326,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2978,6 +3339,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -2985,13 +3348,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3000,6 +3363,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3007,15 +3372,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3023,6 +3387,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3030,20 +3396,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3051,15 +3419,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The relative name of the root asset. Only resources and IAM policies within
      * the parent will be analyzed. This can only be an organization number (such
@@ -3067,58 +3438,81 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resourceSelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + resourceSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> resourceSelectorBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> + resourceSelectorBuilder_; /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceSelector field is set. */ public boolean hasResourceSelector() { return resourceSelectorBuilder_ != null || resourceSelector_ != null; } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceSelector. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + getResourceSelector() { if (resourceSelectorBuilder_ == null) { - return resourceSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + return resourceSelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + .getDefaultInstance() + : resourceSelector_; } else { return resourceSelectorBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setResourceSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder setResourceSelector( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3132,14 +3526,19 @@ public Builder setResourceSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAna return this; } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setResourceSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder + builderForValue) { if (resourceSelectorBuilder_ == null) { resourceSelector_ = builderForValue.build(); onChanged(); @@ -3150,17 +3549,25 @@ public Builder setResourceSelector( return this; } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeResourceSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { + public Builder mergeResourceSelector( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector value) { if (resourceSelectorBuilder_ == null) { if (resourceSelector_ != null) { resourceSelector_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder(resourceSelector_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.newBuilder( + resourceSelector_) + .mergeFrom(value) + .buildPartial(); } else { resourceSelector_ = value; } @@ -3172,11 +3579,15 @@ public Builder mergeResourceSelector(com.google.cloud.asset.v1p4beta1.IamPolicyA return this; } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearResourceSelector() { if (resourceSelectorBuilder_ == null) { @@ -3190,90 +3601,132 @@ public Builder clearResourceSelector() { return this; } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder getResourceSelectorBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder + getResourceSelectorBuilder() { + onChanged(); return getResourceSelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder() { if (resourceSelectorBuilder_ != null) { return resourceSelectorBuilder_.getMessageOrBuilder(); } else { - return resourceSelector_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.getDefaultInstance() : resourceSelector_; + return resourceSelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector + .getDefaultInstance() + : resourceSelector_; } } /** + * + * *
      * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder> getResourceSelectorFieldBuilder() { if (resourceSelectorBuilder_ == null) { - resourceSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( - getResourceSelector(), - getParentForChildren(), - isClean()); + resourceSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder>( + getResourceSelector(), getParentForChildren(), isClean()); resourceSelector_ = null; } return resourceSelectorBuilder_; } - private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identitySelector_; + private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + identitySelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> identitySelectorBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> + identitySelectorBuilder_; /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the identitySelector field is set. */ public boolean hasIdentitySelector() { return identitySelectorBuilder_ != null || identitySelector_ != null; } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The identitySelector. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + getIdentitySelector() { if (identitySelectorBuilder_ == null) { - return identitySelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + return identitySelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + .getDefaultInstance() + : identitySelector_; } else { return identitySelectorBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setIdentitySelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder setIdentitySelector( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3287,14 +3740,19 @@ public Builder setIdentitySelector(com.google.cloud.asset.v1p4beta1.IamPolicyAna return this; } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setIdentitySelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder + builderForValue) { if (identitySelectorBuilder_ == null) { identitySelector_ = builderForValue.build(); onChanged(); @@ -3305,17 +3763,25 @@ public Builder setIdentitySelector( return this; } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeIdentitySelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { + public Builder mergeIdentitySelector( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector value) { if (identitySelectorBuilder_ == null) { if (identitySelector_ != null) { identitySelector_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder(identitySelector_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.newBuilder( + identitySelector_) + .mergeFrom(value) + .buildPartial(); } else { identitySelector_ = value; } @@ -3327,11 +3793,15 @@ public Builder mergeIdentitySelector(com.google.cloud.asset.v1p4beta1.IamPolicyA return this; } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearIdentitySelector() { if (identitySelectorBuilder_ == null) { @@ -3345,48 +3815,67 @@ public Builder clearIdentitySelector() { return this; } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder getIdentitySelectorBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder + getIdentitySelectorBuilder() { + onChanged(); return getIdentitySelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder() { if (identitySelectorBuilder_ != null) { return identitySelectorBuilder_.getMessageOrBuilder(); } else { - return identitySelector_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.getDefaultInstance() : identitySelector_; + return identitySelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector + .getDefaultInstance() + : identitySelector_; } } /** + * + * *
      * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder> getIdentitySelectorFieldBuilder() { if (identitySelectorBuilder_ == null) { - identitySelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( - getIdentitySelector(), - getParentForChildren(), - isClean()); + identitySelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder>( + getIdentitySelector(), getParentForChildren(), isClean()); identitySelector_ = null; } return identitySelectorBuilder_; @@ -3394,44 +3883,66 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorO private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector accessSelector_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> accessSelectorBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> + accessSelectorBuilder_; /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the accessSelector field is set. */ public boolean hasAccessSelector() { return accessSelectorBuilder_ != null || accessSelector_ != null; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The accessSelector. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + getAccessSelector() { if (accessSelectorBuilder_ == null) { - return accessSelector_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + return accessSelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + .getDefaultInstance() + : accessSelector_; } else { return accessSelectorBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAccessSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder setAccessSelector( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3445,15 +3956,20 @@ public Builder setAccessSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnaly return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAccessSelector( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder + builderForValue) { if (accessSelectorBuilder_ == null) { accessSelector_ = builderForValue.build(); onChanged(); @@ -3464,18 +3980,26 @@ public Builder setAccessSelector( return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeAccessSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { + public Builder mergeAccessSelector( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector value) { if (accessSelectorBuilder_ == null) { if (accessSelector_ != null) { accessSelector_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder(accessSelector_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.newBuilder( + accessSelector_) + .mergeFrom(value) + .buildPartial(); } else { accessSelector_ = value; } @@ -3487,12 +4011,16 @@ public Builder mergeAccessSelector(com.google.cloud.asset.v1p4beta1.IamPolicyAna return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAccessSelector() { if (accessSelectorBuilder_ == null) { @@ -3506,58 +4034,77 @@ public Builder clearAccessSelector() { return this; } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder getAccessSelectorBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder + getAccessSelectorBuilder() { + onChanged(); return getAccessSelectorFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder() { if (accessSelectorBuilder_ != null) { return accessSelectorBuilder_.getMessageOrBuilder(); } else { - return accessSelector_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.getDefaultInstance() : accessSelector_; + return accessSelector_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector + .getDefaultInstance() + : accessSelector_; } } /** + * + * *
      * Optional. Specifies roles or permissions for analysis. Leaving it empty
      * means ANY.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder> getAccessSelectorFieldBuilder() { if (accessSelectorBuilder_ == null) { - accessSelectorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( - getAccessSelector(), - getParentForChildren(), - isClean()); + accessSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder>( + getAccessSelector(), getParentForChildren(), isClean()); accessSelector_ = null; } return accessSelectorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3567,12 +4114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery(); } @@ -3581,16 +4128,16 @@ public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisQuery(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisQuery(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3605,6 +4152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java similarity index 55% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java index 4af7f41ae..837649001 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/asset_service.proto package com.google.cloud.asset.v1p4beta1; -public interface IamPolicyAnalysisQueryOrBuilder extends +public interface IamPolicyAnalysisQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -15,10 +33,13 @@ public interface IamPolicyAnalysisQueryOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The relative name of the root asset. Only resources and IAM policies within
    * the parent will be analyzed. This can only be an organization number (such
@@ -26,92 +47,137 @@ public interface IamPolicyAnalysisQueryOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the resourceSelector field is set. */ boolean hasResourceSelector(); /** + * + * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The resourceSelector. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector getResourceSelector(); /** + * + * *
    * Optional. Specifies a resource for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelectorOrBuilder + getResourceSelectorOrBuilder(); /** + * + * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the identitySelector field is set. */ boolean hasIdentitySelector(); /** + * + * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The identitySelector. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector(); /** + * + * *
    * Optional. Specifies an identity for analysis. Leaving it empty means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelectorOrBuilder + getIdentitySelectorOrBuilder(); /** + * + * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the accessSelector field is set. */ boolean hasAccessSelector(); /** + * + * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The accessSelector. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector getAccessSelector(); /** + * + * *
    * Optional. Specifies roles or permissions for analysis. Leaving it empty
    * means ANY.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelectorOrBuilder + getAccessSelectorOrBuilder(); } diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java similarity index 70% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java index 8e78e0f77..edca5aebd 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/assets.proto package com.google.cloud.asset.v1p4beta1; /** + * + * *
  * IAM Policy analysis result, consisting of one IAM policy binding and derived
  * access control lists.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult}
  */
-public final class IamPolicyAnalysisResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IamPolicyAnalysisResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)
     IamPolicyAnalysisResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IamPolicyAnalysisResult.newBuilder() to construct.
   private IamPolicyAnalysisResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private IamPolicyAnalysisResult() {
     attachedResourceFullName_ = "";
     accessControlLists_ = java.util.Collections.emptyList();
@@ -27,16 +45,15 @@ private IamPolicyAnalysisResult() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IamPolicyAnalysisResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private IamPolicyAnalysisResult(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,59 +73,75 @@ private IamPolicyAnalysisResult(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            attachedResourceFullName_ = s;
-            break;
-          }
-          case 18: {
-            com.google.iam.v1.Binding.Builder subBuilder = null;
-            if (iamBinding_ != null) {
-              subBuilder = iamBinding_.toBuilder();
-            }
-            iamBinding_ = input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(iamBinding_);
-              iamBinding_ = subBuilder.buildPartial();
+              attachedResourceFullName_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.iam.v1.Binding.Builder subBuilder = null;
+              if (iamBinding_ != null) {
+                subBuilder = iamBinding_.toBuilder();
+              }
+              iamBinding_ =
+                  input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(iamBinding_);
+                iamBinding_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              accessControlLists_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
-            }
-            accessControlLists_.add(
-                input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder subBuilder = null;
-            if (identityList_ != null) {
-              subBuilder = identityList_.toBuilder();
+              break;
             }
-            identityList_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(identityList_);
-              identityList_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                accessControlLists_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult
+                            .AccessControlList>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              accessControlLists_.add(
+                  input.readMessage(
+                      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
+                          .parser(),
+                      extensionRegistry));
+              break;
             }
+          case 34:
+            {
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder
+                  subBuilder = null;
+              if (identityList_ != null) {
+                subBuilder = identityList_.toBuilder();
+              }
+              identityList_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(identityList_);
+                identityList_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 40: {
-
-            fullyExplored_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          case 40:
+            {
+              fullyExplored_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -116,8 +149,7 @@ private IamPolicyAnalysisResult(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         accessControlLists_ = java.util.Collections.unmodifiableList(accessControlLists_);
@@ -126,24 +158,30 @@ private IamPolicyAnalysisResult(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p4beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
+    return com.google.cloud.asset.v1p4beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class,
+            com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
   }
 
-  public interface AnalysisStateOrBuilder extends
+  public interface AnalysisStateOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -153,10 +191,13 @@ public interface AnalysisStateOrBuilder extends
      * 
* * .google.rpc.Code code = 1; + * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -166,31 +207,39 @@ public interface AnalysisStateOrBuilder extends
      * 
* * .google.rpc.Code code = 1; + * * @return The code. */ com.google.rpc.Code getCode(); /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return The cause. */ java.lang.String getCause(); /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return The bytes for cause. */ - com.google.protobuf.ByteString - getCauseBytes(); + com.google.protobuf.ByteString getCauseBytes(); } /** + * + * *
    * Represents analysis state of each node in the result graph or non-critical
    * errors in the response.
@@ -198,15 +247,16 @@ public interface AnalysisStateOrBuilder extends
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState}
    */
-  public static final class AnalysisState extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AnalysisState extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
       AnalysisStateOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AnalysisState.newBuilder() to construct.
     private AnalysisState(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AnalysisState() {
       code_ = 0;
       cause_ = "";
@@ -214,16 +264,15 @@ private AnalysisState() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AnalysisState();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AnalysisState(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -242,25 +291,27 @@ private AnalysisState(
             case 0:
               done = true;
               break;
-            case 8: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                int rawValue = input.readEnum();
 
-              code_ = rawValue;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                code_ = rawValue;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              cause_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                cause_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -268,29 +319,33 @@ private AnalysisState(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.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.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder.class);
     }
 
     public static final int CODE_FIELD_NUMBER = 1;
     private int code_;
     /**
+     *
+     *
      * 
      * The Google standard error code that best describes the state.
      * For example:
@@ -300,12 +355,16 @@ private AnalysisState(
      * 
* * .google.rpc.Code code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
      * The Google standard error code that best describes the state.
      * For example:
@@ -315,9 +374,11 @@ private AnalysisState(
      * 
* * .google.rpc.Code code = 1; + * * @return The code. */ - @java.lang.Override public com.google.rpc.Code getCode() { + @java.lang.Override + public com.google.rpc.Code getCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(code_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; @@ -326,11 +387,14 @@ private AnalysisState( public static final int CAUSE_FIELD_NUMBER = 2; private volatile java.lang.Object cause_; /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return The cause. */ @java.lang.Override @@ -339,29 +403,29 @@ public java.lang.String getCause() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; } } /** + * + * *
      * The human-readable description of the cause of failure.
      * 
* * string cause = 2; + * * @return The bytes for cause. */ @java.lang.Override - public com.google.protobuf.ByteString - getCauseBytes() { + public com.google.protobuf.ByteString getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cause_ = b; return b; } else { @@ -370,6 +434,7 @@ public java.lang.String getCause() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,8 +446,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (code_ != com.google.rpc.Code.OK.getNumber()) { output.writeEnum(1, code_); } @@ -399,8 +463,7 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cause_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_); @@ -413,16 +476,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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) obj; if (code_ != other.code_) return false; - if (!getCause() - .equals(other.getCause())) return false; + if (!getCause().equals(other.getCause())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -444,87 +508,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -534,6 +606,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents analysis state of each node in the result graph or non-critical
      * errors in the response.
@@ -541,38 +615,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder.class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.class,
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -584,19 +662,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AnalysisState_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result = buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -605,7 +686,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState bu
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(this);
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState result =
+            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(this);
         result.code_ = code_;
         result.cause_ = cause_;
         onBuilt();
@@ -616,46 +698,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState bu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) {
-          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)other);
+        if (other
+            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) {
+          return mergeFrom(
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other) {
-        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState other) {
+        if (other
+            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState
+                .getDefaultInstance()) return this;
         if (other.code_ != 0) {
           setCodeValue(other.getCodeValue());
         }
@@ -682,7 +772,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -694,6 +786,8 @@ public Builder mergeFrom(
 
       private int code_ = 0;
       /**
+       *
+       *
        * 
        * The Google standard error code that best describes the state.
        * For example:
@@ -703,12 +797,16 @@ public Builder mergeFrom(
        * 
* * .google.rpc.Code code = 1; + * * @return The enum numeric value on the wire for code. */ - @java.lang.Override public int getCodeValue() { + @java.lang.Override + public int getCodeValue() { return code_; } /** + * + * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -718,16 +816,19 @@ public Builder mergeFrom(
        * 
* * .google.rpc.Code code = 1; + * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); return this; } /** + * + * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -737,6 +838,7 @@ public Builder setCodeValue(int value) {
        * 
* * .google.rpc.Code code = 1; + * * @return The code. */ @java.lang.Override @@ -746,6 +848,8 @@ public com.google.rpc.Code getCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** + * + * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -755,6 +859,7 @@ public com.google.rpc.Code getCode() {
        * 
* * .google.rpc.Code code = 1; + * * @param value The code to set. * @return This builder for chaining. */ @@ -762,12 +867,14 @@ public Builder setCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The Google standard error code that best describes the state.
        * For example:
@@ -777,10 +884,11 @@ public Builder setCode(com.google.rpc.Code value) {
        * 
* * .google.rpc.Code code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -788,18 +896,20 @@ public Builder clearCode() { private java.lang.Object cause_ = ""; /** + * + * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; + * * @return The cause. */ public java.lang.String getCause() { java.lang.Object ref = cause_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cause_ = s; return s; @@ -808,20 +918,21 @@ public java.lang.String getCause() { } } /** + * + * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; + * * @return The bytes for cause. */ - public com.google.protobuf.ByteString - getCauseBytes() { + public com.google.protobuf.ByteString getCauseBytes() { java.lang.Object ref = cause_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cause_ = b; return b; } else { @@ -829,58 +940,66 @@ public java.lang.String getCause() { } } /** + * + * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; + * * @param value The cause to set. * @return This builder for chaining. */ - public Builder setCause( - java.lang.String value) { + public Builder setCause(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cause_ = value; onChanged(); return this; } /** + * + * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; + * * @return This builder for chaining. */ public Builder clearCause() { - + cause_ = getDefaultInstance().getCause(); onChanged(); return this; } /** + * + * *
        * The human-readable description of the cause of failure.
        * 
* * string cause = 2; + * * @param value The bytes for cause to set. * @return This builder for chaining. */ - public Builder setCauseBytes( - com.google.protobuf.ByteString value) { + public Builder setCauseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cause_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -893,30 +1012,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AnalysisState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AnalysisState(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnalysisState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnalysisState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,95 +1050,115 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ResourceOrBuilder extends + public interface ResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ java.lang.String getFullResourceName(); /** + * + * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - com.google.protobuf.ByteString - getFullResourceNameBytes(); + com.google.protobuf.ByteString getFullResourceNameBytes(); /** + * + * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** + * + * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return The analysisState. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState(); /** + * + * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder(); } /** + * + * *
    * A GCP resource that appears in an access control list.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} */ - public static final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Resource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) ResourceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Resource() { fullResourceName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1035,32 +1177,39 @@ private Resource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fullResourceName_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); + fullResourceName_ = s; + break; } - analysisState_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); + } + analysisState_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1068,34 +1217,39 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); } public static final int FULL_RESOURCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object fullResourceName_; /** + * + * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ @java.lang.Override @@ -1104,29 +1258,29 @@ public java.lang.String getFullResourceName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; } } /** + * + * *
      * The [full resource name](https://aip.dev/122#full-resource-names).
      * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1137,11 +1291,15 @@ public java.lang.String getFullResourceName() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; /** + * + * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -1149,30 +1307,43 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** + * + * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return The analysisState. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { - return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getAnalysisState() { + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } /** + * + * *
      * The analysis state of this resource node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder() { return getAnalysisState(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1184,8 +1355,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fullResourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullResourceName_); } @@ -1205,8 +1375,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullResourceName_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1216,19 +1385,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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) obj; - if (!getFullResourceName() - .equals(other.getFullResourceName())) return false; + if (!getFullResourceName().equals(other.getFullResourceName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState() - .equals(other.getAnalysisState())) return false; + if (!getAnalysisState().equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1253,87 +1421,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1343,44 +1519,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A GCP resource that appears in an access control list.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder.class); } - // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1396,14 +1577,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Resource_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + .getDefaultInstance(); } @java.lang.Override @@ -1417,7 +1600,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource build() @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(this); result.fullResourceName_ = fullResourceName_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -1432,46 +1616,53 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource 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.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource)other); + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource other) { + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + .getDefaultInstance()) return this; if (!other.getFullResourceName().isEmpty()) { fullResourceName_ = other.fullResourceName_; onChanged(); @@ -1498,7 +1689,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1510,18 +1703,20 @@ public Builder mergeFrom( private java.lang.Object fullResourceName_ = ""; /** + * + * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; + * * @return The fullResourceName. */ public java.lang.String getFullResourceName() { java.lang.Object ref = fullResourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResourceName_ = s; return s; @@ -1530,20 +1725,21 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; + * * @return The bytes for fullResourceName. */ - public com.google.protobuf.ByteString - getFullResourceNameBytes() { + public com.google.protobuf.ByteString getFullResourceNameBytes() { java.lang.Object ref = fullResourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResourceName_ = b; return b; } else { @@ -1551,54 +1747,61 @@ public java.lang.String getFullResourceName() { } } /** + * + * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; + * * @param value The fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceName( - java.lang.String value) { + public Builder setFullResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResourceName_ = value; onChanged(); return this; } /** + * + * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; + * * @return This builder for chaining. */ public Builder clearFullResourceName() { - + fullResourceName_ = getDefaultInstance().getFullResourceName(); onChanged(); return this; } /** + * + * *
        * The [full resource name](https://aip.dev/122#full-resource-names).
        * 
* * string full_resource_name = 1; + * * @param value The bytes for fullResourceName to set. * @return This builder for chaining. */ - public Builder setFullResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResourceName_ = value; onChanged(); return this; @@ -1606,41 +1809,63 @@ public Builder setFullResourceNameBytes( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> analysisStateBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + analysisStateBuilder_; /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return The analysisState. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder setAnalysisState( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1654,14 +1879,19 @@ public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + builderForValue) { if (analysisStateBuilder_ == null) { analysisState_ = builderForValue.build(); onChanged(); @@ -1672,17 +1902,25 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder mergeAnalysisState( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder( + analysisState_) + .mergeFrom(value) + .buildPartial(); } else { analysisState_ = value; } @@ -1694,11 +1932,15 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ public Builder clearAnalysisState() { if (analysisStateBuilder_ == null) { @@ -1712,52 +1954,72 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + getAnalysisStateBuilder() { + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder() { if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } } /** + * + * *
        * The analysis state of this resource node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( - getAnalysisState(), - getParentForChildren(), - isClean()); + analysisStateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + getAnalysisState(), getParentForChildren(), isClean()); analysisState_ = null; } return analysisStateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1770,30 +2032,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1805,134 +2069,165 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AccessOrBuilder extends + public interface AccessOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return Whether the role field is set. */ boolean hasRole(); /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The role. */ java.lang.String getRole(); /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The bytes for role. */ - com.google.protobuf.ByteString - getRoleBytes(); + com.google.protobuf.ByteString getRoleBytes(); /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return Whether the permission field is set. */ boolean hasPermission(); /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The permission. */ java.lang.String getPermission(); /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The bytes for permission. */ - com.google.protobuf.ByteString - getPermissionBytes(); + com.google.protobuf.ByteString getPermissionBytes(); /** + * + * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** + * + * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * * @return The analysisState. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState(); /** + * + * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder(); - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.OneofAccessCase + getOneofAccessCase(); } /** + * + * *
    * A role or permission that appears in an access control list.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access} */ - public static final class Access extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Access extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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() { - } + + 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) @@ -1951,38 +2246,46 @@ private Access( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 1; - oneofAccess_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - oneofAccessCase_ = 2; - oneofAccess_ = s; - break; - } - case 26: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 1; + oneofAccess_ = s; + break; } - analysisState_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + oneofAccessCase_ = 2; + oneofAccess_ = s; + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); + } + analysisState_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1990,35 +2293,40 @@ 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.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); } private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; + public enum OneofAccessCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROLE(1), PERMISSION(2), ONEOFACCESS_NOT_SET(0); private final int value; + private OneofAccessCase(int value) { this.value = value; } @@ -2034,41 +2342,50 @@ public static OneofAccessCase valueOf(int value) { public static OneofAccessCase forNumber(int value) { switch (value) { - case 1: return ROLE; - case 2: return PERMISSION; - case 0: return ONEOFACCESS_NOT_SET; - default: return null; + case 1: + return ROLE; + case 2: + return PERMISSION; + case 0: + return ONEOFACCESS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OneofAccessCase - getOneofAccessCase() { - return OneofAccessCase.forNumber( - oneofAccessCase_); + public OneofAccessCase getOneofAccessCase() { + return OneofAccessCase.forNumber(oneofAccessCase_); } public static final int ROLE_FIELD_NUMBER = 1; /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return Whether the role field is set. */ public boolean hasRole() { return oneofAccessCase_ == 1; } /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The role. */ public java.lang.String getRole() { @@ -2079,8 +2396,7 @@ 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(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -2089,23 +2405,24 @@ public java.lang.String getRole() { } } /** + * + * *
      * The role.
      * 
* * string role = 1; + * * @return The bytes for role. */ - public com.google.protobuf.ByteString - getRoleBytes() { + public com.google.protobuf.ByteString getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -2117,22 +2434,28 @@ public java.lang.String getRole() { public static final int PERMISSION_FIELD_NUMBER = 2; /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return Whether the permission field is set. */ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The permission. */ public java.lang.String getPermission() { @@ -2143,8 +2466,7 @@ public java.lang.String getPermission() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -2153,23 +2475,24 @@ public java.lang.String getPermission() { } } /** + * + * *
      * The permission.
      * 
* * string permission = 2; + * * @return The bytes for permission. */ - public com.google.protobuf.ByteString - getPermissionBytes() { + public com.google.protobuf.ByteString getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -2182,11 +2505,15 @@ public java.lang.String getPermission() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; /** + * + * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -2194,30 +2521,43 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** + * + * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * * @return The analysisState. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { - return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getAnalysisState() { + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } /** + * + * *
      * The analysis state of this access node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder() { return getAnalysisState(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2229,8 +2569,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (oneofAccessCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oneofAccess_); } @@ -2256,8 +2595,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, oneofAccess_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2267,27 +2605,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.asset.v1p4beta1.IamPolicyAnalysisResult.Access)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) obj; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState() - .equals(other.getAnalysisState())) return false; + if (!getAnalysisState().equals(other.getAnalysisState())) return false; } if (!getOneofAccessCase().equals(other.getOneofAccessCase())) return false; switch (oneofAccessCase_) { case 1: - if (!getRole() - .equals(other.getRole())) return false; + if (!getRole().equals(other.getRole())) return false; break; case 2: - if (!getPermission() - .equals(other.getPermission())) return false; + if (!getPermission().equals(other.getPermission())) return false; break; case 0: default: @@ -2325,87 +2661,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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 @@ -2415,44 +2759,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A role or permission that appears in an access control list.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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.asset.v1p4beta1.IamPolicyAnalysisResult.Access) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder.class); } - // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2468,13 +2817,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Access_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access + getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance(); } @@ -2489,7 +2839,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(this); if (oneofAccessCase_ == 1) { result.oneofAccess_ = oneofAccess_; } @@ -2510,65 +2861,74 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access other) { + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()) + return this; if (other.hasAnalysisState()) { mergeAnalysisState(other.getAnalysisState()); } switch (other.getOneofAccessCase()) { - case ROLE: { - oneofAccessCase_ = 1; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case PERMISSION: { - oneofAccessCase_ = 2; - oneofAccess_ = other.oneofAccess_; - onChanged(); - break; - } - case ONEOFACCESS_NOT_SET: { - break; - } + case ROLE: + { + oneofAccessCase_ = 1; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case PERMISSION: + { + oneofAccessCase_ = 2; + oneofAccess_ = other.oneofAccess_; + onChanged(); + break; + } + case ONEOFACCESS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2589,7 +2949,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2598,12 +2960,12 @@ public Builder mergeFrom( } return this; } + private int oneofAccessCase_ = 0; private java.lang.Object oneofAccess_; - public OneofAccessCase - getOneofAccessCase() { - return OneofAccessCase.forNumber( - oneofAccessCase_); + + public OneofAccessCase getOneofAccessCase() { + return OneofAccessCase.forNumber(oneofAccessCase_); } public Builder clearOneofAccess() { @@ -2613,13 +2975,15 @@ public Builder clearOneofAccess() { return this; } - /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return Whether the role field is set. */ @java.lang.Override @@ -2627,11 +2991,14 @@ public boolean hasRole() { return oneofAccessCase_ == 1; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return The role. */ @java.lang.Override @@ -2641,8 +3008,7 @@ public java.lang.String getRole() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 1) { oneofAccess_ = s; @@ -2653,24 +3019,25 @@ public java.lang.String getRole() { } } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return The bytes for role. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoleBytes() { + public com.google.protobuf.ByteString getRoleBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 1) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 1) { oneofAccess_ = b; } @@ -2680,30 +3047,35 @@ public java.lang.String getRole() { } } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @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(); - } - oneofAccessCase_ = 1; + throw new NullPointerException(); + } + oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); return this; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @return This builder for chaining. */ public Builder clearRole() { @@ -2715,20 +3087,22 @@ public Builder clearRole() { return this; } /** + * + * *
        * The role.
        * 
* * string role = 1; + * * @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); oneofAccessCase_ = 1; oneofAccess_ = value; onChanged(); @@ -2736,11 +3110,14 @@ public Builder setRoleBytes( } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return Whether the permission field is set. */ @java.lang.Override @@ -2748,11 +3125,14 @@ public boolean hasPermission() { return oneofAccessCase_ == 2; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return The permission. */ @java.lang.Override @@ -2762,8 +3142,7 @@ public java.lang.String getPermission() { ref = oneofAccess_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (oneofAccessCase_ == 2) { oneofAccess_ = s; @@ -2774,24 +3153,25 @@ public java.lang.String getPermission() { } } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return The bytes for permission. */ @java.lang.Override - public com.google.protobuf.ByteString - getPermissionBytes() { + public com.google.protobuf.ByteString getPermissionBytes() { java.lang.Object ref = ""; if (oneofAccessCase_ == 2) { ref = oneofAccess_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (oneofAccessCase_ == 2) { oneofAccess_ = b; } @@ -2801,30 +3181,35 @@ public java.lang.String getPermission() { } } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @param value The permission to set. * @return This builder for chaining. */ - public Builder setPermission( - java.lang.String value) { + public Builder setPermission(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - oneofAccessCase_ = 2; + throw new NullPointerException(); + } + oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); return this; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @return This builder for chaining. */ public Builder clearPermission() { @@ -2836,20 +3221,22 @@ public Builder clearPermission() { return this; } /** + * + * *
        * The permission.
        * 
* * string permission = 2; + * * @param value The bytes for permission to set. * @return This builder for chaining. */ - public Builder setPermissionBytes( - com.google.protobuf.ByteString value) { + public Builder setPermissionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); oneofAccessCase_ = 2; oneofAccess_ = value; onChanged(); @@ -2858,41 +3245,63 @@ public Builder setPermissionBytes( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> analysisStateBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + analysisStateBuilder_; /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * * @return The analysisState. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ - public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder setAnalysisState( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2906,14 +3315,19 @@ public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + builderForValue) { if (analysisStateBuilder_ == null) { analysisState_ = builderForValue.build(); onChanged(); @@ -2924,17 +3338,25 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ - public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder mergeAnalysisState( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder( + analysisState_) + .mergeFrom(value) + .buildPartial(); } else { analysisState_ = value; } @@ -2946,11 +3368,15 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ public Builder clearAnalysisState() { if (analysisStateBuilder_ == null) { @@ -2964,52 +3390,72 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + getAnalysisStateBuilder() { + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder() { if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } } /** + * + * *
        * The analysis state of this access node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( - getAnalysisState(), - getParentForChildren(), - isClean()); + analysisStateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + getAnalysisState(), getParentForChildren(), isClean()); analysisState_ = null; } return analysisStateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3022,31 +3468,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.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; } @@ -3057,72 +3505,86 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface EdgeOrBuilder extends + public interface EdgeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The source node of the edge.
      * 
* * string source_node = 1; + * * @return The sourceNode. */ java.lang.String getSourceNode(); /** + * + * *
      * The source node of the edge.
      * 
* * string source_node = 1; + * * @return The bytes for sourceNode. */ - com.google.protobuf.ByteString - getSourceNodeBytes(); + com.google.protobuf.ByteString getSourceNodeBytes(); /** + * + * *
      * The target node of the edge.
      * 
* * string target_node = 2; + * * @return The targetNode. */ java.lang.String getTargetNode(); /** + * + * *
      * The target node of the edge.
      * 
* * string target_node = 2; + * * @return The bytes for targetNode. */ - com.google.protobuf.ByteString - getTargetNodeBytes(); + com.google.protobuf.ByteString getTargetNodeBytes(); } /** + * + * *
    * A directional edge.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} */ - public static final class Edge extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Edge extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) EdgeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Edge.newBuilder() to construct. private Edge(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Edge() { sourceNode_ = ""; targetNode_ = ""; @@ -3130,16 +3592,15 @@ private Edge() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Edge(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Edge( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3158,25 +3619,27 @@ private Edge( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - sourceNode_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + sourceNode_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - targetNode_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + targetNode_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3184,34 +3647,39 @@ private Edge( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); } public static final int SOURCE_NODE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceNode_; /** + * + * *
      * The source node of the edge.
      * 
* * string source_node = 1; + * * @return The sourceNode. */ @java.lang.Override @@ -3220,29 +3688,29 @@ public java.lang.String getSourceNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; } } /** + * + * *
      * The source node of the edge.
      * 
* * string source_node = 1; + * * @return The bytes for sourceNode. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceNodeBytes() { + public com.google.protobuf.ByteString getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -3253,11 +3721,14 @@ public java.lang.String getSourceNode() { public static final int TARGET_NODE_FIELD_NUMBER = 2; private volatile java.lang.Object targetNode_; /** + * + * *
      * The target node of the edge.
      * 
* * string target_node = 2; + * * @return The targetNode. */ @java.lang.Override @@ -3266,29 +3737,29 @@ public java.lang.String getTargetNode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; } } /** + * + * *
      * The target node of the edge.
      * 
* * string target_node = 2; + * * @return The bytes for targetNode. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetNodeBytes() { + public com.google.protobuf.ByteString getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetNode_ = b; return b; } else { @@ -3297,6 +3768,7 @@ public java.lang.String getTargetNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3308,8 +3780,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceNode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceNode_); } @@ -3339,17 +3810,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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) obj; - if (!getSourceNode() - .equals(other.getSourceNode())) return false; - if (!getTargetNode() - .equals(other.getTargetNode())) return false; + if (!getSourceNode().equals(other.getSourceNode())) return false; + if (!getTargetNode().equals(other.getTargetNode())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3371,87 +3841,94 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3461,27 +3938,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A directional edge.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder.class); } // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.newBuilder() @@ -3489,16 +3971,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3510,13 +3991,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Edge_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge + getDefaultInstanceForType() { return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance(); } @@ -3531,7 +4013,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge build() { @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(this); result.sourceNode_ = sourceNode_; result.targetNode_ = targetNode_; onBuilt(); @@ -3542,46 +4025,52 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge 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.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge)other); + return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge other) { + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()) + return this; if (!other.getSourceNode().isEmpty()) { sourceNode_ = other.sourceNode_; onChanged(); @@ -3609,7 +4098,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3621,18 +4112,20 @@ public Builder mergeFrom( private java.lang.Object sourceNode_ = ""; /** + * + * *
        * The source node of the edge.
        * 
* * string source_node = 1; + * * @return The sourceNode. */ public java.lang.String getSourceNode() { java.lang.Object ref = sourceNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceNode_ = s; return s; @@ -3641,20 +4134,21 @@ public java.lang.String getSourceNode() { } } /** + * + * *
        * The source node of the edge.
        * 
* * string source_node = 1; + * * @return The bytes for sourceNode. */ - public com.google.protobuf.ByteString - getSourceNodeBytes() { + public com.google.protobuf.ByteString getSourceNodeBytes() { java.lang.Object ref = sourceNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceNode_ = b; return b; } else { @@ -3662,54 +4156,61 @@ public java.lang.String getSourceNode() { } } /** + * + * *
        * The source node of the edge.
        * 
* * string source_node = 1; + * * @param value The sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNode( - java.lang.String value) { + public Builder setSourceNode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceNode_ = value; onChanged(); return this; } /** + * + * *
        * The source node of the edge.
        * 
* * string source_node = 1; + * * @return This builder for chaining. */ public Builder clearSourceNode() { - + sourceNode_ = getDefaultInstance().getSourceNode(); onChanged(); return this; } /** + * + * *
        * The source node of the edge.
        * 
* * string source_node = 1; + * * @param value The bytes for sourceNode to set. * @return This builder for chaining. */ - public Builder setSourceNodeBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceNodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceNode_ = value; onChanged(); return this; @@ -3717,18 +4218,20 @@ public Builder setSourceNodeBytes( private java.lang.Object targetNode_ = ""; /** + * + * *
        * The target node of the edge.
        * 
* * string target_node = 2; + * * @return The targetNode. */ public java.lang.String getTargetNode() { java.lang.Object ref = targetNode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetNode_ = s; return s; @@ -3737,20 +4240,21 @@ public java.lang.String getTargetNode() { } } /** + * + * *
        * The target node of the edge.
        * 
* * string target_node = 2; + * * @return The bytes for targetNode. */ - public com.google.protobuf.ByteString - getTargetNodeBytes() { + public com.google.protobuf.ByteString getTargetNodeBytes() { java.lang.Object ref = targetNode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetNode_ = b; return b; } else { @@ -3758,58 +4262,66 @@ public java.lang.String getTargetNode() { } } /** + * + * *
        * The target node of the edge.
        * 
* * string target_node = 2; + * * @param value The targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNode( - java.lang.String value) { + public Builder setTargetNode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetNode_ = value; onChanged(); return this; } /** + * + * *
        * The target node of the edge.
        * 
* * string target_node = 2; + * * @return This builder for chaining. */ public Builder clearTargetNode() { - + targetNode_ = getDefaultInstance().getTargetNode(); onChanged(); return this; } /** + * + * *
        * The target node of the edge.
        * 
* * string target_node = 2; + * * @param value The bytes for targetNode to set. * @return This builder for chaining. */ - public Builder setTargetNodeBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetNodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetNode_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3822,30 +4334,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Edge parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Edge(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Edge parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Edge(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3857,17 +4371,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IdentityOrBuilder extends + public interface IdentityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -3883,10 +4400,13 @@ public interface IdentityOrBuilder extends
      * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -3902,70 +4422,84 @@ public interface IdentityOrBuilder extends
      * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return Whether the analysisState field is set. */ boolean hasAnalysisState(); /** + * + * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return The analysisState. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState(); /** + * + * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder(); } /** + * + * *
    * An identity that appears in an access control list.
    * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} */ - public static final class Identity extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Identity extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) IdentityOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Identity.newBuilder() to construct. private Identity(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Identity() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Identity(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Identity( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3984,32 +4518,39 @@ private Identity( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder subBuilder = null; - if (analysisState_ != null) { - subBuilder = analysisState_.toBuilder(); + name_ = s; + break; } - analysisState_ = input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisState_); - analysisState_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + subBuilder = null; + if (analysisState_ != null) { + subBuilder = analysisState_.toBuilder(); + } + analysisState_ = + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisState_); + analysisState_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4017,29 +4558,33 @@ private Identity( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -4055,6 +4600,7 @@ private Identity(
      * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -4063,14 +4609,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * The identity name in any form of members appear in
      * [IAM policy
@@ -4086,16 +4633,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4106,11 +4652,15 @@ public java.lang.String getName() { public static final int ANALYSIS_STATE_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; /** + * + * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return Whether the analysisState field is set. */ @java.lang.Override @@ -4118,30 +4668,43 @@ public boolean hasAnalysisState() { return analysisState_ != null; } /** + * + * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return The analysisState. */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { - return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getAnalysisState() { + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } /** + * + * *
      * The analysis state of this identity node.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder() { return getAnalysisState(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4153,8 +4716,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -4174,8 +4736,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (analysisState_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnalysisState()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAnalysisState()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4185,19 +4746,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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasAnalysisState() != other.hasAnalysisState()) return false; if (hasAnalysisState()) { - if (!getAnalysisState() - .equals(other.getAnalysisState())) return false; + if (!getAnalysisState().equals(other.getAnalysisState())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4222,87 +4782,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4312,44 +4880,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An identity that appears in an access control list.
      * 
* * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder.class); } - // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -4365,14 +4938,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_Identity_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + .getDefaultInstance(); } @java.lang.Override @@ -4386,7 +4961,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity build() @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(this); result.name_ = name_; if (analysisStateBuilder_ == null) { result.analysisState_ = analysisState_; @@ -4401,46 +4977,53 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity 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.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity)other); + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity other) { + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -4467,7 +5050,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4479,6 +5064,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -4494,13 +5081,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; @@ -4509,6 +5096,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -4524,15 +5113,14 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4540,6 +5128,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -4555,20 +5145,22 @@ public java.lang.String getName() {
        * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -4584,15 +5176,18 @@ public Builder setName(
        * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * The identity name in any form of members appear in
        * [IAM policy
@@ -4608,16 +5203,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; @@ -4625,41 +5220,63 @@ public Builder setNameBytes( private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysisState_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> analysisStateBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + analysisStateBuilder_; /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return Whether the analysisState field is set. */ public boolean hasAnalysisState() { return analysisStateBuilder_ != null || analysisState_ != null; } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * * @return The analysisState. */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState getAnalysisState() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + getAnalysisState() { if (analysisStateBuilder_ == null) { - return analysisState_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } else { return analysisStateBuilder_.getMessage(); } } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder setAnalysisState( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4673,14 +5290,19 @@ public Builder setAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ public Builder setAnalysisState( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + builderForValue) { if (analysisStateBuilder_ == null) { analysisState_ = builderForValue.build(); onChanged(); @@ -4691,17 +5313,25 @@ public Builder setAnalysisState( return this; } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { + public Builder mergeAnalysisState( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState value) { if (analysisStateBuilder_ == null) { if (analysisState_ != null) { analysisState_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder(analysisState_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.newBuilder( + analysisState_) + .mergeFrom(value) + .buildPartial(); } else { analysisState_ = value; } @@ -4713,11 +5343,15 @@ public Builder mergeAnalysisState(com.google.cloud.asset.v1p4beta1.IamPolicyAnal return this; } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ public Builder clearAnalysisState() { if (analysisStateBuilder_ == null) { @@ -4731,52 +5365,72 @@ public Builder clearAnalysisState() { return this; } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder getAnalysisStateBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder + getAnalysisStateBuilder() { + onChanged(); return getAnalysisStateFieldBuilder().getBuilder(); } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder + getAnalysisStateOrBuilder() { if (analysisStateBuilder_ != null) { return analysisStateBuilder_.getMessageOrBuilder(); } else { - return analysisState_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.getDefaultInstance() : analysisState_; + return analysisState_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState + .getDefaultInstance() + : analysisState_; } } /** + * + * *
        * The analysis state of this identity node.
        * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder> getAnalysisStateFieldBuilder() { if (analysisStateBuilder_ == null) { - analysisStateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( - getAnalysisState(), - getParentForChildren(), - isClean()); + analysisStateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>( + getAnalysisState(), getParentForChildren(), isClean()); analysisState_ = null; } return analysisStateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4789,30 +5443,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Identity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Identity(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Identity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Identity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4824,125 +5480,160 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AccessControlListOrBuilder extends + public interface AccessControlListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - java.util.List + java.util.List getResourcesList(); /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources(int index); /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ int getResourcesCount(); /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesOrBuilderList(); /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder + getResourcesOrBuilder(int index); /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - java.util.List + java.util.List getAccessesList(); /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses(int index); /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ int getAccessesCount(); /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> getAccessesOrBuilderList(); /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder( int index); /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -4951,11 +5642,14 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - java.util.List + java.util.List getResourceEdgesList(); /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -4964,10 +5658,13 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges(int index); /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -4976,10 +5673,13 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ int getResourceEdgesCount(); /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -4988,11 +5688,14 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - java.util.List + java.util.List getResourceEdgesOrBuilderList(); /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5001,12 +5704,15 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAcce
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder + getResourceEdgesOrBuilder(int index); } /** + * + * *
    * An access control list, derived from the above IAM policy binding, which
    * contains a set of resources and accesses. May include one
@@ -5024,15 +5730,16 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResour
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList}
    */
-  public static final class AccessControlList extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AccessControlList extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)
       AccessControlListOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AccessControlList.newBuilder() to construct.
     private AccessControlList(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AccessControlList() {
       resources_ = java.util.Collections.emptyList();
       accesses_ = java.util.Collections.emptyList();
@@ -5041,16 +5748,15 @@ private AccessControlList() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AccessControlList();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private AccessControlList(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5070,40 +5776,55 @@ private AccessControlList(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                resources_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  resources_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource>();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                resources_.add(
+                    input.readMessage(
+                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.parser(),
+                        extensionRegistry));
+                break;
               }
-              resources_.add(
-                  input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                accesses_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  accesses_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access>();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                accesses_.add(
+                    input.readMessage(
+                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.parser(),
+                        extensionRegistry));
+                break;
               }
-              accesses_.add(
-                  input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.parser(), extensionRegistry));
-              break;
-            }
-            case 26: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                resourceEdges_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+            case 26:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  resourceEdges_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                resourceEdges_.add(
+                    input.readMessage(
+                        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(),
+                        extensionRegistry));
+                break;
               }
-              resourceEdges_.add(
-                  input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5111,8 +5832,7 @@ private AccessControlList(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           resources_ = java.util.Collections.unmodifiableList(resources_);
@@ -5127,162 +5847,206 @@ private AccessControlList(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder
+                  .class);
     }
 
     public static final int RESOURCES_FIELD_NUMBER = 1;
-    private java.util.List resources_;
+    private java.util.List
+        resources_;
     /**
+     *
+     *
      * 
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ @java.lang.Override - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { return resources_; } /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesOrBuilderList() { return resources_; } /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ @java.lang.Override public int getResourcesCount() { return resources_.size(); } /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources( + int index) { return resources_.get(index); } /** + * + * *
      * The resources that match one of the following conditions:
      * - The resource_selector, if it is specified in request;
      * - Otherwise, resources reachable from the policy attached resource.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder + getResourcesOrBuilder(int index) { return resources_.get(index); } public static final int ACCESSES_FIELD_NUMBER = 2; - private java.util.List accesses_; + private java.util.List + accesses_; /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ @java.lang.Override - public java.util.List getAccessesList() { + public java.util.List + getAccessesList() { return accesses_; } /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> getAccessesOrBuilderList() { return accesses_; } /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ @java.lang.Override public int getAccessesCount() { return accesses_.size(); } /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses(int index) { return accesses_.get(index); } /** + * + * *
      * The accesses that match one of the following conditions:
      * - The access_selector, if it is specified in request;
      * - Otherwise, access specifiers reachable from the policy binding's role.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder + getAccessesOrBuilder(int index) { return accesses_.get(index); } public static final int RESOURCE_EDGES_FIELD_NUMBER = 3; - private java.util.List resourceEdges_; + private java.util.List + resourceEdges_; /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5291,13 +6055,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ @java.lang.Override - public java.util.List getResourceEdgesList() { + public java.util.List + getResourceEdgesList() { return resourceEdges_; } /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5306,14 +6074,18 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>
         getResourceEdgesOrBuilderList() {
       return resourceEdges_;
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5322,13 +6094,16 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+     * 
      */
     @java.lang.Override
     public int getResourceEdgesCount() {
       return resourceEdges_.size();
     }
     /**
+     *
+     *
      * 
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5337,13 +6112,17 @@ public int getResourceEdgesCount() {
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges( + int index) { return resourceEdges_.get(index); } /** + * + * *
      * Resource edges of the graph starting from the policy attached
      * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -5352,15 +6131,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResource
      * present only if the output_resource_edges option is enabled in request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder + getResourceEdgesOrBuilder(int index) { return resourceEdges_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5372,8 +6153,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < resources_.size(); i++) { output.writeMessage(1, resources_.get(i)); } @@ -5393,16 +6173,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < resources_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, resources_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, resources_.get(i)); } for (int i = 0; i < accesses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, accesses_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, accesses_.get(i)); } for (int i = 0; i < resourceEdges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, resourceEdges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, resourceEdges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5412,19 +6189,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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)) { + if (!(obj + instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) obj; - if (!getResourcesList() - .equals(other.getResourcesList())) return false; - if (!getAccessesList() - .equals(other.getAccessesList())) return false; - if (!getResourceEdgesList() - .equals(other.getResourceEdgesList())) return false; + if (!getResourcesList().equals(other.getResourcesList())) return false; + if (!getAccessesList().equals(other.getAccessesList())) return false; + if (!getResourceEdgesList().equals(other.getResourceEdgesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5453,88 +6229,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + 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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5544,6 +6333,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An access control list, derived from the above IAM policy binding, which
      * contains a set of resources and accesses. May include one
@@ -5561,41 +6352,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)
         com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
+        return com.google.cloud.asset.v1p4beta1.AssetProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder.class);
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.class,
+                com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
+      // Construct using
+      // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getResourcesFieldBuilder();
           getAccessesFieldBuilder();
           getResourceEdgesFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5621,19 +6417,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.asset.v1p4beta1.AssetProto
+            .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_AccessControlList_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() {
-        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance();
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
+          getDefaultInstanceForType() {
+        return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList build() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result = buildPartial();
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5641,8 +6440,10 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis
       }
 
       @java.lang.Override
-      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList buildPartial() {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(this);
+      public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
+          buildPartial() {
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList result =
+            new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(this);
         int from_bitField0_ = bitField0_;
         if (resourcesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -5679,46 +6480,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) {
-          return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)other);
+        if (other
+            instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) {
+          return mergeFrom(
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other) {
-        if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList other) {
+        if (other
+            == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList
+                .getDefaultInstance()) return this;
         if (resourcesBuilder_ == null) {
           if (!other.resources_.isEmpty()) {
             if (resources_.isEmpty()) {
@@ -5737,9 +6546,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul
               resourcesBuilder_ = null;
               resources_ = other.resources_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              resourcesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getResourcesFieldBuilder() : null;
+              resourcesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getResourcesFieldBuilder()
+                      : null;
             } else {
               resourcesBuilder_.addAllMessages(other.resources_);
             }
@@ -5763,9 +6573,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul
               accessesBuilder_ = null;
               accesses_ = other.accesses_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              accessesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getAccessesFieldBuilder() : null;
+              accessesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getAccessesFieldBuilder()
+                      : null;
             } else {
               accessesBuilder_.addAllMessages(other.accesses_);
             }
@@ -5789,9 +6600,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul
               resourceEdgesBuilder_ = null;
               resourceEdges_ = other.resourceEdges_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              resourceEdgesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getResourceEdgesFieldBuilder() : null;
+              resourceEdgesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getResourceEdgesFieldBuilder()
+                      : null;
             } else {
               resourceEdgesBuilder_.addAllMessages(other.resourceEdges_);
             }
@@ -5812,11 +6624,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parsedMessage = null;
+        com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5825,30 +6640,42 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List resources_ =
-        java.util.Collections.emptyList();
+      private java.util.List
+          resources_ = java.util.Collections.emptyList();
+
       private void ensureResourcesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          resources_ = new java.util.ArrayList(resources_);
+          resources_ =
+              new java.util.ArrayList<
+                  com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource>(resources_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> resourcesBuilder_;
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>
+          resourcesBuilder_;
 
       /**
+       *
+       *
        * 
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public java.util.List getResourcesList() { + public java.util.List + getResourcesList() { if (resourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(resources_); } else { @@ -5856,13 +6683,17 @@ public java.util.List * The resources that match one of the following conditions: * - The resource_selector, if it is specified in request; * - Otherwise, resources reachable from the policy attached resource. *
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public int getResourcesCount() { if (resourcesBuilder_ == null) { @@ -5872,15 +6703,20 @@ public int getResourcesCount() { } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getResources( + int index) { if (resourcesBuilder_ == null) { return resources_.get(index); } else { @@ -5888,13 +6724,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource getReso } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder setResources( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { @@ -5911,16 +6751,22 @@ public Builder setResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder setResources( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder + builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.set(index, builderForValue.build()); @@ -5931,15 +6777,20 @@ public Builder setResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public Builder addResources(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { + public Builder addResources( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { if (resourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5953,13 +6804,17 @@ public Builder addResources(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisRe return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addResources( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource value) { @@ -5976,16 +6831,21 @@ public Builder addResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addResources( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder + builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(builderForValue.build()); @@ -5996,16 +6856,22 @@ public Builder addResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addResources( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder + builderForValue) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); resources_.add(index, builderForValue.build()); @@ -6016,20 +6882,25 @@ public Builder addResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder addAllResources( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource> + values) { if (resourcesBuilder_ == null) { ensureResourcesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resources_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resources_); onChanged(); } else { resourcesBuilder_.addAllMessages(values); @@ -6037,13 +6908,17 @@ public Builder addAllResources( return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder clearResources() { if (resourcesBuilder_ == null) { @@ -6056,13 +6931,17 @@ public Builder clearResources() { return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ public Builder removeResources(int index) { if (resourcesBuilder_ == null) { @@ -6075,45 +6954,59 @@ public Builder removeResources(int index) { return this; } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder getResourcesBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder + getResourcesBuilder(int index) { return getResourcesFieldBuilder().getBuilder(index); } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder getResourcesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder + getResourcesOrBuilder(int index) { if (resourcesBuilder_ == null) { - return resources_.get(index); } else { + return resources_.get(index); + } else { return resourcesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public java.util.List - getResourcesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> + getResourcesOrBuilderList() { if (resourcesBuilder_ != null) { return resourcesBuilder_.getMessageOrBuilderList(); } else { @@ -6121,82 +7014,114 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilde } } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder() { - return getResourcesFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder + addResourcesBuilder() { + return getResourcesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + .getDefaultInstance()); } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder addResourcesBuilder( - int index) { - return getResourcesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder + addResourcesBuilder(int index) { + return getResourcesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource + .getDefaultInstance()); } /** + * + * *
        * The resources that match one of the following conditions:
        * - The resource_selector, if it is specified in request;
        * - Otherwise, resources reachable from the policy attached resource.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource resources = 1; + * */ - public java.util.List - getResourcesBuilderList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder> + getResourcesBuilderList() { return getResourcesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder> getResourcesFieldBuilder() { if (resourcesBuilder_ == null) { - resourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>( - resources_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + resourcesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.ResourceOrBuilder>( + resources_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); resources_ = null; } return resourcesBuilder_; } - private java.util.List accesses_ = - java.util.Collections.emptyList(); + private java.util.List + accesses_ = java.util.Collections.emptyList(); + private void ensureAccessesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - accesses_ = new java.util.ArrayList(accesses_); + accesses_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access>(accesses_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> accessesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> + accessesBuilder_; /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public java.util.List getAccessesList() { + public java.util.List + getAccessesList() { if (accessesBuilder_ == null) { return java.util.Collections.unmodifiableList(accesses_); } else { @@ -6204,13 +7129,16 @@ public java.util.List * The accesses that match one of the following conditions: * - The access_selector, if it is specified in request; * - Otherwise, access specifiers reachable from the policy binding's role. *
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public int getAccessesCount() { if (accessesBuilder_ == null) { @@ -6220,15 +7148,19 @@ public int getAccessesCount() { } } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccesses( + int index) { if (accessesBuilder_ == null) { return accesses_.get(index); } else { @@ -6236,13 +7168,16 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access getAccess } } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder setAccesses( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { @@ -6259,16 +7194,20 @@ public Builder setAccesses( return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder setAccesses( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { if (accessesBuilder_ == null) { ensureAccessesIsMutable(); accesses_.set(index, builderForValue.build()); @@ -6279,15 +7218,19 @@ public Builder setAccesses( return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public Builder addAccesses(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { + public Builder addAccesses( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { if (accessesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6301,13 +7244,16 @@ public Builder addAccesses(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisRes return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder addAccesses( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access value) { @@ -6324,13 +7270,16 @@ public Builder addAccesses( return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder addAccesses( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { @@ -6344,16 +7293,20 @@ public Builder addAccesses( return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder addAccesses( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder builderForValue) { if (accessesBuilder_ == null) { ensureAccessesIsMutable(); accesses_.add(index, builderForValue.build()); @@ -6364,20 +7317,24 @@ public Builder addAccesses( return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder addAllAccesses( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access> + values) { if (accessesBuilder_ == null) { ensureAccessesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accesses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accesses_); onChanged(); } else { accessesBuilder_.addAllMessages(values); @@ -6385,13 +7342,16 @@ public Builder addAllAccesses( return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder clearAccesses() { if (accessesBuilder_ == null) { @@ -6404,13 +7364,16 @@ public Builder clearAccesses() { return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ public Builder removeAccesses(int index) { if (accessesBuilder_ == null) { @@ -6423,45 +7386,56 @@ public Builder removeAccesses(int index) { return this; } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder getAccessesBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder + getAccessesBuilder(int index) { return getAccessesFieldBuilder().getBuilder(index); } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder getAccessesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder + getAccessesOrBuilder(int index) { if (accessesBuilder_ == null) { - return accesses_.get(index); } else { + return accesses_.get(index); + } else { return accessesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public java.util.List - getAccessesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> + getAccessesOrBuilderList() { if (accessesBuilder_ != null) { return accessesBuilder_.getMessageOrBuilderList(); } else { @@ -6469,73 +7443,99 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder } } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder() { - return getAccessesFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder + addAccessesBuilder() { + return getAccessesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access + .getDefaultInstance()); } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder addAccessesBuilder( - int index) { - return getAccessesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder + addAccessesBuilder(int index) { + return getAccessesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access + .getDefaultInstance()); } /** + * + * *
        * The accesses that match one of the following conditions:
        * - The access_selector, if it is specified in request;
        * - Otherwise, access specifiers reachable from the policy binding's role.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access accesses = 2; + * */ - public java.util.List - getAccessesBuilderList() { + public java.util.List + getAccessesBuilderList() { return getAccessesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder> getAccessesFieldBuilder() { if (accessesBuilder_ == null) { - accessesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder>( - accesses_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + accessesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Access.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessOrBuilder>( + accesses_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); accesses_ = null; } return accessesBuilder_; } - private java.util.List resourceEdges_ = - java.util.Collections.emptyList(); + private java.util.List + resourceEdges_ = java.util.Collections.emptyList(); + private void ensureResourceEdgesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - resourceEdges_ = new java.util.ArrayList(resourceEdges_); + resourceEdges_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>(resourceEdges_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> resourceEdgesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + resourceEdgesBuilder_; /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6544,9 +7544,12 @@ private void ensureResourceEdgesIsMutable() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public java.util.List getResourceEdgesList() { + public java.util.List + getResourceEdgesList() { if (resourceEdgesBuilder_ == null) { return java.util.Collections.unmodifiableList(resourceEdges_); } else { @@ -6554,6 +7557,8 @@ public java.util.List * Resource edges of the graph starting from the policy attached * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains @@ -6562,7 +7567,9 @@ public java.util.List * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public int getResourceEdgesCount() { if (resourceEdgesBuilder_ == null) { @@ -6572,6 +7579,8 @@ public int getResourceEdgesCount() { } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6580,9 +7589,12 @@ public int getResourceEdgesCount() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResourceEdges( + int index) { if (resourceEdgesBuilder_ == null) { return resourceEdges_.get(index); } else { @@ -6590,6 +7602,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResource } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6598,7 +7612,9 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getResource
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder setResourceEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -6615,6 +7631,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6623,10 +7641,13 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder setResourceEdges( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.set(index, builderForValue.build()); @@ -6637,6 +7658,8 @@ public Builder setResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6645,9 +7668,12 @@ public Builder setResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public Builder addResourceEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { + public Builder addResourceEdges( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { if (resourceEdgesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6661,6 +7687,8 @@ public Builder addResourceEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6669,7 +7697,9 @@ public Builder addResourceEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalys
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addResourceEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -6686,6 +7716,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6694,7 +7726,9 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addResourceEdges( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { @@ -6708,6 +7742,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6716,10 +7752,13 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addResourceEdges( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); resourceEdges_.add(index, builderForValue.build()); @@ -6730,6 +7769,8 @@ public Builder addResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6738,14 +7779,17 @@ public Builder addResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder addAllResourceEdges( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge> + values) { if (resourceEdgesBuilder_ == null) { ensureResourceEdgesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, resourceEdges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceEdges_); onChanged(); } else { resourceEdgesBuilder_.addAllMessages(values); @@ -6753,6 +7797,8 @@ public Builder addAllResourceEdges( return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6761,7 +7807,9 @@ public Builder addAllResourceEdges(
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder clearResourceEdges() { if (resourceEdgesBuilder_ == null) { @@ -6774,6 +7822,8 @@ public Builder clearResourceEdges() { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6782,7 +7832,9 @@ public Builder clearResourceEdges() {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ public Builder removeResourceEdges(int index) { if (resourceEdgesBuilder_ == null) { @@ -6795,6 +7847,8 @@ public Builder removeResourceEdges(int index) { return this; } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6803,13 +7857,17 @@ public Builder removeResourceEdges(int index) {
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder getResourceEdgesBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder + getResourceEdgesBuilder(int index) { return getResourceEdgesFieldBuilder().getBuilder(index); } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6818,16 +7876,21 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder get
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getResourceEdgesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder + getResourceEdgesOrBuilder(int index) { if (resourceEdgesBuilder_ == null) { - return resourceEdges_.get(index); } else { + return resourceEdges_.get(index); + } else { return resourceEdgesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6836,10 +7899,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder ge
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public java.util.List - getResourceEdgesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + getResourceEdgesOrBuilderList() { if (resourceEdgesBuilder_ != null) { return resourceEdgesBuilder_.getMessageOrBuilderList(); } else { @@ -6847,6 +7913,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder ge } } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6855,13 +7923,19 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder ge
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder() { - return getResourceEdgesFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder + addResourceEdgesBuilder() { + return getResourceEdgesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6870,14 +7944,20 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder add
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addResourceEdgesBuilder( - int index) { - return getResourceEdgesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder + addResourceEdgesBuilder(int index) { + return getResourceEdgesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** + * + * *
        * Resource edges of the graph starting from the policy attached
        * resource to any descendant resources. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] contains
@@ -6886,18 +7966,26 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder add
        * present only if the output_resource_edges option is enabled in request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge resource_edges = 3; + * */ - public java.util.List - getResourceEdgesBuilderList() { + public java.util.List + getResourceEdgesBuilderList() { return getResourceEdgesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> getResourceEdgesFieldBuilder() { if (resourceEdgesBuilder_ == null) { - resourceEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( + resourceEdgesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( resourceEdges_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -6906,6 +7994,7 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder add } return resourceEdgesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6918,30 +8007,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessControlList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AccessControlList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessControlList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AccessControlList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6953,17 +8045,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IdentityListOrBuilder extends + public interface IdentityListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6971,11 +8066,14 @@ public interface IdentityListOrBuilder extends
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - java.util.List + java.util.List getIdentitiesList(); /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6983,10 +8081,13 @@ public interface IdentityListOrBuilder extends
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities(int index); /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -6994,10 +8095,13 @@ public interface IdentityListOrBuilder extends
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ int getIdentitiesCount(); /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7005,11 +8109,15 @@ public interface IdentityListOrBuilder extends
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> getIdentitiesOrBuilderList(); /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7017,12 +8125,15 @@ public interface IdentityListOrBuilder extends
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder + getIdentitiesOrBuilder(int index); /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7033,11 +8144,14 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getId
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - java.util.List + java.util.List getGroupEdgesList(); /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7048,10 +8162,13 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getId
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges(int index); /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7062,10 +8179,13 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getId
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ int getGroupEdgesCount(); /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7076,11 +8196,14 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getId
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - java.util.List + java.util.List getGroupEdgesOrBuilderList(); /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7091,23 +8214,23 @@ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getId
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder( int index); } - /** - * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} - */ - public static final class IdentityList extends - com.google.protobuf.GeneratedMessageV3 implements + /** Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} */ + public static final class IdentityList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) IdentityListOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IdentityList.newBuilder() to construct. private IdentityList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IdentityList() { identities_ = java.util.Collections.emptyList(); groupEdges_ = java.util.Collections.emptyList(); @@ -7115,16 +8238,15 @@ private IdentityList() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IdentityList(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IdentityList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7144,31 +8266,41 @@ private IdentityList( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - identities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + identities_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity>(); + mutable_bitField0_ |= 0x00000001; + } + identities_.add( + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.parser(), + extensionRegistry)); + break; } - identities_.add( - input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - groupEdges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + groupEdges_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>(); + mutable_bitField0_ |= 0x00000002; + } + groupEdges_.add( + input.readMessage( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(), + extensionRegistry)); + break; } - groupEdges_.add( - input.readMessage(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7176,8 +8308,7 @@ private IdentityList( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { identities_ = java.util.Collections.unmodifiableList(identities_); @@ -7189,22 +8320,28 @@ private IdentityList( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder.class); } public static final int IDENTITIES_FIELD_NUMBER = 1; - private java.util.List identities_; + private java.util.List + identities_; /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7212,13 +8349,17 @@ private IdentityList(
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ @java.lang.Override - public java.util.List getIdentitiesList() { + public java.util.List + getIdentitiesList() { return identities_; } /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7226,14 +8367,18 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1;
+     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder>
         getIdentitiesOrBuilderList() {
       return identities_;
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7241,13 +8386,16 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1;
+     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1;
+     * 
      */
     @java.lang.Override
     public int getIdentitiesCount() {
       return identities_.size();
     }
     /**
+     *
+     *
      * 
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7255,13 +8403,17 @@ public int getIdentitiesCount() {
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities( + int index) { return identities_.get(index); } /** + * + * *
      * Only the identities that match one of the following conditions will be
      * presented:
@@ -7269,17 +8421,21 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
      * - Otherwise, identities reachable from the policy binding's members.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder + getIdentitiesOrBuilder(int index) { return identities_.get(index); } public static final int GROUP_EDGES_FIELD_NUMBER = 2; - private java.util.List groupEdges_; + private java.util.List + groupEdges_; /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7290,13 +8446,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilde
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ @java.lang.Override - public java.util.List getGroupEdgesList() { + public java.util.List + getGroupEdgesList() { return groupEdges_; } /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7307,14 +8467,18 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2;
+     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>
         getGroupEdgesOrBuilderList() {
       return groupEdges_;
     }
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7325,13 +8489,16 @@ public java.util.List
      *
-     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2;
+     * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2;
+     * 
      */
     @java.lang.Override
     public int getGroupEdgesCount() {
       return groupEdges_.size();
     }
     /**
+     *
+     *
      * 
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7342,13 +8509,16 @@ public int getGroupEdgesCount() {
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges(int index) { return groupEdges_.get(index); } /** + * + * *
      * Group identity edges of the graph starting from the binding's
      * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -7359,15 +8529,17 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdg
      * request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder + getGroupEdgesOrBuilder(int index) { return groupEdges_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7379,8 +8551,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < identities_.size(); i++) { output.writeMessage(1, identities_.get(i)); } @@ -7397,12 +8568,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < identities_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, identities_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, identities_.get(i)); } for (int i = 0; i < groupEdges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, groupEdges_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, groupEdges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7412,17 +8581,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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) obj; - if (!getIdentitiesList() - .equals(other.getIdentitiesList())) return false; - if (!getGroupEdgesList() - .equals(other.getGroupEdgesList())) return false; + if (!getIdentitiesList().equals(other.getIdentitiesList())) return false; + if (!getGroupEdgesList().equals(other.getGroupEdgesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7448,87 +8616,95 @@ public int hashCode() { } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseDelimitedFrom( - java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + parseDelimitedFrom( + java.io.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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7537,43 +8713,46 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList} */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder.class); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.class, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder + .class); } - // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder() + // Construct using + // com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIdentitiesFieldBuilder(); getGroupEdgesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7593,19 +8772,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p4beta1.AssetProto + .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_IdentityList_descriptor; } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() { - return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance(); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + getDefaultInstanceForType() { + return com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList build() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7614,7 +8796,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList bui @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList buildPartial() { - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(this); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList result = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(this); int from_bitField0_ = bitField0_; if (identitiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7642,46 +8825,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) { - return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList)other); + if (other + instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) { + return mergeFrom( + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other) { - if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList other) { + if (other + == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + .getDefaultInstance()) return this; if (identitiesBuilder_ == null) { if (!other.identities_.isEmpty()) { if (identities_.isEmpty()) { @@ -7700,9 +8891,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul identitiesBuilder_ = null; identities_ = other.identities_; bitField0_ = (bitField0_ & ~0x00000001); - identitiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIdentitiesFieldBuilder() : null; + identitiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIdentitiesFieldBuilder() + : null; } else { identitiesBuilder_.addAllMessages(other.identities_); } @@ -7726,9 +8918,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul groupEdgesBuilder_ = null; groupEdges_ = other.groupEdges_; bitField0_ = (bitField0_ & ~0x00000002); - groupEdgesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGroupEdgesFieldBuilder() : null; + groupEdgesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroupEdgesFieldBuilder() + : null; } else { groupEdgesBuilder_.addAllMessages(other.groupEdges_); } @@ -7753,7 +8946,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7762,21 +8957,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List identities_ = - java.util.Collections.emptyList(); + private java.util.List + identities_ = java.util.Collections.emptyList(); + private void ensureIdentitiesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - identities_ = new java.util.ArrayList(identities_); + identities_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity>(identities_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> identitiesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> + identitiesBuilder_; /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7784,9 +8988,12 @@ private void ensureIdentitiesIsMutable() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public java.util.List getIdentitiesList() { + public java.util.List + getIdentitiesList() { if (identitiesBuilder_ == null) { return java.util.Collections.unmodifiableList(identities_); } else { @@ -7794,6 +9001,8 @@ public java.util.List * Only the identities that match one of the following conditions will be * presented: @@ -7801,7 +9010,9 @@ public java.util.List * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public int getIdentitiesCount() { if (identitiesBuilder_ == null) { @@ -7811,6 +9022,8 @@ public int getIdentitiesCount() { } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7818,9 +9031,12 @@ public int getIdentitiesCount() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIdentities( + int index) { if (identitiesBuilder_ == null) { return identities_.get(index); } else { @@ -7828,6 +9044,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7835,7 +9053,9 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity getIden
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder setIdentities( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { @@ -7852,6 +9072,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7859,10 +9081,14 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder setIdentities( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder + builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.set(index, builderForValue.build()); @@ -7873,6 +9099,8 @@ public Builder setIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7880,9 +9108,12 @@ public Builder setIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public Builder addIdentities(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { + public Builder addIdentities( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { if (identitiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7896,6 +9127,8 @@ public Builder addIdentities(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisR return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7903,7 +9136,9 @@ public Builder addIdentities(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisR
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addIdentities( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity value) { @@ -7920,6 +9155,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7927,10 +9164,13 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addIdentities( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder + builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.add(builderForValue.build()); @@ -7941,6 +9181,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7948,10 +9190,14 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addIdentities( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder + builderForValue) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); identities_.add(index, builderForValue.build()); @@ -7962,6 +9208,8 @@ public Builder addIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7969,14 +9217,17 @@ public Builder addIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder addAllIdentities( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity> + values) { if (identitiesBuilder_ == null) { ensureIdentitiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, identities_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, identities_); onChanged(); } else { identitiesBuilder_.addAllMessages(values); @@ -7984,6 +9235,8 @@ public Builder addAllIdentities( return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -7991,7 +9244,9 @@ public Builder addAllIdentities(
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder clearIdentities() { if (identitiesBuilder_ == null) { @@ -8004,6 +9259,8 @@ public Builder clearIdentities() { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8011,7 +9268,9 @@ public Builder clearIdentities() {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ public Builder removeIdentities(int index) { if (identitiesBuilder_ == null) { @@ -8024,6 +9283,8 @@ public Builder removeIdentities(int index) { return this; } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8031,13 +9292,17 @@ public Builder removeIdentities(int index) {
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder getIdentitiesBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder + getIdentitiesBuilder(int index) { return getIdentitiesFieldBuilder().getBuilder(index); } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8045,16 +9310,21 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder + getIdentitiesOrBuilder(int index) { if (identitiesBuilder_ == null) { - return identities_.get(index); } else { + return identities_.get(index); + } else { return identitiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8062,10 +9332,13 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilde
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public java.util.List - getIdentitiesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> + getIdentitiesOrBuilderList() { if (identitiesBuilder_ != null) { return identitiesBuilder_.getMessageOrBuilderList(); } else { @@ -8073,6 +9346,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilde } } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8080,13 +9355,20 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilde
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder() { - return getIdentitiesFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder + addIdentitiesBuilder() { + return getIdentitiesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + .getDefaultInstance()); } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8094,14 +9376,21 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder( - int index) { - return getIdentitiesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder + addIdentitiesBuilder(int index) { + return getIdentitiesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity + .getDefaultInstance()); } /** + * + * *
        * Only the identities that match one of the following conditions will be
        * presented:
@@ -8109,40 +9398,54 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder
        * - Otherwise, identities reachable from the policy binding's members.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity identities = 1; + * */ - public java.util.List - getIdentitiesBuilderList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder> + getIdentitiesBuilderList() { return getIdentitiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder> getIdentitiesFieldBuilder() { if (identitiesBuilder_ == null) { - identitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder>( - identities_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + identitiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Identity.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityOrBuilder>( + identities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); identities_ = null; } return identitiesBuilder_; } - private java.util.List groupEdges_ = - java.util.Collections.emptyList(); + private java.util.List + groupEdges_ = java.util.Collections.emptyList(); + private void ensureGroupEdgesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - groupEdges_ = new java.util.ArrayList(groupEdges_); + groupEdges_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge>(groupEdges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> groupEdgesBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + groupEdgesBuilder_; /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8153,9 +9456,11 @@ private void ensureGroupEdgesIsMutable() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public java.util.List getGroupEdgesList() { + public java.util.List + getGroupEdgesList() { if (groupEdgesBuilder_ == null) { return java.util.Collections.unmodifiableList(groupEdges_); } else { @@ -8163,6 +9468,8 @@ public java.util.List * Group identity edges of the graph starting from the binding's * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node] @@ -8173,7 +9480,8 @@ public java.util.List * - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public int getGroupEdgesCount() { if (groupEdgesBuilder_ == null) { @@ -8183,6 +9491,8 @@ public int getGroupEdgesCount() { } } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8193,9 +9503,11 @@ public int getGroupEdgesCount() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdges( + int index) { if (groupEdgesBuilder_ == null) { return groupEdges_.get(index); } else { @@ -8203,6 +9515,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdg } } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8213,7 +9527,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge getGroupEdg
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder setGroupEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -8230,6 +9545,8 @@ public Builder setGroupEdges( return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8240,10 +9557,12 @@ public Builder setGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder setGroupEdges( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (groupEdgesBuilder_ == null) { ensureGroupEdgesIsMutable(); groupEdges_.set(index, builderForValue.build()); @@ -8254,6 +9573,8 @@ public Builder setGroupEdges( return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8264,9 +9585,11 @@ public Builder setGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public Builder addGroupEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { + public Builder addGroupEdges( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { if (groupEdgesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8280,6 +9603,8 @@ public Builder addGroupEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisR return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8290,7 +9615,8 @@ public Builder addGroupEdges(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisR
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder addGroupEdges( int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge value) { @@ -8307,6 +9633,8 @@ public Builder addGroupEdges( return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8317,7 +9645,8 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder addGroupEdges( com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { @@ -8331,6 +9660,8 @@ public Builder addGroupEdges( return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8341,10 +9672,12 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder addGroupEdges( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder builderForValue) { if (groupEdgesBuilder_ == null) { ensureGroupEdgesIsMutable(); groupEdges_.add(index, builderForValue.build()); @@ -8355,6 +9688,8 @@ public Builder addGroupEdges( return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8365,14 +9700,16 @@ public Builder addGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder addAllGroupEdges( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge> + values) { if (groupEdgesBuilder_ == null) { ensureGroupEdgesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupEdges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupEdges_); onChanged(); } else { groupEdgesBuilder_.addAllMessages(values); @@ -8380,6 +9717,8 @@ public Builder addAllGroupEdges( return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8390,7 +9729,8 @@ public Builder addAllGroupEdges(
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder clearGroupEdges() { if (groupEdgesBuilder_ == null) { @@ -8403,6 +9743,8 @@ public Builder clearGroupEdges() { return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8413,7 +9755,8 @@ public Builder clearGroupEdges() {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ public Builder removeGroupEdges(int index) { if (groupEdgesBuilder_ == null) { @@ -8426,6 +9769,8 @@ public Builder removeGroupEdges(int index) { return this; } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8436,13 +9781,16 @@ public Builder removeGroupEdges(int index) {
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder getGroupEdgesBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder + getGroupEdgesBuilder(int index) { return getGroupEdgesFieldBuilder().getBuilder(index); } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8453,16 +9801,20 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder get
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder + getGroupEdgesOrBuilder(int index) { if (groupEdgesBuilder_ == null) { - return groupEdges_.get(index); } else { + return groupEdges_.get(index); + } else { return groupEdgesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8473,10 +9825,12 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder ge
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public java.util.List - getGroupEdgesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + getGroupEdgesOrBuilderList() { if (groupEdgesBuilder_ != null) { return groupEdgesBuilder_.getMessageOrBuilderList(); } else { @@ -8484,6 +9838,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder ge } } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8494,13 +9850,18 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder ge
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder() { - return getGroupEdgesFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder + addGroupEdgesBuilder() { + return getGroupEdgesFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8511,14 +9872,19 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder add
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder( - int index) { - return getGroupEdgesFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder + addGroupEdgesBuilder(int index) { + return getGroupEdgesFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.getDefaultInstance()); } /** + * + * *
        * Group identity edges of the graph starting from the binding's
        * group members to any node of the [identities][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.identities]. The [Edge.source_node][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.source_node]
@@ -8529,26 +9895,31 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder add
        * request.
        * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge group_edges = 2; + * */ - public java.util.List - getGroupEdgesBuilderList() { + public java.util.List + getGroupEdgesBuilderList() { return getGroupEdgesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder> getGroupEdgesFieldBuilder() { if (groupEdgesBuilder_ == null) { - groupEdgesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( - groupEdges_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + groupEdgesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Edge.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.EdgeOrBuilder>( + groupEdges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); groupEdges_ = null; } return groupEdgesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8561,30 +9932,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList) - private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList DEFAULT_INSTANCE; + private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(); + DEFAULT_INSTANCE = + new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList(); } - public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getDefaultInstance() { + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentityList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IdentityList(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IdentityList(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8596,20 +9970,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int ATTACHED_RESOURCE_FULL_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object attachedResourceFullName_; /** + * + * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ @java.lang.Override @@ -8618,29 +9995,29 @@ public java.lang.String getAttachedResourceFullName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; } } /** + * + * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; + * * @return The bytes for attachedResourceFullName. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -8651,11 +10028,14 @@ public java.lang.String getAttachedResourceFullName() { public static final int IAM_BINDING_FIELD_NUMBER = 2; private com.google.iam.v1.Binding iamBinding_; /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ @java.lang.Override @@ -8663,11 +10043,14 @@ public boolean hasIamBinding() { return iamBinding_ != null; } /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ @java.lang.Override @@ -8675,6 +10058,8 @@ public com.google.iam.v1.Binding getIamBinding() { return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -8687,79 +10072,108 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { } public static final int ACCESS_CONTROL_LISTS_FIELD_NUMBER = 3; - private java.util.List accessControlLists_; + private java.util.List + accessControlLists_; /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public java.util.List getAccessControlListsList() { + public java.util.List + getAccessControlListsList() { return accessControlLists_; } /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsOrBuilderList() { return accessControlLists_; } /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override public int getAccessControlListsCount() { return accessControlLists_.size(); } /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + getAccessControlLists(int index) { return accessControlLists_.get(index); } /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder + getAccessControlListsOrBuilder(int index) { return accessControlLists_.get(index); } public static final int IDENTITY_LIST_FIELD_NUMBER = 4; private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identityList_; /** + * + * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * + * * @return Whether the identityList field is set. */ @java.lang.Override @@ -8767,40 +10181,53 @@ public boolean hasIdentityList() { return identityList_ != null; } /** + * + * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * + * * @return The identityList. */ @java.lang.Override public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getIdentityList() { - return identityList_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; + return identityList_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() + : identityList_; } /** + * + * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ @java.lang.Override - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder + getIdentityListOrBuilder() { return getIdentityList(); } public static final int FULLY_EXPLORED_FIELD_NUMBER = 5; private boolean fullyExplored_; /** + * + * *
    * Represents whether all nodes in the transitive closure of the
    * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
    * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -8809,6 +10236,7 @@ public boolean getFullyExplored() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8820,8 +10248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedResourceFullName_); } @@ -8847,23 +10274,21 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedResourceFullName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedResourceFullName_); } if (iamBinding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getIamBinding()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIamBinding()); } for (int i = 0; i < accessControlLists_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, accessControlLists_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, accessControlLists_.get(i)); } if (identityList_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getIdentityList()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIdentityList()); } if (fullyExplored_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, fullyExplored_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, fullyExplored_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8873,29 +10298,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.asset.v1p4beta1.IamPolicyAnalysisResult)) { return super.equals(obj); } - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult other = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) obj; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult other = + (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) obj; - if (!getAttachedResourceFullName() - .equals(other.getAttachedResourceFullName())) return false; + if (!getAttachedResourceFullName().equals(other.getAttachedResourceFullName())) return false; if (hasIamBinding() != other.hasIamBinding()) return false; if (hasIamBinding()) { - if (!getIamBinding() - .equals(other.getIamBinding())) return false; + if (!getIamBinding().equals(other.getIamBinding())) return false; } - if (!getAccessControlListsList() - .equals(other.getAccessControlListsList())) return false; + if (!getAccessControlListsList().equals(other.getAccessControlListsList())) return false; if (hasIdentityList() != other.hasIdentityList()) return false; if (hasIdentityList()) { - if (!getIdentityList() - .equals(other.getIdentityList())) return false; + if (!getIdentityList().equals(other.getIdentityList())) return false; } - if (getFullyExplored() - != other.getFullyExplored()) return false; + if (getFullyExplored() != other.getFullyExplored()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8922,104 +10343,111 @@ public int hashCode() { hash = (53 * hash) + getIdentityList().hashCode(); } hash = (37 * hash) + FULLY_EXPLORED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyExplored()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFullyExplored()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.nio.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - byte[] data, - com.google.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p4beta1.IamPolicyAnalysisResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IAM Policy analysis result, consisting of one IAM policy binding and derived
    * access control lists.
@@ -9027,21 +10455,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)
       com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.class,
+              com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.newBuilder()
@@ -9049,17 +10479,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) {
         getAccessControlListsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -9089,9 +10519,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p4beta1.AssetProto.internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p4beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p4beta1_IamPolicyAnalysisResult_descriptor;
     }
 
     @java.lang.Override
@@ -9110,7 +10540,8 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult buildPartial() {
-      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult result = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(this);
+      com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult result =
+          new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(this);
       int from_bitField0_ = bitField0_;
       result.attachedResourceFullName_ = attachedResourceFullName_;
       if (iamBindingBuilder_ == null) {
@@ -9141,38 +10572,39 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) {
-        return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult)other);
+        return mergeFrom((com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -9180,7 +10612,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult other) {
-      if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.getDefaultInstance())
+        return this;
       if (!other.getAttachedResourceFullName().isEmpty()) {
         attachedResourceFullName_ = other.attachedResourceFullName_;
         onChanged();
@@ -9206,9 +10639,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResul
             accessControlListsBuilder_ = null;
             accessControlLists_ = other.accessControlLists_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            accessControlListsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAccessControlListsFieldBuilder() : null;
+            accessControlListsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAccessControlListsFieldBuilder()
+                    : null;
           } else {
             accessControlListsBuilder_.addAllMessages(other.accessControlLists_);
           }
@@ -9239,7 +10673,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -9248,22 +10683,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object attachedResourceFullName_ = "";
     /**
+     *
+     *
      * 
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ public java.lang.String getAttachedResourceFullName() { java.lang.Object ref = attachedResourceFullName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedResourceFullName_ = s; return s; @@ -9272,20 +10710,21 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; + * * @return The bytes for attachedResourceFullName. */ - public com.google.protobuf.ByteString - getAttachedResourceFullNameBytes() { + public com.google.protobuf.ByteString getAttachedResourceFullNameBytes() { java.lang.Object ref = attachedResourceFullName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedResourceFullName_ = b; return b; } else { @@ -9293,54 +10732,61 @@ public java.lang.String getAttachedResourceFullName() { } } /** + * + * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; + * * @param value The attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullName( - java.lang.String value) { + public Builder setAttachedResourceFullName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + attachedResourceFullName_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; + * * @return This builder for chaining. */ public Builder clearAttachedResourceFullName() { - + attachedResourceFullName_ = getDefaultInstance().getAttachedResourceFullName(); onChanged(); return this; } /** + * + * *
      * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
      * 
* * string attached_resource_full_name = 1; + * * @param value The bytes for attachedResourceFullName to set. * @return This builder for chaining. */ - public Builder setAttachedResourceFullNameBytes( - com.google.protobuf.ByteString value) { + public Builder setAttachedResourceFullNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + attachedResourceFullName_ = value; onChanged(); return this; @@ -9348,24 +10794,33 @@ public Builder setAttachedResourceFullNameBytes( private com.google.iam.v1.Binding iamBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> iamBindingBuilder_; + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder> + iamBindingBuilder_; /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ public boolean hasIamBinding() { return iamBindingBuilder_ != null || iamBinding_ != null; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ public com.google.iam.v1.Binding getIamBinding() { @@ -9376,6 +10831,8 @@ public com.google.iam.v1.Binding getIamBinding() { } } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9396,14 +10853,15 @@ public Builder setIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
* * .google.iam.v1.Binding iam_binding = 2; */ - public Builder setIamBinding( - com.google.iam.v1.Binding.Builder builderForValue) { + public Builder setIamBinding(com.google.iam.v1.Binding.Builder builderForValue) { if (iamBindingBuilder_ == null) { iamBinding_ = builderForValue.build(); onChanged(); @@ -9414,6 +10872,8 @@ public Builder setIamBinding( return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9424,7 +10884,7 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { if (iamBindingBuilder_ == null) { if (iamBinding_ != null) { iamBinding_ = - com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); + com.google.iam.v1.Binding.newBuilder(iamBinding_).mergeFrom(value).buildPartial(); } else { iamBinding_ = value; } @@ -9436,6 +10896,8 @@ public Builder mergeIamBinding(com.google.iam.v1.Binding value) { return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9454,6 +10916,8 @@ public Builder clearIamBinding() { return this; } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9461,11 +10925,13 @@ public Builder clearIamBinding() { * .google.iam.v1.Binding iam_binding = 2; */ public com.google.iam.v1.Binding.Builder getIamBindingBuilder() { - + onChanged(); return getIamBindingFieldBuilder().getBuilder(); } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9476,11 +10942,12 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { if (iamBindingBuilder_ != null) { return iamBindingBuilder_.getMessageOrBuilder(); } else { - return iamBinding_ == null ? - com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; + return iamBinding_ == null ? com.google.iam.v1.Binding.getDefaultInstance() : iamBinding_; } } /** + * + * *
      * The Cloud IAM policy binding under analysis.
      * 
@@ -9488,40 +10955,57 @@ public com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder() { * .google.iam.v1.Binding iam_binding = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder> getIamBindingFieldBuilder() { if (iamBindingBuilder_ == null) { - iamBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>( - getIamBinding(), - getParentForChildren(), - isClean()); + iamBindingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder>( + getIamBinding(), getParentForChildren(), isClean()); iamBinding_ = null; } return iamBindingBuilder_; } - private java.util.List accessControlLists_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList> + accessControlLists_ = java.util.Collections.emptyList(); + private void ensureAccessControlListsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessControlLists_ = new java.util.ArrayList(accessControlLists_); + accessControlLists_ = + new java.util.ArrayList< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList>( + accessControlLists_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> accessControlListsBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + accessControlListsBuilder_; /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public java.util.List getAccessControlListsList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList> + getAccessControlListsList() { if (accessControlListsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessControlLists_); } else { @@ -9529,12 +11013,16 @@ public java.util.List * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or * potentially match resource and access selectors specified in the request. *
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public int getAccessControlListsCount() { if (accessControlListsBuilder_ == null) { @@ -9544,14 +11032,19 @@ public int getAccessControlListsCount() { } } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + getAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { return accessControlLists_.get(index); } else { @@ -9559,15 +11052,20 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis } } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder setAccessControlLists( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9581,15 +11079,21 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder setAccessControlLists( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder + builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.set(index, builderForValue.build()); @@ -9600,14 +11104,19 @@ public Builder setAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public Builder addAccessControlLists(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { + public Builder addAccessControlLists( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9621,15 +11130,20 @@ public Builder addAccessControlLists(com.google.cloud.asset.v1p4beta1.IamPolicyA return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAccessControlLists( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList value) { if (accessControlListsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9643,15 +11157,20 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAccessControlLists( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder + builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(builderForValue.build()); @@ -9662,15 +11181,21 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAccessControlLists( - int index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder builderForValue) { + int index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder + builderForValue) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); accessControlLists_.add(index, builderForValue.build()); @@ -9681,19 +11206,25 @@ public Builder addAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder addAllAccessControlLists( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList> + values) { if (accessControlListsBuilder_ == null) { ensureAccessControlListsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accessControlLists_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessControlLists_); onChanged(); } else { accessControlListsBuilder_.addAllMessages(values); @@ -9701,12 +11232,16 @@ public Builder addAllAccessControlLists( return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder clearAccessControlLists() { if (accessControlListsBuilder_ == null) { @@ -9719,12 +11254,16 @@ public Builder clearAccessControlLists() { return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ public Builder removeAccessControlLists(int index) { if (accessControlListsBuilder_ == null) { @@ -9737,42 +11276,57 @@ public Builder removeAccessControlLists(int index) { return this; } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder getAccessControlListsBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder + getAccessControlListsBuilder(int index) { return getAccessControlListsFieldBuilder().getBuilder(index); } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( - int index) { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder + getAccessControlListsOrBuilder(int index) { if (accessControlListsBuilder_ == null) { - return accessControlLists_.get(index); } else { + return accessControlLists_.get(index); + } else { return accessControlListsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public java.util.List - getAccessControlListsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + getAccessControlListsOrBuilderList() { if (accessControlListsBuilder_ != null) { return accessControlListsBuilder_.getMessageOrBuilderList(); } else { @@ -9780,48 +11334,74 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis } } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder() { - return getAccessControlListsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder + addAccessControlListsBuilder() { + return getAccessControlListsFieldBuilder() + .addBuilder( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + .getDefaultInstance()); } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder( - int index) { - return getAccessControlListsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.getDefaultInstance()); + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder + addAccessControlListsBuilder(int index) { + return getAccessControlListsFieldBuilder() + .addBuilder( + index, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList + .getDefaultInstance()); } /** + * + * *
      * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match resource and access selectors specified in the request.
      * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - public java.util.List - getAccessControlListsBuilderList() { + public java.util.List< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder> + getAccessControlListsBuilderList() { return getAccessControlListsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsFieldBuilder() { if (accessControlListsBuilder_ == null) { - accessControlListsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder>( + accessControlListsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult + .AccessControlListOrBuilder>( accessControlLists_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -9833,44 +11413,62 @@ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlLis private com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identityList_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> identityListBuilder_; + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> + identityListBuilder_; /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * + * * @return Whether the identityList field is set. */ public boolean hasIdentityList() { return identityListBuilder_ != null || identityList_ != null; } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * + * * @return The identityList. */ public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getIdentityList() { if (identityListBuilder_ == null) { - return identityList_ == null ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; + return identityList_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + .getDefaultInstance() + : identityList_; } else { return identityListBuilder_.getMessage(); } } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ - public Builder setIdentityList(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { + public Builder setIdentityList( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { if (identityListBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9884,15 +11482,19 @@ public Builder setIdentityList(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysi return this; } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ public Builder setIdentityList( - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder builderForValue) { + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder + builderForValue) { if (identityListBuilder_ == null) { identityList_ = builderForValue.build(); onChanged(); @@ -9903,18 +11505,25 @@ public Builder setIdentityList( return this; } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ - public Builder mergeIdentityList(com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { + public Builder mergeIdentityList( + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList value) { if (identityListBuilder_ == null) { if (identityList_ != null) { identityList_ = - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder(identityList_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.newBuilder( + identityList_) + .mergeFrom(value) + .buildPartial(); } else { identityList_ = value; } @@ -9926,12 +11535,15 @@ public Builder mergeIdentityList(com.google.cloud.asset.v1p4beta1.IamPolicyAnaly return this; } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ public Builder clearIdentityList() { if (identityListBuilder_ == null) { @@ -9945,64 +11557,83 @@ public Builder clearIdentityList() { return this; } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder getIdentityListBuilder() { - + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder + getIdentityListBuilder() { + onChanged(); return getIdentityListFieldBuilder().getBuilder(); } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ - public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder() { + public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder + getIdentityListOrBuilder() { if (identityListBuilder_ != null) { return identityListBuilder_.getMessageOrBuilder(); } else { - return identityList_ == null ? - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.getDefaultInstance() : identityList_; + return identityList_ == null + ? com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList + .getDefaultInstance() + : identityList_; } } /** + * + * *
      * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
      * potentially match identity selector specified in the request.
      * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder> getIdentityListFieldBuilder() { if (identityListBuilder_ == null) { - identityListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder>( - getIdentityList(), - getParentForChildren(), - isClean()); + identityListBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList.Builder, + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder>( + getIdentityList(), getParentForChildren(), isClean()); identityList_ = null; } return identityListBuilder_; } - private boolean fullyExplored_ ; + private boolean fullyExplored_; /** + * + * *
      * Represents whether all nodes in the transitive closure of the
      * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
      * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ @java.lang.Override @@ -10010,39 +11641,45 @@ public boolean getFullyExplored() { return fullyExplored_; } /** + * + * *
      * Represents whether all nodes in the transitive closure of the
      * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
      * 
* * bool fully_explored = 5; + * * @param value The fullyExplored to set. * @return This builder for chaining. */ public Builder setFullyExplored(boolean value) { - + fullyExplored_ = value; onChanged(); return this; } /** + * + * *
      * Represents whether all nodes in the transitive closure of the
      * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
      * 
* * bool fully_explored = 5; + * * @return This builder for chaining. */ public Builder clearFullyExplored() { - + fullyExplored_ = 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); } @@ -10052,12 +11689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) private static final com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult(); } @@ -10066,16 +11703,16 @@ public static com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IamPolicyAnalysisResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IamPolicyAnalysisResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IamPolicyAnalysisResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IamPolicyAnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10090,6 +11727,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java similarity index 69% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java rename to proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java index 7e6092f3b..6f6947fd1 100644 --- a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java +++ b/proto-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/IamPolicyAnalysisResultOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p4beta1/assets.proto package com.google.cloud.asset.v1p4beta1; -public interface IamPolicyAnalysisResultOrBuilder extends +public interface IamPolicyAnalysisResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; + * * @return The attachedResourceFullName. */ java.lang.String getAttachedResourceFullName(); /** + * + * *
    * The full name of the resource to which the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] policy attaches.
    * 
* * string attached_resource_full_name = 1; + * * @return The bytes for attachedResourceFullName. */ - com.google.protobuf.ByteString - getAttachedResourceFullNameBytes(); + com.google.protobuf.ByteString getAttachedResourceFullNameBytes(); /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return Whether the iamBinding field is set. */ boolean hasIamBinding(); /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
* * .google.iam.v1.Binding iam_binding = 2; + * * @return The iamBinding. */ com.google.iam.v1.Binding getIamBinding(); /** + * + * *
    * The Cloud IAM policy binding under analysis.
    * 
@@ -55,91 +84,129 @@ public interface IamPolicyAnalysisResultOrBuilder extends com.google.iam.v1.BindingOrBuilder getIamBindingOrBuilder(); /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - java.util.List + java.util.List getAccessControlListsList(); /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList getAccessControlLists( + int index); /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ int getAccessControlListsCount(); /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsOrBuilderList(); /** + * + * *
    * The access control lists derived from the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match resource and access selectors specified in the request.
    * 
* - * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * + * repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder( - int index); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AccessControlListOrBuilder + getAccessControlListsOrBuilder(int index); /** + * + * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * + * * @return Whether the identityList field is set. */ boolean hasIdentityList(); /** + * + * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * + * * @return The identityList. */ com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList getIdentityList(); /** + * + * *
    * The identity list derived from members of the [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] that match or
    * potentially match identity selector specified in the request.
    * 
* - * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4; + * */ - com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder(); + com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.IdentityListOrBuilder + getIdentityListOrBuilder(); /** + * + * *
    * Represents whether all nodes in the transitive closure of the
    * [iam_binding][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.iam_binding] node have been explored.
    * 
* * bool fully_explored = 5; + * * @return The fullyExplored. */ boolean getFullyExplored(); diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto b/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto rename to proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/asset_service.proto diff --git a/owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto b/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto similarity index 100% rename from owl-bot-staging/v1p4beta1/proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto rename to proto-google-cloud-asset-v1p4beta1/src/main/proto/google/cloud/asset/v1p4beta1/assets.proto diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java similarity index 73% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java index a74a13f4f..47f349745 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Asset.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/assets.proto package com.google.cloud.asset.v1p5beta1; /** + * + * *
  * Cloud asset. This includes all Google Cloud Platform resources,
  * Cloud IAM policies, and other non-GCP assets.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.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_ = "";
     assetType_ = "";
@@ -29,16 +47,15 @@ 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)
@@ -58,111 +75,143 @@ private Asset(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1p5beta1.Resource.Builder subBuilder = null;
-            if (resource_ != null) {
-              subBuilder = resource_.toBuilder();
-            }
-            resource_ = input.readMessage(com.google.cloud.asset.v1p5beta1.Resource.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(resource_);
-              resource_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            com.google.iam.v1.Policy.Builder subBuilder = null;
-            if (iamPolicy_ != null) {
-              subBuilder = iamPolicy_.toBuilder();
-            }
-            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(iamPolicy_);
-              iamPolicy_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              orgPolicy_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              assetType_ = s;
+              break;
             }
-            orgPolicy_.add(
-                input.readMessage(com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 7) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_).toBuilder();
+          case 26:
+            {
+              com.google.cloud.asset.v1p5beta1.Resource.Builder subBuilder = null;
+              if (resource_ != null) {
+                subBuilder = resource_.toBuilder();
+              }
+              resource_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p5beta1.Resource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.iam.v1.Policy.Builder subBuilder = null;
+              if (iamPolicy_ != null) {
+                subBuilder = iamPolicy_.toBuilder();
+              }
+              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(iamPolicy_);
+                iamPolicy_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            accessContextPolicyCase_ = 7;
-            break;
-          }
-          case 66: {
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 8) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_).toBuilder();
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                orgPolicy_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              orgPolicy_.add(
+                  input.readMessage(
+                      com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessLevel.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
+              if (accessContextPolicyCase_ == 7) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                            accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                        accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 7;
+              break;
             }
-            accessContextPolicyCase_ = 8;
-            break;
-          }
-          case 74: {
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 9) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_).toBuilder();
+          case 66:
+            {
+              com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
+              if (accessContextPolicyCase_ == 8) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.AccessLevel.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 8;
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 74:
+            {
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder =
+                  null;
+              if (accessContextPolicyCase_ == 9) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                            accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                        accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 9;
+              break;
             }
-            accessContextPolicyCase_ = 9;
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              ancestors_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                ancestors_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              ancestors_.add(s);
+              break;
             }
-            ancestors_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -170,8 +219,7 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = java.util.Collections.unmodifiableList(orgPolicy_);
@@ -183,29 +231,35 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p5beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1p5beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p5beta1.Asset.class, com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
+            com.google.cloud.asset.v1p5beta1.Asset.class,
+            com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
   }
 
   private int accessContextPolicyCase_ = 0;
   private java.lang.Object accessContextPolicy_;
+
   public enum AccessContextPolicyCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ACCESS_POLICY(7),
     ACCESS_LEVEL(8),
     SERVICE_PERIMETER(9),
     ACCESSCONTEXTPOLICY_NOT_SET(0);
     private final int value;
+
     private AccessContextPolicyCase(int value) {
       this.value = value;
     }
@@ -221,27 +275,33 @@ public static AccessContextPolicyCase valueOf(int value) {
 
     public static AccessContextPolicyCase forNumber(int value) {
       switch (value) {
-        case 7: return ACCESS_POLICY;
-        case 8: return ACCESS_LEVEL;
-        case 9: return SERVICE_PERIMETER;
-        case 0: return ACCESSCONTEXTPOLICY_NOT_SET;
-        default: return null;
+        case 7:
+          return ACCESS_POLICY;
+        case 8:
+          return ACCESS_LEVEL;
+        case 9:
+          return SERVICE_PERIMETER;
+        case 0:
+          return ACCESSCONTEXTPOLICY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AccessContextPolicyCase
-  getAccessContextPolicyCase() {
-    return AccessContextPolicyCase.forNumber(
-        accessContextPolicyCase_);
+  public AccessContextPolicyCase getAccessContextPolicyCase() {
+    return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -251,6 +311,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -259,14 +320,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -276,16 +338,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -296,11 +357,14 @@ public java.lang.String getName() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -309,29 +373,29 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -342,11 +406,14 @@ public java.lang.String getAssetType() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p5beta1.Resource resource_; /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -354,18 +421,25 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return The resource. */ @java.lang.Override public com.google.cloud.asset.v1p5beta1.Resource getResource() { - return resource_ == null ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() + : resource_; } /** + * + * *
    * Representation of the resource.
    * 
@@ -380,12 +454,15 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -393,12 +470,15 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -406,6 +486,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -421,6 +503,8 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
   private java.util.List orgPolicy_;
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -434,6 +518,8 @@ public java.util.List getOrgPolicyList() {
     return orgPolicy_;
   }
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -443,11 +529,13 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOrgPolicyOrBuilderList() {
     return orgPolicy_;
   }
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -461,6 +549,8 @@ public int getOrgPolicyCount() {
     return orgPolicy_.size();
   }
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -474,6 +564,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
     return orgPolicy_.get(index);
   }
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -483,14 +575,14 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index) {
+  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
     return orgPolicy_.get(index);
   }
 
   public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+   *
    * @return Whether the accessPolicy field is set.
    */
   @java.lang.Override
@@ -499,22 +591,22 @@ public boolean hasAccessPolicy() {
   }
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+   *
    * @return The accessPolicy.
    */
   @java.lang.Override
   public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() {
     if (accessContextPolicyCase_ == 7) {
-       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
-  /**
-   * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-   */
+  /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
+      getAccessPolicyOrBuilder() {
     if (accessContextPolicyCase_ == 7) {
-       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
@@ -522,6 +614,7 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
   public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+   *
    * @return Whether the accessLevel field is set.
    */
   @java.lang.Override
@@ -530,22 +623,22 @@ public boolean hasAccessLevel() {
   }
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+   *
    * @return The accessLevel.
    */
   @java.lang.Override
   public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() {
     if (accessContextPolicyCase_ == 8) {
-       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
-  /**
-   * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-   */
+  /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
+      getAccessLevelOrBuilder() {
     if (accessContextPolicyCase_ == 8) {
-       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
@@ -553,6 +646,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
   public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+   *
    * @return Whether the servicePerimeter field is set.
    */
   @java.lang.Override
@@ -561,12 +655,13 @@ public boolean hasServicePerimeter() {
   }
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+   *
    * @return The servicePerimeter.
    */
   @java.lang.Override
   public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() {
     if (accessContextPolicyCase_ == 9) {
-       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -574,9 +669,10 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+      getServicePerimeterOrBuilder() {
     if (accessContextPolicyCase_ == 9) {
-       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -584,6 +680,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
   public static final int ANCESTORS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList ancestors_;
   /**
+   *
+   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -593,13 +691,15 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
    * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -609,12 +709,15 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
    * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -624,6 +727,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -631,6 +735,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -640,15 +746,16 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -660,8 +767,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -678,13 +784,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - output.writeMessage(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + output.writeMessage( + 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - output.writeMessage(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + output.writeMessage( + 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - output.writeMessage(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + output.writeMessage( + 9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i)); @@ -705,28 +814,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); } for (int i = 0; i < orgPolicy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, orgPolicy_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } { int dataSize = 0; @@ -744,44 +854,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.asset.v1p5beta1.Asset)) { return super.equals(obj); } com.google.cloud.asset.v1p5beta1.Asset other = (com.google.cloud.asset.v1p5beta1.Asset) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) 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 (!getOrgPolicyList() - .equals(other.getOrgPolicyList())) return false; - if (!getAncestorsList() - .equals(other.getAncestorsList())) return false; + if (!getOrgPolicyList().equals(other.getOrgPolicyList())) return false; + if (!getAncestorsList().equals(other.getAncestorsList())) return false; if (!getAccessContextPolicyCase().equals(other.getAccessContextPolicyCase())) return false; switch (accessContextPolicyCase_) { case 7: - if (!getAccessPolicy() - .equals(other.getAccessPolicy())) return false; + if (!getAccessPolicy().equals(other.getAccessPolicy())) return false; break; case 8: - if (!getAccessLevel() - .equals(other.getAccessLevel())) return false; + if (!getAccessLevel().equals(other.getAccessLevel())) return false; break; case 9: - if (!getServicePerimeter() - .equals(other.getServicePerimeter())) return false; + if (!getServicePerimeter().equals(other.getServicePerimeter())) return false; break; case 0: default: @@ -838,97 +939,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p5beta1.Asset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p5beta1.Asset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.Asset 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.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.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.asset.v1p5beta1.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; } /** + * + * *
    * Cloud asset. This includes all Google Cloud Platform resources,
    * Cloud IAM policies, and other non-GCP assets.
@@ -936,21 +1044,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset)
       com.google.cloud.asset.v1p5beta1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p5beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1p5beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p5beta1.Asset.class, com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
+              com.google.cloud.asset.v1p5beta1.Asset.class,
+              com.google.cloud.asset.v1p5beta1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p5beta1.Asset.newBuilder()
@@ -958,17 +1068,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) {
         getOrgPolicyFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1002,9 +1112,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p5beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -1023,7 +1133,8 @@ public com.google.cloud.asset.v1p5beta1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p5beta1.Asset buildPartial() {
-      com.google.cloud.asset.v1p5beta1.Asset result = new com.google.cloud.asset.v1p5beta1.Asset(this);
+      com.google.cloud.asset.v1p5beta1.Asset result =
+          new com.google.cloud.asset.v1p5beta1.Asset(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.assetType_ = assetType_;
@@ -1081,38 +1192,39 @@ public com.google.cloud.asset.v1p5beta1.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.asset.v1p5beta1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1p5beta1.Asset)other);
+        return mergeFrom((com.google.cloud.asset.v1p5beta1.Asset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1153,9 +1265,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1172,21 +1285,25 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.Asset other) {
         onChanged();
       }
       switch (other.getAccessContextPolicyCase()) {
-        case ACCESS_POLICY: {
-          mergeAccessPolicy(other.getAccessPolicy());
-          break;
-        }
-        case ACCESS_LEVEL: {
-          mergeAccessLevel(other.getAccessLevel());
-          break;
-        }
-        case SERVICE_PERIMETER: {
-          mergeServicePerimeter(other.getServicePerimeter());
-          break;
-        }
-        case ACCESSCONTEXTPOLICY_NOT_SET: {
-          break;
-        }
+        case ACCESS_POLICY:
+          {
+            mergeAccessPolicy(other.getAccessPolicy());
+            break;
+          }
+        case ACCESS_LEVEL:
+          {
+            mergeAccessLevel(other.getAccessLevel());
+            break;
+          }
+        case SERVICE_PERIMETER:
+          {
+            mergeServicePerimeter(other.getServicePerimeter());
+            break;
+          }
+        case ACCESSCONTEXTPOLICY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1216,12 +1333,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int accessContextPolicyCase_ = 0;
     private java.lang.Object accessContextPolicy_;
-    public AccessContextPolicyCase
-        getAccessContextPolicyCase() {
-      return AccessContextPolicyCase.forNumber(
-          accessContextPolicyCase_);
+
+    public AccessContextPolicyCase getAccessContextPolicyCase() {
+      return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
     }
 
     public Builder clearAccessContextPolicy() {
@@ -1235,6 +1352,8 @@ public Builder clearAccessContextPolicy() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1244,13 +1363,13 @@ public Builder clearAccessContextPolicy() {
      * 
* * 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; @@ -1259,6 +1378,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1268,15 +1389,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1284,6 +1404,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1293,20 +1415,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1316,15 +1440,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full name of the asset. For example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -1334,16 +1461,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; @@ -1351,18 +1478,20 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1371,20 +1500,21 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -1392,54 +1522,61 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * Type of the asset. Example: "compute.googleapis.com/Disk".
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1447,34 +1584,47 @@ public Builder setAssetTypeBytes( private com.google.cloud.asset.v1p5beta1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Resource, com.google.cloud.asset.v1p5beta1.Resource.Builder, com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> resourceBuilder_; + com.google.cloud.asset.v1p5beta1.Resource, + com.google.cloud.asset.v1p5beta1.Resource.Builder, + com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> + resourceBuilder_; /** + * + * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** + * + * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return The resource. */ public com.google.cloud.asset.v1p5beta1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * Representation of the resource.
      * 
@@ -1495,14 +1645,15 @@ public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** + * + * *
      * Representation of the resource.
      * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; */ - public Builder setResource( - com.google.cloud.asset.v1p5beta1.Resource.Builder builderForValue) { + public Builder setResource(com.google.cloud.asset.v1p5beta1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1513,6 +1664,8 @@ public Builder setResource( return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1523,7 +1676,9 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1p5beta1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p5beta1.Resource.newBuilder(resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1535,6 +1690,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p5beta1.Resource value) { return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1553,6 +1710,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * Representation of the resource.
      * 
@@ -1560,11 +1719,13 @@ public Builder clearResource() { * .google.cloud.asset.v1p5beta1.Resource resource = 3; */ public com.google.cloud.asset.v1p5beta1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * Representation of the resource.
      * 
@@ -1575,11 +1736,14 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p5beta1.Resource.getDefaultInstance() + : resource_; } } /** + * + * *
      * Representation of the resource.
      * 
@@ -1587,14 +1751,17 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() * .google.cloud.asset.v1p5beta1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Resource, com.google.cloud.asset.v1p5beta1.Resource.Builder, com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> + com.google.cloud.asset.v1p5beta1.Resource, + com.google.cloud.asset.v1p5beta1.Resource.Builder, + com.google.cloud.asset.v1p5beta1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Resource, com.google.cloud.asset.v1p5beta1.Resource.Builder, com.google.cloud.asset.v1p5beta1.ResourceOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p5beta1.Resource, + com.google.cloud.asset.v1p5beta1.Resource.Builder, + com.google.cloud.asset.v1p5beta1.ResourceOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; @@ -1602,26 +1769,35 @@ public com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder() private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + iamPolicyBuilder_; /** + * + * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** + * + * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -1632,6 +1808,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1653,6 +1831,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1660,8 +1840,7 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -1672,6 +1851,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1683,7 +1864,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -1695,6 +1876,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1714,6 +1897,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1722,11 +1907,13 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-      
+
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1738,11 +1925,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the actual Cloud IAM policy set on a cloud resource. For
      * each resource, there must be at most one Cloud IAM policy set on it.
@@ -1751,32 +1939,41 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(),
-                getParentForChildren(),
-                isClean());
+        iamPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(), getParentForChildren(), isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
     private java.util.List orgPolicy_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> orgPolicyBuilder_;
+            com.google.cloud.orgpolicy.v1.Policy,
+            com.google.cloud.orgpolicy.v1.Policy.Builder,
+            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
+        orgPolicyBuilder_;
 
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1793,6 +1990,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1809,6 +2008,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1825,6 +2026,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1833,8 +2036,7 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder setOrgPolicy(
-        int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1848,6 +2050,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1868,6 +2072,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1890,6 +2096,8 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1898,8 +2106,7 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(
-        int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1913,6 +2120,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1921,8 +2130,7 @@ public Builder addOrgPolicy(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(
-        com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
+    public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
         orgPolicy_.add(builderForValue.build());
@@ -1933,6 +2141,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1953,6 +2163,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1965,8 +2177,7 @@ public Builder addAllOrgPolicy(
         java.lang.Iterable values) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, orgPolicy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicy_);
         onChanged();
       } else {
         orgPolicyBuilder_.addAllMessages(values);
@@ -1974,6 +2185,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -1993,6 +2206,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2012,6 +2227,8 @@ public Builder removeOrgPolicy(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2020,11 +2237,12 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
-        int index) {
+    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int index) {
       return getOrgPolicyFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2033,14 +2251,16 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-        int index) {
+    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
       if (orgPolicyBuilder_ == null) {
-        return orgPolicy_.get(index);  } else {
+        return orgPolicy_.get(index);
+      } else {
         return orgPolicyBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2049,8 +2269,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List 
-         getOrgPolicyOrBuilderList() {
+    public java.util.List
+        getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -2058,6 +2278,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2067,10 +2289,12 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
     public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
-      return getOrgPolicyFieldBuilder().addBuilder(
-          com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+      return getOrgPolicyFieldBuilder()
+          .addBuilder(com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2079,12 +2303,13 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
-        int index) {
-      return getOrgPolicyFieldBuilder().addBuilder(
-          index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int index) {
+      return getOrgPolicyFieldBuilder()
+          .addBuilder(index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Representation of the Cloud Organization Policy set on an asset. For each
      * asset, there could be multiple Organization policies with different
@@ -2093,29 +2318,35 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List 
-         getOrgPolicyBuilderList() {
+    public java.util.List getOrgPolicyBuilderList() {
       return getOrgPolicyFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 
+            com.google.cloud.orgpolicy.v1.Policy,
+            com.google.cloud.orgpolicy.v1.Policy.Builder,
+            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
         getOrgPolicyFieldBuilder() {
       if (orgPolicyBuilder_ == null) {
-        orgPolicyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
-                orgPolicy_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        orgPolicyBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.orgpolicy.v1.Policy,
+                com.google.cloud.orgpolicy.v1.Policy.Builder,
+                com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
+                orgPolicy_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> accessPolicyBuilder_;
+            com.google.identity.accesscontextmanager.v1.AccessPolicy,
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
+        accessPolicyBuilder_;
     /**
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     *
      * @return Whether the accessPolicy field is set.
      */
     @java.lang.Override
@@ -2124,6 +2355,7 @@ public boolean hasAccessPolicy() {
     }
     /**
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+     *
      * @return The accessPolicy.
      */
     @java.lang.Override
@@ -2140,9 +2372,7 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
         return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
       }
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
     public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
         if (value == null) {
@@ -2156,9 +2386,7 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       accessContextPolicyCase_ = 7;
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
     public Builder setAccessPolicy(
         com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue) {
       if (accessPolicyBuilder_ == null) {
@@ -2170,15 +2398,19 @@ public Builder setAccessPolicy(
       accessContextPolicyCase_ = 7;
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
-    public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    public Builder mergeAccessPolicy(
+        com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
-        if (accessContextPolicyCase_ == 7 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 7
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2193,9 +2425,7 @@ public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.Acc
       accessContextPolicyCase_ = 7;
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
     public Builder clearAccessPolicy() {
       if (accessPolicyBuilder_ == null) {
         if (accessContextPolicyCase_ == 7) {
@@ -2212,17 +2442,15 @@ public Builder clearAccessPolicy() {
       }
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
-    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder() {
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
+    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
+        getAccessPolicyBuilder() {
       return getAccessPolicyFieldBuilder().getBuilder();
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
+        getAccessPolicyOrBuilder() {
       if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
         return accessPolicyBuilder_.getMessageOrBuilder();
       } else {
@@ -2232,32 +2460,41 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
         return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
       }
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.AccessPolicy,
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
         getAccessPolicyFieldBuilder() {
       if (accessPolicyBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 7)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
         }
-        accessPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
+        accessPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.AccessPolicy,
+                com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+                com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 7;
-      onChanged();;
+      onChanged();
+      ;
       return accessPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> accessLevelBuilder_;
+            com.google.identity.accesscontextmanager.v1.AccessLevel,
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
+        accessLevelBuilder_;
     /**
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     *
      * @return Whether the accessLevel field is set.
      */
     @java.lang.Override
@@ -2266,6 +2503,7 @@ public boolean hasAccessLevel() {
     }
     /**
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+     *
      * @return The accessLevel.
      */
     @java.lang.Override
@@ -2282,9 +2520,7 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
         return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
       }
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
         if (value == null) {
@@ -2298,9 +2534,7 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       accessContextPolicyCase_ = 8;
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     public Builder setAccessLevel(
         com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue) {
       if (accessLevelBuilder_ == null) {
@@ -2312,15 +2546,18 @@ public Builder setAccessLevel(
       accessContextPolicyCase_ = 8;
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
-        if (accessContextPolicyCase_ == 8 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 8
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.AccessLevel)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2335,9 +2572,7 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       accessContextPolicyCase_ = 8;
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     public Builder clearAccessLevel() {
       if (accessLevelBuilder_ == null) {
         if (accessContextPolicyCase_ == 8) {
@@ -2354,17 +2589,14 @@ public Builder clearAccessLevel() {
       }
       return this;
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccessLevelBuilder() {
       return getAccessLevelFieldBuilder().getBuilder();
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
+        getAccessLevelOrBuilder() {
       if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
         return accessLevelBuilder_.getMessageOrBuilder();
       } else {
@@ -2374,32 +2606,41 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
         return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
       }
     }
-    /**
-     * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-     */
+    /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.AccessLevel,
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
         getAccessLevelFieldBuilder() {
       if (accessLevelBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 8)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
         }
-        accessLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
+        accessLevelBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.AccessLevel,
+                com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+                com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 8;
-      onChanged();;
+      onChanged();
+      ;
       return accessLevelBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> servicePerimeterBuilder_;
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
+        servicePerimeterBuilder_;
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+     *
      * @return Whether the servicePerimeter field is set.
      */
     @java.lang.Override
@@ -2408,13 +2649,15 @@ public boolean hasServicePerimeter() {
     }
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+     *
      * @return The servicePerimeter.
      */
     @java.lang.Override
     public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() {
       if (servicePerimeterBuilder_ == null) {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+              accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       } else {
@@ -2427,7 +2670,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder setServicePerimeter(
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2457,12 +2701,19 @@ public Builder setServicePerimeter(
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder mergeServicePerimeter(
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
-        if (accessContextPolicyCase_ == 9 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 9
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.ServicePerimeter
+                    .getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2499,19 +2750,22 @@ public Builder clearServicePerimeter() {
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
+        getServicePerimeterBuilder() {
       return getServicePerimeterFieldBuilder().getBuilder();
     }
     /**
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+        getServicePerimeterOrBuilder() {
       if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
         return servicePerimeterBuilder_.getMessageOrBuilder();
       } else {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+              accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       }
@@ -2520,32 +2774,43 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
         getServicePerimeterFieldBuilder() {
       if (servicePerimeterBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 9)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
         }
-        servicePerimeterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
+        servicePerimeterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+                com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+                com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 9;
-      onChanged();;
+      onChanged();
+      ;
       return servicePerimeterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList ancestors_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAncestorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2555,13 +2820,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2571,12 +2838,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2586,6 +2856,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -2593,6 +2864,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2602,14 +2875,16 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2619,21 +2894,23 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; + * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors( - int index, java.lang.String value) { + public Builder setAncestors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2643,20 +2920,22 @@ public Builder setAncestors(
      * 
* * repeated string ancestors = 10; + * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors( - java.lang.String value) { + public Builder addAncestors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2666,18 +2945,19 @@ public Builder addAncestors(
      * 
* * repeated string ancestors = 10; + * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors( - java.lang.Iterable values) { + public Builder addAllAncestors(java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); onChanged(); return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2687,6 +2967,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -2696,6 +2977,8 @@ public Builder clearAncestors() { return this; } /** + * + * *
      * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
      * represented as a list of relative resource names. Ancestry path starts with
@@ -2705,23 +2988,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 10; + * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -2731,12 +3014,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.Asset) private static final com.google.cloud.asset.v1p5beta1.Asset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.Asset(); } @@ -2745,16 +3028,16 @@ public static com.google.cloud.asset.v1p5beta1.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; @@ -2769,6 +3052,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java similarity index 84% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java index c54c20d16..7deffbed1 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/assets.proto package com.google.cloud.asset.v1p5beta1; -public interface AssetOrBuilder extends +public interface AssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.Asset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -17,10 +35,13 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full name of the asset. For example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
@@ -30,50 +51,63 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * Type of the asset. Example: "compute.googleapis.com/Disk".
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * Representation of the resource.
    * 
* * .google.cloud.asset.v1p5beta1.Resource resource = 3; + * * @return The resource. */ com.google.cloud.asset.v1p5beta1.Resource getResource(); /** + * + * *
    * Representation of the resource.
    * 
@@ -83,26 +117,34 @@ public interface AssetOrBuilder extends com.google.cloud.asset.v1p5beta1.ResourceOrBuilder getResourceOrBuilder(); /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** + * + * *
    * Representation of the actual Cloud IAM policy set on a cloud resource. For
    * each resource, there must be at most one Cloud IAM policy set on it.
@@ -113,6 +155,8 @@ public interface AssetOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -121,9 +165,10 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List 
-      getOrgPolicyList();
+  java.util.List getOrgPolicyList();
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -134,6 +179,8 @@ public interface AssetOrBuilder extends
    */
   com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index);
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -144,6 +191,8 @@ public interface AssetOrBuilder extends
    */
   int getOrgPolicyCount();
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -152,9 +201,11 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List 
+  java.util.List
       getOrgPolicyOrBuilderList();
   /**
+   *
+   *
    * 
    * Representation of the Cloud Organization Policy set on an asset. For each
    * asset, there could be multiple Organization policies with different
@@ -163,55 +214,59 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
 
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+   *
    * @return Whether the accessPolicy field is set.
    */
   boolean hasAccessPolicy();
   /**
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+   *
    * @return The accessPolicy.
    */
   com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy();
-  /**
-   * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
-   */
+  /** .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; */
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+   *
    * @return Whether the accessLevel field is set.
    */
   boolean hasAccessLevel();
   /**
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+   *
    * @return The accessLevel.
    */
   com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel();
-  /**
-   * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
-   */
+  /** .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; */
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+   *
    * @return Whether the servicePerimeter field is set.
    */
   boolean hasServicePerimeter();
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+   *
    * @return The servicePerimeter.
    */
   com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter();
   /**
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
-  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder();
+  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+      getServicePerimeterOrBuilder();
 
   /**
+   *
+   *
    * 
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -221,11 +276,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - java.util.List - getAncestorsList(); + java.util.List getAncestorsList(); /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -235,10 +292,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ int getAncestorsCount(); /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -248,11 +308,14 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** + * + * *
    * Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
    * represented as a list of relative resource names. Ancestry path starts with
@@ -262,11 +325,12 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString - getAncestorsBytes(int index); + com.google.protobuf.ByteString getAncestorsBytes(int index); - public com.google.cloud.asset.v1p5beta1.Asset.AccessContextPolicyCase getAccessContextPolicyCase(); + public com.google.cloud.asset.v1p5beta1.Asset.AccessContextPolicyCase + getAccessContextPolicyCase(); } diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java new file mode 100644 index 000000000..de33750c1 --- /dev/null +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java @@ -0,0 +1,141 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p5beta1/assets.proto + +package com.google.cloud.asset.v1p5beta1; + +public final class AssetProto { + private AssetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p5beta1_Asset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/asset/v1p5beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p5beta1\032\034googl" + + "e/api/annotations.proto\032\031google/api/reso" + + "urce.proto\032)google/cloud/orgpolicy/v1/or" + + "gpolicy.proto\032\032google/iam/v1/policy.prot" + + "o\032:google/identity/accesscontextmanager/" + + "v1/access_level.proto\032;google/identity/a" + + "ccesscontextmanager/v1/access_policy.pro" + + "to\032?google/identity/accesscontextmanager" + + "/v1/service_perimeter.proto\032\031google/prot" + + "obuf/any.proto\032\034google/protobuf/struct.p" + + "roto\032\037google/protobuf/timestamp.proto\"\220\004" + + "\n\005Asset\022\014\n\004name\030\001 \001(\t\022\022\n\nasset_type\030\002 \001(" + + "\t\0228\n\010resource\030\003 \001(\0132&.google.cloud.asset" + + ".v1p5beta1.Resource\022)\n\niam_policy\030\004 \001(\0132" + + "\025.google.iam.v1.Policy\0225\n\norg_policy\030\006 \003" + + "(\0132!.google.cloud.orgpolicy.v1.Policy\022N\n" + + "\raccess_policy\030\007 \001(\01325.google.identity.a" + + "ccesscontextmanager.v1.AccessPolicyH\000\022L\n" + + "\014access_level\030\010 \001(\01324.google.identity.ac" + + "cesscontextmanager.v1.AccessLevelH\000\022V\n\021s" + + "ervice_perimeter\030\t \001(\01329.google.identity" + + ".accesscontextmanager.v1.ServicePerimete" + + "rH\000\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." + + "googleapis.com/Asset\022\001*B\027\n\025access_contex" + + "t_policy\"\240\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" + + "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" + + "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" + + "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" + + "obuf.StructB\264\001\n com.google.cloud.asset.v" + + "1p5beta1B\nAssetProtoP\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/asset/v1p5be" + + "ta1;asset\370\001\001\252\002\034Google.Cloud.Asset.V1p5Be" + + "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p5beta1_Asset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_Asset_descriptor, + new java.lang.String[] { + "Name", + "AssetType", + "Resource", + "IamPolicy", + "OrgPolicy", + "AccessPolicy", + "AccessLevel", + "ServicePerimeter", + "Ancestors", + "AccessContextPolicy", + }); + internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor, + new java.lang.String[] { + "Version", "DiscoveryDocumentUri", "DiscoveryName", "ResourceUrl", "Parent", "Data", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java new file mode 100644 index 000000000..608622bdb --- /dev/null +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java @@ -0,0 +1,120 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p5beta1/asset_service.proto + +package com.google.cloud.asset.v1p5beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p5beta1_ListAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_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/asset/v1p5beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p5beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032)google/cloud/asset/v1p5beta1/a" + + "ssets.proto\032\037google/protobuf/timestamp.p" + + "roto\"\324\001\n\021ListAssetsRequest\022\023\n\006parent\030\001 \001" + + "(\tB\003\340A\002\022-\n\tread_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t\022?\n\014c" + + "ontent_type\030\004 \001(\0162).google.cloud.asset.v" + + "1p5beta1.ContentType\022\021\n\tpage_size\030\005 \001(\005\022" + + "\022\n\npage_token\030\006 \001(\t\"\221\001\n\022ListAssetsRespon" + + "se\022-\n\tread_time\030\001 \001(\0132\032.google.protobuf." + + "Timestamp\0223\n\006assets\030\002 \003(\0132#.google.cloud" + + ".asset.v1p5beta1.Asset\022\027\n\017next_page_toke" + + "n\030\003 \001(\t*l\n\013ContentType\022\034\n\030CONTENT_TYPE_U" + + "NSPECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY" + + "\020\002\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\0052\367\001" + + "\n\014AssetService\022\227\001\n\nListAssets\022/.google.c" + + "loud.asset.v1p5beta1.ListAssetsRequest\0320" + + ".google.cloud.asset.v1p5beta1.ListAssets" + + "Response\"&\202\323\344\223\002 \022\036/v1p5beta1/{parent=*/*" + + "}/assets\032M\312A\031cloudasset.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\270\001\n com.google.cloud.asset.v1p5b" + + "eta1B\021AssetServiceProtoP\001ZAgoogle.golang" + + ".org/genproto/googleapis/cloud/asset/v1p" + + "5beta1;asset\252\002\034Google.Cloud.Asset.V1P5Be" + + "ta1\312\002\034Google\\Cloud\\Asset\\V1p5beta1b\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor, + new java.lang.String[] { + "Parent", "ReadTime", "AssetTypes", "ContentType", "PageSize", "PageToken", + }); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor, + new java.lang.String[] { + "ReadTime", "Assets", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.asset.v1p5beta1.AssetProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java similarity index 69% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java index edc9ca3e0..fed8739eb 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ContentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; /** + * + * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1p5beta1.ContentType} */ -public enum ContentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified content type.
    * 
@@ -21,6 +39,8 @@ public enum ContentType */ CONTENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource metadata.
    * 
@@ -29,6 +49,8 @@ public enum ContentType */ RESOURCE(1), /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -37,6 +59,8 @@ public enum ContentType */ IAM_POLICY(2), /** + * + * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -45,6 +69,8 @@ public enum ContentType */ ORG_POLICY(4), /** + * + * *
    * The Cloud Access context mananger Policy set on an asset.
    * 
@@ -56,6 +82,8 @@ public enum ContentType ; /** + * + * *
    * Unspecified content type.
    * 
@@ -64,6 +92,8 @@ public enum ContentType */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource metadata.
    * 
@@ -72,6 +102,8 @@ public enum ContentType */ public static final int RESOURCE_VALUE = 1; /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -80,6 +112,8 @@ public enum ContentType */ public static final int IAM_POLICY_VALUE = 2; /** + * + * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -88,6 +122,8 @@ public enum ContentType */ public static final int ORG_POLICY_VALUE = 4; /** + * + * *
    * The Cloud Access context mananger Policy set on an asset.
    * 
@@ -96,7 +132,6 @@ public enum ContentType */ public static final int ACCESS_POLICY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -121,51 +156,53 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: return CONTENT_TYPE_UNSPECIFIED; - case 1: return RESOURCE; - case 2: return IAM_POLICY; - case 4: return ORG_POLICY; - case 5: return ACCESS_POLICY; - default: return null; + case 0: + return CONTENT_TYPE_UNSPECIFIED; + case 1: + return RESOURCE; + case 2: + return IAM_POLICY; + case 4: + return ORG_POLICY; + case 5: + return ACCESS_POLICY; + 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< - ContentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.asset.v1p5beta1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType 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; @@ -181,4 +218,3 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1p5beta1.ContentType) } - diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java similarity index 78% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java index b5cfe3b32..ae570bd57 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; /** + * + * *
  * ListAssets request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsRequest} */ -public final class ListAssetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p5beta1.ListAssetsRequest) ListAssetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetsRequest.newBuilder() to construct. private ListAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -28,16 +46,15 @@ private ListAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,58 +74,64 @@ private ListAssetsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.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(); + parent_ = s; + 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 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - assetTypes_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); - - contentType_ = rawValue; - break; - } - case 40: { + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; + } + case 32: + { + int rawValue = input.readEnum(); - pageSize_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + contentType_ = rawValue; + break; + } + case 40: + { + pageSize_ = input.readInt32(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,8 +139,7 @@ private ListAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -126,22 +148,27 @@ private ListAssetsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, + com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -150,6 +177,7 @@ private ListAssetsRequest(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -158,14 +186,15 @@ 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 or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -174,16 +203,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -194,6 +222,8 @@ public java.lang.String getParent() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -203,6 +233,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -210,6 +241,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -219,6 +252,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -226,6 +260,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -244,6 +280,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -253,13 +291,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -269,12 +309,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -284,6 +327,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -291,6 +335,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -300,52 +346,64 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p5beta1.ContentType result = + com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p5beta1.ContentType.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** + * + * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -356,6 +414,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -363,6 +423,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -371,14 +432,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -386,16 +448,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; + * * @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 { @@ -404,6 +465,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -415,8 +477,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -426,7 +487,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (pageSize_ != 0) { @@ -448,8 +510,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -459,13 +520,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, contentType_); + if (contentType_ + != com.google.cloud.asset.v1p5beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -478,27 +538,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p5beta1.ListAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p5beta1.ListAssetsRequest other = (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) obj; + com.google.cloud.asset.v1p5beta1.ListAssetsRequest other = + (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) 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 (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -532,117 +588,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.nio.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.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p5beta1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( - byte[] data, - com.google.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.asset.v1p5beta1.ListAssetsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p5beta1.ListAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p5beta1.ListAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListAssets request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p5beta1.ListAssetsRequest) com.google.cloud.asset.v1p5beta1.ListAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsRequest.class, + com.google.cloud.asset.v1p5beta1.ListAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p5beta1.ListAssetsRequest.newBuilder() @@ -650,16 +715,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -683,9 +747,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsRequest_descriptor; } @java.lang.Override @@ -704,7 +768,8 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1p5beta1.ListAssetsRequest buildPartial() { - com.google.cloud.asset.v1p5beta1.ListAssetsRequest result = new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(this); + com.google.cloud.asset.v1p5beta1.ListAssetsRequest result = + new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -728,38 +793,39 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p5beta1.ListAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsRequest)other); + return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsRequest) other); } else { super.mergeFrom(other); return this; @@ -767,7 +833,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsRequest other) { - if (other == com.google.cloud.asset.v1p5beta1.ListAssetsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p5beta1.ListAssetsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -814,7 +881,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p5beta1.ListAssetsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -823,10 +891,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -835,13 +906,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -850,6 +921,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -858,15 +931,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -874,6 +946,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -882,20 +956,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -904,15 +980,18 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Name of the organization or project the assets belong to. Format:
      * "organizations/[organization-number]" (such as "organizations/123"),
@@ -921,16 +1000,16 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -938,8 +1017,13 @@ public Builder setParentBytes( 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_; /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -949,12 +1033,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -964,6 +1051,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -974,6 +1062,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -998,6 +1088,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1008,8 +1100,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1020,6 +1111,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1034,7 +1127,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;
         }
@@ -1046,6 +1139,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1068,6 +1163,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1079,11 +1176,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1098,11 +1197,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -1114,27 +1214,34 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList assetTypes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1144,13 +1251,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1160,12 +1269,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1175,6 +1287,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1182,6 +1295,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1191,14 +1306,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1208,21 +1325,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1232,20 +1351,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1255,18 +1376,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1276,6 +1398,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1285,6 +1408,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types of which to take a snapshot for. For  example:
      * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -1294,15 +1419,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1311,55 +1436,69 @@ public Builder addAssetTypesBytes( private int contentType_ = 0; /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1p5beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p5beta1.ContentType result = com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p5beta1.ContentType result = + com.google.cloud.asset.v1p5beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p5beta1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1367,35 +1506,41 @@ public Builder setContentType(com.google.cloud.asset.v1p5beta1.ContentType value if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will
      * be returned.
      * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -1403,32 +1548,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; + * * @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 assets to be returned in a single response. Default
      * is 100, minimum is 1, and maximum is 1000.
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1436,6 +1587,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1443,13 +1596,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; + * * @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; @@ -1458,6 +1611,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1465,15 +1620,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @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 { @@ -1481,6 +1635,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1488,20 +1644,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1509,15 +1667,18 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The `next_page_token` returned from the previous `ListAssetsResponse`, or
      * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -1525,23 +1686,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1551,12 +1712,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.ListAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.ListAssetsRequest) private static final com.google.cloud.asset.v1p5beta1.ListAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.ListAssetsRequest(); } @@ -1565,16 +1726,16 @@ public static com.google.cloud.asset.v1p5beta1.ListAssetsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1589,6 +1750,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java similarity index 85% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java index 38c78bebe..2268b978f 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; -public interface ListAssetsRequestOrBuilder extends +public interface ListAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.ListAssetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -16,10 +34,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Name of the organization or project the assets belong to. Format:
    * "organizations/[organization-number]" (such as "organizations/123"),
@@ -28,12 +49,14 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -43,10 +66,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -56,10 +82,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between 2018-10-02 UTC (inclusive) and the current time. If not specified,
@@ -73,6 +102,8 @@ public interface ListAssetsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -82,11 +113,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -96,10 +129,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -109,11 +145,14 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * A list of asset types of which to take a snapshot for. For  example:
    * "compute.googleapis.com/Disk". If specified, only matching assets will be
@@ -123,45 +162,56 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will
    * be returned.
    * 
* * .google.cloud.asset.v1p5beta1.ContentType content_type = 4; + * * @return The contentType. */ com.google.cloud.asset.v1p5beta1.ContentType getContentType(); /** + * + * *
    * The maximum number of assets to be returned in a single response. Default
    * is 100, minimum is 1, and maximum is 1000.
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -169,10 +219,13 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `next_page_token` returned from the previous `ListAssetsResponse`, or
    * unspecified for the first `ListAssetsRequest`. It is a continuation of a
@@ -180,8 +233,8 @@ public interface ListAssetsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java similarity index 73% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java index 20fa08484..c7122683d 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; /** + * + * *
  * ListAssets response.
  * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsResponse} */ -public final class ListAssetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAssetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p5beta1.ListAssetsResponse) ListAssetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAssetsResponse.newBuilder() to construct. private ListAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAssetsResponse() { assets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListAssetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAssetsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListAssetsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,41 +72,46 @@ private ListAssetsResponse( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); + case 10: + { + 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; } - readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assets_.add( + input.readMessage( + com.google.cloud.asset.v1p5beta1.Asset.parser(), extensionRegistry)); + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + nextPageToken_ = s; + break; } - assets_.add( - input.readMessage(com.google.cloud.asset.v1p5beta1.Asset.parser(), extensionRegistry)); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,8 +119,7 @@ private ListAssetsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -107,27 +128,33 @@ private ListAssetsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); } public static final int READ_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -135,11 +162,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -147,6 +177,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -161,6 +193,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** + * + * *
    * Assets.
    * 
@@ -172,6 +206,8 @@ public java.util.List getAssetsList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -179,11 +215,13 @@ public java.util.List getAssetsList() { * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** + * + * *
    * Assets.
    * 
@@ -195,6 +233,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * Assets.
    * 
@@ -206,6 +246,8 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * Assets.
    * 
@@ -213,20 +255,22 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Token to retrieve the next page of results. Set to empty if there are no
    * remaining results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -235,30 +279,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. Set to empty if there are no
    * remaining 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 { @@ -267,6 +311,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +323,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (readTime_ != null) { output.writeMessage(1, getReadTime()); } @@ -299,12 +343,10 @@ public int getSerializedSize() { size = 0; if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); @@ -317,22 +359,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p5beta1.ListAssetsResponse)) { return super.equals(obj); } - com.google.cloud.asset.v1p5beta1.ListAssetsResponse other = (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) obj; + com.google.cloud.asset.v1p5beta1.ListAssetsResponse other = + (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) obj; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; } - if (!getAssetsList() - .equals(other.getAssetsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAssetsList().equals(other.getAssetsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,117 +400,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.nio.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.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p5beta1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( - byte[] data, - com.google.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.asset.v1p5beta1.ListAssetsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p5beta1.ListAssetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p5beta1.ListAssetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p5beta1.ListAssetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListAssets response.
    * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.ListAssetsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p5beta1.ListAssetsResponse) com.google.cloud.asset.v1p5beta1.ListAssetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.class, + com.google.cloud.asset.v1p5beta1.ListAssetsResponse.Builder.class); } // Construct using com.google.cloud.asset.v1p5beta1.ListAssetsResponse.newBuilder() @@ -478,17 +527,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) { getAssetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -510,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p5beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p5beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p5beta1_ListAssetsResponse_descriptor; } @java.lang.Override @@ -531,7 +580,8 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsResponse build() { @java.lang.Override public com.google.cloud.asset.v1p5beta1.ListAssetsResponse buildPartial() { - com.google.cloud.asset.v1p5beta1.ListAssetsResponse result = new com.google.cloud.asset.v1p5beta1.ListAssetsResponse(this); + com.google.cloud.asset.v1p5beta1.ListAssetsResponse result = + new com.google.cloud.asset.v1p5beta1.ListAssetsResponse(this); int from_bitField0_ = bitField0_; if (readTimeBuilder_ == null) { result.readTime_ = readTime_; @@ -556,38 +606,39 @@ public com.google.cloud.asset.v1p5beta1.ListAssetsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p5beta1.ListAssetsResponse) { - return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsResponse)other); + return mergeFrom((com.google.cloud.asset.v1p5beta1.ListAssetsResponse) other); } else { super.mergeFrom(other); return this; @@ -595,7 +646,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsResponse other) { - if (other == com.google.cloud.asset.v1p5beta1.ListAssetsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p5beta1.ListAssetsResponse.getDefaultInstance()) + return this; if (other.hasReadTime()) { mergeReadTime(other.getReadTime()); } @@ -617,9 +669,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p5beta1.ListAssetsResponse oth assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -648,7 +701,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p5beta1.ListAssetsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -657,28 +711,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; 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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -689,6 +753,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -709,14 +775,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -727,6 +794,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -737,7 +806,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; } @@ -749,6 +818,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -767,6 +838,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -774,11 +847,13 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -789,11 +864,12 @@ 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 the snapshot was taken.
      * 
@@ -801,32 +877,41 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; } private java.util.List assets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Asset, com.google.cloud.asset.v1p5beta1.Asset.Builder, com.google.cloud.asset.v1p5beta1.AssetOrBuilder> assetsBuilder_; + com.google.cloud.asset.v1p5beta1.Asset, + com.google.cloud.asset.v1p5beta1.Asset.Builder, + com.google.cloud.asset.v1p5beta1.AssetOrBuilder> + assetsBuilder_; /** + * + * *
      * Assets.
      * 
@@ -841,6 +926,8 @@ public java.util.List getAssetsList() { } } /** + * + * *
      * Assets.
      * 
@@ -855,6 +942,8 @@ public int getAssetsCount() { } } /** + * + * *
      * Assets.
      * 
@@ -869,14 +958,15 @@ public com.google.cloud.asset.v1p5beta1.Asset getAssets(int index) { } } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1p5beta1.Asset value) { + public Builder setAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -890,6 +980,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -908,6 +1000,8 @@ public Builder setAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -928,14 +1022,15 @@ public Builder addAssets(com.google.cloud.asset.v1p5beta1.Asset value) { return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1p5beta1.Asset value) { + public Builder addAssets(int index, com.google.cloud.asset.v1p5beta1.Asset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -949,14 +1044,15 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public Builder addAssets( - com.google.cloud.asset.v1p5beta1.Asset.Builder builderForValue) { + public Builder addAssets(com.google.cloud.asset.v1p5beta1.Asset.Builder builderForValue) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); assets_.add(builderForValue.build()); @@ -967,6 +1063,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -985,6 +1083,8 @@ public Builder addAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -995,8 +1095,7 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -1004,6 +1103,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * Assets.
      * 
@@ -1021,6 +1122,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * Assets.
      * 
@@ -1038,39 +1141,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public com.google.cloud.asset.v1p5beta1.Asset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.asset.v1p5beta1.Asset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int index) { if (assetsBuilder_ == null) { - return assets_.get(index); } else { + return assets_.get(index); + } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1078,6 +1186,8 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( } } /** + * + * *
      * Assets.
      * 
@@ -1085,42 +1195,47 @@ public com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); + public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1p5beta1.Asset.getDefaultInstance()); } /** + * + * *
      * Assets.
      * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Asset, com.google.cloud.asset.v1p5beta1.Asset.Builder, com.google.cloud.asset.v1p5beta1.AssetOrBuilder> + com.google.cloud.asset.v1p5beta1.Asset, + com.google.cloud.asset.v1p5beta1.Asset.Builder, + com.google.cloud.asset.v1p5beta1.AssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p5beta1.Asset, com.google.cloud.asset.v1p5beta1.Asset.Builder, com.google.cloud.asset.v1p5beta1.AssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p5beta1.Asset, + com.google.cloud.asset.v1p5beta1.Asset.Builder, + com.google.cloud.asset.v1p5beta1.AssetOrBuilder>( + assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; @@ -1128,19 +1243,21 @@ public com.google.cloud.asset.v1p5beta1.Asset.Builder addAssetsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Token to retrieve the next page of results. Set to empty if there are no
      * remaining 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; @@ -1149,21 +1266,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. Set to empty if there are no
      * remaining 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 { @@ -1171,64 +1289,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results. Set to empty if there are no
      * remaining 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. Set to empty if there are no
      * remaining 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. Set to empty if there are no
      * remaining 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1238,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.ListAssetsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.ListAssetsResponse) private static final com.google.cloud.asset.v1p5beta1.ListAssetsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.ListAssetsResponse(); } @@ -1252,16 +1377,16 @@ public static com.google.cloud.asset.v1p5beta1.ListAssetsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAssetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListAssetsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAssetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListAssetsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1276,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p5beta1.ListAssetsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java index 89435126e..0e39d6a33 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ListAssetsResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/asset_service.proto package com.google.cloud.asset.v1p5beta1; -public interface ListAssetsResponseOrBuilder extends +public interface ListAssetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.ListAssetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -35,15 +59,18 @@ public interface ListAssetsResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** + * + * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - java.util.List - getAssetsList(); + java.util.List getAssetsList(); /** + * + * *
    * Assets.
    * 
@@ -52,6 +79,8 @@ public interface ListAssetsResponseOrBuilder extends */ com.google.cloud.asset.v1p5beta1.Asset getAssets(int index); /** + * + * *
    * Assets.
    * 
@@ -60,43 +89,51 @@ public interface ListAssetsResponseOrBuilder extends */ int getAssetsCount(); /** + * + * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * Assets.
    * 
* * repeated .google.cloud.asset.v1p5beta1.Asset assets = 2; */ - com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.asset.v1p5beta1.AssetOrBuilder getAssetsOrBuilder(int index); /** + * + * *
    * Token to retrieve the next page of results. Set to empty if there are no
    * remaining results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results. Set to empty if there are no
    * remaining results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java similarity index 76% rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java index 1a5a85b82..f77c0ca6a 100644 --- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java +++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/Resource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p5beta1/assets.proto package com.google.cloud.asset.v1p5beta1; /** + * + * *
  * Representation of a cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.Resource} */ -public final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Resource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p5beta1.Resource) ResourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -29,16 +47,15 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,56 +74,62 @@ private Resource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 50: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); + parent_ = s; + break; } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,34 +137,39 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetProto + .internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetProto + .internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.Resource.class, com.google.cloud.asset.v1p5beta1.Resource.Builder.class); + com.google.cloud.asset.v1p5beta1.Resource.class, + com.google.cloud.asset.v1p5beta1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -150,29 +178,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; } } /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @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 { @@ -183,6 +211,8 @@ public java.lang.String getVersion() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -192,6 +222,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -200,14 +231,15 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -217,16 +249,15 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -237,6 +268,8 @@ public java.lang.String getDiscoveryDocumentUri() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -244,6 +277,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -252,14 +286,15 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -267,16 +302,15 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -287,6 +321,8 @@ public java.lang.String getDiscoveryName() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -296,6 +332,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -304,14 +341,15 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -321,16 +359,15 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -341,6 +378,8 @@ public java.lang.String getResourceUrl() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -354,6 +393,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -362,14 +402,15 @@ 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 full name of the immediate parent of this resource. See
    * [Resource
@@ -383,16 +424,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; + * * @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 { @@ -403,12 +443,15 @@ public java.lang.String getParent() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ @java.lang.Override @@ -416,12 +459,15 @@ public boolean hasData() { return data_ != null; } /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ @java.lang.Override @@ -429,6 +475,8 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
@@ -442,6 +490,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +502,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_);
     }
@@ -498,8 +546,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_);
     }
     if (data_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getData());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -509,27 +556,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.asset.v1p5beta1.Resource)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p5beta1.Resource other = (com.google.cloud.asset.v1p5beta1.Resource) obj;
-
-    if (!getVersion()
-        .equals(other.getVersion())) return false;
-    if (!getDiscoveryDocumentUri()
-        .equals(other.getDiscoveryDocumentUri())) return false;
-    if (!getDiscoveryName()
-        .equals(other.getDiscoveryName())) return false;
-    if (!getResourceUrl()
-        .equals(other.getResourceUrl())) return false;
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    com.google.cloud.asset.v1p5beta1.Resource other =
+        (com.google.cloud.asset.v1p5beta1.Resource) obj;
+
+    if (!getVersion().equals(other.getVersion())) return false;
+    if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false;
+    if (!getDiscoveryName().equals(other.getDiscoveryName())) return false;
+    if (!getResourceUrl().equals(other.getResourceUrl())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasData() != other.hasData()) return false;
     if (hasData()) {
-      if (!getData()
-          .equals(other.getData())) return false;
+      if (!getData().equals(other.getData())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -561,118 +603,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1p5beta1.Resource parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p5beta1.Resource parseFrom(
-      byte[] data,
-      com.google.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.asset.v1p5beta1.Resource 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.asset.v1p5beta1.Resource parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p5beta1.Resource parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p5beta1.Resource parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p5beta1.Resource parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p5beta1.Resource parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1p5beta1.Resource parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1p5beta1.Resource prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 a cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p5beta1.Resource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p5beta1.Resource) com.google.cloud.asset.v1p5beta1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p5beta1.AssetProto + .internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p5beta1.AssetProto + .internal_static_google_cloud_asset_v1p5beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p5beta1.Resource.class, com.google.cloud.asset.v1p5beta1.Resource.Builder.class); + com.google.cloud.asset.v1p5beta1.Resource.class, + com.google.cloud.asset.v1p5beta1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1p5beta1.Resource.newBuilder() @@ -680,16 +731,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -713,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p5beta1.AssetProto.internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p5beta1.AssetProto + .internal_static_google_cloud_asset_v1p5beta1_Resource_descriptor; } @java.lang.Override @@ -734,7 +784,8 @@ public com.google.cloud.asset.v1p5beta1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1p5beta1.Resource buildPartial() { - com.google.cloud.asset.v1p5beta1.Resource result = new com.google.cloud.asset.v1p5beta1.Resource(this); + com.google.cloud.asset.v1p5beta1.Resource result = + new com.google.cloud.asset.v1p5beta1.Resource(this); result.version_ = version_; result.discoveryDocumentUri_ = discoveryDocumentUri_; result.discoveryName_ = discoveryName_; @@ -753,38 +804,39 @@ public com.google.cloud.asset.v1p5beta1.Resource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p5beta1.Resource) { - return mergeFrom((com.google.cloud.asset.v1p5beta1.Resource)other); + return mergeFrom((com.google.cloud.asset.v1p5beta1.Resource) other); } else { super.mergeFrom(other); return this; @@ -847,18 +899,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @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; @@ -867,20 +921,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @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 { @@ -888,54 +943,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The API version. Example: "v1".
      * 
* * string version = 1; + * * @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; @@ -943,6 +1005,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -952,13 +1016,13 @@ public Builder setVersionBytes(
      * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -967,6 +1031,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -976,15 +1042,14 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -992,6 +1057,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1001,20 +1068,22 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri( - java.lang.String value) { + public Builder setDiscoveryDocumentUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1024,15 +1093,18 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * For example:
@@ -1042,16 +1114,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1059,6 +1131,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1066,13 +1140,13 @@ public Builder setDiscoveryDocumentUriBytes(
      * 
* * string discovery_name = 3; + * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1081,6 +1155,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1088,15 +1164,14 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1104,6 +1179,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1111,20 +1188,22 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName( - java.lang.String value) { + public Builder setDiscoveryName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1132,15 +1211,18 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document.
      * Example: "Project". It will be left unspecified for resources (such as
@@ -1148,16 +1230,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1165,6 +1247,8 @@ public Builder setDiscoveryNameBytes( private java.lang.Object resourceUrl_ = ""; /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1174,13 +1258,13 @@ public Builder setDiscoveryNameBytes(
      * 
* * string resource_url = 4; + * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1189,6 +1273,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1198,15 +1284,14 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1214,6 +1299,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1223,20 +1310,22 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl( - java.lang.String value) { + public Builder setResourceUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1246,15 +1335,18 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP GET operation using this
      * URL returns the resource itself.
@@ -1264,16 +1356,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1281,6 +1373,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1294,13 +1388,13 @@ public Builder setResourceUrlBytes(
      * 
* * string parent = 5; + * * @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; @@ -1309,6 +1403,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1322,15 +1418,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 { @@ -1338,6 +1433,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1351,20 +1448,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1378,15 +1477,18 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1400,16 +1502,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; + * * @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; @@ -1417,26 +1519,35 @@ public Builder setParentBytes( private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + dataBuilder_; /** + * + * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** + * + * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1447,6 +1558,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1468,6 +1581,8 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1475,8 +1590,7 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1487,6 +1601,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1497,8 +1613,7 @@ public Builder setData(
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ =
-            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1510,6 +1625,8 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1529,6 +1646,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1537,11 +1656,13 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-      
+
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1553,11 +1674,12 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are scrubbed
      * away and may not be present.
@@ -1566,21 +1688,23 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getData(),
-                getParentForChildren(),
-                isClean());
+        dataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
         data_ = null;
       }
       return dataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1590,12 +1714,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p5beta1.Resource)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p5beta1.Resource)
   private static final com.google.cloud.asset.v1p5beta1.Resource DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p5beta1.Resource();
   }
@@ -1604,16 +1728,16 @@ public static com.google.cloud.asset.v1p5beta1.Resource getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Resource parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Resource(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Resource parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Resource(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1628,6 +1752,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p5beta1.Resource getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
rename to proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
index 175f61af1..72bcad395 100644
--- a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
+++ b/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/ResourceOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p5beta1/assets.proto
 
 package com.google.cloud.asset.v1p5beta1;
 
-public interface ResourceOrBuilder extends
+public interface ResourceOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p5beta1.Resource)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The API version. Example: "v1".
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -37,10 +60,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * For example:
@@ -50,12 +76,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -63,10 +91,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** + * + * *
    * The JSON schema name listed in the discovery document.
    * Example: "Project". It will be left unspecified for resources (such as
@@ -74,12 +105,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString - getDiscoveryNameBytes(); + com.google.protobuf.ByteString getDiscoveryNameBytes(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -89,10 +122,13 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP GET operation using this
    * URL returns the resource itself.
@@ -102,12 +138,14 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString - getResourceUrlBytes(); + com.google.protobuf.ByteString getResourceUrlBytes(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -121,10 +159,13 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -138,32 +179,40 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ boolean hasData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ com.google.protobuf.Struct getData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are scrubbed
    * away and may not be present.
diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto b/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
similarity index 100%
rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
rename to proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto
diff --git a/owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto b/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
similarity index 100%
rename from owl-bot-staging/v1p5beta1/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
rename to proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto
diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
similarity index 77%
rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
index 92d3a5406..522926d21 100644
--- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
+++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Asset.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/assets.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
 /**
+ *
+ *
  * 
  * An asset in Google Cloud. An asset can be any resource in the Google Cloud
  * [resource
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.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_ = "";
     assetType_ = "";
@@ -35,16 +53,15 @@ 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)
@@ -64,137 +81,174 @@ private Asset(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1p7beta1.Resource.Builder subBuilder = null;
-            if (resource_ != null) {
-              subBuilder = resource_.toBuilder();
-            }
-            resource_ = input.readMessage(com.google.cloud.asset.v1p7beta1.Resource.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(resource_);
-              resource_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            com.google.iam.v1.Policy.Builder subBuilder = null;
-            if (iamPolicy_ != null) {
-              subBuilder = iamPolicy_.toBuilder();
-            }
-            iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(iamPolicy_);
-              iamPolicy_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              orgPolicy_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              assetType_ = s;
+              break;
             }
-            orgPolicy_.add(
-                input.readMessage(com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 7) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_).toBuilder();
+          case 26:
+            {
+              com.google.cloud.asset.v1p7beta1.Resource.Builder subBuilder = null;
+              if (resource_ != null) {
+                subBuilder = resource_.toBuilder();
+              }
+              resource_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p7beta1.Resource.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(resource_);
+                resource_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.iam.v1.Policy.Builder subBuilder = null;
+              if (iamPolicy_ != null) {
+                subBuilder = iamPolicy_.toBuilder();
+              }
+              iamPolicy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(iamPolicy_);
+                iamPolicy_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            accessContextPolicyCase_ = 7;
-            break;
-          }
-          case 66: {
-            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 8) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_).toBuilder();
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                orgPolicy_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              orgPolicy_.add(
+                  input.readMessage(
+                      com.google.cloud.orgpolicy.v1.Policy.parser(), extensionRegistry));
+              break;
             }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.AccessLevel.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder subBuilder = null;
+              if (accessContextPolicyCase_ == 7) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                            accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.AccessPolicy.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                        accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 7;
+              break;
             }
-            accessContextPolicyCase_ = 8;
-            break;
-          }
-          case 74: {
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder = null;
-            if (accessContextPolicyCase_ == 9) {
-              subBuilder = ((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_).toBuilder();
-            }
-            accessContextPolicy_ =
-                input.readMessage(com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_);
-              accessContextPolicy_ = subBuilder.buildPartial();
-            }
-            accessContextPolicyCase_ = 9;
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              ancestors_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000002;
+          case 66:
+            {
+              com.google.identity.accesscontextmanager.v1.AccessLevel.Builder subBuilder = null;
+              if (accessContextPolicyCase_ == 8) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.AccessLevel.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 8;
+              break;
             }
-            ancestors_.add(s);
-            break;
-          }
-          case 90: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+          case 74:
+            {
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder subBuilder =
+                  null;
+              if (accessContextPolicyCase_ == 9) {
+                subBuilder =
+                    ((com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                            accessContextPolicy_)
+                        .toBuilder();
+              }
+              accessContextPolicy_ =
+                  input.readMessage(
+                      com.google.identity.accesscontextmanager.v1.ServicePerimeter.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                        accessContextPolicy_);
+                accessContextPolicy_ = subBuilder.buildPartial();
+              }
+              accessContextPolicyCase_ = 9;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                ancestors_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              ancestors_.add(s);
+              break;
             }
-
-            break;
-          }
-          case 106: {
-            com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder subBuilder = null;
-            if (relatedAssets_ != null) {
-              subBuilder = relatedAssets_.toBuilder();
+          case 90:
+            {
+              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;
             }
-            relatedAssets_ = input.readMessage(com.google.cloud.asset.v1p7beta1.RelatedAssets.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(relatedAssets_);
-              relatedAssets_ = subBuilder.buildPartial();
+          case 106:
+            {
+              com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder subBuilder = null;
+              if (relatedAssets_ != null) {
+                subBuilder = relatedAssets_.toBuilder();
+              }
+              relatedAssets_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p7beta1.RelatedAssets.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relatedAssets_);
+                relatedAssets_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -202,8 +256,7 @@ 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 {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = java.util.Collections.unmodifiableList(orgPolicy_);
@@ -215,29 +268,35 @@ private Asset(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.Asset.class, com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
+            com.google.cloud.asset.v1p7beta1.Asset.class,
+            com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
   }
 
   private int accessContextPolicyCase_ = 0;
   private java.lang.Object accessContextPolicy_;
+
   public enum AccessContextPolicyCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ACCESS_POLICY(7),
     ACCESS_LEVEL(8),
     SERVICE_PERIMETER(9),
     ACCESSCONTEXTPOLICY_NOT_SET(0);
     private final int value;
+
     private AccessContextPolicyCase(int value) {
       this.value = value;
     }
@@ -253,33 +312,40 @@ public static AccessContextPolicyCase valueOf(int value) {
 
     public static AccessContextPolicyCase forNumber(int value) {
       switch (value) {
-        case 7: return ACCESS_POLICY;
-        case 8: return ACCESS_LEVEL;
-        case 9: return SERVICE_PERIMETER;
-        case 0: return ACCESSCONTEXTPOLICY_NOT_SET;
-        default: return null;
+        case 7:
+          return ACCESS_POLICY;
+        case 8:
+          return ACCESS_LEVEL;
+        case 9:
+          return SERVICE_PERIMETER;
+        case 0:
+          return ACCESSCONTEXTPOLICY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AccessContextPolicyCase
-  getAccessContextPolicyCase() {
-    return AccessContextPolicyCase.forNumber(
-        accessContextPolicyCase_);
+  public AccessContextPolicyCase getAccessContextPolicyCase() {
+    return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
   }
 
   public static final int UPDATE_TIME_FIELD_NUMBER = 11;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -287,12 +353,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ @java.lang.Override @@ -300,6 +369,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -315,6 +386,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -324,6 +397,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -332,14 +406,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -349,16 +424,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -369,6 +443,8 @@ public java.lang.String getName() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -377,6 +453,7 @@ public java.lang.String getName() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -385,14 +462,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -401,16 +479,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -421,11 +498,14 @@ public java.lang.String getAssetType() { public static final int RESOURCE_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p7beta1.Resource resource_; /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ @java.lang.Override @@ -433,18 +513,25 @@ public boolean hasResource() { return resource_ != null; } /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; + * * @return The resource. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.Resource getResource() { - return resource_ == null ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() + : resource_; } /** + * + * *
    * A representation of the resource.
    * 
@@ -459,6 +546,8 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() public static final int IAM_POLICY_FIELD_NUMBER = 4; private com.google.iam.v1.Policy iamPolicy_; /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -472,6 +561,7 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder()
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ @java.lang.Override @@ -479,6 +569,8 @@ public boolean hasIamPolicy() { return iamPolicy_ != null; } /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -492,6 +584,7 @@ public boolean hasIamPolicy() {
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ @java.lang.Override @@ -499,6 +592,8 @@ public com.google.iam.v1.Policy getIamPolicy() { return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_; } /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -521,6 +616,8 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
   public static final int ORG_POLICY_FIELD_NUMBER = 6;
   private java.util.List orgPolicy_;
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -535,6 +632,8 @@ public java.util.List getOrgPolicyList() {
     return orgPolicy_;
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -545,11 +644,13 @@ public java.util.List getOrgPolicyList() {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOrgPolicyOrBuilderList() {
     return orgPolicy_;
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -564,6 +665,8 @@ public int getOrgPolicyCount() {
     return orgPolicy_.size();
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -578,6 +681,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
     return orgPolicy_.get(index);
   }
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -588,19 +693,21 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
   @java.lang.Override
-  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index) {
+  public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
     return orgPolicy_.get(index);
   }
 
   public static final int ACCESS_POLICY_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -608,22 +715,27 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return The accessPolicy. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy() { if (accessContextPolicyCase_ == 7) { - return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance(); } /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -632,21 +744,25 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(
    * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
+      getAccessPolicyOrBuilder() {
     if (accessContextPolicyCase_ == 7) {
-       return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
   }
 
   public static final int ACCESS_LEVEL_FIELD_NUMBER = 8;
   /**
+   *
+   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -654,22 +770,27 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return The accessLevel. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() { if (accessContextPolicyCase_ == 8) { - return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance(); } /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -678,21 +799,25 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
    * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
+      getAccessLevelOrBuilder() {
     if (accessContextPolicyCase_ == 8) {
-       return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
   }
 
   public static final int SERVICE_PERIMETER_FIELD_NUMBER = 9;
   /**
+   *
+   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -700,22 +825,27 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -724,9 +854,10 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
   @java.lang.Override
-  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
+  public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+      getServicePerimeterOrBuilder() {
     if (accessContextPolicyCase_ == 9) {
-       return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+      return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
     }
     return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
   }
@@ -734,12 +865,15 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
   public static final int RELATED_ASSETS_FIELD_NUMBER = 13;
   private com.google.cloud.asset.v1p7beta1.RelatedAssets relatedAssets_;
   /**
+   *
+   *
    * 
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; + * * @return Whether the relatedAssets field is set. */ @java.lang.Override @@ -747,19 +881,26 @@ public boolean hasRelatedAssets() { return relatedAssets_ != null; } /** + * + * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; + * * @return The relatedAssets. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets() { - return relatedAssets_ == null ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_; + return relatedAssets_ == null + ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() + : relatedAssets_; } /** + * + * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
@@ -775,6 +916,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
   public static final int ANCESTORS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList ancestors_;
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -786,13 +929,15 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
    * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -804,12 +949,15 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
    * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -821,6 +969,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -828,6 +977,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -839,15 +990,16 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -859,8 +1011,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -877,13 +1028,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - output.writeMessage(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + output.writeMessage( + 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - output.writeMessage(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + output.writeMessage( + 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - output.writeMessage(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + output.writeMessage( + 9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } for (int i = 0; i < ancestors_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, ancestors_.getRaw(i)); @@ -910,28 +1064,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, assetType_); } if (resource_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getResource()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResource()); } if (iamPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getIamPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIamPolicy()); } for (int i = 0; i < orgPolicy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, orgPolicy_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, orgPolicy_.get(i)); } if (accessContextPolicyCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_); } if (accessContextPolicyCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_); } if (accessContextPolicyCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_); } { int dataSize = 0; @@ -942,12 +1097,10 @@ public int getSerializedSize() { size += 1 * getAncestorsList().size(); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } if (relatedAssets_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getRelatedAssets()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getRelatedAssets()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -957,7 +1110,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.Asset)) { return super.equals(obj); @@ -966,45 +1119,34 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getName() - .equals(other.getName())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) 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 (!getOrgPolicyList() - .equals(other.getOrgPolicyList())) return false; + if (!getOrgPolicyList().equals(other.getOrgPolicyList())) return false; if (hasRelatedAssets() != other.hasRelatedAssets()) return false; if (hasRelatedAssets()) { - if (!getRelatedAssets() - .equals(other.getRelatedAssets())) return false; + if (!getRelatedAssets().equals(other.getRelatedAssets())) return false; } - if (!getAncestorsList() - .equals(other.getAncestorsList())) return false; + if (!getAncestorsList().equals(other.getAncestorsList())) return false; if (!getAccessContextPolicyCase().equals(other.getAccessContextPolicyCase())) return false; switch (accessContextPolicyCase_) { case 7: - if (!getAccessPolicy() - .equals(other.getAccessPolicy())) return false; + if (!getAccessPolicy().equals(other.getAccessPolicy())) return false; break; case 8: - if (!getAccessLevel() - .equals(other.getAccessLevel())) return false; + if (!getAccessLevel().equals(other.getAccessLevel())) return false; break; case 9: - if (!getServicePerimeter() - .equals(other.getServicePerimeter())) return false; + if (!getServicePerimeter().equals(other.getServicePerimeter())) return false; break; case 0: default: @@ -1069,97 +1211,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.Asset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.Asset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.Asset 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.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.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.asset.v1p7beta1.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; } /** + * + * *
    * An asset in Google Cloud. An asset can be any resource in the Google Cloud
    * [resource
@@ -1173,21 +1322,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset)
       com.google.cloud.asset.v1p7beta1.AssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.Asset.class, com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
+              com.google.cloud.asset.v1p7beta1.Asset.class,
+              com.google.cloud.asset.v1p7beta1.Asset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.Asset.newBuilder()
@@ -1195,17 +1346,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) {
         getOrgPolicyFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1251,9 +1402,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor;
     }
 
     @java.lang.Override
@@ -1272,7 +1423,8 @@ public com.google.cloud.asset.v1p7beta1.Asset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.Asset buildPartial() {
-      com.google.cloud.asset.v1p7beta1.Asset result = new com.google.cloud.asset.v1p7beta1.Asset(this);
+      com.google.cloud.asset.v1p7beta1.Asset result =
+          new com.google.cloud.asset.v1p7beta1.Asset(this);
       int from_bitField0_ = bitField0_;
       if (updateTimeBuilder_ == null) {
         result.updateTime_ = updateTime_;
@@ -1340,38 +1492,39 @@ public com.google.cloud.asset.v1p7beta1.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.asset.v1p7beta1.Asset) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.Asset)other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.Asset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1415,9 +1568,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.Asset other) {
             orgPolicyBuilder_ = null;
             orgPolicy_ = other.orgPolicy_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            orgPolicyBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getOrgPolicyFieldBuilder() : null;
+            orgPolicyBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getOrgPolicyFieldBuilder()
+                    : null;
           } else {
             orgPolicyBuilder_.addAllMessages(other.orgPolicy_);
           }
@@ -1437,21 +1591,25 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.Asset other) {
         onChanged();
       }
       switch (other.getAccessContextPolicyCase()) {
-        case ACCESS_POLICY: {
-          mergeAccessPolicy(other.getAccessPolicy());
-          break;
-        }
-        case ACCESS_LEVEL: {
-          mergeAccessLevel(other.getAccessLevel());
-          break;
-        }
-        case SERVICE_PERIMETER: {
-          mergeServicePerimeter(other.getServicePerimeter());
-          break;
-        }
-        case ACCESSCONTEXTPOLICY_NOT_SET: {
-          break;
-        }
+        case ACCESS_POLICY:
+          {
+            mergeAccessPolicy(other.getAccessPolicy());
+            break;
+          }
+        case ACCESS_LEVEL:
+          {
+            mergeAccessLevel(other.getAccessLevel());
+            break;
+          }
+        case SERVICE_PERIMETER:
+          {
+            mergeServicePerimeter(other.getServicePerimeter());
+            break;
+          }
+        case ACCESSCONTEXTPOLICY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1481,12 +1639,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int accessContextPolicyCase_ = 0;
     private java.lang.Object accessContextPolicy_;
-    public AccessContextPolicyCase
-        getAccessContextPolicyCase() {
-      return AccessContextPolicyCase.forNumber(
-          accessContextPolicyCase_);
+
+    public AccessContextPolicyCase getAccessContextPolicyCase() {
+      return AccessContextPolicyCase.forNumber(accessContextPolicyCase_);
     }
 
     public Builder clearAccessContextPolicy() {
@@ -1500,36 +1658,49 @@ public Builder clearAccessContextPolicy() {
 
     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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
      * 
* * .google.protobuf.Timestamp update_time = 11; + * * @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 last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1551,6 +1722,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1558,8 +1731,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 11;
      */
-    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();
@@ -1570,6 +1742,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1581,7 +1755,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;
         }
@@ -1593,6 +1767,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1612,6 +1788,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1620,11 +1798,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1636,11 +1816,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The last update timestamp of an asset. update_time is updated when
      * create/update/delete operation is performed.
@@ -1649,14 +1832,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 11;
      */
     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_;
@@ -1664,6 +1850,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1673,13 +1861,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * 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; @@ -1688,6 +1876,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1697,15 +1887,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1713,6 +1902,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1722,20 +1913,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1745,15 +1938,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -1763,16 +1959,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; @@ -1780,6 +1976,8 @@ public Builder setNameBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1788,13 +1986,13 @@ public Builder setNameBytes(
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -1803,6 +2001,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1811,15 +2011,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -1827,6 +2026,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1835,20 +2036,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1857,15 +2060,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -1874,16 +2080,16 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; @@ -1891,34 +2097,47 @@ public Builder setAssetTypeBytes( private com.google.cloud.asset.v1p7beta1.Resource resource_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.Resource, com.google.cloud.asset.v1p7beta1.Resource.Builder, com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> resourceBuilder_; + com.google.cloud.asset.v1p7beta1.Resource, + com.google.cloud.asset.v1p7beta1.Resource.Builder, + com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> + resourceBuilder_; /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ public boolean hasResource() { return resourceBuilder_ != null || resource_ != null; } /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; + * * @return The resource. */ public com.google.cloud.asset.v1p7beta1.Resource getResource() { if (resourceBuilder_ == null) { - return resource_ == null ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() + : resource_; } else { return resourceBuilder_.getMessage(); } } /** + * + * *
      * A representation of the resource.
      * 
@@ -1939,14 +2158,15 @@ public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; */ - public Builder setResource( - com.google.cloud.asset.v1p7beta1.Resource.Builder builderForValue) { + public Builder setResource(com.google.cloud.asset.v1p7beta1.Resource.Builder builderForValue) { if (resourceBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -1957,6 +2177,8 @@ public Builder setResource( return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1967,7 +2189,9 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { if (resourceBuilder_ == null) { if (resource_ != null) { resource_ = - com.google.cloud.asset.v1p7beta1.Resource.newBuilder(resource_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p7beta1.Resource.newBuilder(resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -1979,6 +2203,8 @@ public Builder mergeResource(com.google.cloud.asset.v1p7beta1.Resource value) { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -1997,6 +2223,8 @@ public Builder clearResource() { return this; } /** + * + * *
      * A representation of the resource.
      * 
@@ -2004,11 +2232,13 @@ public Builder clearResource() { * .google.cloud.asset.v1p7beta1.Resource resource = 3; */ public com.google.cloud.asset.v1p7beta1.Resource.Builder getResourceBuilder() { - + onChanged(); return getResourceFieldBuilder().getBuilder(); } /** + * + * *
      * A representation of the resource.
      * 
@@ -2019,11 +2249,14 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() if (resourceBuilder_ != null) { return resourceBuilder_.getMessageOrBuilder(); } else { - return resource_ == null ? - com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() : resource_; + return resource_ == null + ? com.google.cloud.asset.v1p7beta1.Resource.getDefaultInstance() + : resource_; } } /** + * + * *
      * A representation of the resource.
      * 
@@ -2031,14 +2264,17 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() * .google.cloud.asset.v1p7beta1.Resource resource = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.Resource, com.google.cloud.asset.v1p7beta1.Resource.Builder, com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> + com.google.cloud.asset.v1p7beta1.Resource, + com.google.cloud.asset.v1p7beta1.Resource.Builder, + com.google.cloud.asset.v1p7beta1.ResourceOrBuilder> getResourceFieldBuilder() { if (resourceBuilder_ == null) { - resourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.Resource, com.google.cloud.asset.v1p7beta1.Resource.Builder, com.google.cloud.asset.v1p7beta1.ResourceOrBuilder>( - getResource(), - getParentForChildren(), - isClean()); + resourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.Resource, + com.google.cloud.asset.v1p7beta1.Resource.Builder, + com.google.cloud.asset.v1p7beta1.ResourceOrBuilder>( + getResource(), getParentForChildren(), isClean()); resource_ = null; } return resourceBuilder_; @@ -2046,8 +2282,13 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder() private com.google.iam.v1.Policy iamPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> iamPolicyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + iamPolicyBuilder_; /** + * + * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2061,12 +2302,15 @@ public com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder()
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ public boolean hasIamPolicy() { return iamPolicyBuilder_ != null || iamPolicy_ != null; } /** + * + * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2080,6 +2324,7 @@ public boolean hasIamPolicy() {
      * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ public com.google.iam.v1.Policy getIamPolicy() { @@ -2090,6 +2335,8 @@ public com.google.iam.v1.Policy getIamPolicy() { } } /** + * + * *
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2118,6 +2365,8 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2132,8 +2381,7 @@ public Builder setIamPolicy(com.google.iam.v1.Policy value) {
      *
      * .google.iam.v1.Policy iam_policy = 4;
      */
-    public Builder setIamPolicy(
-        com.google.iam.v1.Policy.Builder builderForValue) {
+    public Builder setIamPolicy(com.google.iam.v1.Policy.Builder builderForValue) {
       if (iamPolicyBuilder_ == null) {
         iamPolicy_ = builderForValue.build();
         onChanged();
@@ -2144,6 +2392,8 @@ public Builder setIamPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2162,7 +2412,7 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       if (iamPolicyBuilder_ == null) {
         if (iamPolicy_ != null) {
           iamPolicy_ =
-            com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
+              com.google.iam.v1.Policy.newBuilder(iamPolicy_).mergeFrom(value).buildPartial();
         } else {
           iamPolicy_ = value;
         }
@@ -2174,6 +2424,8 @@ public Builder mergeIamPolicy(com.google.iam.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2200,6 +2452,8 @@ public Builder clearIamPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2215,11 +2469,13 @@ public Builder clearIamPolicy() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     public com.google.iam.v1.Policy.Builder getIamPolicyBuilder() {
-      
+
       onChanged();
       return getIamPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2238,11 +2494,12 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
       if (iamPolicyBuilder_ != null) {
         return iamPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return iamPolicy_ == null ?
-            com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
+        return iamPolicy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : iamPolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * A representation of the Cloud IAM policy set on a Google Cloud resource.
      * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -2258,32 +2515,41 @@ public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder() {
      * .google.iam.v1.Policy iam_policy = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
+            com.google.iam.v1.Policy,
+            com.google.iam.v1.Policy.Builder,
+            com.google.iam.v1.PolicyOrBuilder>
         getIamPolicyFieldBuilder() {
       if (iamPolicyBuilder_ == null) {
-        iamPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
-                getIamPolicy(),
-                getParentForChildren(),
-                isClean());
+        iamPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.iam.v1.Policy,
+                com.google.iam.v1.Policy.Builder,
+                com.google.iam.v1.PolicyOrBuilder>(
+                getIamPolicy(), getParentForChildren(), isClean());
         iamPolicy_ = null;
       }
       return iamPolicyBuilder_;
     }
 
     private java.util.List orgPolicy_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureOrgPolicyIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         orgPolicy_ = new java.util.ArrayList(orgPolicy_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> orgPolicyBuilder_;
+            com.google.cloud.orgpolicy.v1.Policy,
+            com.google.cloud.orgpolicy.v1.Policy.Builder,
+            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
+        orgPolicyBuilder_;
 
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2301,6 +2567,8 @@ public java.util.List getOrgPolicyList() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2318,6 +2586,8 @@ public int getOrgPolicyCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2335,6 +2605,8 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2344,8 +2616,7 @@ public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder setOrgPolicy(
-        int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder setOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2359,6 +2630,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2380,6 +2653,8 @@ public Builder setOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2403,6 +2678,8 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2412,8 +2689,7 @@ public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy value) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(
-        int index, com.google.cloud.orgpolicy.v1.Policy value) {
+    public Builder addOrgPolicy(int index, com.google.cloud.orgpolicy.v1.Policy value) {
       if (orgPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2427,6 +2703,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2436,8 +2714,7 @@ public Builder addOrgPolicy(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public Builder addOrgPolicy(
-        com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
+    public Builder addOrgPolicy(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
         orgPolicy_.add(builderForValue.build());
@@ -2448,6 +2725,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2469,6 +2748,8 @@ public Builder addOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2482,8 +2763,7 @@ public Builder addAllOrgPolicy(
         java.lang.Iterable values) {
       if (orgPolicyBuilder_ == null) {
         ensureOrgPolicyIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, orgPolicy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orgPolicy_);
         onChanged();
       } else {
         orgPolicyBuilder_.addAllMessages(values);
@@ -2491,6 +2771,8 @@ public Builder addAllOrgPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2511,6 +2793,8 @@ public Builder clearOrgPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2531,6 +2815,8 @@ public Builder removeOrgPolicy(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2540,11 +2826,12 @@ public Builder removeOrgPolicy(int index) {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
-        int index) {
+    public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(int index) {
       return getOrgPolicyFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2554,14 +2841,16 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-        int index) {
+    public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index) {
       if (orgPolicyBuilder_ == null) {
-        return orgPolicy_.get(index);  } else {
+        return orgPolicy_.get(index);
+      } else {
         return orgPolicyBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2571,8 +2860,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List 
-         getOrgPolicyOrBuilderList() {
+    public java.util.List
+        getOrgPolicyOrBuilderList() {
       if (orgPolicyBuilder_ != null) {
         return orgPolicyBuilder_.getMessageOrBuilderList();
       } else {
@@ -2580,6 +2869,8 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2590,10 +2881,12 @@ public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
     public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
-      return getOrgPolicyFieldBuilder().addBuilder(
-          com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+      return getOrgPolicyFieldBuilder()
+          .addBuilder(com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2603,12 +2896,13 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder() {
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
-        int index) {
-      return getOrgPolicyFieldBuilder().addBuilder(
-          index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
+    public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(int index) {
+      return getOrgPolicyFieldBuilder()
+          .addBuilder(index, com.google.cloud.orgpolicy.v1.Policy.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A representation of an [organization
      * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -2618,34 +2912,42 @@ public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder(
      *
      * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
      */
-    public java.util.List 
-         getOrgPolicyBuilderList() {
+    public java.util.List getOrgPolicyBuilderList() {
       return getOrgPolicyFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 
+            com.google.cloud.orgpolicy.v1.Policy,
+            com.google.cloud.orgpolicy.v1.Policy.Builder,
+            com.google.cloud.orgpolicy.v1.PolicyOrBuilder>
         getOrgPolicyFieldBuilder() {
       if (orgPolicyBuilder_ == null) {
-        orgPolicyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.orgpolicy.v1.Policy, com.google.cloud.orgpolicy.v1.Policy.Builder, com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
-                orgPolicy_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        orgPolicyBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.orgpolicy.v1.Policy,
+                com.google.cloud.orgpolicy.v1.Policy.Builder,
+                com.google.cloud.orgpolicy.v1.PolicyOrBuilder>(
+                orgPolicy_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         orgPolicy_ = null;
       }
       return orgPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> accessPolicyBuilder_;
+            com.google.identity.accesscontextmanager.v1.AccessPolicy,
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
+        accessPolicyBuilder_;
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return Whether the accessPolicy field is set. */ @java.lang.Override @@ -2653,12 +2955,15 @@ public boolean hasAccessPolicy() { return accessContextPolicyCase_ == 7; } /** + * + * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return The accessPolicy. */ @java.lang.Override @@ -2676,6 +2981,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy( } } /** + * + * *
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2697,6 +3004,8 @@ public Builder setAccessPolicy(com.google.identity.accesscontextmanager.v1.Acces
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2716,6 +3025,8 @@ public Builder setAccessPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2723,12 +3034,18 @@ public Builder setAccessPolicy(
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
+    public Builder mergeAccessPolicy(
+        com.google.identity.accesscontextmanager.v1.AccessPolicy value) {
       if (accessPolicyBuilder_ == null) {
-        if (accessContextPolicyCase_ == 7 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder((com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 7
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.AccessPolicy)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2744,6 +3061,8 @@ public Builder mergeAccessPolicy(com.google.identity.accesscontextmanager.v1.Acc
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2768,6 +3087,8 @@ public Builder clearAccessPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2775,10 +3096,13 @@ public Builder clearAccessPolicy() {
      *
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
-    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder
+        getAccessPolicyBuilder() {
       return getAccessPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2787,7 +3111,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAcces
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder
+        getAccessPolicyOrBuilder() {
       if ((accessContextPolicyCase_ == 7) && (accessPolicyBuilder_ != null)) {
         return accessPolicyBuilder_.getMessageOrBuilder();
       } else {
@@ -2798,6 +3123,8 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
       }
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access policy user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -2806,33 +3133,46 @@ public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAcce
      * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.AccessPolicy,
+            com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>
         getAccessPolicyFieldBuilder() {
       if (accessPolicyBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 7)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessPolicy.getDefaultInstance();
         }
-        accessPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessPolicy, com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder, com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
+        accessPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.AccessPolicy,
+                com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder,
+                com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessPolicy) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 7;
-      onChanged();;
+      onChanged();
+      ;
       return accessPolicyBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> accessLevelBuilder_;
+            com.google.identity.accesscontextmanager.v1.AccessLevel,
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
+        accessLevelBuilder_;
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return Whether the accessLevel field is set. */ @java.lang.Override @@ -2840,12 +3180,15 @@ public boolean hasAccessLevel() { return accessContextPolicyCase_ == 8; } /** + * + * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return The accessLevel. */ @java.lang.Override @@ -2863,6 +3206,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel() } } /** + * + * *
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2884,6 +3229,8 @@ public Builder setAccessLevel(com.google.identity.accesscontextmanager.v1.Access
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2903,6 +3250,8 @@ public Builder setAccessLevel(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2912,10 +3261,15 @@ public Builder setAccessLevel(
      */
     public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.AccessLevel value) {
       if (accessLevelBuilder_ == null) {
-        if (accessContextPolicyCase_ == 8 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder((com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 8
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessLevel.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.AccessLevel)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -2931,6 +3285,8 @@ public Builder mergeAccessLevel(com.google.identity.accesscontextmanager.v1.Acce
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2955,6 +3311,8 @@ public Builder clearAccessLevel() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2966,6 +3324,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
       return getAccessLevelFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2974,7 +3334,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccess
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder
+        getAccessLevelOrBuilder() {
       if ((accessContextPolicyCase_ == 8) && (accessLevelBuilder_ != null)) {
         return accessLevelBuilder_.getMessageOrBuilder();
       } else {
@@ -2985,6 +3346,8 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
       }
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [access level user
      * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -2993,33 +3356,46 @@ public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAcces
      * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.AccessLevel,
+            com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+            com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>
         getAccessLevelFieldBuilder() {
       if (accessLevelBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 8)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.AccessLevel.getDefaultInstance();
         }
-        accessLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.AccessLevel, com.google.identity.accesscontextmanager.v1.AccessLevel.Builder, com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
+        accessLevelBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.AccessLevel,
+                com.google.identity.accesscontextmanager.v1.AccessLevel.Builder,
+                com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.AccessLevel) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 8;
-      onChanged();;
+      onChanged();
+      ;
       return accessLevelBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> servicePerimeterBuilder_;
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
+        servicePerimeterBuilder_;
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return Whether the servicePerimeter field is set. */ @java.lang.Override @@ -3027,19 +3403,23 @@ public boolean hasServicePerimeter() { return accessContextPolicyCase_ == 9; } /** + * + * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return The servicePerimeter. */ @java.lang.Override public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter() { if (servicePerimeterBuilder_ == null) { if (accessContextPolicyCase_ == 9) { - return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_; + return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) + accessContextPolicy_; } return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance(); } else { @@ -3050,6 +3430,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe } } /** + * + * *
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3057,7 +3439,8 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePe
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder setServicePerimeter(
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3071,6 +3454,8 @@ public Builder setServicePerimeter(com.google.identity.accesscontextmanager.v1.S
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3090,6 +3475,8 @@ public Builder setServicePerimeter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3097,12 +3484,19 @@ public Builder setServicePerimeter(
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
+    public Builder mergeServicePerimeter(
+        com.google.identity.accesscontextmanager.v1.ServicePerimeter value) {
       if (servicePerimeterBuilder_ == null) {
-        if (accessContextPolicyCase_ == 9 &&
-            accessContextPolicy_ != com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance()) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder((com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_)
-              .mergeFrom(value).buildPartial();
+        if (accessContextPolicyCase_ == 9
+            && accessContextPolicy_
+                != com.google.identity.accesscontextmanager.v1.ServicePerimeter
+                    .getDefaultInstance()) {
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.newBuilder(
+                      (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+                          accessContextPolicy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           accessContextPolicy_ = value;
         }
@@ -3118,6 +3512,8 @@ public Builder mergeServicePerimeter(com.google.identity.accesscontextmanager.v1
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3142,6 +3538,8 @@ public Builder clearServicePerimeter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3149,10 +3547,13 @@ public Builder clearServicePerimeter() {
      *
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder
+        getServicePerimeterBuilder() {
       return getServicePerimeterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3161,17 +3562,21 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getS
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     @java.lang.Override
-    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder() {
+    public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+        getServicePerimeterOrBuilder() {
       if ((accessContextPolicyCase_ == 9) && (servicePerimeterBuilder_ != null)) {
         return servicePerimeterBuilder_.getMessageOrBuilder();
       } else {
         if (accessContextPolicyCase_ == 9) {
-          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_;
+          return (com.google.identity.accesscontextmanager.v1.ServicePerimeter)
+              accessContextPolicy_;
         }
         return com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
       }
     }
     /**
+     *
+     *
      * 
      * Please also refer to the [service perimeter user
      * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -3180,56 +3585,76 @@ public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder get
      * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder> 
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+            com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>
         getServicePerimeterFieldBuilder() {
       if (servicePerimeterBuilder_ == null) {
         if (!(accessContextPolicyCase_ == 9)) {
-          accessContextPolicy_ = com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
+          accessContextPolicy_ =
+              com.google.identity.accesscontextmanager.v1.ServicePerimeter.getDefaultInstance();
         }
-        servicePerimeterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.identity.accesscontextmanager.v1.ServicePerimeter, com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder, com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
+        servicePerimeterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.identity.accesscontextmanager.v1.ServicePerimeter,
+                com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder,
+                com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>(
                 (com.google.identity.accesscontextmanager.v1.ServicePerimeter) accessContextPolicy_,
                 getParentForChildren(),
                 isClean());
         accessContextPolicy_ = null;
       }
       accessContextPolicyCase_ = 9;
-      onChanged();;
+      onChanged();
+      ;
       return servicePerimeterBuilder_;
     }
 
     private com.google.cloud.asset.v1p7beta1.RelatedAssets relatedAssets_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p7beta1.RelatedAssets, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder> relatedAssetsBuilder_;
+            com.google.cloud.asset.v1p7beta1.RelatedAssets,
+            com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder,
+            com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>
+        relatedAssetsBuilder_;
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
      * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; + * * @return Whether the relatedAssets field is set. */ public boolean hasRelatedAssets() { return relatedAssetsBuilder_ != null || relatedAssets_ != null; } /** + * + * *
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
      * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; + * * @return The relatedAssets. */ public com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets() { if (relatedAssetsBuilder_ == null) { - return relatedAssets_ == null ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_; + return relatedAssets_ == null + ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() + : relatedAssets_; } else { return relatedAssetsBuilder_.getMessage(); } } /** + * + * *
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3251,6 +3676,8 @@ public Builder setRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets v
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3270,6 +3697,8 @@ public Builder setRelatedAssets(
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3281,7 +3710,9 @@ public Builder mergeRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets
       if (relatedAssetsBuilder_ == null) {
         if (relatedAssets_ != null) {
           relatedAssets_ =
-            com.google.cloud.asset.v1p7beta1.RelatedAssets.newBuilder(relatedAssets_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1p7beta1.RelatedAssets.newBuilder(relatedAssets_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           relatedAssets_ = value;
         }
@@ -3293,6 +3724,8 @@ public Builder mergeRelatedAssets(com.google.cloud.asset.v1p7beta1.RelatedAssets
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3312,6 +3745,8 @@ public Builder clearRelatedAssets() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3320,11 +3755,13 @@ public Builder clearRelatedAssets() {
      * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      */
     public com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder getRelatedAssetsBuilder() {
-      
+
       onChanged();
       return getRelatedAssetsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3336,11 +3773,14 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
       if (relatedAssetsBuilder_ != null) {
         return relatedAssetsBuilder_.getMessageOrBuilder();
       } else {
-        return relatedAssets_ == null ?
-            com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance() : relatedAssets_;
+        return relatedAssets_ == null
+            ? com.google.cloud.asset.v1p7beta1.RelatedAssets.getDefaultInstance()
+            : relatedAssets_;
       }
     }
     /**
+     *
+     *
      * 
      * The related assets of the asset of one relationship type.
      * One asset only represents one type of relationship.
@@ -3349,27 +3789,34 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsO
      * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p7beta1.RelatedAssets, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder> 
+            com.google.cloud.asset.v1p7beta1.RelatedAssets,
+            com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder,
+            com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>
         getRelatedAssetsFieldBuilder() {
       if (relatedAssetsBuilder_ == null) {
-        relatedAssetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.RelatedAssets, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>(
-                getRelatedAssets(),
-                getParentForChildren(),
-                isClean());
+        relatedAssetsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1p7beta1.RelatedAssets,
+                com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder,
+                com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder>(
+                getRelatedAssets(), getParentForChildren(), isClean());
         relatedAssets_ = null;
       }
       return relatedAssetsBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList ancestors_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAncestorsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3381,13 +3828,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3399,12 +3848,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3416,6 +3868,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -3423,6 +3876,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3434,14 +3889,16 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3453,21 +3910,23 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 10; + * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors( - int index, java.lang.String value) { + public Builder setAncestors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3479,20 +3938,22 @@ public Builder setAncestors(
      * 
* * repeated string ancestors = 10; + * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors( - java.lang.String value) { + public Builder addAncestors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3504,18 +3965,19 @@ public Builder addAncestors(
      * 
* * repeated string ancestors = 10; + * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors( - java.lang.Iterable values) { + public Builder addAllAncestors(java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); onChanged(); return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3527,6 +3989,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 10; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -3536,6 +3999,8 @@ public Builder clearAncestors() { return this; } /** + * + * *
      * The ancestry path of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -3547,23 +4012,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 10; + * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -3573,12 +4038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.Asset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.Asset) private static final com.google.cloud.asset.v1p7beta1.Asset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.Asset(); } @@ -3587,16 +4052,16 @@ public static com.google.cloud.asset.v1p7beta1.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; @@ -3611,6 +4076,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Asset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java similarity index 90% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java index 4711ab6e0..37bfc62b5 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface AssetOrBuilder extends +public interface AssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.Asset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The last update timestamp of an asset. update_time is updated when
    * create/update/delete operation is performed.
@@ -38,6 +62,8 @@ public interface AssetOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -47,10 +73,13 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -60,12 +89,14 @@ public interface AssetOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -74,10 +105,13 @@ public interface AssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -86,30 +120,38 @@ public interface AssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; + * * @return Whether the resource field is set. */ boolean hasResource(); /** + * + * *
    * A representation of the resource.
    * 
* * .google.cloud.asset.v1p7beta1.Resource resource = 3; + * * @return The resource. */ com.google.cloud.asset.v1p7beta1.Resource getResource(); /** + * + * *
    * A representation of the resource.
    * 
@@ -119,6 +161,8 @@ public interface AssetOrBuilder extends com.google.cloud.asset.v1p7beta1.ResourceOrBuilder getResourceOrBuilder(); /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -132,10 +176,13 @@ public interface AssetOrBuilder extends
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return Whether the iamPolicy field is set. */ boolean hasIamPolicy(); /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -149,10 +196,13 @@ public interface AssetOrBuilder extends
    * 
* * .google.iam.v1.Policy iam_policy = 4; + * * @return The iamPolicy. */ com.google.iam.v1.Policy getIamPolicy(); /** + * + * *
    * A representation of the Cloud IAM policy set on a Google Cloud resource.
    * There can be a maximum of one Cloud IAM policy set on any given resource.
@@ -170,6 +220,8 @@ public interface AssetOrBuilder extends
   com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -179,9 +231,10 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List 
-      getOrgPolicyList();
+  java.util.List getOrgPolicyList();
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -193,6 +246,8 @@ public interface AssetOrBuilder extends
    */
   com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index);
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -204,6 +259,8 @@ public interface AssetOrBuilder extends
    */
   int getOrgPolicyCount();
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -213,9 +270,11 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  java.util.List 
+  java.util.List
       getOrgPolicyOrBuilderList();
   /**
+   *
+   *
    * 
    * A representation of an [organization
    * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
@@ -225,30 +284,37 @@ public interface AssetOrBuilder extends
    *
    * repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
    */
-  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
-      int index);
+  com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return Whether the accessPolicy field is set. */ boolean hasAccessPolicy(); /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
    * 
* * .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + * * @return The accessPolicy. */ com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy(); /** + * + * *
    * Please also refer to the [access policy user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
@@ -259,26 +325,34 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return Whether the accessLevel field is set. */ boolean hasAccessLevel(); /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
    * 
* * .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + * * @return The accessLevel. */ com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel(); /** + * + * *
    * Please also refer to the [access level user
    * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
@@ -289,26 +363,34 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder();
 
   /**
+   *
+   *
    * 
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return Whether the servicePerimeter field is set. */ boolean hasServicePerimeter(); /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
    * 
* * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; + * * @return The servicePerimeter. */ com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter(); /** + * + * *
    * Please also refer to the [service perimeter user
    * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
@@ -316,29 +398,38 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    *
    * .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
    */
-  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder();
+  com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder
+      getServicePerimeterOrBuilder();
 
   /**
+   *
+   *
    * 
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; + * * @return Whether the relatedAssets field is set. */ boolean hasRelatedAssets(); /** + * + * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
    * 
* * .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13; + * * @return The relatedAssets. */ com.google.cloud.asset.v1p7beta1.RelatedAssets getRelatedAssets(); /** + * + * *
    * The related assets of the asset of one relationship type.
    * One asset only represents one type of relationship.
@@ -349,6 +440,8 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
   com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder getRelatedAssetsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -360,11 +453,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return A list containing the ancestors. */ - java.util.List - getAncestorsList(); + java.util.List getAncestorsList(); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -376,10 +471,13 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @return The count of ancestors. */ int getAncestorsCount(); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -391,11 +489,14 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** + * + * *
    * The ancestry path of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -407,11 +508,12 @@ com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(
    * 
* * repeated string ancestors = 10; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString - getAncestorsBytes(int index); + com.google.protobuf.ByteString getAncestorsBytes(int index); - public com.google.cloud.asset.v1p7beta1.Asset.AccessContextPolicyCase getAccessContextPolicyCase(); + public com.google.cloud.asset.v1p7beta1.Asset.AccessContextPolicyCase + getAccessContextPolicyCase(); } diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java new file mode 100644 index 000000000..2df5fb560 --- /dev/null +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java @@ -0,0 +1,202 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p7beta1/assets.proto + +package com.google.cloud.asset.v1p7beta1; + +public final class AssetProto { + private AssetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p7beta1_Asset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_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/asset/v1p7beta1/assets.pr" + + "oto\022\034google.cloud.asset.v1p7beta1\032\034googl" + + "e/api/annotations.proto\032\031google/api/reso" + + "urce.proto\032)google/cloud/orgpolicy/v1/or" + + "gpolicy.proto\032(google/cloud/osconfig/v1/" + + "inventory.proto\032\032google/iam/v1/policy.pr" + + "oto\032:google/identity/accesscontextmanage" + + "r/v1/access_level.proto\032;google/identity" + + "/accesscontextmanager/v1/access_policy.p" + + "roto\032?google/identity/accesscontextmanag" + + "er/v1/service_perimeter.proto\032\031google/pr" + + "otobuf/any.proto\032\034google/protobuf/struct" + + ".proto\032\037google/protobuf/timestamp.proto\"" + + "\206\005\n\005Asset\022/\n\013update_time\030\013 \001(\0132\032.google." + + "protobuf.Timestamp\022\014\n\004name\030\001 \001(\t\022\022\n\nasse" + + "t_type\030\002 \001(\t\0228\n\010resource\030\003 \001(\0132&.google." + + "cloud.asset.v1p7beta1.Resource\022)\n\niam_po" + + "licy\030\004 \001(\0132\025.google.iam.v1.Policy\0225\n\norg" + + "_policy\030\006 \003(\0132!.google.cloud.orgpolicy.v" + + "1.Policy\022N\n\raccess_policy\030\007 \001(\01325.google" + + ".identity.accesscontextmanager.v1.Access" + + "PolicyH\000\022L\n\014access_level\030\010 \001(\01324.google." + + "identity.accesscontextmanager.v1.AccessL" + + "evelH\000\022V\n\021service_perimeter\030\t \001(\01329.goog" + + "le.identity.accesscontextmanager.v1.Serv" + + "icePerimeterH\000\022C\n\016related_assets\030\r \001(\0132+" + + ".google.cloud.asset.v1p7beta1.RelatedAss" + + "ets\022\021\n\tancestors\030\n \003(\t:\'\352A$\n\037cloudasset." + + "googleapis.com/Asset\022\001*B\027\n\025access_contex" + + "t_policy\"\262\001\n\010Resource\022\017\n\007version\030\001 \001(\t\022\036" + + "\n\026discovery_document_uri\030\002 \001(\t\022\026\n\016discov" + + "ery_name\030\003 \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006" + + "parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132\027.google.prot" + + "obuf.Struct\022\020\n\010location\030\010 \001(\t\"\242\001\n\rRelate" + + "dAssets\022U\n\027relationship_attributes\030\001 \001(\013" + + "24.google.cloud.asset.v1p7beta1.Relation" + + "shipAttributes\022:\n\006assets\030\002 \003(\0132*.google." + + "cloud.asset.v1p7beta1.RelatedAsset\"r\n\026Re" + + "lationshipAttributes\022\014\n\004type\030\004 \001(\t\022\034\n\024so" + + "urce_resource_type\030\001 \001(\t\022\034\n\024target_resou" + + "rce_type\030\002 \001(\t\022\016\n\006action\030\003 \001(\t\"j\n\014Relate" + + "dAsset\0223\n\005asset\030\001 \001(\tB$\372A!\n\037cloudasset.g" + + "oogleapis.com/Asset\022\022\n\nasset_type\030\002 \001(\t\022" + + "\021\n\tancestors\030\003 \003(\tB\264\001\n com.google.cloud." + + "asset.v1p7beta1B\nAssetProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/asset" + + "/v1p7beta1;asset\370\001\001\252\002\034Google.Cloud.Asset" + + ".V1P7Beta1\312\002\034Google\\Cloud\\Asset\\V1p7beta" + + "1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(), + com.google.cloud.osconfig.v1.Inventories.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(), + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(), + com.google.protobuf.AnyProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p7beta1_Asset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_Asset_descriptor, + new java.lang.String[] { + "UpdateTime", + "Name", + "AssetType", + "Resource", + "IamPolicy", + "OrgPolicy", + "AccessPolicy", + "AccessLevel", + "ServicePerimeter", + "RelatedAssets", + "Ancestors", + "AccessContextPolicy", + }); + internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor, + new java.lang.String[] { + "Version", + "DiscoveryDocumentUri", + "DiscoveryName", + "ResourceUrl", + "Parent", + "Data", + "Location", + }); + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor, + new java.lang.String[] { + "RelationshipAttributes", "Assets", + }); + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor, + new java.lang.String[] { + "Type", "SourceResourceType", "TargetResourceType", "Action", + }); + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor, + new java.lang.String[] { + "Asset", "AssetType", "Ancestors", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.orgpolicy.v1.OrgPolicyProto.getDescriptor(); + com.google.cloud.osconfig.v1.Inventories.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.AccessLevelProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.PolicyProto.getDescriptor(); + com.google.identity.accesscontextmanager.v1.ServicePerimeterProto.getDescriptor(); + com.google.protobuf.AnyProto.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java new file mode 100644 index 000000000..1cd5b7494 --- /dev/null +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java @@ -0,0 +1,235 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/asset/v1p7beta1/asset_service.proto + +package com.google.cloud.asset.v1p7beta1; + +public final class AssetServiceProto { + private AssetServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_asset_v1p7beta1_ExportAssetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_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/asset/v1p7beta1/asset_ser" + + "vice.proto\022\034google.cloud.asset.v1p7beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032)goo" + + "gle/cloud/asset/v1p7beta1/assets.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"\267\002\n\023ExportAssetsRequest\0227\n\006p" + + "arent\030\001 \001(\tB\'\340A\002\372A!\022\037cloudasset.googleap" + + "is.com/Asset\022-\n\tread_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\022\023\n\013asset_types\030\003 \003(\t" + + "\022?\n\014content_type\030\004 \001(\0162).google.cloud.as" + + "set.v1p7beta1.ContentType\022F\n\routput_conf" + + "ig\030\005 \001(\0132*.google.cloud.asset.v1p7beta1." + + "OutputConfigB\003\340A\002\022\032\n\022relationship_types\030" + + "\006 \003(\t\"\313\001\n\024ExportAssetsResponse\022-\n\tread_t" + + "ime\030\001 \001(\0132\032.google.protobuf.Timestamp\022A\n" + + "\routput_config\030\002 \001(\0132*.google.cloud.asse" + + "t.v1p7beta1.OutputConfig\022A\n\routput_resul" + + "t\030\003 \001(\0132*.google.cloud.asset.v1p7beta1.O" + + "utputResult\"\271\001\n\014OutputConfig\022G\n\017gcs_dest" + + "ination\030\001 \001(\0132,.google.cloud.asset.v1p7b" + + "eta1.GcsDestinationH\000\022Q\n\024bigquery_destin" + + "ation\030\002 \001(\01321.google.cloud.asset.v1p7bet" + + "a1.BigQueryDestinationH\000B\r\n\013destination\"" + + "]\n\014OutputResult\022C\n\ngcs_result\030\001 \001(\0132-.go" + + "ogle.cloud.asset.v1p7beta1.GcsOutputResu" + + "ltH\000B\010\n\006result\"\037\n\017GcsOutputResult\022\014\n\004uri" + + "s\030\001 \003(\t\"C\n\016GcsDestination\022\r\n\003uri\030\001 \001(\tH\000" + + "\022\024\n\nuri_prefix\030\002 \001(\tH\000B\014\n\nobject_uri\"\273\001\n" + + "\023BigQueryDestination\022\024\n\007dataset\030\001 \001(\tB\003\340" + + "A\002\022\022\n\005table\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\022C\n" + + "\016partition_spec\030\004 \001(\0132+.google.cloud.ass" + + "et.v1p7beta1.PartitionSpec\022&\n\036separate_t" + + "ables_per_asset_type\030\005 \001(\010\"\260\001\n\rPartition" + + "Spec\022O\n\rpartition_key\030\001 \001(\01628.google.clo" + + "ud.asset.v1p7beta1.PartitionSpec.Partiti" + + "onKey\"N\n\014PartitionKey\022\035\n\031PARTITION_KEY_U" + + "NSPECIFIED\020\000\022\r\n\tREAD_TIME\020\001\022\020\n\014REQUEST_T" + + "IME\020\002*~\n\013ContentType\022\034\n\030CONTENT_TYPE_UNS" + + "PECIFIED\020\000\022\014\n\010RESOURCE\020\001\022\016\n\nIAM_POLICY\020\002" + + "\022\016\n\nORG_POLICY\020\004\022\021\n\rACCESS_POLICY\020\005\022\020\n\014R" + + "ELATIONSHIP\020\0072\332\002\n\014AssetService\022\372\001\n\014Expor" + + "tAssets\0221.google.cloud.asset.v1p7beta1.E" + + "xportAssetsRequest\032\035.google.longrunning." + + "Operation\"\227\001\202\323\344\223\002)\"$/v1p7beta1/{parent=*" + + "/*}:exportAssets:\001*\312Ae\n1google.cloud.ass" + + "et.v1p7beta1.ExportAssetsResponse\0220googl" + + "e.cloud.asset.v1p7beta1.ExportAssetsRequ" + + "est\032M\312A\031cloudasset.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\270\001\n com.google.cloud.asset.v1p7beta1B" + + "\021AssetServiceProtoP\001ZAgoogle.golang.org/" + + "genproto/googleapis/cloud/asset/v1p7beta" + + "1;asset\252\002\034Google.Cloud.Asset.V1P7Beta1\312\002" + + "\034Google\\Cloud\\Asset\\V1p7beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor, + new java.lang.String[] { + "Parent", + "ReadTime", + "AssetTypes", + "ContentType", + "OutputConfig", + "RelationshipTypes", + }); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor, + new java.lang.String[] { + "ReadTime", "OutputConfig", "OutputResult", + }); + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor, + new java.lang.String[] { + "GcsDestination", "BigqueryDestination", "Destination", + }); + internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor, + new java.lang.String[] { + "GcsResult", "Result", + }); + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor, + new java.lang.String[] { + "Uris", + }); + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor, + new java.lang.String[] { + "Uri", "UriPrefix", "ObjectUri", + }); + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor, + new java.lang.String[] { + "Dataset", "Table", "Force", "PartitionSpec", "SeparateTablesPerAssetType", + }); + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor, + new java.lang.String[] { + "PartitionKey", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.asset.v1p7beta1.AssetProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java similarity index 82% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java index abf75e211..e9f66396e 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestination.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * A BigQuery destination for exporting assets to.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.BigQueryDestination} */ -public final class BigQueryDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.BigQueryDestination) BigQueryDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryDestination() { dataset_ = ""; table_ = ""; @@ -26,16 +44,15 @@ private BigQueryDestination() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,48 +71,53 @@ private BigQueryDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - dataset_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 24: { + dataset_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - case 34: { - com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder subBuilder = null; - if (partitionSpec_ != null) { - subBuilder = partitionSpec_.toBuilder(); + table_ = s; + break; } - partitionSpec_ = input.readMessage(com.google.cloud.asset.v1p7beta1.PartitionSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(partitionSpec_); - partitionSpec_ = subBuilder.buildPartial(); + case 24: + { + force_ = input.readBool(); + break; } + case 34: + { + com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder subBuilder = null; + if (partitionSpec_ != null) { + subBuilder = partitionSpec_.toBuilder(); + } + partitionSpec_ = + input.readMessage( + com.google.cloud.asset.v1p7beta1.PartitionSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionSpec_); + partitionSpec_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - - separateTablesPerAssetType_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 40: + { + separateTablesPerAssetType_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,29 +125,33 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, + com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); } public static final int DATASET_FIELD_NUMBER = 1; private volatile java.lang.Object dataset_; /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -134,6 +160,7 @@ private BigQueryDestination(
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -142,14 +169,15 @@ 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; } } /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -158,16 +186,15 @@ public java.lang.String getDataset() {
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -178,6 +205,8 @@ public java.lang.String getDataset() { public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -185,6 +214,7 @@ public java.lang.String getDataset() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ @java.lang.Override @@ -193,14 +223,15 @@ public java.lang.String getTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } } /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -208,16 +239,15 @@ public java.lang.String getTable() {
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -228,6 +258,8 @@ public java.lang.String getTable() { public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** + * + * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -236,6 +268,7 @@ public java.lang.String getTable() {
    * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -246,6 +279,8 @@ public boolean getForce() { public static final int PARTITION_SPEC_FIELD_NUMBER = 4; private com.google.cloud.asset.v1p7beta1.PartitionSpec partitionSpec_; /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -265,6 +300,7 @@ public boolean getForce() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ @java.lang.Override @@ -272,6 +308,8 @@ public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -291,13 +329,18 @@ public boolean hasPartitionSpec() {
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return The partitionSpec. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec() { - return partitionSpec_ == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_; + return partitionSpec_ == null + ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() + : partitionSpec_; } /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -326,6 +369,8 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
   public static final int SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER = 5;
   private boolean separateTablesPerAssetType_;
   /**
+   *
+   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -354,6 +399,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -362,6 +408,7 @@ public boolean getSeparateTablesPerAssetType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,8 +420,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, dataset_); } @@ -406,16 +452,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); } if (partitionSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPartitionSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPartitionSpec()); } if (separateTablesPerAssetType_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, separateTablesPerAssetType_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, separateTablesPerAssetType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -425,26 +468,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.asset.v1p7beta1.BigQueryDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.BigQueryDestination other = (com.google.cloud.asset.v1p7beta1.BigQueryDestination) obj; + com.google.cloud.asset.v1p7beta1.BigQueryDestination other = + (com.google.cloud.asset.v1p7beta1.BigQueryDestination) obj; - if (!getDataset() - .equals(other.getDataset())) return false; - if (!getTable() - .equals(other.getTable())) return false; - if (getForce() - != other.getForce()) return false; + if (!getDataset().equals(other.getDataset())) return false; + if (!getTable().equals(other.getTable())) return false; + if (getForce() != other.getForce()) return false; if (hasPartitionSpec() != other.hasPartitionSpec()) return false; if (hasPartitionSpec()) { - if (!getPartitionSpec() - .equals(other.getPartitionSpec())) return false; + if (!getPartitionSpec().equals(other.getPartitionSpec())) return false; } - if (getSeparateTablesPerAssetType() - != other.getSeparateTablesPerAssetType()) return false; + if (getSeparateTablesPerAssetType() != other.getSeparateTablesPerAssetType()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -461,132 +500,139 @@ public int hashCode() { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); if (hasPartitionSpec()) { hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); } hash = (37 * hash) + SEPARATE_TABLES_PER_ASSET_TYPE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSeparateTablesPerAssetType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSeparateTablesPerAssetType()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( - java.nio.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.asset.v1p7beta1.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.BigQueryDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.BigQueryDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.BigQueryDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A BigQuery destination for exporting assets to.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.BigQueryDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.BigQueryDestination) com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.BigQueryDestination.class, + com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.BigQueryDestination.newBuilder() @@ -594,16 +640,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -625,9 +670,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_BigQueryDestination_descriptor; } @java.lang.Override @@ -646,7 +691,8 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.BigQueryDestination buildPartial() { - com.google.cloud.asset.v1p7beta1.BigQueryDestination result = new com.google.cloud.asset.v1p7beta1.BigQueryDestination(this); + com.google.cloud.asset.v1p7beta1.BigQueryDestination result = + new com.google.cloud.asset.v1p7beta1.BigQueryDestination(this); result.dataset_ = dataset_; result.table_ = table_; result.force_ = force_; @@ -664,38 +710,39 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.BigQueryDestination) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.BigQueryDestination)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.BigQueryDestination) other); } else { super.mergeFrom(other); return this; @@ -703,7 +750,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.BigQueryDestination other) { - if (other == com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) + return this; if (!other.getDataset().isEmpty()) { dataset_ = other.dataset_; onChanged(); @@ -740,7 +788,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p7beta1.BigQueryDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p7beta1.BigQueryDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,6 +801,8 @@ public Builder mergeFrom( private java.lang.Object dataset_ = ""; /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -760,13 +811,13 @@ public Builder mergeFrom(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -775,6 +826,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -783,15 +836,14 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -799,6 +851,8 @@ public java.lang.String getDataset() { } } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -807,20 +861,22 @@ public java.lang.String getDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -829,15 +885,18 @@ public Builder setDataset(
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); onChanged(); return this; } /** + * + * *
      * Required. The BigQuery dataset in format
      * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -846,16 +905,16 @@ public Builder clearDataset() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -863,6 +922,8 @@ public Builder setDatasetBytes( private java.lang.Object table_ = ""; /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -870,13 +931,13 @@ public Builder setDatasetBytes(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -885,6 +946,8 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -892,15 +955,14 @@ public java.lang.String getTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - public com.google.protobuf.ByteString - getTableBytes() { + public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); table_ = b; return b; } else { @@ -908,6 +970,8 @@ public java.lang.String getTable() { } } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -915,20 +979,22 @@ public java.lang.String getTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The table to set. * @return This builder for chaining. */ - public Builder setTable( - java.lang.String value) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; onChanged(); return this; } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -936,15 +1002,18 @@ public Builder setTable(
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** + * + * *
      * Required. The BigQuery table to which the snapshot result should be
      * written. If this table does not exist, a new table with the given name
@@ -952,23 +1021,25 @@ public Builder clearTable() {
      * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -977,6 +1048,7 @@ public Builder setTableBytes(
      * 
* * bool force = 3; + * * @return The force. */ @java.lang.Override @@ -984,6 +1056,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -992,16 +1066,19 @@ public boolean getForce() {
      * 
* * bool force = 3; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If the destination table already exists and this flag is `TRUE`, the
      * table will be overwritten by the contents of assets snapshot. If the flag
@@ -1010,10 +1087,11 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 3; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; @@ -1021,8 +1099,13 @@ public Builder clearForce() { private com.google.cloud.asset.v1p7beta1.PartitionSpec partitionSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.PartitionSpec, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder> partitionSpecBuilder_; + com.google.cloud.asset.v1p7beta1.PartitionSpec, + com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, + com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder> + partitionSpecBuilder_; /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1042,12 +1125,15 @@ public Builder clearForce() {
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return partitionSpecBuilder_ != null || partitionSpec_ != null; } /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1067,16 +1153,21 @@ public boolean hasPartitionSpec() {
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return The partitionSpec. */ public com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec() { if (partitionSpecBuilder_ == null) { - return partitionSpec_ == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_; + return partitionSpec_ == null + ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() + : partitionSpec_; } else { return partitionSpecBuilder_.getMessage(); } } /** + * + * *
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1111,6 +1202,8 @@ public Builder setPartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec v
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1143,6 +1236,8 @@ public Builder setPartitionSpec(
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1167,7 +1262,9 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec
       if (partitionSpecBuilder_ == null) {
         if (partitionSpec_ != null) {
           partitionSpec_ =
-            com.google.cloud.asset.v1p7beta1.PartitionSpec.newBuilder(partitionSpec_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1p7beta1.PartitionSpec.newBuilder(partitionSpec_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           partitionSpec_ = value;
         }
@@ -1179,6 +1276,8 @@ public Builder mergePartitionSpec(com.google.cloud.asset.v1p7beta1.PartitionSpec
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1211,6 +1310,8 @@ public Builder clearPartitionSpec() {
       return this;
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1232,11 +1333,13 @@ public Builder clearPartitionSpec() {
      * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4;
      */
     public com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder getPartitionSpecBuilder() {
-      
+
       onChanged();
       return getPartitionSpecFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1261,11 +1364,14 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
       if (partitionSpecBuilder_ != null) {
         return partitionSpecBuilder_.getMessageOrBuilder();
       } else {
-        return partitionSpec_ == null ?
-            com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance() : partitionSpec_;
+        return partitionSpec_ == null
+            ? com.google.cloud.asset.v1p7beta1.PartitionSpec.getDefaultInstance()
+            : partitionSpec_;
       }
     }
     /**
+     *
+     *
      * 
      * [partition_spec] determines whether to export to partitioned table(s) and
      * how to partition the data.
@@ -1287,21 +1393,26 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p7beta1.PartitionSpec, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder> 
+            com.google.cloud.asset.v1p7beta1.PartitionSpec,
+            com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder,
+            com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder>
         getPartitionSpecFieldBuilder() {
       if (partitionSpecBuilder_ == null) {
-        partitionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.PartitionSpec, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder, com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder>(
-                getPartitionSpec(),
-                getParentForChildren(),
-                isClean());
+        partitionSpecBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1p7beta1.PartitionSpec,
+                com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder,
+                com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder>(
+                getPartitionSpec(), getParentForChildren(), isClean());
         partitionSpec_ = null;
       }
       return partitionSpecBuilder_;
     }
 
-    private boolean separateTablesPerAssetType_ ;
+    private boolean separateTablesPerAssetType_;
     /**
+     *
+     *
      * 
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1330,6 +1441,7 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecO
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ @java.lang.Override @@ -1337,6 +1449,8 @@ public boolean getSeparateTablesPerAssetType() { return separateTablesPerAssetType_; } /** + * + * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1365,16 +1479,19 @@ public boolean getSeparateTablesPerAssetType() {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @param value The separateTablesPerAssetType to set. * @return This builder for chaining. */ public Builder setSeparateTablesPerAssetType(boolean value) { - + separateTablesPerAssetType_ = value; onChanged(); return this; } /** + * + * *
      * If this flag is `TRUE`, the snapshot results will be written to one or
      * multiple tables, each of which contains results of one asset type. The
@@ -1403,17 +1520,18 @@ public Builder setSeparateTablesPerAssetType(boolean value) {
      * 
* * bool separate_tables_per_asset_type = 5; + * * @return This builder for chaining. */ public Builder clearSeparateTablesPerAssetType() { - + separateTablesPerAssetType_ = 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); } @@ -1423,12 +1541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.BigQueryDestination) private static final com.google.cloud.asset.v1p7beta1.BigQueryDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.BigQueryDestination(); } @@ -1437,16 +1555,16 @@ public static com.google.cloud.asset.v1p7beta1.BigQueryDestination getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1461,6 +1579,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java similarity index 89% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java index 40da134d5..f388d517d 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/BigQueryDestinationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface BigQueryDestinationOrBuilder extends +public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -16,10 +34,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ java.lang.String getDataset(); /** + * + * *
    * Required. The BigQuery dataset in format
    * "projects/projectId/datasets/datasetId", to which the snapshot result
@@ -28,12 +49,14 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dataset. */ - com.google.protobuf.ByteString - getDatasetBytes(); + com.google.protobuf.ByteString getDatasetBytes(); /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -41,10 +64,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The table. */ java.lang.String getTable(); /** + * + * *
    * Required. The BigQuery table to which the snapshot result should be
    * written. If this table does not exist, a new table with the given name
@@ -52,12 +78,14 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * string table = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for table. */ - com.google.protobuf.ByteString - getTableBytes(); + com.google.protobuf.ByteString getTableBytes(); /** + * + * *
    * If the destination table already exists and this flag is `TRUE`, the
    * table will be overwritten by the contents of assets snapshot. If the flag
@@ -66,11 +94,14 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * bool force = 3; + * * @return The force. */ boolean getForce(); /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -90,10 +121,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return Whether the partitionSpec field is set. */ boolean hasPartitionSpec(); /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -113,10 +147,13 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec partition_spec = 4; + * * @return The partitionSpec. */ com.google.cloud.asset.v1p7beta1.PartitionSpec getPartitionSpec(); /** + * + * *
    * [partition_spec] determines whether to export to partitioned table(s) and
    * how to partition the data.
@@ -140,6 +177,8 @@ public interface BigQueryDestinationOrBuilder extends
   com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder getPartitionSpecOrBuilder();
 
   /**
+   *
+   *
    * 
    * If this flag is `TRUE`, the snapshot results will be written to one or
    * multiple tables, each of which contains results of one asset type. The
@@ -168,6 +207,7 @@ public interface BigQueryDestinationOrBuilder extends
    * 
* * bool separate_tables_per_asset_type = 5; + * * @return The separateTablesPerAssetType. */ boolean getSeparateTablesPerAssetType(); diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java similarity index 70% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java index b093c4e6e..d69eb0030 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ContentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * Asset content type.
  * 
* * Protobuf enum {@code google.cloud.asset.v1p7beta1.ContentType} */ -public enum ContentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum ContentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified content type.
    * 
@@ -21,6 +39,8 @@ public enum ContentType */ CONTENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * Resource metadata.
    * 
@@ -29,6 +49,8 @@ public enum ContentType */ RESOURCE(1), /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -37,6 +59,8 @@ public enum ContentType */ IAM_POLICY(2), /** + * + * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -45,6 +69,8 @@ public enum ContentType */ ORG_POLICY(4), /** + * + * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -53,6 +79,8 @@ public enum ContentType */ ACCESS_POLICY(5), /** + * + * *
    * The related resources.
    * 
@@ -64,6 +92,8 @@ public enum ContentType ; /** + * + * *
    * Unspecified content type.
    * 
@@ -72,6 +102,8 @@ public enum ContentType */ public static final int CONTENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Resource metadata.
    * 
@@ -80,6 +112,8 @@ public enum ContentType */ public static final int RESOURCE_VALUE = 1; /** + * + * *
    * The actual IAM policy set on a resource.
    * 
@@ -88,6 +122,8 @@ public enum ContentType */ public static final int IAM_POLICY_VALUE = 2; /** + * + * *
    * The Cloud Organization Policy set on an asset.
    * 
@@ -96,6 +132,8 @@ public enum ContentType */ public static final int ORG_POLICY_VALUE = 4; /** + * + * *
    * The Cloud Access context manager Policy set on an asset.
    * 
@@ -104,6 +142,8 @@ public enum ContentType */ public static final int ACCESS_POLICY_VALUE = 5; /** + * + * *
    * The related resources.
    * 
@@ -112,7 +152,6 @@ public enum ContentType */ public static final int RELATIONSHIP_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,52 +176,55 @@ public static ContentType valueOf(int value) { */ public static ContentType forNumber(int value) { switch (value) { - case 0: return CONTENT_TYPE_UNSPECIFIED; - case 1: return RESOURCE; - case 2: return IAM_POLICY; - case 4: return ORG_POLICY; - case 5: return ACCESS_POLICY; - case 7: return RELATIONSHIP; - default: return null; + case 0: + return CONTENT_TYPE_UNSPECIFIED; + case 1: + return RESOURCE; + case 2: + return IAM_POLICY; + case 4: + return ORG_POLICY; + case 5: + return ACCESS_POLICY; + case 7: + return RELATIONSHIP; + 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< - ContentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ContentType findValueByNumber(int number) { - return ContentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContentType findValueByNumber(int number) { + return ContentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.asset.v1p7beta1.AssetServiceProto.getDescriptor().getEnumTypes().get(0); } private static final ContentType[] VALUES = values(); - public static ContentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ContentType 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; @@ -198,4 +240,3 @@ private ContentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.asset.v1p7beta1.ContentType) } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java similarity index 78% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java index b09380a20..9ef4c9d0c 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * Export asset request.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsRequest} */ -public final class ExportAssetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportAssetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.ExportAssetsRequest) ExportAssetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportAssetsRequest.newBuilder() to construct. private ExportAssetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportAssetsRequest() { parent_ = ""; assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -28,16 +46,15 @@ private ExportAssetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportAssetsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ExportAssetsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,69 +74,78 @@ private ExportAssetsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (readTime_ != null) { - subBuilder = readTime_.toBuilder(); + parent_ = s; + break; } - readTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readTime_); - readTime_ = subBuilder.buildPartial(); + 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; } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assetTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assetTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assetTypes_.add(s); + break; } - assetTypes_.add(s); - break; - } - case 32: { - int rawValue = input.readEnum(); + case 32: + { + int rawValue = input.readEnum(); - contentType_ = rawValue; - break; - } - case 42: { - com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null; - if (outputConfig_ != null) { - subBuilder = outputConfig_.toBuilder(); + contentType_ = rawValue; + break; } - outputConfig_ = input.readMessage(com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputConfig_); - outputConfig_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null; + if (outputConfig_ != null) { + subBuilder = outputConfig_.toBuilder(); + } + outputConfig_ = + input.readMessage( + com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputConfig_); + outputConfig_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + relationshipTypes_.add(s); + break; } - relationshipTypes_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,8 +153,7 @@ private ExportAssetsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assetTypes_ = assetTypes_.getUnmodifiableView(); @@ -140,22 +165,27 @@ private ExportAssetsRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -163,7 +193,10 @@ private ExportAssetsRequest(
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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 @@ -172,14 +205,15 @@ 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 relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -187,17 +221,18 @@ public java.lang.String getParent() {
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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 { @@ -208,6 +243,8 @@ public java.lang.String getParent() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -217,6 +254,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -224,6 +262,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -233,6 +273,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -240,6 +281,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -258,6 +301,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int ASSET_TYPES_FIELD_NUMBER = 3;
   private com.google.protobuf.LazyStringList assetTypes_;
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -276,13 +321,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_; } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -301,12 +348,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -325,6 +375,7 @@ public int getAssetTypesCount() {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -332,6 +383,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -350,52 +403,66 @@ public java.lang.String getAssetTypes(int index) {
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } public static final int CONTENT_TYPE_FIELD_NUMBER = 4; private int contentType_; /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return The contentType. */ - @java.lang.Override public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { + @java.lang.Override + public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p7beta1.ContentType result = + com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p7beta1.ContentType.UNRECOGNIZED : result; } public static final int OUTPUT_CONFIG_FIELD_NUMBER = 5; private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -403,25 +470,36 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -431,6 +509,8 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB public static final int RELATIONSHIP_TYPES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList relationshipTypes_; /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -445,13 +525,15 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
    * 
* * repeated string relationship_types = 6; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_; } /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -466,12 +548,15 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
    * 
* * repeated string relationship_types = 6; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -486,6 +571,7 @@ public int getRelationshipTypesCount() {
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -493,6 +579,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -507,15 +595,16 @@ public java.lang.String getRelationshipTypes(int index) {
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -527,8 +616,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -538,7 +626,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < assetTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assetTypes_.getRaw(i)); } - if (contentType_ != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + if (contentType_ + != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, contentType_); } if (outputConfig_ != null) { @@ -560,8 +649,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); } { int dataSize = 0; @@ -571,13 +659,12 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAssetTypesList().size(); } - if (contentType_ != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, contentType_); + if (contentType_ + != com.google.cloud.asset.v1p7beta1.ContentType.CONTENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, contentType_); } if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getOutputConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOutputConfig()); } { int dataSize = 0; @@ -595,30 +682,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsRequest)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest other = (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) obj; + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest other = + (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) 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 (!getAssetTypesList() - .equals(other.getAssetTypesList())) return false; + if (!getAssetTypesList().equals(other.getAssetTypesList())) return false; if (contentType_ != other.contentType_) return false; if (hasOutputConfig() != other.hasOutputConfig()) return false; if (hasOutputConfig()) { - if (!getOutputConfig() - .equals(other.getOutputConfig())) return false; + if (!getOutputConfig().equals(other.getOutputConfig())) return false; } - if (!getRelationshipTypesList() - .equals(other.getRelationshipTypesList())) return false; + if (!getRelationshipTypesList().equals(other.getRelationshipTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -656,117 +739,126 @@ public int hashCode() { } public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.nio.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.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.ExportAssetsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.ExportAssetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.ExportAssetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.ExportAssetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Export asset request.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.ExportAssetsRequest) com.google.cloud.asset.v1p7beta1.ExportAssetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.class, + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.newBuilder() @@ -774,16 +866,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -811,9 +902,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsRequest_descriptor; } @java.lang.Override @@ -832,7 +923,8 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest buildPartial() { - com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result = new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(this); + com.google.cloud.asset.v1p7beta1.ExportAssetsRequest result = + new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (readTimeBuilder_ == null) { @@ -864,38 +956,39 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsRequest)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) other); } else { super.mergeFrom(other); return this; @@ -903,7 +996,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.ExportAssetsRequest other) { - if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -956,7 +1050,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.asset.v1p7beta1.ExportAssetsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -965,10 +1060,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -976,14 +1074,16 @@ public Builder mergeFrom(
      * or a folder number (such as "folders/123").
      * 
* - * string parent = 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; @@ -992,6 +1092,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -999,16 +1101,17 @@ public java.lang.String getParent() {
      * or a folder number (such as "folders/123").
      * 
* - * string parent = 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 { @@ -1016,6 +1119,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1023,21 +1128,25 @@ public java.lang.String getParent() {
      * or a folder number (such as "folders/123").
      * 
* - * 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1045,16 +1154,21 @@ public Builder setParent(
      * or a folder number (such as "folders/123").
      * 
* - * string 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 relative name of the root asset. This can only be an
      * organization number (such as "organizations/123"), a project ID (such as
@@ -1062,17 +1176,19 @@ public Builder clearParent() {
      * or a folder number (such as "folders/123").
      * 
* - * 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; @@ -1080,8 +1196,13 @@ public Builder setParentBytes( 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_; /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1091,12 +1212,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1106,6 +1230,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1116,6 +1241,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1140,6 +1267,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1150,8 +1279,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .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();
@@ -1162,6 +1290,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1176,7 +1306,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;
         }
@@ -1188,6 +1318,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1210,6 +1342,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1221,11 +1355,13 @@ public Builder clearReadTime() {
      * .google.protobuf.Timestamp read_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
-      
+
       onChanged();
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1240,11 +1376,12 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Timestamp to take an asset snapshot. This can only be set to a timestamp
      * between the current time and the current time minus 35 days (inclusive).
@@ -1256,27 +1393,34 @@ 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_;
     }
 
-    private com.google.protobuf.LazyStringList assetTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList assetTypes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureAssetTypesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         assetTypes_ = new com.google.protobuf.LazyStringArrayList(assetTypes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1295,13 +1439,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - public com.google.protobuf.ProtocolStringList - getAssetTypesList() { + public com.google.protobuf.ProtocolStringList getAssetTypesList() { return assetTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1320,12 +1466,15 @@ private void ensureAssetTypesIsMutable() {
      * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ public int getAssetTypesCount() { return assetTypes_.size(); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1344,6 +1493,7 @@ public int getAssetTypesCount() {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ @@ -1351,6 +1501,8 @@ public java.lang.String getAssetTypes(int index) { return assetTypes_.get(index); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1369,14 +1521,16 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - public com.google.protobuf.ByteString - getAssetTypesBytes(int index) { + public com.google.protobuf.ByteString getAssetTypesBytes(int index) { return assetTypes_.getByteString(index); } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1395,21 +1549,23 @@ public java.lang.String getAssetTypes(int index) {
      * 
* * repeated string asset_types = 3; + * * @param index The index to set the value at. * @param value The assetTypes to set. * @return This builder for chaining. */ - public Builder setAssetTypes( - int index, java.lang.String value) { + public Builder setAssetTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1428,20 +1584,22 @@ public Builder setAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param value The assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypes( - java.lang.String value) { + public Builder addAssetTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAssetTypesIsMutable(); + throw new NullPointerException(); + } + ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1460,18 +1618,19 @@ public Builder addAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @param values The assetTypes to add. * @return This builder for chaining. */ - public Builder addAllAssetTypes( - java.lang.Iterable values) { + public Builder addAllAssetTypes(java.lang.Iterable values) { ensureAssetTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assetTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assetTypes_); onChanged(); return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1490,6 +1649,7 @@ public Builder addAllAssetTypes(
      * 
* * repeated string asset_types = 3; + * * @return This builder for chaining. */ public Builder clearAssetTypes() { @@ -1499,6 +1659,8 @@ public Builder clearAssetTypes() { return this; } /** + * + * *
      * A list of asset types to take a snapshot for. For example:
      * "compute.googleapis.com/Disk".
@@ -1517,15 +1679,15 @@ public Builder clearAssetTypes() {
      * 
* * repeated string asset_types = 3; + * * @param value The bytes of the assetTypes to add. * @return This builder for chaining. */ - public Builder addAssetTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addAssetTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAssetTypesIsMutable(); assetTypes_.add(value); onChanged(); @@ -1534,55 +1696,69 @@ public Builder addAssetTypesBytes( private int contentType_ = 0; /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ - @java.lang.Override public int getContentTypeValue() { + @java.lang.Override + public int getContentTypeValue() { return contentType_; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @param value The enum numeric value on the wire for contentType to set. * @return This builder for chaining. */ public Builder setContentTypeValue(int value) { - + contentType_ = value; onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return The contentType. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.ContentType getContentType() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.ContentType result = com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); + com.google.cloud.asset.v1p7beta1.ContentType result = + com.google.cloud.asset.v1p7beta1.ContentType.valueOf(contentType_); return result == null ? com.google.cloud.asset.v1p7beta1.ContentType.UNRECOGNIZED : result; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @param value The contentType to set. * @return This builder for chaining. */ @@ -1590,22 +1766,25 @@ public Builder setContentType(com.google.cloud.asset.v1p7beta1.ContentType value if (value == null) { throw new NullPointerException(); } - + contentType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Asset content type. If not specified, no content but the asset name will be
      * returned.
      * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return This builder for chaining. */ public Builder clearContentType() { - + contentType_ = 0; onChanged(); return this; @@ -1613,42 +1792,61 @@ public Builder clearContentType() { private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1p7beta1.OutputConfig, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1664,12 +1862,16 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.asset.v1p7beta1.OutputConfig.Builder builderForValue) { @@ -1683,18 +1885,24 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -1706,12 +1914,16 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1725,64 +1937,84 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Required. Output configuration indicating where the results will be output
      * to.
      * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> + com.google.cloud.asset.v1p7beta1.OutputConfig, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.OutputConfig, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; } - private com.google.protobuf.LazyStringList relationshipTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList relationshipTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureRelationshipTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { relationshipTypes_ = new com.google.protobuf.LazyStringArrayList(relationshipTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1797,13 +2029,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 6; + * * @return A list containing the relationshipTypes. */ - public com.google.protobuf.ProtocolStringList - getRelationshipTypesList() { + public com.google.protobuf.ProtocolStringList getRelationshipTypesList() { return relationshipTypes_.getUnmodifiableView(); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1818,12 +2052,15 @@ private void ensureRelationshipTypesIsMutable() {
      * 
* * repeated string relationship_types = 6; + * * @return The count of relationshipTypes. */ public int getRelationshipTypesCount() { return relationshipTypes_.size(); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1838,6 +2075,7 @@ public int getRelationshipTypesCount() {
      * 
* * repeated string relationship_types = 6; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ @@ -1845,6 +2083,8 @@ public java.lang.String getRelationshipTypes(int index) { return relationshipTypes_.get(index); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1859,14 +2099,16 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 6; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - public com.google.protobuf.ByteString - getRelationshipTypesBytes(int index) { + public com.google.protobuf.ByteString getRelationshipTypesBytes(int index) { return relationshipTypes_.getByteString(index); } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1881,21 +2123,23 @@ public java.lang.String getRelationshipTypes(int index) {
      * 
* * repeated string relationship_types = 6; + * * @param index The index to set the value at. * @param value The relationshipTypes to set. * @return This builder for chaining. */ - public Builder setRelationshipTypes( - int index, java.lang.String value) { + public Builder setRelationshipTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1910,20 +2154,22 @@ public Builder setRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @param value The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypes( - java.lang.String value) { + public Builder addRelationshipTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureRelationshipTypesIsMutable(); + throw new NullPointerException(); + } + ensureRelationshipTypesIsMutable(); relationshipTypes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1938,18 +2184,19 @@ public Builder addRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @param values The relationshipTypes to add. * @return This builder for chaining. */ - public Builder addAllRelationshipTypes( - java.lang.Iterable values) { + public Builder addAllRelationshipTypes(java.lang.Iterable values) { ensureRelationshipTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, relationshipTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relationshipTypes_); onChanged(); return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1964,6 +2211,7 @@ public Builder addAllRelationshipTypes(
      * 
* * repeated string relationship_types = 6; + * * @return This builder for chaining. */ public Builder clearRelationshipTypes() { @@ -1973,6 +2221,8 @@ public Builder clearRelationshipTypes() { return this; } /** + * + * *
      * A list of relationship types to export, for example:
      * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -1987,23 +2237,23 @@ public Builder clearRelationshipTypes() {
      * 
* * repeated string relationship_types = 6; + * * @param value The bytes of the relationshipTypes to add. * @return This builder for chaining. */ - public Builder addRelationshipTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addRelationshipTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureRelationshipTypesIsMutable(); relationshipTypes_.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); } @@ -2013,12 +2263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.ExportAssetsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.ExportAssetsRequest) private static final com.google.cloud.asset.v1p7beta1.ExportAssetsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.ExportAssetsRequest(); } @@ -2027,16 +2277,16 @@ public static com.google.cloud.asset.v1p7beta1.ExportAssetsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportAssetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExportAssetsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportAssetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExportAssetsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2051,6 +2301,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.ExportAssetsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java similarity index 86% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java index 068316c46..909201e7a 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface ExportAssetsRequestOrBuilder extends +public interface ExportAssetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.ExportAssetsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -15,11 +33,16 @@ public interface ExportAssetsRequestOrBuilder extends
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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 relative name of the root asset. This can only be an
    * organization number (such as "organizations/123"), a project ID (such as
@@ -27,13 +50,17 @@ public interface ExportAssetsRequestOrBuilder extends
    * or a folder number (such as "folders/123").
    * 
* - * string parent = 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(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -43,10 +70,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -56,10 +86,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Timestamp to take an asset snapshot. This can only be set to a timestamp
    * between the current time and the current time minus 35 days (inclusive).
@@ -73,6 +106,8 @@ public interface ExportAssetsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -91,11 +126,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return A list containing the assetTypes. */ - java.util.List - getAssetTypesList(); + java.util.List getAssetTypesList(); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -114,10 +151,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @return The count of assetTypes. */ int getAssetTypesCount(); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -136,11 +176,14 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the element to return. * @return The assetTypes at the given index. */ java.lang.String getAssetTypes(int index); /** + * + * *
    * A list of asset types to take a snapshot for. For example:
    * "compute.googleapis.com/Disk".
@@ -159,64 +202,86 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string asset_types = 3; + * * @param index The index of the value to return. * @return The bytes of the assetTypes at the given index. */ - com.google.protobuf.ByteString - getAssetTypesBytes(int index); + com.google.protobuf.ByteString getAssetTypesBytes(int index); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return The enum numeric value on the wire for contentType. */ int getContentTypeValue(); /** + * + * *
    * Asset content type. If not specified, no content but the asset name will be
    * returned.
    * 
* * .google.cloud.asset.v1p7beta1.ContentType content_type = 4; + * * @return The contentType. */ com.google.cloud.asset.v1p7beta1.ContentType getContentType(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The outputConfig. */ com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig(); /** + * + * *
    * Required. Output configuration indicating where the results will be output
    * to.
    * 
* - * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -231,11 +296,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @return A list containing the relationshipTypes. */ - java.util.List - getRelationshipTypesList(); + java.util.List getRelationshipTypesList(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -250,10 +317,13 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @return The count of relationshipTypes. */ int getRelationshipTypesCount(); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -268,11 +338,14 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the element to return. * @return The relationshipTypes at the given index. */ java.lang.String getRelationshipTypes(int index); /** + * + * *
    * A list of relationship types to export, for example:
    * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
@@ -287,9 +360,9 @@ public interface ExportAssetsRequestOrBuilder extends
    * 
* * repeated string relationship_types = 6; + * * @param index The index of the value to return. * @return The bytes of the relationshipTypes at the given index. */ - com.google.protobuf.ByteString - getRelationshipTypesBytes(int index); + com.google.protobuf.ByteString getRelationshipTypesBytes(int index); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java similarity index 73% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java index 2249e653b..bcfa574a7 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * The export asset response. This message is returned by the
  * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -14,30 +31,29 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsResponse}
  */
-public final class ExportAssetsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportAssetsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
     ExportAssetsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportAssetsResponse.newBuilder() to construct.
   private ExportAssetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ExportAssetsResponse() {
-  }
+
+  private ExportAssetsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportAssetsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ExportAssetsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,52 +72,60 @@ private ExportAssetsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            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();
-            }
+          case 10:
+            {
+              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 18: {
-            com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null;
-            if (outputConfig_ != null) {
-              subBuilder = outputConfig_.toBuilder();
-            }
-            outputConfig_ = input.readMessage(com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputConfig_);
-              outputConfig_ = subBuilder.buildPartial();
+              break;
             }
+          case 18:
+            {
+              com.google.cloud.asset.v1p7beta1.OutputConfig.Builder subBuilder = null;
+              if (outputConfig_ != null) {
+                subBuilder = outputConfig_.toBuilder();
+              }
+              outputConfig_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p7beta1.OutputConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputConfig_);
+                outputConfig_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.cloud.asset.v1p7beta1.OutputResult.Builder subBuilder = null;
-            if (outputResult_ != null) {
-              subBuilder = outputResult_.toBuilder();
-            }
-            outputResult_ = input.readMessage(com.google.cloud.asset.v1p7beta1.OutputResult.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(outputResult_);
-              outputResult_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.cloud.asset.v1p7beta1.OutputResult.Builder subBuilder = null;
+              if (outputResult_ != null) {
+                subBuilder = outputResult_.toBuilder();
+              }
+              outputResult_ =
+                  input.readMessage(
+                      com.google.cloud.asset.v1p7beta1.OutputResult.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(outputResult_);
+                outputResult_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,34 +133,39 @@ private ExportAssetsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetServiceProto
+        .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class, com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
+            com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class,
+            com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp readTime_;
   /**
+   *
+   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -144,11 +173,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -156,6 +188,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -170,11 +204,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int OUTPUT_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ @java.lang.Override @@ -182,18 +219,25 @@ public boolean hasOutputConfig() { return outputConfig_ != null; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; + * * @return The outputConfig. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { - return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
@@ -208,6 +252,8 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB public static final int OUTPUT_RESULT_FIELD_NUMBER = 3; private com.google.cloud.asset.v1p7beta1.OutputResult outputResult_; /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -217,6 +263,7 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; + * * @return Whether the outputResult field is set. */ @java.lang.Override @@ -224,6 +271,8 @@ public boolean hasOutputResult() { return outputResult_ != null; } /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -233,13 +282,18 @@ public boolean hasOutputResult() {
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; + * * @return The outputResult. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult() { - return outputResult_ == null ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_; + return outputResult_ == null + ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() + : outputResult_; } /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -256,6 +310,7 @@ public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrB
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -267,8 +322,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (readTime_ != null) {
       output.writeMessage(1, getReadTime());
     }
@@ -288,16 +342,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime());
     }
     if (outputConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOutputConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOutputConfig());
     }
     if (outputResult_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getOutputResult());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOutputResult());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -307,27 +358,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p7beta1.ExportAssetsResponse other = (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) obj;
+    com.google.cloud.asset.v1p7beta1.ExportAssetsResponse other =
+        (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) obj;
 
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (hasOutputConfig() != other.hasOutputConfig()) return false;
     if (hasOutputConfig()) {
-      if (!getOutputConfig()
-          .equals(other.getOutputConfig())) return false;
+      if (!getOutputConfig().equals(other.getOutputConfig())) return false;
     }
     if (hasOutputResult() != other.hasOutputResult()) return false;
     if (hasOutputResult()) {
-      if (!getOutputResult()
-          .equals(other.getOutputResult())) return false;
+      if (!getOutputResult().equals(other.getOutputResult())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -358,96 +407,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.nio.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      byte[] data,
-      com.google.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.ExportAssetsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1p7beta1.ExportAssetsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The export asset response. This message is returned by the
    * [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]
@@ -458,21 +515,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.ExportAssetsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
       com.google.cloud.asset.v1p7beta1.ExportAssetsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class, com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
+              com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.class,
+              com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.newBuilder()
@@ -480,16 +539,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -515,9 +573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetServiceProto
+          .internal_static_google_cloud_asset_v1p7beta1_ExportAssetsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -536,7 +594,8 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse buildPartial() {
-      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result = new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse(this);
+      com.google.cloud.asset.v1p7beta1.ExportAssetsResponse result =
+          new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse(this);
       if (readTimeBuilder_ == null) {
         result.readTime_ = readTime_;
       } else {
@@ -560,38 +619,39 @@ public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsResponse)other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,7 +659,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.ExportAssetsResponse other) {
-      if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1p7beta1.ExportAssetsResponse.getDefaultInstance())
+        return this;
       if (other.hasReadTime()) {
         mergeReadTime(other.getReadTime());
       }
@@ -628,7 +689,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1p7beta1.ExportAssetsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -640,24 +702,33 @@ public Builder mergeFrom(
 
     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 the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return readTimeBuilder_ != null || readTime_ != null; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -668,6 +739,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -688,14 +761,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
* * .google.protobuf.Timestamp read_time = 1; */ - 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(); @@ -706,6 +780,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -716,7 +792,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; } @@ -728,6 +804,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -746,6 +824,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -753,11 +833,13 @@ public Builder clearReadTime() { * .google.protobuf.Timestamp read_time = 1; */ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { - + onChanged(); return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the snapshot was taken.
      * 
@@ -768,11 +850,12 @@ 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 the snapshot was taken.
      * 
@@ -780,14 +863,17 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -795,34 +881,47 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { private com.google.cloud.asset.v1p7beta1.OutputConfig outputConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> outputConfigBuilder_; + com.google.cloud.asset.v1p7beta1.OutputConfig, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> + outputConfigBuilder_; /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ public boolean hasOutputConfig() { return outputConfigBuilder_ != null || outputConfig_ != null; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; + * * @return The outputConfig. */ public com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig() { if (outputConfigBuilder_ == null) { - return outputConfig_ == null ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } else { return outputConfigBuilder_.getMessage(); } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -843,6 +942,8 @@ public Builder setOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig val return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -861,6 +962,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -871,7 +974,9 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v if (outputConfigBuilder_ == null) { if (outputConfig_ != null) { outputConfig_ = - com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder(outputConfig_) + .mergeFrom(value) + .buildPartial(); } else { outputConfig_ = value; } @@ -883,6 +988,8 @@ public Builder mergeOutputConfig(com.google.cloud.asset.v1p7beta1.OutputConfig v return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -901,6 +1008,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -908,11 +1017,13 @@ public Builder clearOutputConfig() { * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; */ public com.google.cloud.asset.v1p7beta1.OutputConfig.Builder getOutputConfigBuilder() { - + onChanged(); return getOutputConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -923,11 +1034,14 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB if (outputConfigBuilder_ != null) { return outputConfigBuilder_.getMessageOrBuilder(); } else { - return outputConfig_ == null ? - com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() : outputConfig_; + return outputConfig_ == null + ? com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance() + : outputConfig_; } } /** + * + * *
      * Output configuration indicating where the results were output to.
      * 
@@ -935,14 +1049,17 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> + com.google.cloud.asset.v1p7beta1.OutputConfig, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder> getOutputConfigFieldBuilder() { if (outputConfigBuilder_ == null) { - outputConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputConfig, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( - getOutputConfig(), - getParentForChildren(), - isClean()); + outputConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.OutputConfig, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder, + com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder>( + getOutputConfig(), getParentForChildren(), isClean()); outputConfig_ = null; } return outputConfigBuilder_; @@ -950,8 +1067,13 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB private com.google.cloud.asset.v1p7beta1.OutputResult outputResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.OutputResult, com.google.cloud.asset.v1p7beta1.OutputResult.Builder, com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder> outputResultBuilder_; + com.google.cloud.asset.v1p7beta1.OutputResult, + com.google.cloud.asset.v1p7beta1.OutputResult.Builder, + com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder> + outputResultBuilder_; /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -961,12 +1083,15 @@ public com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrB
      * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; + * * @return Whether the outputResult field is set. */ public boolean hasOutputResult() { return outputResultBuilder_ != null || outputResult_ != null; } /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -976,16 +1101,21 @@ public boolean hasOutputResult() {
      * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; + * * @return The outputResult. */ public com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult() { if (outputResultBuilder_ == null) { - return outputResult_ == null ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_; + return outputResult_ == null + ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() + : outputResult_; } else { return outputResultBuilder_.getMessage(); } } /** + * + * *
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1010,6 +1140,8 @@ public Builder setOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult val
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1032,6 +1164,8 @@ public Builder setOutputResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1046,7 +1180,9 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult v
       if (outputResultBuilder_ == null) {
         if (outputResult_ != null) {
           outputResult_ =
-            com.google.cloud.asset.v1p7beta1.OutputResult.newBuilder(outputResult_).mergeFrom(value).buildPartial();
+              com.google.cloud.asset.v1p7beta1.OutputResult.newBuilder(outputResult_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           outputResult_ = value;
         }
@@ -1058,6 +1194,8 @@ public Builder mergeOutputResult(com.google.cloud.asset.v1p7beta1.OutputResult v
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1080,6 +1218,8 @@ public Builder clearOutputResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1091,11 +1231,13 @@ public Builder clearOutputResult() {
      * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3;
      */
     public com.google.cloud.asset.v1p7beta1.OutputResult.Builder getOutputResultBuilder() {
-      
+
       onChanged();
       return getOutputResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1110,11 +1252,14 @@ public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrB
       if (outputResultBuilder_ != null) {
         return outputResultBuilder_.getMessageOrBuilder();
       } else {
-        return outputResult_ == null ?
-            com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance() : outputResult_;
+        return outputResult_ == null
+            ? com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()
+            : outputResult_;
       }
     }
     /**
+     *
+     *
      * 
      * Output result indicating where the assets were exported to. For example, a
      * set of actual Google Cloud Storage object uris where the assets are
@@ -1126,21 +1271,24 @@ public com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder getOutputResultOrB
      * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p7beta1.OutputResult, com.google.cloud.asset.v1p7beta1.OutputResult.Builder, com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder> 
+            com.google.cloud.asset.v1p7beta1.OutputResult,
+            com.google.cloud.asset.v1p7beta1.OutputResult.Builder,
+            com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder>
         getOutputResultFieldBuilder() {
       if (outputResultBuilder_ == null) {
-        outputResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.OutputResult, com.google.cloud.asset.v1p7beta1.OutputResult.Builder, com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder>(
-                getOutputResult(),
-                getParentForChildren(),
-                isClean());
+        outputResultBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1p7beta1.OutputResult,
+                com.google.cloud.asset.v1p7beta1.OutputResult.Builder,
+                com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder>(
+                getOutputResult(), getParentForChildren(), isClean());
         outputResult_ = null;
       }
       return outputResultBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1150,12 +1298,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
   private static final com.google.cloud.asset.v1p7beta1.ExportAssetsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.ExportAssetsResponse();
   }
@@ -1164,16 +1312,16 @@ public static com.google.cloud.asset.v1p7beta1.ExportAssetsResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExportAssetsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ExportAssetsResponse(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExportAssetsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ExportAssetsResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1188,6 +1336,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.ExportAssetsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
index 17a006b72..cfd199400 100644
--- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
+++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ExportAssetsResponseOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
-public interface ExportAssetsResponseOrBuilder extends
+public interface ExportAssetsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.ExportAssetsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Time the snapshot was taken.
    * 
@@ -35,24 +59,32 @@ public interface ExportAssetsResponseOrBuilder extends com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; + * * @return Whether the outputConfig field is set. */ boolean hasOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
* * .google.cloud.asset.v1p7beta1.OutputConfig output_config = 2; + * * @return The outputConfig. */ com.google.cloud.asset.v1p7beta1.OutputConfig getOutputConfig(); /** + * + * *
    * Output configuration indicating where the results were output to.
    * 
@@ -62,6 +94,8 @@ public interface ExportAssetsResponseOrBuilder extends com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder getOutputConfigOrBuilder(); /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -71,10 +105,13 @@ public interface ExportAssetsResponseOrBuilder extends
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; + * * @return Whether the outputResult field is set. */ boolean hasOutputResult(); /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
@@ -84,10 +121,13 @@ public interface ExportAssetsResponseOrBuilder extends
    * 
* * .google.cloud.asset.v1p7beta1.OutputResult output_result = 3; + * * @return The outputResult. */ com.google.cloud.asset.v1p7beta1.OutputResult getOutputResult(); /** + * + * *
    * Output result indicating where the assets were exported to. For example, a
    * set of actual Google Cloud Storage object uris where the assets are
diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
similarity index 76%
rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
index c2432f8da..a388e716f 100644
--- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
+++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestination.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
 /**
+ *
+ *
  * 
  * A Cloud Storage location.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsDestination} */ -public final class GcsDestination extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.GcsDestination) GcsDestinationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsDestination.newBuilder() to construct. private GcsDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcsDestination() { - } + + private GcsDestination() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,25 +68,27 @@ private GcsDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 1; - objectUri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - objectUriCase_ = 2; - objectUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 1; + objectUri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + objectUriCase_ = 2; + objectUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,35 +96,40 @@ private GcsDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsDestination.class, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsDestination.class, + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); } private int objectUriCase_ = 0; private java.lang.Object objectUri_; + public enum ObjectUriCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { URI(1), URI_PREFIX(2), OBJECTURI_NOT_SET(0); private final int value; + private ObjectUriCase(int value) { this.value = value; } @@ -122,25 +145,30 @@ public static ObjectUriCase valueOf(int value) { public static ObjectUriCase forNumber(int value) { switch (value) { - case 1: return URI; - case 2: return URI_PREFIX; - case 0: return OBJECTURI_NOT_SET; - default: return null; + case 1: + return URI; + case 2: + return URI_PREFIX; + case 0: + return OBJECTURI_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ObjectUriCase - getObjectUriCase() { - return ObjectUriCase.forNumber( - objectUriCase_); + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); } public static final int URI_FIELD_NUMBER = 1; /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -150,12 +178,15 @@ public int getNumber() {
    * 
* * string uri = 1; + * * @return Whether the uri field is set. */ public boolean hasUri() { return objectUriCase_ == 1; } /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -165,6 +196,7 @@ public boolean hasUri() {
    * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { @@ -175,8 +207,7 @@ 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(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -185,6 +216,8 @@ public java.lang.String getUri() { } } /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -194,18 +227,17 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -217,6 +249,8 @@ public java.lang.String getUri() { public static final int URI_PREFIX_FIELD_NUMBER = 2; /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -230,12 +264,15 @@ public java.lang.String getUri() {
    * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -249,6 +286,7 @@ public boolean hasUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ public java.lang.String getUriPrefix() { @@ -259,8 +297,7 @@ public java.lang.String getUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -269,6 +306,8 @@ public java.lang.String getUriPrefix() { } } /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -282,18 +321,17 @@ public java.lang.String getUriPrefix() {
    * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ - public com.google.protobuf.ByteString - getUriPrefixBytes() { + public com.google.protobuf.ByteString getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -304,6 +342,7 @@ public java.lang.String getUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,8 +354,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (objectUriCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, objectUri_); } @@ -346,22 +384,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.asset.v1p7beta1.GcsDestination)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.GcsDestination other = (com.google.cloud.asset.v1p7beta1.GcsDestination) obj; + com.google.cloud.asset.v1p7beta1.GcsDestination other = + (com.google.cloud.asset.v1p7beta1.GcsDestination) obj; if (!getObjectUriCase().equals(other.getObjectUriCase())) return false; switch (objectUriCase_) { case 1: - if (!getUri() - .equals(other.getUri())) return false; + if (!getUri().equals(other.getUri())) return false; break; case 2: - if (!getUriPrefix() - .equals(other.getUriPrefix())) return false; + if (!getUriPrefix().equals(other.getUriPrefix())) return false; break; case 0: default: @@ -394,118 +431,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.GcsDestination 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.asset.v1p7beta1.GcsDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.GcsDestination parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.GcsDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.GcsDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Storage location.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.GcsDestination) com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsDestination.class, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsDestination.class, + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.GcsDestination.newBuilder() @@ -513,16 +559,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +577,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsDestination_descriptor; } @java.lang.Override @@ -553,7 +598,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsDestination buildPartial() { - com.google.cloud.asset.v1p7beta1.GcsDestination result = new com.google.cloud.asset.v1p7beta1.GcsDestination(this); + com.google.cloud.asset.v1p7beta1.GcsDestination result = + new com.google.cloud.asset.v1p7beta1.GcsDestination(this); if (objectUriCase_ == 1) { result.objectUri_ = objectUri_; } @@ -569,38 +615,39 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.GcsDestination) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsDestination)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsDestination) other); } else { super.mergeFrom(other); return this; @@ -608,23 +655,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.GcsDestination other) { - if (other == com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) + return this; switch (other.getObjectUriCase()) { - case URI: { - objectUriCase_ = 1; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case URI_PREFIX: { - objectUriCase_ = 2; - objectUri_ = other.objectUri_; - onChanged(); - break; - } - case OBJECTURI_NOT_SET: { - break; - } + case URI: + { + objectUriCase_ = 1; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case URI_PREFIX: + { + objectUriCase_ = 2; + objectUri_ = other.objectUri_; + onChanged(); + break; + } + case OBJECTURI_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,12 +705,12 @@ public Builder mergeFrom( } return this; } + private int objectUriCase_ = 0; private java.lang.Object objectUri_; - public ObjectUriCase - getObjectUriCase() { - return ObjectUriCase.forNumber( - objectUriCase_); + + public ObjectUriCase getObjectUriCase() { + return ObjectUriCase.forNumber(objectUriCase_); } public Builder clearObjectUri() { @@ -669,8 +720,9 @@ public Builder clearObjectUri() { return this; } - /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -680,6 +732,7 @@ public Builder clearObjectUri() {
      * 
* * string uri = 1; + * * @return Whether the uri field is set. */ @java.lang.Override @@ -687,6 +740,8 @@ public boolean hasUri() { return objectUriCase_ == 1; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -696,6 +751,7 @@ public boolean hasUri() {
      * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -705,8 +761,7 @@ public java.lang.String getUri() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 1) { objectUri_ = s; @@ -717,6 +772,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -726,19 +783,18 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 1) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 1) { objectUri_ = b; } @@ -748,6 +804,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -757,20 +815,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @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(); - } - objectUriCase_ = 1; + throw new NullPointerException(); + } + objectUriCase_ = 1; objectUri_ = value; onChanged(); return this; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -780,6 +840,7 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { @@ -791,6 +852,8 @@ public Builder clearUri() { return this; } /** + * + * *
      * The uri of the Cloud Storage object. It's the same uri that is used by
      * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -800,15 +863,15 @@ public Builder clearUri() {
      * 
* * string uri = 1; + * * @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); objectUriCase_ = 1; objectUri_ = value; onChanged(); @@ -816,6 +879,8 @@ public Builder setUriBytes( } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -829,6 +894,7 @@ public Builder setUriBytes(
      * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ @java.lang.Override @@ -836,6 +902,8 @@ public boolean hasUriPrefix() { return objectUriCase_ == 2; } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -849,6 +917,7 @@ public boolean hasUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ @java.lang.Override @@ -858,8 +927,7 @@ public java.lang.String getUriPrefix() { ref = objectUri_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (objectUriCase_ == 2) { objectUri_ = s; @@ -870,6 +938,8 @@ public java.lang.String getUriPrefix() { } } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -883,19 +953,18 @@ public java.lang.String getUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriPrefixBytes() { + public com.google.protobuf.ByteString getUriPrefixBytes() { java.lang.Object ref = ""; if (objectUriCase_ == 2) { ref = objectUri_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (objectUriCase_ == 2) { objectUri_ = b; } @@ -905,6 +974,8 @@ public java.lang.String getUriPrefix() { } } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -918,20 +989,22 @@ public java.lang.String getUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @param value The uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefix( - java.lang.String value) { + public Builder setUriPrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - objectUriCase_ = 2; + throw new NullPointerException(); + } + objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -945,6 +1018,7 @@ public Builder setUriPrefix(
      * 
* * string uri_prefix = 2; + * * @return This builder for chaining. */ public Builder clearUriPrefix() { @@ -956,6 +1030,8 @@ public Builder clearUriPrefix() { return this; } /** + * + * *
      * The uri prefix of all generated Cloud Storage objects. Example:
      * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -969,23 +1045,23 @@ public Builder clearUriPrefix() {
      * 
* * string uri_prefix = 2; + * * @param value The bytes for uriPrefix to set. * @return This builder for chaining. */ - public Builder setUriPrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setUriPrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); objectUriCase_ = 2; objectUri_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -995,12 +1071,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.GcsDestination) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.GcsDestination) private static final com.google.cloud.asset.v1p7beta1.GcsDestination DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.GcsDestination(); } @@ -1009,16 +1085,16 @@ public static com.google.cloud.asset.v1p7beta1.GcsDestination getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsDestination(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1109,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java similarity index 82% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java index f9f91bc6a..4196ea59b 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsDestinationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface GcsDestinationOrBuilder extends +public interface GcsDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.GcsDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -17,10 +35,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return Whether the uri field is set. */ boolean hasUri(); /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -30,10 +51,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * The uri of the Cloud Storage object. It's the same uri that is used by
    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
@@ -43,12 +67,14 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -62,10 +88,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return Whether the uriPrefix field is set. */ boolean hasUriPrefix(); /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -79,10 +108,13 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return The uriPrefix. */ java.lang.String getUriPrefix(); /** + * + * *
    * The uri prefix of all generated Cloud Storage objects. Example:
    * "gs://bucket_name/object_name_prefix". Each object uri is in format:
@@ -96,10 +128,10 @@ public interface GcsDestinationOrBuilder extends
    * 
* * string uri_prefix = 2; + * * @return The bytes for uriPrefix. */ - com.google.protobuf.ByteString - getUriPrefixBytes(); + com.google.protobuf.ByteString getUriPrefixBytes(); public com.google.cloud.asset.v1p7beta1.GcsDestination.ObjectUriCase getObjectUriCase(); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java similarity index 70% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java index d201500b2..9e5a05ad2 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResult.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * A Cloud Storage output result.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsOutputResult} */ -public final class GcsOutputResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcsOutputResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.GcsOutputResult) GcsOutputResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcsOutputResult.newBuilder() to construct. private GcsOutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GcsOutputResult() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcsOutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GcsOutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private GcsOutputResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private GcsOutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -87,53 +104,64 @@ private GcsOutputResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -141,21 +169,24 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -197,15 +227,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.asset.v1p7beta1.GcsOutputResult)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.GcsOutputResult other = (com.google.cloud.asset.v1p7beta1.GcsOutputResult) obj; + com.google.cloud.asset.v1p7beta1.GcsOutputResult other = + (com.google.cloud.asset.v1p7beta1.GcsOutputResult) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,118 +256,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.GcsOutputResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsOutputResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.GcsOutputResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.GcsOutputResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.GcsOutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.GcsOutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Storage output result.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.GcsOutputResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.GcsOutputResult) com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.GcsOutputResult.class, + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.GcsOutputResult.newBuilder() @@ -345,16 +384,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +402,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_GcsOutputResult_descriptor; } @java.lang.Override @@ -385,7 +423,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsOutputResult buildPartial() { - com.google.cloud.asset.v1p7beta1.GcsOutputResult result = new com.google.cloud.asset.v1p7beta1.GcsOutputResult(this); + com.google.cloud.asset.v1p7beta1.GcsOutputResult result = + new com.google.cloud.asset.v1p7beta1.GcsOutputResult(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -400,38 +439,39 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.GcsOutputResult) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult) other); } else { super.mergeFrom(other); return this; @@ -439,7 +479,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.GcsOutputResult other) { - if (other == com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) return this; + if (other == com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) + return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -478,47 +519,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -526,85 +578,95 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -614,29 +676,31 @@ public Builder clearUris() { return this; } /** + * + * *
      * List of uris of the Cloud Storage objects. Example:
      * "gs://bucket_name/object_name".
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -646,12 +710,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.GcsOutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.GcsOutputResult) private static final com.google.cloud.asset.v1p7beta1.GcsOutputResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.GcsOutputResult(); } @@ -660,16 +724,16 @@ public static com.google.cloud.asset.v1p7beta1.GcsOutputResult getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcsOutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GcsOutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcsOutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GcsOutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,6 +748,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.GcsOutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java similarity index 62% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java index c163a99c6..ec8eda32a 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/GcsOutputResultOrBuilder.java @@ -1,54 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface GcsOutputResultOrBuilder extends +public interface GcsOutputResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.GcsOutputResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * List of uris of the Cloud Storage objects. Example:
    * "gs://bucket_name/object_name".
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java similarity index 70% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java index 74c5a8dd3..7caec96d9 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfig.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * Output configuration for export assets destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputConfig} */ -public final class OutputConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OutputConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.OutputConfig) OutputConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OutputConfig.newBuilder() to construct. private OutputConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputConfig() { - } + + private OutputConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OutputConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OutputConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,41 +68,51 @@ private OutputConfig( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p7beta1.GcsDestination.Builder subBuilder = null; - if (destinationCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_).toBuilder(); + case 10: + { + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder subBuilder = null; + if (destinationCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_).toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1p7beta1.GcsDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 1; + break; } - destination_ = - input.readMessage(com.google.cloud.asset.v1p7beta1.GcsDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = + ((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_) + .toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.asset.v1p7beta1.BigQueryDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 2; + break; } - destinationCase_ = 1; - break; - } - case 18: { - com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = ((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_).toBuilder(); - } - destination_ = - input.readMessage(com.google.cloud.asset.v1p7beta1.BigQueryDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - destinationCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,35 +120,40 @@ private OutputConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputConfig.class, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputConfig.class, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); } private int destinationCase_ = 0; private java.lang.Object destination_; + public enum DestinationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_DESTINATION(1), BIGQUERY_DESTINATION(2), DESTINATION_NOT_SET(0); private final int value; + private DestinationCase(int value) { this.value = value; } @@ -138,30 +169,36 @@ public static DestinationCase valueOf(int value) { public static DestinationCase forNumber(int value) { switch (value) { - case 1: return GCS_DESTINATION; - case 2: return BIGQUERY_DESTINATION; - case 0: return DESTINATION_NOT_SET; - default: return null; + case 1: + return GCS_DESTINATION; + case 2: + return BIGQUERY_DESTINATION; + case 0: + return DESTINATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public static final int GCS_DESTINATION_FIELD_NUMBER = 1; /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -169,21 +206,26 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance(); } /** + * + * *
    * Destination on Cloud Storage.
    * 
@@ -193,19 +235,22 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinationOrBuilder() { if (destinationCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; + return (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_; } return com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance(); } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 2; /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -213,22 +258,27 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; + * * @return The bigqueryDestination. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestination() { if (destinationCase_ == 2) { - return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_; + return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_; } return com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance(); } /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
@@ -237,14 +287,16 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestinati
    * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
    */
   @java.lang.Override
-  public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
+  public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder
+      getBigqueryDestinationOrBuilder() {
     if (destinationCase_ == 2) {
-       return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_;
+      return (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_;
     }
     return com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -256,8 +308,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (destinationCase_ == 1) {
       output.writeMessage(1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
     }
@@ -274,12 +325,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (destinationCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_);
     }
     if (destinationCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -289,22 +342,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.asset.v1p7beta1.OutputConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.asset.v1p7beta1.OutputConfig other = (com.google.cloud.asset.v1p7beta1.OutputConfig) obj;
+    com.google.cloud.asset.v1p7beta1.OutputConfig other =
+        (com.google.cloud.asset.v1p7beta1.OutputConfig) obj;
 
     if (!getDestinationCase().equals(other.getDestinationCase())) return false;
     switch (destinationCase_) {
       case 1:
-        if (!getGcsDestination()
-            .equals(other.getGcsDestination())) return false;
+        if (!getGcsDestination().equals(other.getGcsDestination())) return false;
         break;
       case 2:
-        if (!getBigqueryDestination()
-            .equals(other.getBigqueryDestination())) return false;
+        if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false;
         break;
       case 0:
       default:
@@ -337,118 +389,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseFrom(
-      byte[] data,
-      com.google.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.asset.v1p7beta1.OutputConfig 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.asset.v1p7beta1.OutputConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.OutputConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.asset.v1p7beta1.OutputConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.asset.v1p7beta1.OutputConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.asset.v1p7beta1.OutputConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .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.asset.v1p7beta1.OutputConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.OutputConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Output configuration for export assets destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.OutputConfig) com.google.cloud.asset.v1p7beta1.OutputConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputConfig.class, com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputConfig.class, + com.google.cloud.asset.v1p7beta1.OutputConfig.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.OutputConfig.newBuilder() @@ -456,16 +517,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputConfig_descriptor; } @java.lang.Override @@ -496,7 +556,8 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputConfig buildPartial() { - com.google.cloud.asset.v1p7beta1.OutputConfig result = new com.google.cloud.asset.v1p7beta1.OutputConfig(this); + com.google.cloud.asset.v1p7beta1.OutputConfig result = + new com.google.cloud.asset.v1p7beta1.OutputConfig(this); if (destinationCase_ == 1) { if (gcsDestinationBuilder_ == null) { result.destination_ = destination_; @@ -520,38 +581,39 @@ public com.google.cloud.asset.v1p7beta1.OutputConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.OutputConfig) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputConfig)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputConfig) other); } else { super.mergeFrom(other); return this; @@ -561,17 +623,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.OutputConfig other) { if (other == com.google.cloud.asset.v1p7beta1.OutputConfig.getDefaultInstance()) return this; switch (other.getDestinationCase()) { - case GCS_DESTINATION: { - mergeGcsDestination(other.getGcsDestination()); - break; - } - case BIGQUERY_DESTINATION: { - mergeBigqueryDestination(other.getBigqueryDestination()); - break; - } - case DESTINATION_NOT_SET: { - break; - } + case GCS_DESTINATION: + { + mergeGcsDestination(other.getGcsDestination()); + break; + } + case BIGQUERY_DESTINATION: + { + mergeBigqueryDestination(other.getBigqueryDestination()); + break; + } + case DESTINATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -601,12 +666,12 @@ public Builder mergeFrom( } return this; } + private int destinationCase_ = 0; private java.lang.Object destination_; - public DestinationCase - getDestinationCase() { - return DestinationCase.forNumber( - destinationCase_); + + public DestinationCase getDestinationCase() { + return DestinationCase.forNumber(destinationCase_); } public Builder clearDestination() { @@ -616,15 +681,20 @@ public Builder clearDestination() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsDestination, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> gcsDestinationBuilder_; + com.google.cloud.asset.v1p7beta1.GcsDestination, + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, + com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> + gcsDestinationBuilder_; /** + * + * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ @java.lang.Override @@ -632,11 +702,14 @@ public boolean hasGcsDestination() { return destinationCase_ == 1; } /** + * + * *
      * Destination on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ @java.lang.Override @@ -654,6 +727,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination() { } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -674,6 +749,8 @@ public Builder setGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -692,6 +769,8 @@ public Builder setGcsDestination( return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -700,10 +779,14 @@ public Builder setGcsDestination( */ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestination value) { if (gcsDestinationBuilder_ == null) { - if (destinationCase_ == 1 && - destination_ != com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) { - destination_ = com.google.cloud.asset.v1p7beta1.GcsDestination.newBuilder((com.google.cloud.asset.v1p7beta1.GcsDestination) destination_) - .mergeFrom(value).buildPartial(); + if (destinationCase_ == 1 + && destination_ + != com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance()) { + destination_ = + com.google.cloud.asset.v1p7beta1.GcsDestination.newBuilder( + (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_) + .mergeFrom(value) + .buildPartial(); } else { destination_ = value; } @@ -719,6 +802,8 @@ public Builder mergeGcsDestination(com.google.cloud.asset.v1p7beta1.GcsDestinati return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -742,6 +827,8 @@ public Builder clearGcsDestination() { return this; } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -752,6 +839,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestination.Builder getGcsDestination return getGcsDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -770,6 +859,8 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio } } /** + * + * *
      * Destination on Cloud Storage.
      * 
@@ -777,33 +868,45 @@ public com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinatio * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsDestination, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> + com.google.cloud.asset.v1p7beta1.GcsDestination, + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, + com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder> getGcsDestinationFieldBuilder() { if (gcsDestinationBuilder_ == null) { if (!(destinationCase_ == 1)) { destination_ = com.google.cloud.asset.v1p7beta1.GcsDestination.getDefaultInstance(); } - gcsDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsDestination, com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder>( + gcsDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.GcsDestination, + com.google.cloud.asset.v1p7beta1.GcsDestination.Builder, + com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder>( (com.google.cloud.asset.v1p7beta1.GcsDestination) destination_, getParentForChildren(), isClean()); destination_ = null; } destinationCase_ = 1; - onChanged();; + onChanged(); + ; return gcsDestinationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.BigQueryDestination, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; + com.google.cloud.asset.v1p7beta1.BigQueryDestination, + com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, + com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; /** + * + * *
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
      * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -811,12 +914,15 @@ public boolean hasBigqueryDestination() { return destinationCase_ == 2; } /** + * + * *
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
      * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; + * * @return The bigqueryDestination. */ @java.lang.Override @@ -834,6 +940,8 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestinati } } /** + * + * *
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -841,7 +949,8 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestinati
      *
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
-    public Builder setBigqueryDestination(com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
+    public Builder setBigqueryDestination(
+        com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
       if (bigqueryDestinationBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -855,6 +964,8 @@ public Builder setBigqueryDestination(com.google.cloud.asset.v1p7beta1.BigQueryD
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -874,6 +985,8 @@ public Builder setBigqueryDestination(
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -881,12 +994,17 @@ public Builder setBigqueryDestination(
      *
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
-    public Builder mergeBigqueryDestination(com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
+    public Builder mergeBigqueryDestination(
+        com.google.cloud.asset.v1p7beta1.BigQueryDestination value) {
       if (bigqueryDestinationBuilder_ == null) {
-        if (destinationCase_ == 2 &&
-            destination_ != com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) {
-          destination_ = com.google.cloud.asset.v1p7beta1.BigQueryDestination.newBuilder((com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_)
-              .mergeFrom(value).buildPartial();
+        if (destinationCase_ == 2
+            && destination_
+                != com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance()) {
+          destination_ =
+              com.google.cloud.asset.v1p7beta1.BigQueryDestination.newBuilder(
+                      (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           destination_ = value;
         }
@@ -902,6 +1020,8 @@ public Builder mergeBigqueryDestination(com.google.cloud.asset.v1p7beta1.BigQuer
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -926,6 +1046,8 @@ public Builder clearBigqueryDestination() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -933,10 +1055,13 @@ public Builder clearBigqueryDestination() {
      *
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
-    public com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder getBigqueryDestinationBuilder() {
+    public com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder
+        getBigqueryDestinationBuilder() {
       return getBigqueryDestinationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -945,7 +1070,8 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder getBigqueryD
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
     @java.lang.Override
-    public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() {
+    public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder
+        getBigqueryDestinationOrBuilder() {
       if ((destinationCase_ == 2) && (bigqueryDestinationBuilder_ != null)) {
         return bigqueryDestinationBuilder_.getMessageOrBuilder();
       } else {
@@ -956,6 +1082,8 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigquery
       }
     }
     /**
+     *
+     *
      * 
      * Destination on BigQuery. The output table stores the fields in asset
      * proto as columns in BigQuery.
@@ -964,26 +1092,32 @@ public com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder getBigquery
      * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.asset.v1p7beta1.BigQueryDestination, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder> 
+            com.google.cloud.asset.v1p7beta1.BigQueryDestination,
+            com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder,
+            com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder>
         getBigqueryDestinationFieldBuilder() {
       if (bigqueryDestinationBuilder_ == null) {
         if (!(destinationCase_ == 2)) {
           destination_ = com.google.cloud.asset.v1p7beta1.BigQueryDestination.getDefaultInstance();
         }
-        bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.asset.v1p7beta1.BigQueryDestination, com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder, com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder>(
+        bigqueryDestinationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.asset.v1p7beta1.BigQueryDestination,
+                com.google.cloud.asset.v1p7beta1.BigQueryDestination.Builder,
+                com.google.cloud.asset.v1p7beta1.BigQueryDestinationOrBuilder>(
                 (com.google.cloud.asset.v1p7beta1.BigQueryDestination) destination_,
                 getParentForChildren(),
                 isClean());
         destination_ = null;
       }
       destinationCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return bigqueryDestinationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -993,12 +1127,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.OutputConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.OutputConfig)
   private static final com.google.cloud.asset.v1p7beta1.OutputConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.OutputConfig();
   }
@@ -1007,16 +1141,16 @@ public static com.google.cloud.asset.v1p7beta1.OutputConfig getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public OutputConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new OutputConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public OutputConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new OutputConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1031,6 +1165,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.asset.v1p7beta1.OutputConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
index 0e59d1470..36a0629db 100644
--- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
+++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputConfigOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
-public interface OutputConfigOrBuilder extends
+public interface OutputConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.OutputConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; + * * @return Whether the gcsDestination field is set. */ boolean hasGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsDestination gcs_destination = 1; + * * @return The gcsDestination. */ com.google.cloud.asset.v1p7beta1.GcsDestination getGcsDestination(); /** + * + * *
    * Destination on Cloud Storage.
    * 
@@ -35,26 +59,34 @@ public interface OutputConfigOrBuilder extends com.google.cloud.asset.v1p7beta1.GcsDestinationOrBuilder getGcsDestinationOrBuilder(); /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; + * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
    * 
* * .google.cloud.asset.v1p7beta1.BigQueryDestination bigquery_destination = 2; + * * @return The bigqueryDestination. */ com.google.cloud.asset.v1p7beta1.BigQueryDestination getBigqueryDestination(); /** + * + * *
    * Destination on BigQuery. The output table stores the fields in asset
    * proto as columns in BigQuery.
diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
similarity index 69%
rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
index 12d94870c..cc21d39b3 100644
--- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
+++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResult.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/asset/v1p7beta1/asset_service.proto
 
 package com.google.cloud.asset.v1p7beta1;
 
 /**
+ *
+ *
  * 
  * Output result of export assets.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputResult} */ -public final class OutputResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OutputResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.OutputResult) OutputResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OutputResult.newBuilder() to construct. private OutputResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OutputResult() { - } + + private OutputResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OutputResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OutputResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,30 @@ private OutputResult( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder subBuilder = null; - if (resultCase_ == 1) { - subBuilder = ((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_).toBuilder(); - } - result_ = - input.readMessage(com.google.cloud.asset.v1p7beta1.GcsOutputResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); - result_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder subBuilder = null; + if (resultCase_ == 1) { + subBuilder = + ((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_).toBuilder(); + } + result_ = + input.readMessage( + com.google.cloud.asset.v1p7beta1.GcsOutputResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); + result_ = subBuilder.buildPartial(); + } + resultCase_ = 1; + break; } - resultCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private OutputResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputResult.class, com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputResult.class, + com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); } private int resultCase_ = 0; private java.lang.Object result_; + public enum ResultCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_RESULT(1), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -123,29 +147,34 @@ public static ResultCase valueOf(int value) { public static ResultCase forNumber(int value) { switch (value) { - case 1: return GCS_RESULT; - case 0: return RESULT_NOT_SET; - default: return null; + case 1: + return GCS_RESULT; + case 0: + return RESULT_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public static final int GCS_RESULT_FIELD_NUMBER = 1; /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; + * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -153,21 +182,26 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; + * * @return The gcsResult. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; } return com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance(); } /** + * + * *
    * Export result on Cloud Storage.
    * 
@@ -177,12 +211,13 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrBuilder() { if (resultCase_ == 1) { - return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; + return (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_; } return com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resultCase_ == 1) { output.writeMessage(1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); } @@ -209,8 +243,9 @@ public int getSerializedSize() { size = 0; if (resultCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +255,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.asset.v1p7beta1.OutputResult)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.OutputResult other = (com.google.cloud.asset.v1p7beta1.OutputResult) obj; + com.google.cloud.asset.v1p7beta1.OutputResult other = + (com.google.cloud.asset.v1p7beta1.OutputResult) obj; if (!getResultCase().equals(other.getResultCase())) return false; switch (resultCase_) { case 1: - if (!getGcsResult() - .equals(other.getGcsResult())) return false; + if (!getGcsResult().equals(other.getGcsResult())) return false; break; case 0: default: @@ -260,118 +295,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.OutputResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.OutputResult parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.OutputResult 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.asset.v1p7beta1.OutputResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.OutputResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.OutputResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.OutputResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.OutputResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.OutputResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.OutputResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Output result of export assets.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.OutputResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.OutputResult) com.google.cloud.asset.v1p7beta1.OutputResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.OutputResult.class, com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); + com.google.cloud.asset.v1p7beta1.OutputResult.class, + com.google.cloud.asset.v1p7beta1.OutputResult.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.OutputResult.newBuilder() @@ -379,16 +423,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +441,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_OutputResult_descriptor; } @java.lang.Override @@ -419,7 +462,8 @@ public com.google.cloud.asset.v1p7beta1.OutputResult build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.OutputResult buildPartial() { - com.google.cloud.asset.v1p7beta1.OutputResult result = new com.google.cloud.asset.v1p7beta1.OutputResult(this); + com.google.cloud.asset.v1p7beta1.OutputResult result = + new com.google.cloud.asset.v1p7beta1.OutputResult(this); if (resultCase_ == 1) { if (gcsResultBuilder_ == null) { result.result_ = result_; @@ -436,38 +480,39 @@ public com.google.cloud.asset.v1p7beta1.OutputResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.OutputResult) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputResult)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.OutputResult) other); } else { super.mergeFrom(other); return this; @@ -477,13 +522,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.OutputResult other) { if (other == com.google.cloud.asset.v1p7beta1.OutputResult.getDefaultInstance()) return this; switch (other.getResultCase()) { - case GCS_RESULT: { - mergeGcsResult(other.getGcsResult()); - break; - } - case RESULT_NOT_SET: { - break; - } + case GCS_RESULT: + { + mergeGcsResult(other.getGcsResult()); + break; + } + case RESULT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -513,12 +560,12 @@ public Builder mergeFrom( } return this; } + private int resultCase_ = 0; private java.lang.Object result_; - public ResultCase - getResultCase() { - return ResultCase.forNumber( - resultCase_); + + public ResultCase getResultCase() { + return ResultCase.forNumber(resultCase_); } public Builder clearResult() { @@ -528,15 +575,20 @@ public Builder clearResult() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsOutputResult, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> gcsResultBuilder_; + com.google.cloud.asset.v1p7beta1.GcsOutputResult, + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, + com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> + gcsResultBuilder_; /** + * + * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; + * * @return Whether the gcsResult field is set. */ @java.lang.Override @@ -544,11 +596,14 @@ public boolean hasGcsResult() { return resultCase_ == 1; } /** + * + * *
      * Export result on Cloud Storage.
      * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; + * * @return The gcsResult. */ @java.lang.Override @@ -566,6 +621,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult() { } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -586,6 +643,8 @@ public Builder setGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult val return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -604,6 +663,8 @@ public Builder setGcsResult( return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -612,10 +673,13 @@ public Builder setGcsResult( */ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult value) { if (gcsResultBuilder_ == null) { - if (resultCase_ == 1 && - result_ != com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) { - result_ = com.google.cloud.asset.v1p7beta1.GcsOutputResult.newBuilder((com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 1 + && result_ != com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance()) { + result_ = + com.google.cloud.asset.v1p7beta1.GcsOutputResult.newBuilder( + (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -631,6 +695,8 @@ public Builder mergeGcsResult(com.google.cloud.asset.v1p7beta1.GcsOutputResult v return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -654,6 +720,8 @@ public Builder clearGcsResult() { return this; } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -664,6 +732,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder getGcsResultBuil return getGcsResultFieldBuilder().getBuilder(); } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -682,6 +752,8 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB } } /** + * + * *
      * Export result on Cloud Storage.
      * 
@@ -689,26 +761,32 @@ public com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder getGcsResultOrB * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsOutputResult, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> + com.google.cloud.asset.v1p7beta1.GcsOutputResult, + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, + com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder> getGcsResultFieldBuilder() { if (gcsResultBuilder_ == null) { if (!(resultCase_ == 1)) { result_ = com.google.cloud.asset.v1p7beta1.GcsOutputResult.getDefaultInstance(); } - gcsResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.GcsOutputResult, com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder>( + gcsResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.GcsOutputResult, + com.google.cloud.asset.v1p7beta1.GcsOutputResult.Builder, + com.google.cloud.asset.v1p7beta1.GcsOutputResultOrBuilder>( (com.google.cloud.asset.v1p7beta1.GcsOutputResult) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 1; - onChanged();; + onChanged(); + ; return gcsResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.OutputResult) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.OutputResult) private static final com.google.cloud.asset.v1p7beta1.OutputResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.OutputResult(); } @@ -732,16 +810,16 @@ public static com.google.cloud.asset.v1p7beta1.OutputResult getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OutputResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OutputResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OutputResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OutputResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +834,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.OutputResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java similarity index 61% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java index 84f878583..ac9173854 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/OutputResultOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface OutputResultOrBuilder extends +public interface OutputResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.OutputResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; + * * @return Whether the gcsResult field is set. */ boolean hasGcsResult(); /** + * + * *
    * Export result on Cloud Storage.
    * 
* * .google.cloud.asset.v1p7beta1.GcsOutputResult gcs_result = 1; + * * @return The gcsResult. */ com.google.cloud.asset.v1p7beta1.GcsOutputResult getGcsResult(); /** + * + * *
    * Export result on Cloud Storage.
    * 
diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java similarity index 71% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java index b2b65109c..d1af80305 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpec.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * Specifications of BigQuery partitioned table as export destination.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.PartitionSpec} */ -public final class PartitionSpec extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartitionSpec extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.PartitionSpec) PartitionSpecOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartitionSpec.newBuilder() to construct. private PartitionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PartitionSpec() { partitionKey_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartitionSpec(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PartitionSpec( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PartitionSpec( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - partitionKey_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + partitionKey_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,27 +91,31 @@ private PartitionSpec( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.PartitionSpec.class, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1p7beta1.PartitionSpec.class, + com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); } /** + * + * *
    * This enum is used to determine the partition key column when exporting
    * assets to BigQuery partitioned table(s). Note that, if the partition key is
@@ -104,9 +126,10 @@ private PartitionSpec(
    *
    * Protobuf enum {@code google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey}
    */
-  public enum PartitionKey
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum PartitionKey implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -115,6 +138,8 @@ public enum PartitionKey */ PARTITION_KEY_UNSPECIFIED(0), /** + * + * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -127,6 +152,8 @@ public enum PartitionKey
      */
     READ_TIME(1),
     /**
+     *
+     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -141,6 +168,8 @@ public enum PartitionKey
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified partition key. If used, it means using non-partitioned table.
      * 
@@ -149,6 +178,8 @@ public enum PartitionKey */ public static final int PARTITION_KEY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The time when the snapshot is taken. If specified as partition key, the
      * result table(s) is partitoned by the additional timestamp column,
@@ -161,6 +192,8 @@ public enum PartitionKey
      */
     public static final int READ_TIME_VALUE = 1;
     /**
+     *
+     *
      * 
      * The time when the request is received and started to be processed. If
      * specified as partition key, the result table(s) is partitoned by the
@@ -172,7 +205,6 @@ public enum PartitionKey
      */
     public static final int REQUEST_TIME_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,49 +229,49 @@ public static PartitionKey valueOf(int value) {
      */
     public static PartitionKey forNumber(int value) {
       switch (value) {
-        case 0: return PARTITION_KEY_UNSPECIFIED;
-        case 1: return READ_TIME;
-        case 2: return REQUEST_TIME;
-        default: return null;
+        case 0:
+          return PARTITION_KEY_UNSPECIFIED;
+        case 1:
+          return READ_TIME;
+        case 2:
+          return REQUEST_TIME;
+        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<
-        PartitionKey> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public PartitionKey findValueByNumber(int number) {
-              return PartitionKey.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PartitionKey findValueByNumber(int number) {
+            return PartitionKey.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.asset.v1p7beta1.PartitionSpec.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final PartitionKey[] VALUES = values();
 
-    public static PartitionKey valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static PartitionKey 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;
@@ -259,31 +291,43 @@ private PartitionKey(int value) {
   public static final int PARTITION_KEY_FIELD_NUMBER = 1;
   private int partitionKey_;
   /**
+   *
+   *
    * 
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override public int getPartitionKeyValue() { + @java.lang.Override + public int getPartitionKeyValue() { return partitionKey_; } /** + * + * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The partitionKey. */ - @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { + @java.lang.Override + public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null + ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,9 +339,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (partitionKey_ != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (partitionKey_ + != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, partitionKey_); } unknownFields.writeTo(output); @@ -309,9 +354,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (partitionKey_ != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, partitionKey_); + if (partitionKey_ + != com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.PARTITION_KEY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, partitionKey_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -321,12 +367,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.asset.v1p7beta1.PartitionSpec)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.PartitionSpec other = (com.google.cloud.asset.v1p7beta1.PartitionSpec) obj; + com.google.cloud.asset.v1p7beta1.PartitionSpec other = + (com.google.cloud.asset.v1p7beta1.PartitionSpec) obj; if (partitionKey_ != other.partitionKey_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -347,118 +394,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.PartitionSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.PartitionSpec 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.asset.v1p7beta1.PartitionSpec parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.PartitionSpec parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.PartitionSpec parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.PartitionSpec parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.PartitionSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.PartitionSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifications of BigQuery partitioned table as export destination.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.PartitionSpec} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.PartitionSpec) com.google.cloud.asset.v1p7beta1.PartitionSpecOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.PartitionSpec.class, com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); + com.google.cloud.asset.v1p7beta1.PartitionSpec.class, + com.google.cloud.asset.v1p7beta1.PartitionSpec.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.PartitionSpec.newBuilder() @@ -466,16 +522,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetServiceProto.internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetServiceProto + .internal_static_google_cloud_asset_v1p7beta1_PartitionSpec_descriptor; } @java.lang.Override @@ -506,7 +561,8 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec buildPartial() { - com.google.cloud.asset.v1p7beta1.PartitionSpec result = new com.google.cloud.asset.v1p7beta1.PartitionSpec(this); + com.google.cloud.asset.v1p7beta1.PartitionSpec result = + new com.google.cloud.asset.v1p7beta1.PartitionSpec(this); result.partitionKey_ = partitionKey_; onBuilt(); return result; @@ -516,38 +572,39 @@ public com.google.cloud.asset.v1p7beta1.PartitionSpec buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.PartitionSpec) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.PartitionSpec)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.PartitionSpec) other); } else { super.mergeFrom(other); return this; @@ -590,80 +647,100 @@ public Builder mergeFrom( private int partitionKey_ = 0; /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The enum numeric value on the wire for partitionKey. */ - @java.lang.Override public int getPartitionKeyValue() { + @java.lang.Override + public int getPartitionKeyValue() { return partitionKey_; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @param value The enum numeric value on the wire for partitionKey to set. * @return This builder for chaining. */ public Builder setPartitionKeyValue(int value) { - + partitionKey_ = value; onChanged(); return this; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The partitionKey. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey() { @SuppressWarnings("deprecation") - com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); - return result == null ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED : result; + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey result = + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.valueOf(partitionKey_); + return result == null + ? com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey.UNRECOGNIZED + : result; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @param value The partitionKey to set. * @return This builder for chaining. */ - public Builder setPartitionKey(com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey value) { + public Builder setPartitionKey( + com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey value) { if (value == null) { throw new NullPointerException(); } - + partitionKey_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The partition key for BigQuery partitioned table.
      * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return This builder for chaining. */ public Builder clearPartitionKey() { - + partitionKey_ = 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); } @@ -673,12 +750,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.PartitionSpec) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.PartitionSpec) private static final com.google.cloud.asset.v1p7beta1.PartitionSpec DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.PartitionSpec(); } @@ -687,16 +764,16 @@ public static com.google.cloud.asset.v1p7beta1.PartitionSpec getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionSpec parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PartitionSpec(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionSpec(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,6 +788,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.PartitionSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java similarity index 56% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java index 0de671bc2..80414f9af 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/PartitionSpecOrBuilder.java @@ -1,27 +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/asset/v1p7beta1/asset_service.proto package com.google.cloud.asset.v1p7beta1; -public interface PartitionSpecOrBuilder extends +public interface PartitionSpecOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.PartitionSpec) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The enum numeric value on the wire for partitionKey. */ int getPartitionKeyValue(); /** + * + * *
    * The partition key for BigQuery partitioned table.
    * 
* * .google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey partition_key = 1; + * * @return The partitionKey. */ com.google.cloud.asset.v1p7beta1.PartitionSpec.PartitionKey getPartitionKey(); diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java similarity index 77% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java index be36b7d7f..a1c69ec63 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAsset.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * An asset identify in Google Cloud which contains its name, type and
  * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAsset}
  */
-public final class RelatedAsset extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RelatedAsset extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.RelatedAsset)
     RelatedAssetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RelatedAsset.newBuilder() to construct.
   private RelatedAsset(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RelatedAsset() {
     asset_ = "";
     assetType_ = "";
@@ -34,16 +52,15 @@ private RelatedAsset() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RelatedAsset();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RelatedAsset(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -63,34 +80,37 @@ private RelatedAsset(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            asset_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              asset_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            assetType_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              ancestors_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              assetType_ = s;
+              break;
             }
-            ancestors_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                ancestors_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              ancestors_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -98,8 +118,7 @@ private RelatedAsset(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         ancestors_ = ancestors_.getUnmodifiableView();
@@ -108,22 +127,27 @@ private RelatedAsset(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.RelatedAsset.class, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
+            com.google.cloud.asset.v1p7beta1.RelatedAsset.class,
+            com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
   }
 
   public static final int ASSET_FIELD_NUMBER = 1;
   private volatile java.lang.Object asset_;
   /**
+   *
+   *
    * 
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -133,6 +157,7 @@ private RelatedAsset(
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ @java.lang.Override @@ -141,14 +166,15 @@ public java.lang.String getAsset() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; } } /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -158,16 +184,15 @@ public java.lang.String getAsset() {
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for asset. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -178,6 +203,8 @@ public java.lang.String getAsset() { public static final int ASSET_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object assetType_; /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -186,6 +213,7 @@ public java.lang.String getAsset() {
    * 
* * string asset_type = 2; + * * @return The assetType. */ @java.lang.Override @@ -194,14 +222,15 @@ public java.lang.String getAssetType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; } } /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -210,16 +239,15 @@ public java.lang.String getAssetType() {
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -230,6 +258,8 @@ public java.lang.String getAssetType() { public static final int ANCESTORS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList ancestors_; /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -239,13 +269,15 @@ public java.lang.String getAssetType() {
    * 
* * repeated string ancestors = 3; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_; } /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -255,12 +287,15 @@ public java.lang.String getAssetType() {
    * 
* * repeated string ancestors = 3; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -270,6 +305,7 @@ public int getAncestorsCount() {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -277,6 +313,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -286,15 +324,16 @@ public java.lang.String getAncestors(int index) {
    * 
* * repeated string ancestors = 3; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,8 +345,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_); } @@ -348,19 +386,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.asset.v1p7beta1.RelatedAsset)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.RelatedAsset other = (com.google.cloud.asset.v1p7beta1.RelatedAsset) obj; - - if (!getAsset() - .equals(other.getAsset())) return false; - if (!getAssetType() - .equals(other.getAssetType())) return false; - if (!getAncestorsList() - .equals(other.getAncestorsList())) return false; + com.google.cloud.asset.v1p7beta1.RelatedAsset other = + (com.google.cloud.asset.v1p7beta1.RelatedAsset) obj; + + if (!getAsset().equals(other.getAsset())) return false; + if (!getAssetType().equals(other.getAssetType())) return false; + if (!getAncestorsList().equals(other.getAncestorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,97 +421,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.RelatedAsset parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.RelatedAsset 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.asset.v1p7beta1.RelatedAsset parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAsset parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.RelatedAsset parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAsset parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.RelatedAsset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.RelatedAsset prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An asset identify in Google Cloud which contains its name, type and
    * ancestors. An asset can be any resource in the Google Cloud [resource
@@ -489,21 +532,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAsset}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.RelatedAsset)
       com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.RelatedAsset.class, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
+              com.google.cloud.asset.v1p7beta1.RelatedAsset.class,
+              com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.RelatedAsset.newBuilder()
@@ -511,16 +556,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -534,9 +578,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_RelatedAsset_descriptor;
     }
 
     @java.lang.Override
@@ -555,7 +599,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.RelatedAsset buildPartial() {
-      com.google.cloud.asset.v1p7beta1.RelatedAsset result = new com.google.cloud.asset.v1p7beta1.RelatedAsset(this);
+      com.google.cloud.asset.v1p7beta1.RelatedAsset result =
+          new com.google.cloud.asset.v1p7beta1.RelatedAsset(this);
       int from_bitField0_ = bitField0_;
       result.asset_ = asset_;
       result.assetType_ = assetType_;
@@ -572,38 +617,39 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p7beta1.RelatedAsset) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAsset)other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAsset) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -658,10 +704,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object asset_ = "";
     /**
+     *
+     *
      * 
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -671,13 +720,13 @@ public Builder mergeFrom(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ public java.lang.String getAsset() { java.lang.Object ref = asset_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); asset_ = s; return s; @@ -686,6 +735,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -695,15 +746,14 @@ public java.lang.String getAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for asset. */ - public com.google.protobuf.ByteString - getAssetBytes() { + public com.google.protobuf.ByteString getAssetBytes() { java.lang.Object ref = asset_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); asset_ = b; return b; } else { @@ -711,6 +761,8 @@ public java.lang.String getAsset() { } } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -720,20 +772,22 @@ public java.lang.String getAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @param value The asset to set. * @return This builder for chaining. */ - public Builder setAsset( - java.lang.String value) { + public Builder setAsset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + asset_ = value; onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -743,15 +797,18 @@ public Builder setAsset(
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAsset() { - + asset_ = getDefaultInstance().getAsset(); onChanged(); return this; } /** + * + * *
      * The full name of the asset. Example:
      * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -761,16 +818,16 @@ public Builder clearAsset() {
      * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for asset to set. * @return This builder for chaining. */ - public Builder setAssetBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + asset_ = value; onChanged(); return this; @@ -778,6 +835,8 @@ public Builder setAssetBytes( private java.lang.Object assetType_ = ""; /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -786,13 +845,13 @@ public Builder setAssetBytes(
      * 
* * string asset_type = 2; + * * @return The assetType. */ public java.lang.String getAssetType() { java.lang.Object ref = assetType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assetType_ = s; return s; @@ -801,6 +860,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -809,15 +870,14 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - public com.google.protobuf.ByteString - getAssetTypeBytes() { + public com.google.protobuf.ByteString getAssetTypeBytes() { java.lang.Object ref = assetType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assetType_ = b; return b; } else { @@ -825,6 +885,8 @@ public java.lang.String getAssetType() { } } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -833,20 +895,22 @@ public java.lang.String getAssetType() {
      * 
* * string asset_type = 2; + * * @param value The assetType to set. * @return This builder for chaining. */ - public Builder setAssetType( - java.lang.String value) { + public Builder setAssetType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assetType_ = value; onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -855,15 +919,18 @@ public Builder setAssetType(
      * 
* * string asset_type = 2; + * * @return This builder for chaining. */ public Builder clearAssetType() { - + assetType_ = getDefaultInstance().getAssetType(); onChanged(); return this; } /** + * + * *
      * The type of the asset. Example: `compute.googleapis.com/Disk`
      * See [Supported asset
@@ -872,29 +939,33 @@ public Builder clearAssetType() {
      * 
* * string asset_type = 2; + * * @param value The bytes for assetType to set. * @return This builder for chaining. */ - public Builder setAssetTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAssetTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assetType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList ancestors_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList ancestors_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAncestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ancestors_ = new com.google.protobuf.LazyStringArrayList(ancestors_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -904,13 +975,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 3; + * * @return A list containing the ancestors. */ - public com.google.protobuf.ProtocolStringList - getAncestorsList() { + public com.google.protobuf.ProtocolStringList getAncestorsList() { return ancestors_.getUnmodifiableView(); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -920,12 +993,15 @@ private void ensureAncestorsIsMutable() {
      * 
* * repeated string ancestors = 3; + * * @return The count of ancestors. */ public int getAncestorsCount() { return ancestors_.size(); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -935,6 +1011,7 @@ public int getAncestorsCount() {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ @@ -942,6 +1019,8 @@ public java.lang.String getAncestors(int index) { return ancestors_.get(index); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -951,14 +1030,16 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 3; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - public com.google.protobuf.ByteString - getAncestorsBytes(int index) { + public com.google.protobuf.ByteString getAncestorsBytes(int index) { return ancestors_.getByteString(index); } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -968,21 +1049,23 @@ public java.lang.String getAncestors(int index) {
      * 
* * repeated string ancestors = 3; + * * @param index The index to set the value at. * @param value The ancestors to set. * @return This builder for chaining. */ - public Builder setAncestors( - int index, java.lang.String value) { + public Builder setAncestors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.set(index, value); onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -992,20 +1075,22 @@ public Builder setAncestors(
      * 
* * repeated string ancestors = 3; + * * @param value The ancestors to add. * @return This builder for chaining. */ - public Builder addAncestors( - java.lang.String value) { + public Builder addAncestors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAncestorsIsMutable(); + throw new NullPointerException(); + } + ensureAncestorsIsMutable(); ancestors_.add(value); onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1015,18 +1100,19 @@ public Builder addAncestors(
      * 
* * repeated string ancestors = 3; + * * @param values The ancestors to add. * @return This builder for chaining. */ - public Builder addAllAncestors( - java.lang.Iterable values) { + public Builder addAllAncestors(java.lang.Iterable values) { ensureAncestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ancestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ancestors_); onChanged(); return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1036,6 +1122,7 @@ public Builder addAllAncestors(
      * 
* * repeated string ancestors = 3; + * * @return This builder for chaining. */ public Builder clearAncestors() { @@ -1045,6 +1132,8 @@ public Builder clearAncestors() { return this; } /** + * + * *
      * The ancestors of an asset in Google Cloud [resource
      * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -1054,23 +1143,23 @@ public Builder clearAncestors() {
      * 
* * repeated string ancestors = 3; + * * @param value The bytes of the ancestors to add. * @return This builder for chaining. */ - public Builder addAncestorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAncestorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAncestorsIsMutable(); ancestors_.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); } @@ -1080,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.RelatedAsset) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.RelatedAsset) private static final com.google.cloud.asset.v1p7beta1.RelatedAsset DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.RelatedAsset(); } @@ -1094,16 +1183,16 @@ public static com.google.cloud.asset.v1p7beta1.RelatedAsset getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAsset parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAsset(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAsset parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAsset(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1118,6 +1207,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAsset getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java similarity index 80% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java index 584ef775c..8e4a2d70e 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface RelatedAssetOrBuilder extends +public interface RelatedAssetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.RelatedAsset) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -17,10 +35,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The asset. */ java.lang.String getAsset(); /** + * + * *
    * The full name of the asset. Example:
    * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
@@ -30,12 +51,14 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for asset. */ - com.google.protobuf.ByteString - getAssetBytes(); + com.google.protobuf.ByteString getAssetBytes(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -44,10 +67,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The assetType. */ java.lang.String getAssetType(); /** + * + * *
    * The type of the asset. Example: `compute.googleapis.com/Disk`
    * See [Supported asset
@@ -56,12 +82,14 @@ public interface RelatedAssetOrBuilder extends
    * 
* * string asset_type = 2; + * * @return The bytes for assetType. */ - com.google.protobuf.ByteString - getAssetTypeBytes(); + com.google.protobuf.ByteString getAssetTypeBytes(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -71,11 +99,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @return A list containing the ancestors. */ - java.util.List - getAncestorsList(); + java.util.List getAncestorsList(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -85,10 +115,13 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @return The count of ancestors. */ int getAncestorsCount(); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -98,11 +131,14 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @param index The index of the element to return. * @return The ancestors at the given index. */ java.lang.String getAncestors(int index); /** + * + * *
    * The ancestors of an asset in Google Cloud [resource
    * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
@@ -112,9 +148,9 @@ public interface RelatedAssetOrBuilder extends
    * 
* * repeated string ancestors = 3; + * * @param index The index of the value to return. * @return The bytes of the ancestors at the given index. */ - com.google.protobuf.ByteString - getAncestorsBytes(int index); + com.google.protobuf.ByteString getAncestorsBytes(int index); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java similarity index 72% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java index f0bc87151..6425e4f84 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssets.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * The detailed related assets with the `relationship_type`.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAssets} */ -public final class RelatedAssets extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RelatedAssets extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.RelatedAssets) RelatedAssetsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RelatedAssets.newBuilder() to construct. private RelatedAssets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RelatedAssets() { assets_ = 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 RelatedAssets(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RelatedAssets( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,35 +71,41 @@ private RelatedAssets( case 0: done = true; break; - case 10: { - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder subBuilder = null; - if (relationshipAttributes_ != null) { - subBuilder = relationshipAttributes_.toBuilder(); - } - relationshipAttributes_ = input.readMessage(com.google.cloud.asset.v1p7beta1.RelationshipAttributes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationshipAttributes_); - relationshipAttributes_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder subBuilder = null; + if (relationshipAttributes_ != null) { + subBuilder = relationshipAttributes_.toBuilder(); + } + relationshipAttributes_ = + input.readMessage( + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationshipAttributes_); + relationshipAttributes_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - assets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - assets_.add( - input.readMessage(com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + assets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + assets_.add( + input.readMessage( + com.google.cloud.asset.v1p7beta1.RelatedAsset.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,8 +113,7 @@ private RelatedAssets( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { assets_ = java.util.Collections.unmodifiableList(assets_); @@ -100,27 +122,33 @@ private RelatedAssets( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.RelatedAssets.class, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); + com.google.cloud.asset.v1p7beta1.RelatedAssets.class, + com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); } public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER = 1; private com.google.cloud.asset.v1p7beta1.RelationshipAttributes relationshipAttributes_; /** + * + * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * * @return Whether the relationshipAttributes field is set. */ @java.lang.Override @@ -128,18 +156,25 @@ public boolean hasRelationshipAttributes() { return relationshipAttributes_ != null; } /** + * + * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * * @return The relationshipAttributes. */ @java.lang.Override public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAttributes() { - return relationshipAttributes_ == null ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } /** + * + * *
    * The detailed relation attributes.
    * 
@@ -147,13 +182,16 @@ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAt * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ @java.lang.Override - public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder() { return getRelationshipAttributes(); } public static final int ASSETS_FIELD_NUMBER = 2; private java.util.List assets_; /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -165,6 +203,8 @@ public java.util.List getAssetsLi return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -172,11 +212,13 @@ public java.util.List getAssetsLi * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ @java.lang.Override - public java.util.List + public java.util.List getAssetsOrBuilderList() { return assets_; } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -188,6 +230,8 @@ public int getAssetsCount() { return assets_.size(); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -199,6 +243,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { return assets_.get(index); } /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -206,12 +252,12 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ @java.lang.Override - public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { return assets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (relationshipAttributes_ != null) { output.writeMessage(1, getRelationshipAttributes()); } @@ -241,12 +286,11 @@ public int getSerializedSize() { size = 0; if (relationshipAttributes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRelationshipAttributes()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationshipAttributes()); } for (int i = 0; i < assets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, assets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, assets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -256,20 +300,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.asset.v1p7beta1.RelatedAssets)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.RelatedAssets other = (com.google.cloud.asset.v1p7beta1.RelatedAssets) obj; + com.google.cloud.asset.v1p7beta1.RelatedAssets other = + (com.google.cloud.asset.v1p7beta1.RelatedAssets) obj; if (hasRelationshipAttributes() != other.hasRelationshipAttributes()) return false; if (hasRelationshipAttributes()) { - if (!getRelationshipAttributes() - .equals(other.getRelationshipAttributes())) return false; + if (!getRelationshipAttributes().equals(other.getRelationshipAttributes())) return false; } - if (!getAssetsList() - .equals(other.getAssetsList())) return false; + if (!getAssetsList().equals(other.getAssetsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,118 +337,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.RelatedAssets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.RelatedAssets 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.asset.v1p7beta1.RelatedAssets parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAssets parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.RelatedAssets parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelatedAssets parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.RelatedAssets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.RelatedAssets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The detailed related assets with the `relationship_type`.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.RelatedAssets} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.RelatedAssets) com.google.cloud.asset.v1p7beta1.RelatedAssetsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.RelatedAssets.class, com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); + com.google.cloud.asset.v1p7beta1.RelatedAssets.class, + com.google.cloud.asset.v1p7beta1.RelatedAssets.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.RelatedAssets.newBuilder() @@ -413,17 +465,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) { getAssetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_RelatedAssets_descriptor; } @java.lang.Override @@ -464,7 +516,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.RelatedAssets buildPartial() { - com.google.cloud.asset.v1p7beta1.RelatedAssets result = new com.google.cloud.asset.v1p7beta1.RelatedAssets(this); + com.google.cloud.asset.v1p7beta1.RelatedAssets result = + new com.google.cloud.asset.v1p7beta1.RelatedAssets(this); int from_bitField0_ = bitField0_; if (relationshipAttributesBuilder_ == null) { result.relationshipAttributes_ = relationshipAttributes_; @@ -488,38 +541,39 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssets buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.RelatedAssets) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAssets)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.RelatedAssets) other); } else { super.mergeFrom(other); return this; @@ -549,9 +603,10 @@ public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.RelatedAssets other) { assetsBuilder_ = null; assets_ = other.assets_; bitField0_ = (bitField0_ & ~0x00000001); - assetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAssetsFieldBuilder() : null; + assetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAssetsFieldBuilder() + : null; } else { assetsBuilder_.addAllMessages(other.assets_); } @@ -585,45 +640,63 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.cloud.asset.v1p7beta1.RelationshipAttributes relationshipAttributes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelationshipAttributes, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> relationshipAttributesBuilder_; + com.google.cloud.asset.v1p7beta1.RelationshipAttributes, + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, + com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> + relationshipAttributesBuilder_; /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * + * * @return Whether the relationshipAttributes field is set. */ public boolean hasRelationshipAttributes() { return relationshipAttributesBuilder_ != null || relationshipAttributes_ != null; } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * + * * @return The relationshipAttributes. */ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAttributes() { if (relationshipAttributesBuilder_ == null) { - return relationshipAttributes_ == null ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } else { return relationshipAttributesBuilder_.getMessage(); } } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ - public Builder setRelationshipAttributes(com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { + public Builder setRelationshipAttributes( + com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,11 +710,14 @@ public Builder setRelationshipAttributes(com.google.cloud.asset.v1p7beta1.Relati return this; } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ public Builder setRelationshipAttributes( com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder builderForValue) { @@ -655,17 +731,24 @@ public Builder setRelationshipAttributes( return this; } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ - public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { + public Builder mergeRelationshipAttributes( + com.google.cloud.asset.v1p7beta1.RelationshipAttributes value) { if (relationshipAttributesBuilder_ == null) { if (relationshipAttributes_ != null) { relationshipAttributes_ = - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.newBuilder(relationshipAttributes_).mergeFrom(value).buildPartial(); + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.newBuilder( + relationshipAttributes_) + .mergeFrom(value) + .buildPartial(); } else { relationshipAttributes_ = value; } @@ -677,11 +760,14 @@ public Builder mergeRelationshipAttributes(com.google.cloud.asset.v1p7beta1.Rela return this; } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ public Builder clearRelationshipAttributes() { if (relationshipAttributesBuilder_ == null) { @@ -695,66 +781,87 @@ public Builder clearRelationshipAttributes() { return this; } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ - public com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder getRelationshipAttributesBuilder() { - + public com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder + getRelationshipAttributesBuilder() { + onChanged(); return getRelationshipAttributesFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ - public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder() { + public com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder() { if (relationshipAttributesBuilder_ != null) { return relationshipAttributesBuilder_.getMessageOrBuilder(); } else { - return relationshipAttributes_ == null ? - com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() : relationshipAttributes_; + return relationshipAttributes_ == null + ? com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance() + : relationshipAttributes_; } } /** + * + * *
      * The detailed relation attributes.
      * 
* - * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelationshipAttributes, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> + com.google.cloud.asset.v1p7beta1.RelationshipAttributes, + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, + com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder> getRelationshipAttributesFieldBuilder() { if (relationshipAttributesBuilder_ == null) { - relationshipAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelationshipAttributes, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder>( - getRelationshipAttributes(), - getParentForChildren(), - isClean()); + relationshipAttributesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.RelationshipAttributes, + com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder, + com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder>( + getRelationshipAttributes(), getParentForChildren(), isClean()); relationshipAttributes_ = null; } return relationshipAttributesBuilder_; } private java.util.List assets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAssetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { assets_ = new java.util.ArrayList(assets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelatedAsset, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> assetsBuilder_; + com.google.cloud.asset.v1p7beta1.RelatedAsset, + com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, + com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> + assetsBuilder_; /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -769,6 +876,8 @@ public java.util.List getAssetsLi } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -783,6 +892,8 @@ public int getAssetsCount() { } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -797,14 +908,15 @@ public com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index) { } } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public Builder setAssets( - int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { + public Builder setAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -818,6 +930,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -836,6 +950,8 @@ public Builder setAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -856,14 +972,15 @@ public Builder addAssets(com.google.cloud.asset.v1p7beta1.RelatedAsset value) { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public Builder addAssets( - int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { + public Builder addAssets(int index, com.google.cloud.asset.v1p7beta1.RelatedAsset value) { if (assetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -877,6 +994,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -895,6 +1014,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -913,6 +1034,8 @@ public Builder addAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -923,8 +1046,7 @@ public Builder addAllAssets( java.lang.Iterable values) { if (assetsBuilder_ == null) { ensureAssetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, assets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, assets_); onChanged(); } else { assetsBuilder_.addAllMessages(values); @@ -932,6 +1054,8 @@ public Builder addAllAssets( return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -949,6 +1073,8 @@ public Builder clearAssets() { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -966,39 +1092,44 @@ public Builder removeAssets(int index) { return this; } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder getAssetsBuilder( - int index) { + public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder getAssetsBuilder(int index) { return getAssetsFieldBuilder().getBuilder(index); } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder( - int index) { + public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder(int index) { if (assetsBuilder_ == null) { - return assets_.get(index); } else { + return assets_.get(index); + } else { return assetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsOrBuilderList() { + public java.util.List + getAssetsOrBuilderList() { if (assetsBuilder_ != null) { return assetsBuilder_.getMessageOrBuilderList(); } else { @@ -1006,6 +1137,8 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder } } /** + * + * *
      * The peer resources of the relationship.
      * 
@@ -1013,49 +1146,55 @@ public com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder addAssetsBuilder() { - return getAssetsFieldBuilder().addBuilder( - com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); + return getAssetsFieldBuilder() + .addBuilder(com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder addAssetsBuilder( - int index) { - return getAssetsFieldBuilder().addBuilder( - index, com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); + public com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder addAssetsBuilder(int index) { + return getAssetsFieldBuilder() + .addBuilder(index, com.google.cloud.asset.v1p7beta1.RelatedAsset.getDefaultInstance()); } /** + * + * *
      * The peer resources of the relationship.
      * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - public java.util.List - getAssetsBuilderList() { + public java.util.List + getAssetsBuilderList() { return getAssetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelatedAsset, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> + com.google.cloud.asset.v1p7beta1.RelatedAsset, + com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, + com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> getAssetsFieldBuilder() { if (assetsBuilder_ == null) { - assetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.asset.v1p7beta1.RelatedAsset, com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder>( - assets_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + assetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.asset.v1p7beta1.RelatedAsset, + com.google.cloud.asset.v1p7beta1.RelatedAsset.Builder, + com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder>( + assets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); assets_ = null; } return assetsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.RelatedAssets) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.RelatedAssets) private static final com.google.cloud.asset.v1p7beta1.RelatedAssets DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.RelatedAssets(); } @@ -1079,16 +1218,16 @@ public static com.google.cloud.asset.v1p7beta1.RelatedAssets getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelatedAssets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelatedAssets(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelatedAssets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelatedAssets(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,6 +1242,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelatedAssets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java similarity index 72% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java index 209d5d21f..a3ac416cd 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelatedAssetsOrBuilder.java @@ -1,49 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface RelatedAssetsOrBuilder extends +public interface RelatedAssetsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.RelatedAssets) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * * @return Whether the relationshipAttributes field is set. */ boolean hasRelationshipAttributes(); /** + * + * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; + * * @return The relationshipAttributes. */ com.google.cloud.asset.v1p7beta1.RelationshipAttributes getRelationshipAttributes(); /** + * + * *
    * The detailed relation attributes.
    * 
* * .google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1; */ - com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder(); + com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder + getRelationshipAttributesOrBuilder(); /** + * + * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - java.util.List - getAssetsList(); + java.util.List getAssetsList(); /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -52,6 +80,8 @@ public interface RelatedAssetsOrBuilder extends */ com.google.cloud.asset.v1p7beta1.RelatedAsset getAssets(int index); /** + * + * *
    * The peer resources of the relationship.
    * 
@@ -60,21 +90,24 @@ public interface RelatedAssetsOrBuilder extends */ int getAssetsCount(); /** + * + * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - java.util.List + java.util.List getAssetsOrBuilderList(); /** + * + * *
    * The peer resources of the relationship.
    * 
* * repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2; */ - com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder( - int index); + com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder getAssetsOrBuilder(int index); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java similarity index 71% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java index df7f5082c..927a7ae58 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributes.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * The relationship attributes which include  `type`, `source_resource_type`,
  * `target_resource_type` and `action`.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.asset.v1p7beta1.RelationshipAttributes}
  */
-public final class RelationshipAttributes extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RelationshipAttributes extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.RelationshipAttributes)
     RelationshipAttributesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RelationshipAttributes.newBuilder() to construct.
   private RelationshipAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RelationshipAttributes() {
     type_ = "";
     sourceResourceType_ = "";
@@ -29,16 +47,15 @@ private RelationshipAttributes() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RelationshipAttributes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RelationshipAttributes(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,37 +74,41 @@ private RelationshipAttributes(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            sourceResourceType_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              sourceResourceType_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            targetResourceType_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              targetResourceType_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            action_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              action_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            type_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              type_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,35 +116,40 @@ private RelationshipAttributes(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.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.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.asset.v1p7beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
+    return com.google.cloud.asset.v1p7beta1.AssetProto
+        .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
+            com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class,
+            com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 4;
   private volatile java.lang.Object type_;
   /**
+   *
+   *
    * 
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The type. */ @java.lang.Override @@ -132,30 +158,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -166,11 +192,14 @@ public java.lang.String getType() { public static final int SOURCE_RESOURCE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object sourceResourceType_; /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The sourceResourceType. */ @java.lang.Override @@ -179,29 +208,29 @@ public java.lang.String getSourceResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; } } /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The bytes for sourceResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -212,11 +241,14 @@ public java.lang.String getSourceResourceType() { public static final int TARGET_RESOURCE_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object targetResourceType_; /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The targetResourceType. */ @java.lang.Override @@ -225,29 +257,29 @@ public java.lang.String getTargetResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; } } /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The bytes for targetResourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -258,11 +290,14 @@ public java.lang.String getTargetResourceType() { public static final int ACTION_FIELD_NUMBER = 3; private volatile java.lang.Object action_; /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The action. */ @java.lang.Override @@ -271,29 +306,29 @@ public java.lang.String getAction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; } } /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The bytes for action. */ @java.lang.Override - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -302,6 +337,7 @@ public java.lang.String getAction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceResourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceResourceType_); } @@ -356,21 +391,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.asset.v1p7beta1.RelationshipAttributes)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.RelationshipAttributes other = (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) obj; - - if (!getType() - .equals(other.getType())) return false; - if (!getSourceResourceType() - .equals(other.getSourceResourceType())) return false; - if (!getTargetResourceType() - .equals(other.getTargetResourceType())) return false; - if (!getAction() - .equals(other.getAction())) return false; + com.google.cloud.asset.v1p7beta1.RelationshipAttributes other = + (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) obj; + + if (!getType().equals(other.getType())) return false; + if (!getSourceResourceType().equals(other.getSourceResourceType())) return false; + if (!getTargetResourceType().equals(other.getTargetResourceType())) return false; + if (!getAction().equals(other.getAction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -396,96 +428,104 @@ public int hashCode() { } public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.nio.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.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.RelationshipAttributes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelationshipAttributes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.RelationshipAttributes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.RelationshipAttributes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.RelationshipAttributes prototype) { + + public static Builder newBuilder( + com.google.cloud.asset.v1p7beta1.RelationshipAttributes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The relationship attributes which include  `type`, `source_resource_type`,
    * `target_resource_type` and `action`.
@@ -493,21 +533,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.asset.v1p7beta1.RelationshipAttributes}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.RelationshipAttributes)
       com.google.cloud.asset.v1p7beta1.RelationshipAttributesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class, com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
+              com.google.cloud.asset.v1p7beta1.RelationshipAttributes.class,
+              com.google.cloud.asset.v1p7beta1.RelationshipAttributes.Builder.class);
     }
 
     // Construct using com.google.cloud.asset.v1p7beta1.RelationshipAttributes.newBuilder()
@@ -515,16 +557,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -540,9 +581,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.asset.v1p7beta1.AssetProto
+          .internal_static_google_cloud_asset_v1p7beta1_RelationshipAttributes_descriptor;
     }
 
     @java.lang.Override
@@ -561,7 +602,8 @@ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes build() {
 
     @java.lang.Override
     public com.google.cloud.asset.v1p7beta1.RelationshipAttributes buildPartial() {
-      com.google.cloud.asset.v1p7beta1.RelationshipAttributes result = new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(this);
+      com.google.cloud.asset.v1p7beta1.RelationshipAttributes result =
+          new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(this);
       result.type_ = type_;
       result.sourceResourceType_ = sourceResourceType_;
       result.targetResourceType_ = targetResourceType_;
@@ -574,38 +616,39 @@ public com.google.cloud.asset.v1p7beta1.RelationshipAttributes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.asset.v1p7beta1.RelationshipAttributes) {
-        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelationshipAttributes)other);
+        return mergeFrom((com.google.cloud.asset.v1p7beta1.RelationshipAttributes) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -613,7 +656,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.asset.v1p7beta1.RelationshipAttributes other) {
-      if (other == com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance()) return this;
+      if (other == com.google.cloud.asset.v1p7beta1.RelationshipAttributes.getDefaultInstance())
+        return this;
       if (!other.getType().isEmpty()) {
         type_ = other.type_;
         onChanged();
@@ -649,7 +693,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.asset.v1p7beta1.RelationshipAttributes) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -661,19 +706,21 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -682,21 +729,22 @@ public java.lang.String getType() { } } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -704,57 +752,64 @@ public java.lang.String getType() { } } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
      * The unique identifier of the relationship type. Example:
      * `INSTANCE_TO_INSTANCEGROUP`
      * 
* * string type = 4; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -762,18 +817,20 @@ public Builder setTypeBytes( private java.lang.Object sourceResourceType_ = ""; /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @return The sourceResourceType. */ public java.lang.String getSourceResourceType() { java.lang.Object ref = sourceResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceResourceType_ = s; return s; @@ -782,20 +839,21 @@ public java.lang.String getSourceResourceType() { } } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @return The bytes for sourceResourceType. */ - public com.google.protobuf.ByteString - getSourceResourceTypeBytes() { + public com.google.protobuf.ByteString getSourceResourceTypeBytes() { java.lang.Object ref = sourceResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceResourceType_ = b; return b; } else { @@ -803,54 +861,61 @@ public java.lang.String getSourceResourceType() { } } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @param value The sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceType( - java.lang.String value) { + public Builder setSourceResourceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceResourceType_ = value; onChanged(); return this; } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @return This builder for chaining. */ public Builder clearSourceResourceType() { - + sourceResourceType_ = getDefaultInstance().getSourceResourceType(); onChanged(); return this; } /** + * + * *
      * The source asset type. Example: `compute.googleapis.com/Instance`
      * 
* * string source_resource_type = 1; + * * @param value The bytes for sourceResourceType to set. * @return This builder for chaining. */ - public Builder setSourceResourceTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceResourceType_ = value; onChanged(); return this; @@ -858,18 +923,20 @@ public Builder setSourceResourceTypeBytes( private java.lang.Object targetResourceType_ = ""; /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @return The targetResourceType. */ public java.lang.String getTargetResourceType() { java.lang.Object ref = targetResourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetResourceType_ = s; return s; @@ -878,20 +945,21 @@ public java.lang.String getTargetResourceType() { } } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @return The bytes for targetResourceType. */ - public com.google.protobuf.ByteString - getTargetResourceTypeBytes() { + public com.google.protobuf.ByteString getTargetResourceTypeBytes() { java.lang.Object ref = targetResourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetResourceType_ = b; return b; } else { @@ -899,54 +967,61 @@ public java.lang.String getTargetResourceType() { } } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @param value The targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceType( - java.lang.String value) { + public Builder setTargetResourceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetResourceType_ = value; onChanged(); return this; } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @return This builder for chaining. */ public Builder clearTargetResourceType() { - + targetResourceType_ = getDefaultInstance().getTargetResourceType(); onChanged(); return this; } /** + * + * *
      * The target asset type. Example: `compute.googleapis.com/Disk`
      * 
* * string target_resource_type = 2; + * * @param value The bytes for targetResourceType to set. * @return This builder for chaining. */ - public Builder setTargetResourceTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetResourceType_ = value; onChanged(); return this; @@ -954,18 +1029,20 @@ public Builder setTargetResourceTypeBytes( private java.lang.Object action_ = ""; /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return The action. */ public java.lang.String getAction() { java.lang.Object ref = action_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); action_ = s; return s; @@ -974,20 +1051,21 @@ public java.lang.String getAction() { } } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return The bytes for action. */ - public com.google.protobuf.ByteString - getActionBytes() { + public com.google.protobuf.ByteString getActionBytes() { java.lang.Object ref = action_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); action_ = b; return b; } else { @@ -995,61 +1073,68 @@ public java.lang.String getAction() { } } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @param value The action to set. * @return This builder for chaining. */ - public Builder setAction( - java.lang.String value) { + public Builder setAction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + action_ = value; onChanged(); return this; } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = getDefaultInstance().getAction(); onChanged(); return this; } /** + * + * *
      * The detail of the relationship, e.g. `contains`, `attaches`
      * 
* * string action = 3; + * * @param value The bytes for action to set. * @return This builder for chaining. */ - public Builder setActionBytes( - com.google.protobuf.ByteString value) { + public Builder setActionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + action_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +1144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.RelationshipAttributes) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.RelationshipAttributes) private static final com.google.cloud.asset.v1p7beta1.RelationshipAttributes DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.RelationshipAttributes(); } @@ -1073,16 +1158,16 @@ public static com.google.cloud.asset.v1p7beta1.RelationshipAttributes getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationshipAttributes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationshipAttributes(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationshipAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationshipAttributes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,6 +1182,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.RelationshipAttributes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java similarity index 66% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java index 1f2a45eb6..8df443f22 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/RelationshipAttributesOrBuilder.java @@ -1,91 +1,127 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface RelationshipAttributesOrBuilder extends +public interface RelationshipAttributesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.RelationshipAttributes) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * The unique identifier of the relationship type. Example:
    * `INSTANCE_TO_INSTANCEGROUP`
    * 
* * string type = 4; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The sourceResourceType. */ java.lang.String getSourceResourceType(); /** + * + * *
    * The source asset type. Example: `compute.googleapis.com/Instance`
    * 
* * string source_resource_type = 1; + * * @return The bytes for sourceResourceType. */ - com.google.protobuf.ByteString - getSourceResourceTypeBytes(); + com.google.protobuf.ByteString getSourceResourceTypeBytes(); /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The targetResourceType. */ java.lang.String getTargetResourceType(); /** + * + * *
    * The target asset type. Example: `compute.googleapis.com/Disk`
    * 
* * string target_resource_type = 2; + * * @return The bytes for targetResourceType. */ - com.google.protobuf.ByteString - getTargetResourceTypeBytes(); + com.google.protobuf.ByteString getTargetResourceTypeBytes(); /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The action. */ java.lang.String getAction(); /** + * + * *
    * The detail of the relationship, e.g. `contains`, `attaches`
    * 
* * string action = 3; + * * @return The bytes for action. */ - com.google.protobuf.ByteString - getActionBytes(); + com.google.protobuf.ByteString getActionBytes(); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java similarity index 76% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java index 9b784adea..c4bc5825f 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/Resource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; /** + * + * *
  * A representation of a Google Cloud resource.
  * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.Resource} */ -public final class Resource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Resource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.asset.v1p7beta1.Resource) ResourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Resource.newBuilder() to construct. private Resource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Resource() { version_ = ""; discoveryDocumentUri_ = ""; @@ -30,16 +48,15 @@ private Resource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Resource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Resource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,62 +75,69 @@ private Resource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryDocumentUri_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryDocumentUri_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - discoveryName_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + discoveryName_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - resourceUrl_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + resourceUrl_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 50: { - com.google.protobuf.Struct.Builder subBuilder = null; - if (data_ != null) { - subBuilder = data_.toBuilder(); + parent_ = s; + break; } - data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(data_); - data_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Struct.Builder subBuilder = null; + if (data_ != null) { + subBuilder = data_.toBuilder(); + } + data_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(data_); + data_ = subBuilder.buildPartial(); + } + + break; } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - - location_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + location_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,34 +145,39 @@ private Resource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.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.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.Resource.class, com.google.cloud.asset.v1p7beta1.Resource.Builder.class); + com.google.cloud.asset.v1p7beta1.Resource.class, + com.google.cloud.asset.v1p7beta1.Resource.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -157,29 +186,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; } } /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @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 { @@ -190,6 +219,8 @@ public java.lang.String getVersion() { public static final int DISCOVERY_DOCUMENT_URI_FIELD_NUMBER = 2; private volatile java.lang.Object discoveryDocumentUri_; /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -199,6 +230,7 @@ public java.lang.String getVersion() {
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ @java.lang.Override @@ -207,14 +239,15 @@ public java.lang.String getDiscoveryDocumentUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; } } /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -224,16 +257,15 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -244,6 +276,8 @@ public java.lang.String getDiscoveryDocumentUri() { public static final int DISCOVERY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object discoveryName_; /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -252,6 +286,7 @@ public java.lang.String getDiscoveryDocumentUri() {
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ @java.lang.Override @@ -260,14 +295,15 @@ public java.lang.String getDiscoveryName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; } } /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -276,16 +312,15 @@ public java.lang.String getDiscoveryName() {
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -296,6 +331,8 @@ public java.lang.String getDiscoveryName() { public static final int RESOURCE_URL_FIELD_NUMBER = 4; private volatile java.lang.Object resourceUrl_; /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -304,6 +341,7 @@ public java.lang.String getDiscoveryName() {
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ @java.lang.Override @@ -312,14 +350,15 @@ public java.lang.String getResourceUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; } } /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -328,16 +367,15 @@ public java.lang.String getResourceUrl() {
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -348,6 +386,8 @@ public java.lang.String getResourceUrl() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -362,6 +402,7 @@ public java.lang.String getResourceUrl() {
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -370,14 +411,15 @@ 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 full name of the immediate parent of this resource. See
    * [Resource
@@ -392,16 +434,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 5; + * * @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 { @@ -412,12 +453,15 @@ public java.lang.String getParent() { public static final int DATA_FIELD_NUMBER = 6; private com.google.protobuf.Struct data_; /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ @java.lang.Override @@ -425,12 +469,15 @@ public boolean hasData() { return data_ != null; } /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ @java.lang.Override @@ -438,6 +485,8 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -453,12 +502,15 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
   public static final int LOCATION_FIELD_NUMBER = 8;
   private volatile java.lang.Object location_;
   /**
+   *
+   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The location. */ @java.lang.Override @@ -467,30 +519,30 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -499,6 +551,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -510,8 +563,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -558,8 +610,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); } if (data_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getData()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getData()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, location_); @@ -572,30 +623,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.asset.v1p7beta1.Resource)) { return super.equals(obj); } - com.google.cloud.asset.v1p7beta1.Resource other = (com.google.cloud.asset.v1p7beta1.Resource) obj; - - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getDiscoveryDocumentUri() - .equals(other.getDiscoveryDocumentUri())) return false; - if (!getDiscoveryName() - .equals(other.getDiscoveryName())) return false; - if (!getResourceUrl() - .equals(other.getResourceUrl())) return false; - if (!getParent() - .equals(other.getParent())) return false; + com.google.cloud.asset.v1p7beta1.Resource other = + (com.google.cloud.asset.v1p7beta1.Resource) obj; + + if (!getVersion().equals(other.getVersion())) return false; + if (!getDiscoveryDocumentUri().equals(other.getDiscoveryDocumentUri())) return false; + if (!getDiscoveryName().equals(other.getDiscoveryName())) return false; + if (!getResourceUrl().equals(other.getResourceUrl())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasData() != other.hasData()) return false; if (hasData()) { - if (!getData() - .equals(other.getData())) return false; + if (!getData().equals(other.getData())) return false; } - if (!getLocation() - .equals(other.getLocation())) return false; + if (!getLocation().equals(other.getLocation())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -628,118 +673,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.asset.v1p7beta1.Resource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite 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.asset.v1p7beta1.Resource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.asset.v1p7beta1.Resource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.asset.v1p7beta1.Resource parseFrom( - byte[] data, - com.google.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.asset.v1p7beta1.Resource 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.asset.v1p7beta1.Resource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.Resource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.asset.v1p7beta1.Resource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.asset.v1p7beta1.Resource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.asset.v1p7beta1.Resource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .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.asset.v1p7beta1.Resource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.asset.v1p7beta1.Resource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A representation of a Google Cloud resource.
    * 
* * Protobuf type {@code google.cloud.asset.v1p7beta1.Resource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.asset.v1p7beta1.Resource) com.google.cloud.asset.v1p7beta1.ResourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_Resource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.asset.v1p7beta1.Resource.class, com.google.cloud.asset.v1p7beta1.Resource.Builder.class); + com.google.cloud.asset.v1p7beta1.Resource.class, + com.google.cloud.asset.v1p7beta1.Resource.Builder.class); } // Construct using com.google.cloud.asset.v1p7beta1.Resource.newBuilder() @@ -747,16 +801,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -782,9 +835,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.asset.v1p7beta1.AssetProto.internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.asset.v1p7beta1.AssetProto + .internal_static_google_cloud_asset_v1p7beta1_Resource_descriptor; } @java.lang.Override @@ -803,7 +856,8 @@ public com.google.cloud.asset.v1p7beta1.Resource build() { @java.lang.Override public com.google.cloud.asset.v1p7beta1.Resource buildPartial() { - com.google.cloud.asset.v1p7beta1.Resource result = new com.google.cloud.asset.v1p7beta1.Resource(this); + com.google.cloud.asset.v1p7beta1.Resource result = + new com.google.cloud.asset.v1p7beta1.Resource(this); result.version_ = version_; result.discoveryDocumentUri_ = discoveryDocumentUri_; result.discoveryName_ = discoveryName_; @@ -823,38 +877,39 @@ public com.google.cloud.asset.v1p7beta1.Resource buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.asset.v1p7beta1.Resource) { - return mergeFrom((com.google.cloud.asset.v1p7beta1.Resource)other); + return mergeFrom((com.google.cloud.asset.v1p7beta1.Resource) other); } else { super.mergeFrom(other); return this; @@ -921,18 +976,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @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; @@ -941,20 +998,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @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 { @@ -962,54 +1020,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The API version. Example: `v1`
      * 
* * string version = 1; + * * @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; @@ -1017,6 +1082,8 @@ public Builder setVersionBytes( private java.lang.Object discoveryDocumentUri_ = ""; /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1026,13 +1093,13 @@ public Builder setVersionBytes(
      * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ public java.lang.String getDiscoveryDocumentUri() { java.lang.Object ref = discoveryDocumentUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryDocumentUri_ = s; return s; @@ -1041,6 +1108,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1050,15 +1119,14 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - public com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes() { + public com.google.protobuf.ByteString getDiscoveryDocumentUriBytes() { java.lang.Object ref = discoveryDocumentUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryDocumentUri_ = b; return b; } else { @@ -1066,6 +1134,8 @@ public java.lang.String getDiscoveryDocumentUri() { } } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1075,20 +1145,22 @@ public java.lang.String getDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUri( - java.lang.String value) { + public Builder setDiscoveryDocumentUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryDocumentUri_ = value; onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1098,15 +1170,18 @@ public Builder setDiscoveryDocumentUri(
      * 
* * string discovery_document_uri = 2; + * * @return This builder for chaining. */ public Builder clearDiscoveryDocumentUri() { - + discoveryDocumentUri_ = getDefaultInstance().getDiscoveryDocumentUri(); onChanged(); return this; } /** + * + * *
      * The URL of the discovery document containing the resource's JSON schema.
      * Example:
@@ -1116,16 +1191,16 @@ public Builder clearDiscoveryDocumentUri() {
      * 
* * string discovery_document_uri = 2; + * * @param value The bytes for discoveryDocumentUri to set. * @return This builder for chaining. */ - public Builder setDiscoveryDocumentUriBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryDocumentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryDocumentUri_ = value; onChanged(); return this; @@ -1133,6 +1208,8 @@ public Builder setDiscoveryDocumentUriBytes( private java.lang.Object discoveryName_ = ""; /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1141,13 +1218,13 @@ public Builder setDiscoveryDocumentUriBytes(
      * 
* * string discovery_name = 3; + * * @return The discoveryName. */ public java.lang.String getDiscoveryName() { java.lang.Object ref = discoveryName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); discoveryName_ = s; return s; @@ -1156,6 +1233,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1164,15 +1243,14 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - public com.google.protobuf.ByteString - getDiscoveryNameBytes() { + public com.google.protobuf.ByteString getDiscoveryNameBytes() { java.lang.Object ref = discoveryName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); discoveryName_ = b; return b; } else { @@ -1180,6 +1258,8 @@ public java.lang.String getDiscoveryName() { } } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1188,20 +1268,22 @@ public java.lang.String getDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryName( - java.lang.String value) { + public Builder setDiscoveryName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + discoveryName_ = value; onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1210,15 +1292,18 @@ public Builder setDiscoveryName(
      * 
* * string discovery_name = 3; + * * @return This builder for chaining. */ public Builder clearDiscoveryName() { - + discoveryName_ = getDefaultInstance().getDiscoveryName(); onChanged(); return this; } /** + * + * *
      * The JSON schema name listed in the discovery document. Example:
      * `Project`
@@ -1227,16 +1312,16 @@ public Builder clearDiscoveryName() {
      * 
* * string discovery_name = 3; + * * @param value The bytes for discoveryName to set. * @return This builder for chaining. */ - public Builder setDiscoveryNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDiscoveryNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + discoveryName_ = value; onChanged(); return this; @@ -1244,6 +1329,8 @@ public Builder setDiscoveryNameBytes( private java.lang.Object resourceUrl_ = ""; /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1252,13 +1339,13 @@ public Builder setDiscoveryNameBytes(
      * 
* * string resource_url = 4; + * * @return The resourceUrl. */ public java.lang.String getResourceUrl() { java.lang.Object ref = resourceUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceUrl_ = s; return s; @@ -1267,6 +1354,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1275,15 +1364,14 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - public com.google.protobuf.ByteString - getResourceUrlBytes() { + public com.google.protobuf.ByteString getResourceUrlBytes() { java.lang.Object ref = resourceUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceUrl_ = b; return b; } else { @@ -1291,6 +1379,8 @@ public java.lang.String getResourceUrl() { } } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1299,20 +1389,22 @@ public java.lang.String getResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrl( - java.lang.String value) { + public Builder setResourceUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceUrl_ = value; onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1321,15 +1413,18 @@ public Builder setResourceUrl(
      * 
* * string resource_url = 4; + * * @return This builder for chaining. */ public Builder clearResourceUrl() { - + resourceUrl_ = getDefaultInstance().getResourceUrl(); onChanged(); return this; } /** + * + * *
      * The REST URL for accessing the resource. An HTTP `GET` request using this
      * URL returns the resource itself. Example:
@@ -1338,16 +1433,16 @@ public Builder clearResourceUrl() {
      * 
* * string resource_url = 4; + * * @param value The bytes for resourceUrl to set. * @return This builder for chaining. */ - public Builder setResourceUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceUrl_ = value; onChanged(); return this; @@ -1355,6 +1450,8 @@ public Builder setResourceUrlBytes( private java.lang.Object parent_ = ""; /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1369,13 +1466,13 @@ public Builder setResourceUrlBytes(
      * 
* * string parent = 5; + * * @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; @@ -1384,6 +1481,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1398,15 +1497,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 { @@ -1414,6 +1512,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1428,20 +1528,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 5; + * * @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 full name of the immediate parent of this resource. See
      * [Resource
@@ -1456,15 +1558,18 @@ public Builder setParent(
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The full name of the immediate parent of this resource. See
      * [Resource
@@ -1479,16 +1584,16 @@ public Builder clearParent() {
      * 
* * string parent = 5; + * * @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; @@ -1496,26 +1601,35 @@ public Builder setParentBytes( private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + dataBuilder_; /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
      * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ public com.google.protobuf.Struct getData() { @@ -1526,6 +1640,8 @@ public com.google.protobuf.Struct getData() { } } /** + * + * *
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1547,6 +1663,8 @@ public Builder setData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1554,8 +1672,7 @@ public Builder setData(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct data = 6;
      */
-    public Builder setData(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setData(com.google.protobuf.Struct.Builder builderForValue) {
       if (dataBuilder_ == null) {
         data_ = builderForValue.build();
         onChanged();
@@ -1566,6 +1683,8 @@ public Builder setData(
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1576,8 +1695,7 @@ public Builder setData(
     public Builder mergeData(com.google.protobuf.Struct value) {
       if (dataBuilder_ == null) {
         if (data_ != null) {
-          data_ =
-            com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
+          data_ = com.google.protobuf.Struct.newBuilder(data_).mergeFrom(value).buildPartial();
         } else {
           data_ = value;
         }
@@ -1589,6 +1707,8 @@ public Builder mergeData(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1608,6 +1728,8 @@ public Builder clearData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1616,11 +1738,13 @@ public Builder clearData() {
      * .google.protobuf.Struct data = 6;
      */
     public com.google.protobuf.Struct.Builder getDataBuilder() {
-      
+
       onChanged();
       return getDataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1632,11 +1756,12 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
       if (dataBuilder_ != null) {
         return dataBuilder_.getMessageOrBuilder();
       } else {
-        return data_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : data_;
+        return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_;
       }
     }
     /**
+     *
+     *
      * 
      * The content of the resource, in which some sensitive fields are removed
      * and may not be present.
@@ -1645,14 +1770,16 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
      * .google.protobuf.Struct data = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getDataFieldBuilder() {
       if (dataBuilder_ == null) {
-        dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getData(),
-                getParentForChildren(),
-                isClean());
+        dataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean());
         data_ = null;
       }
       return dataBuilder_;
@@ -1660,19 +1787,21 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() {
 
     private java.lang.Object location_ = "";
     /**
+     *
+     *
      * 
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1681,21 +1810,22 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1703,64 +1833,71 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * The location of the resource in Google Cloud, such as its zone and region.
      * For more information, see https://cloud.google.com/about/locations/.
      * 
* * string location = 8; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1770,12 +1907,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.asset.v1p7beta1.Resource) } // @@protoc_insertion_point(class_scope:google.cloud.asset.v1p7beta1.Resource) private static final com.google.cloud.asset.v1p7beta1.Resource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.asset.v1p7beta1.Resource(); } @@ -1784,16 +1921,16 @@ public static com.google.cloud.asset.v1p7beta1.Resource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Resource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Resource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Resource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Resource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1808,6 +1945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.asset.v1p7beta1.Resource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java similarity index 82% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java rename to proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java index 18800a75a..d6250c22f 100644 --- a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java +++ b/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/ResourceOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/asset/v1p7beta1/assets.proto package com.google.cloud.asset.v1p7beta1; -public interface ResourceOrBuilder extends +public interface ResourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1p7beta1.Resource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The API version. Example: `v1`
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -37,10 +60,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The discoveryDocumentUri. */ java.lang.String getDiscoveryDocumentUri(); /** + * + * *
    * The URL of the discovery document containing the resource's JSON schema.
    * Example:
@@ -50,12 +76,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_document_uri = 2; + * * @return The bytes for discoveryDocumentUri. */ - com.google.protobuf.ByteString - getDiscoveryDocumentUriBytes(); + com.google.protobuf.ByteString getDiscoveryDocumentUriBytes(); /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -64,10 +92,13 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The discoveryName. */ java.lang.String getDiscoveryName(); /** + * + * *
    * The JSON schema name listed in the discovery document. Example:
    * `Project`
@@ -76,12 +107,14 @@ public interface ResourceOrBuilder extends
    * 
* * string discovery_name = 3; + * * @return The bytes for discoveryName. */ - com.google.protobuf.ByteString - getDiscoveryNameBytes(); + com.google.protobuf.ByteString getDiscoveryNameBytes(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -90,10 +123,13 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The resourceUrl. */ java.lang.String getResourceUrl(); /** + * + * *
    * The REST URL for accessing the resource. An HTTP `GET` request using this
    * URL returns the resource itself. Example:
@@ -102,12 +138,14 @@ public interface ResourceOrBuilder extends
    * 
* * string resource_url = 4; + * * @return The bytes for resourceUrl. */ - com.google.protobuf.ByteString - getResourceUrlBytes(); + com.google.protobuf.ByteString getResourceUrlBytes(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -122,10 +160,13 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The full name of the immediate parent of this resource. See
    * [Resource
@@ -140,32 +181,40 @@ public interface ResourceOrBuilder extends
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return Whether the data field is set. */ boolean hasData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
    * 
* * .google.protobuf.Struct data = 6; + * * @return The data. */ com.google.protobuf.Struct getData(); /** + * + * *
    * The content of the resource, in which some sensitive fields are removed
    * and may not be present.
@@ -176,24 +225,29 @@ public interface ResourceOrBuilder extends
   com.google.protobuf.StructOrBuilder getDataOrBuilder();
 
   /**
+   *
+   *
    * 
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * The location of the resource in Google Cloud, such as its zone and region.
    * For more information, see https://cloud.google.com/about/locations/.
    * 
* * string location = 8; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); } diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto b/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto similarity index 100% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto rename to proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto diff --git a/owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto b/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto similarity index 100% rename from owl-bot-staging/v1p7beta1/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto rename to proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunning.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/AsyncAnalyzeIamPolicyLongrunningLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzeiampolicylongrunning/SyncAnalyzeIamPolicyLongrunning.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/AsyncAnalyzeMove.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/analyzemove/SyncAnalyzeMove.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/AsyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgetassetshistory/SyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/AsyncBatchGetEffectiveIamPolicies.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/batchgeteffectiveiampolicies/SyncBatchGetEffectiveIamPolicies.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/AsyncCreateFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createfeed/SyncCreateFeedString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/AsyncCreateSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryFoldernameSavedqueryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryProjectnameSavedqueryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryStringSavedqueryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/AsyncDeleteFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/AsyncDeleteSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssets.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/AsyncExportAssetsLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/exportassets/SyncExportAssets.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/AsyncGetFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedFeedname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getfeed/SyncGetFeedString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/AsyncGetSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQuerySavedqueryname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/getsavedquery/SyncGetSavedQueryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssets.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/AsyncListAssetsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssets.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsResourcename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listassets/SyncListAssetsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/AsyncListFeeds.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeeds.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listfeeds/SyncListFeedsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueries.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/AsyncListSavedQueriesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueries.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesFoldername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesOrganizationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesProjectname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/listsavedqueries/SyncListSavedQueriesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResources.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/AsyncUpdateFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/AsyncUpdateSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuery.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/updatesavedquery/SyncUpdateSavedQuerySavedqueryFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to samples/snippets/generated/com/google/cloud/asset/v1/assetservicesettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java b/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java rename to samples/snippets/generated/com/google/cloud/asset/v1/stub/assetservicestubsettings/batchgetassetshistory/SyncBatchGetAssetsHistory.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/AsyncSearchAllIamPoliciesPaged.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPolicies.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchalliampolicies/SyncSearchAllIamPoliciesStringString.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResources.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/AsyncSearchAllResourcesPaged.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetservicesettings/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java b/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java similarity index 100% rename from owl-bot-staging/v1p1beta1/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java rename to samples/snippets/generated/com/google/cloud/asset/v1p1beta1/stub/assetservicestubsettings/searchallresources/SyncSearchAllResources.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/AsyncCreateFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/createfeed/SyncCreateFeedString.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/AsyncDeleteFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/AsyncGetFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedFeedname.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/getfeed/SyncGetFeedString.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/AsyncListFeeds.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeeds.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/listfeeds/SyncListFeedsString.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/AsyncUpdateFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/updatefeed/SyncUpdateFeedFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetservicesettings/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java b/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java similarity index 100% rename from owl-bot-staging/v1p2beta1/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java rename to samples/snippets/generated/com/google/cloud/asset/v1p2beta1/stub/assetservicestubsettings/createfeed/SyncCreateFeed.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/AsyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysis.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/AsyncExportIamPolicyAnalysisLRO.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetserviceclient/exportiampolicyanalysis/SyncExportIamPolicyAnalysis.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/assetservicesettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java b/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java similarity index 100% rename from owl-bot-staging/v1p4beta1/samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java rename to samples/snippets/generated/com/google/cloud/asset/v1p4beta1/stub/assetservicestubsettings/analyzeiampolicy/SyncAnalyzeIamPolicy.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssets.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/AsyncListAssetsPaged.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetserviceclient/listassets/SyncListAssets.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/assetservicesettings/listassets/SyncListAssets.java diff --git a/owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java b/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java similarity index 100% rename from owl-bot-staging/v1p5beta1/samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java rename to samples/snippets/generated/com/google/cloud/asset/v1p5beta1/stub/assetservicestubsettings/listassets/SyncListAssets.java